PreparedSampler typedef
PreparedSampler = ({String dimension, int group, String name, int samplerBinding, int textureBinding})
One texture-and-sampler pair and the two bindings it takes.
dimension is a WebGpuTextureDimension's name, for the reason
PreparedAttribute gives about format.
Implementation
typedef PreparedSampler = ({
String name,
int group,
int textureBinding,
int samplerBinding,
String dimension,
});