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

Method isEnabled

source/globjects/source/State.cpp:168–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168bool State::isEnabled(const GLenum capability) const
169{
170 const auto it = m_capabilities.find(capability);
171
172 if (it == m_capabilities.end())
173 return false;
174
175 return it->second->isEnabled();
176}
177
178void State::enable(const GLenum capability, const int index)
179{

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected