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

Function MSLMipFilterMode

shadercompiler/OutputHLSL.cpp:1270–1281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1268}
1269
1270static const char* MSLMipFilterMode( uint8_t filter )
1271{
1272 switch( filter )
1273 {
1274 case 0:
1275 return "none";
1276 case 1:
1277 return "nearest";
1278 default:
1279 return "linear";
1280 }
1281}
1282
1283static const char* MSLCompareFunc( uint8_t func )
1284{

Callers 1

OutputHLSL.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected