bindUniform method

void bindUniform(
  1. GpuUniformSlot slot,
  2. ByteBuffer buffer
)

Bind a uniform slot to the data in buffer.

Implementation

void bindUniform(GpuUniformSlot slot, ByteBuffer buffer) {
  _renderPass.bindUniform(slot, buffer.asByteData());
}