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

Method setEnabled

source/globjects/source/AbstractState.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16void AbstractState::setEnabled(GLenum capability, const bool enabled)
17{
18 enabled ? enable(capability) : disable(capability);
19}
20
21void AbstractState::setEnabled(GLenum capability, const int index, const bool enabled)
22{

Callers 1

currentStateMethod · 0.80

Calls 2

enableFunction · 0.85
disableFunction · 0.85

Tested by

no test coverage detected