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

Function IsDXT5SwizzledFormat

examples/common/dds_helpers.cpp:137–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137bool IsDXT5SwizzledFormat(CMP_FORMAT nFormat)
138{
139 if (nFormat == CMP_FORMAT_DXT5_xGBR || nFormat == CMP_FORMAT_DXT5_RxBG || nFormat == CMP_FORMAT_DXT5_RBxG || nFormat == CMP_FORMAT_DXT5_xRBG ||
140 nFormat == CMP_FORMAT_DXT5_RGxB || nFormat == CMP_FORMAT_DXT5_xGxR || nFormat == CMP_FORMAT_ATI2N_DXT5)
141 return true;
142 else
143 return false;
144}
145
146typedef struct
147{

Callers 1

SaveDDSFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected