MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / InitDesc

Method InitDesc

engine/PoseidonGL33/TextureGL33_Loading.cpp:16–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14extern void InitGLPixelFormat(TextureDescGL33& desc, PacFormat format, bool enableDXT);
15
16namespace
17{
18bool IsCompressedInterpolationFormat(PacFormat format)
19{
20 switch (format)
21 {
22 case PacDXT1:
23 case PacDXT2:
24 case PacDXT3:
25 case PacDXT4:
26 case PacDXT5:
27 return true;
28 default:
29 return false;

Callers

nothing calls this directly

Calls 2

InitGLPixelFormatFunction · 0.85
DstFormatMethod · 0.80

Tested by

no test coverage detected