MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / GetStringArray

Method GetStringArray

GTE/Graphics/GL46/GL46.cpp:637–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635 }
636
637 std::string GetStringArray(std::size_t numElements, const GLchar* const* elements) const
638 {
639 std::string result = "{";
640 for (std::size_t i = 0; i < numElements; ++i)
641 {
642 result += std::string(elements[i]);
643 if (i + 1 < numElements)
644 {
645 result += ",";
646 }
647 }
648 result += "}";
649 return result;
650 }
651
652 std::string GetString(char const* elements) const
653 {

Callers 3

glGetUniformIndicesFunction · 0.80
glCreateShaderProgramvFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected