MCPcopy Create free account
hub / github.com/cginternals/globjects / enable

Method enable

source/globjects/source/State.cpp:152–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152void State::enable(const GLenum capability)
153{
154 Capability* cap = getCapability(capability);
155 cap->enable();
156 if (m_mode == ImmediateMode)
157 cap->apply();
158}
159
160void State::disable(const GLenum capability)
161{

Callers 10

initializeMethod · 0.45
initializeGLMethod · 0.45
initializeMethod · 0.45
initializeFunction · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
initializeFunction · 0.45
IcosahedronMethod · 0.45
initializeFunction · 0.45

Calls 1

applyMethod · 0.45

Tested by

no test coverage detected