MCPcopy Create free account
hub / github.com/cginternals/glbinding / getBoolean

Method getBoolean

source/glbinding-aux/source/Meta.cpp:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137gl::GLboolean Meta::getBoolean(const std::string & glboolean)
138{
139 const auto i = Meta_BooleansByString.find(glboolean);
140
141 if (i != Meta_BooleansByString.cend())
142 {
143 return i->second;
144 }
145
146 return static_cast<GLboolean>(-1);
147}
148
149const std::string & Meta::getString(const GLenum glenum)
150{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected