MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / is_dxt10

Function is_dxt10

Source/ThirdParty/ddspp/ddspp.h:414–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412 };
413
414 inline ddspp_constexpr bool is_dxt10(const Header& header)
415 {
416 const PixelFormat& ddspf = header.ddspf;
417 return (ddspf.flags & DDS_FOURCC) && (ddspf.fourCC == FOURCC_DXT10);
418 }
419
420 inline ddspp_constexpr bool is_compressed(DXGIFormat format)
421 {

Callers 1

decode_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected