bindUniform method
Bind a uniform slot
to the buffer
.
Implementation
void bindUniform(gpu.UniformSlot slot, ByteBuffer buffer) {
_renderPass.bindUniform(slot, _hostBuffer.emplace(buffer.asByteData()));
}
Bind a uniform slot
to the buffer
.
void bindUniform(gpu.UniformSlot slot, ByteBuffer buffer) {
_renderPass.bindUniform(slot, _hostBuffer.emplace(buffer.asByteData()));
}