MCPcopy Create free account
hub / github.com/DentonW/DevIL / UtxFormatToBpp

Function UtxFormatToBpp

DevIL/src-IL/src/il_utx.cpp:313–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311
312
313ILuint UtxFormatToBpp(ILuint Format)
314{
315 switch (Format)
316 {
317 case UTX_P8:
318 return 1;
319 case UTX_DXT1:
320 return 4;
321 }
322 return 4; // Should never reach here.
323}
324
325
326// Internal function used to load the UTX.

Callers 1

iLoadUtxInternalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected