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

Function DestroyOptionsBC5

cmp_core/shaders/bc5_encode_kernel.cpp:247–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247int CMP_CDECL DestroyOptionsBC5(void* options)
248{
249 if (!options)
250 return CGU_CORE_ERR_INVALIDPTR;
251 CMP_BC15Options* BCOptions = reinterpret_cast<CMP_BC15Options*>(options);
252 delete BCOptions;
253 return CGU_CORE_OK;
254}
255
256int CMP_CDECL SetQualityBC5(void* options, CGU_FLOAT fquality)
257{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68