setTexture abstract method
void
setTexture(
- String name,
- GpuTexture texture, {
- GpuSampler sampler = GpuSampler.linearClamp,
- bool vertexStage = false,
Binds texture to the sampler uniform name of the fragment stage,
or of the vertex stage when vertexStage (a joint palette, say).
Implementation
void setTexture(
String name,
GpuTexture texture, {
GpuSampler sampler = GpuSampler.linearClamp,
bool vertexStage = false,
});