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

hashCode → int
The hash code for this object.
no setterinherited
name → String
The stable name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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 with ComputeEncoder.bindStorageTexture.
texture → const KernelBindingKind
A texture read with load, bound with ComputeEncoder.bindTexture.
values → const List<KernelBindingKind>
Every kind this version names. A later version appends.