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

Function MSLFilterMode

shadercompiler/OutputHLSL.cpp:1258–1268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1256}
1257
1258static const char* MSLFilterMode( uint8_t filter )
1259{
1260 switch( filter )
1261 {
1262 case 0:
1263 case 1:
1264 return "nearest";
1265 default:
1266 return "linear";
1267 }
1268}
1269
1270static const char* MSLMipFilterMode( uint8_t filter )
1271{

Callers 1

OutputHLSL.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected