TraceDepthTarget class final

The depth attachment, with its texture named by id: a DepthTarget as a trace writes it. A class for TraceColorTarget's reason, with DepthTarget's defaults.

Constructors

TraceDepthTarget({required int texture, double clearValue = 1.0, LoadAction loadAction = LoadAction.clear, StoreAction storeAction = StoreAction.dontCare, LoadAction stencilLoadAction = LoadAction.clear, StoreAction stencilStoreAction = StoreAction.dontCare, int stencilClearValue = 0, int mipLevel = 0, int layer = 0, int face = 0, bool depthReadOnly = false, bool stencilReadOnly = false})
Creates a depth attachment of texture id texture, with DepthTarget's defaults for everything else.
const

Properties

clearValue → double
The depth a clear writes. A depth from 0 to 1, unitless.
final
depthReadOnly → bool
Whether the pass only reads depth, or stencil, from the attachment.
final
face → int
The cube face the pass draws into, zero for +X or a 2D texture. Not written to the file when zero.
final
hashCode → int
The hash code for this object.
no setterinherited
layer → int
The array layer the pass draws into, zero for the first. Not written to the file when zero.
final
loadAction → LoadAction
What the depth plane holds when the pass begins; clears by default. Absent from a trace written before passes could load depth, and read back as a clear.
final
mipLevel → int
The mip level, array layer and cube face the pass draws into.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stencilClearValue → int
The stencil value a clear writes, eight bits; zero by default.
final
stencilLoadAction → LoadAction
What the stencil plane holds when the pass begins; clears by default.
final
stencilReadOnly → bool
Whether the pass only reads the stencil plane, leaving it unwritten. Not written to the file when false.
final
stencilStoreAction → StoreAction
What happens to the stencil plane when the pass ends; discarded by default.
final
storeAction → StoreAction
What happens to the depth plane when the pass ends; discarded by default.
final
texture → int
The attachment, by the id the trace created it under.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited