MCPcopy Create free account
hub / github.com/Tencent/tgfx / SLTypeString

Function SLTypeString

src/gpu/glsl/GLSLProgramBuilder.cpp:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99static std::string SLTypeString(SLType t) {
100 for (const auto& pair : SLTypes) {
101 if (pair.first == t) {
102 return pair.second;
103 }
104 }
105 return "";
106}
107
108std::shared_ptr<Program> ProgramBuilder::CreateProgram(Context* context,
109 const ProgramInfo* programInfo) {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected