MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / isCompressedFormat

Function isCompressedFormat

Engine/source/gfx/bitmap/imageUtils.cpp:239–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237 }
238
239 bool isCompressedFormat(const GFXFormat format)
240 {
241 if (format >= GFXFormatBC1 && format <= GFXFormatBC3_SRGB)
242 return true;
243 else
244 return false;
245 }
246
247 bool isAlphaFormat(const GFXFormat format)
248 {

Callers 15

setMethod · 0.85
getCompressedSurfaceSizeFunction · 0.85
getTextureDataMethod · 0.85
fillCubeTexturesMethod · 0.85
initStaticMethod · 0.85
initDynamicMethod · 0.85
getTextureDataMethod · 0.85
initMethod · 0.85
updateTextureMethod · 0.85
innerCreateTextureMethod · 0.85
_loadTextureMethod · 0.85
copyResourceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected