GpuTextureSource constructor
GpuTextureSource(
- Texture texture, {
- SamplerOptions? sampler,
Implementation
GpuTextureSource(this.texture, {gpu.SamplerOptions? sampler})
: sampler = sampler ?? _defaultSampler(texture);