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

Function DestroyOptionsBC2

cmp_core/shaders/bc2_encode_kernel.cpp:79–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79int CMP_CDECL DestroyOptionsBC2(void* options)
80{
81 if (!options)
82 return CGU_CORE_ERR_INVALIDPTR;
83 CMP_BC15Options* BCOptions = reinterpret_cast<CMP_BC15Options*>(options);
84 delete BCOptions;
85 return CGU_CORE_OK;
86}
87
88int CMP_CDECL SetQualityBC2(void* options, CGU_FLOAT fquality)
89{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68