TraceColorTarget class final
One colour attachment, with its textures named by id: a ColorTarget
as a trace writes it.
A class, not a record, since 1.0, so a field ColorTarget gains in
a minor is a field here with the same default, and a trace written
before it reads as what it was. The defaults are ColorTarget's.
Constructors
- TraceColorTarget({required int texture, int? resolveTexture, LoadAction loadAction = LoadAction.clear, StoreAction storeAction = StoreAction.store, Vector4? clearValue, int face = 0, int mipLevel = 0, int layer = 0})
-
const
Properties
- clearValue → Vector4?
-
The colour a clear writes, linear RGBA, unitless; null clears to
transparent black.
final
- face → int
-
The cube face, mip level and array layer the pass draws into.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- layer → int
-
final
- loadAction → LoadAction
-
final
- mipLevel → int
-
final
- resolveTexture → int?
-
Where a multisampled attachment resolves, by id; null for none.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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