WebGPUSampler constructor
WebGPUSampler(
- dynamic name,
- dynamic texture
Implementation
WebGPUSampler(name, texture) : super(name) {
this.texture = texture;
this.type = GPUBindingType.Sampler;
this.visibility = GPUShaderStage.Fragment;
this.samplerGPU = null; // set by the renderer
}