PreparedSampler class final

One texture-and-sampler pair and the two bindings it takes.

dimension is a WebGpuTextureDimension's name, for the reason PreparedAttribute gives about format.

Constructors

PreparedSampler({required String name, required int group, required int textureBinding, required int samplerBinding, required String dimension})
The pair name in group, at textureBinding and samplerBinding, of the texture dimension named dimension.
const

Properties

dimension → String
A WebGpuTextureDimension's name.
final
group → int
The bind group: vertexGroup or fragmentGroup.
final
hashCode → int
The hash code for this object.
no setteroverride
name → String
The sampler's name in the material language.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
samplerBinding → int
The sampler's binding inside group.
final
textureBinding → int
The texture's binding inside group.
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.
override