setTexture method
- String name,
- Texture? texture, {
- SamplerOptions? sampler,
Assigns a texture to a sampler uniform by name.
Implementation
void setTexture(
String name,
gpu.Texture? texture, {
gpu.SamplerOptions? sampler,
}) => _bindings.setTexture(name, texture, sampler: sampler);