KernelBindingKind class final
What a KernelBinding is.
An open set (S0): a later version may add a kind (a uniform block,
a sampled texture with a sampler) without breaking a switch.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
byName(
String name) → KernelBindingKind? -
The kind called
name, or null for one this version does not know.
Constants
- buffer → const KernelBindingKind
-
A storage buffer of scalars, bound with
ComputeEncoder.bindStorageBuffer. - image → const KernelBindingKind
-
A storage texture written with
store, bound withComputeEncoder.bindStorageTexture. - texture → const KernelBindingKind
-
A texture read with
load, bound withComputeEncoder.bindTexture. -
values
→ const List<
KernelBindingKind> - Every kind this version names. A later version appends.