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

Function MSLBorderColor

shadercompiler/OutputHLSL.cpp:1243–1256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1241}
1242
1243static const char* MSLBorderColor( uint8_t border )
1244{
1245 switch( border )
1246 {
1247 case 0:
1248 return "transparent_black";
1249 case 1:
1250 return "opaque_black";
1251 case 2:
1252 return "opaque_white";
1253 default:
1254 return "transparent_black";
1255 }
1256}
1257
1258static const char* MSLFilterMode( uint8_t filter )
1259{

Callers 1

OutputHLSL.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected