MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetOperatorSymbol

Function GetOperatorSymbol

shadercompiler/OutputHLSL.cpp:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111};
112
113static const char* GetOperatorSymbol( int operatorID )
114{
115 auto it = s_operators.find( operatorID );
116 if( it == s_operators.end() )
117 {
118 return "";
119 }
120 return it->second.c_str();
121}
122
123void PrintTypeHLSL11( CodeStream& os, Type type )
124{

Callers 1

OutputHLSL.cppFile · 0.85

Calls 1

endMethod · 0.45

Tested by

no test coverage detected