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})
-
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
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- layer → int
-
final
- loadAction → LoadAction
-
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
-
final
- stencilLoadAction → LoadAction
-
final
- stencilReadOnly → bool
-
final
- stencilStoreAction → StoreAction
-
final
- storeAction → StoreAction
-
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