setTexture method

void setTexture(
  1. String key,
  2. Texture texture
)

Set a Texture at the given key on the buffer.

Implementation

void setTexture(String key, Texture texture) => _setSampler(key, texture);