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