GpuColorTarget class final
One colour attachment.
Constructors
- GpuColorTarget(GpuTexture texture, {GpuLoad load = GpuLoad.clear, GpuStore store = GpuStore.store, (double, double, double, double) clear = (0.0, 0.0, 0.0, 0.0), GpuTexture? resolve, int mipLevel = 0, int slice = 0})
-
Draws into
texture; withresolve, a multisampledtextureis resolved into it.const
Properties
- clear → (double, double, double, double)
-
Clear colour, linear RGBA.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- load → GpuLoad
-
How it starts.
final
- mipLevel → int
-
Mip level drawn into.
final
- resolve → GpuTexture?
-
Single-sample texture to resolve into.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slice → int
-
Slice (cube face) drawn into.
final
- store → GpuStore
-
What is kept.
final
- texture → GpuTexture
-
What is drawn into.
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