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

Method getStrings

source/glbinding-aux/source/Meta.cpp:169–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169std::vector<std::string> Meta::getStrings(const GLenum glenum)
170{
171 const auto range = Meta_StringsByEnum.equal_range(glenum);
172
173 auto result = std::vector<std::string>();
174
175 for (auto i = range.first; i != range.second; ++i)
176 {
177 result.push_back(i->second);
178 }
179
180 return result;
181}
182
183const std::string & Meta::getString(const GLextension glextension)
184{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected