MCPcopy Create free account
hub / github.com/GPUOpen-Tools/compressonator / GetFourCC

Function GetFourCC

examples/common/dds_helpers.cpp:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128DWORD GetFourCC(CMP_FORMAT nFormat)
129{
130 for (DWORD i = 0; i < g_dwFourCCCount; i++)
131 if (g_FourCCs[i].nFormat == nFormat)
132 return g_FourCCs[i].dwFourCC;
133
134 return 0;
135}
136
137bool IsDXT5SwizzledFormat(CMP_FORMAT nFormat)
138{

Callers 1

SaveDDSFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected