MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / AttachToUnit

Method AttachToUnit

GTE/Graphics/GL46/GL46ConstantBuffer.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void GL46ConstantBuffer::AttachToUnit(GLint uniformBufferUnit)
31{
32 glBindBufferBase(GL_UNIFORM_BUFFER, uniformBufferUnit, mGLHandle);
33}
34
35

Callers 2

EnableCBuffersMethod · 0.45
EnableSBuffersMethod · 0.45

Calls 1

glBindBufferBaseFunction · 0.85

Tested by

no test coverage detected