bindTexture method

void bindTexture(
  1. UniformSlot slot,
  2. Texture texture
)

Bind a uniform slot to the texture.

Implementation

void bindTexture(gpu.UniformSlot slot, Texture texture) {
  _renderPass.bindTexture(slot, texture.resource);
}