KernelBinding class final

One binding a kernel declares, in the order it declares them: its index is its WGSL binding in group zero.

Properties

element → String
What a buffer holds — f32, i32 or u32 — or rgba8 for a texture or an image.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
Its position among the kernel's bindings, from zero.
final
kind → KernelBindingKind
What it is.
final
name → String
What a caller binds it by.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textureFormat → TextureFormat
The storage texture format an image binds as.
no setter
writable → bool
Whether the kernel writes it: a read_write buffer, or an image.
final

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