bindTexture method

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

Bind a uniform slot to the texture.

Implementation

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