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

Method GetEnumArray

GTE/Graphics/GL46/GL46.cpp:664–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662 }
663
664 std::string GetEnumArray(std::size_t numElements, GLenum const* elements) const
665 {
666 std::string result = "{";
667 for (std::size_t i = 0; i < numElements; ++i)
668 {
669 result += GetName(elements[i]);
670 if (i + 1 < numElements)
671 {
672 result += ",";
673 }
674 }
675 result += "}";
676 return result;
677 }
678
679private:
680 std::string mTraceFileName;

Callers 9

glDrawBuffersFunction · 0.80
glGetProgramBinaryFunction · 0.80
glInvalidateFramebufferFunction · 0.80
glGetProgramResourceivFunction · 0.80
glGetDebugMessageLogFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected