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

Function DestroyOptionsBC7

cmp_core/shaders/bc7_encode_kernel.cpp:3452–3459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3450}
3451
3452int CMP_CDECL DestroyOptionsBC7(void* options)
3453{
3454 if (!options)
3455 return CGU_CORE_ERR_INVALIDPTR;
3456 BC7_Encode* BCOptions = reinterpret_cast<BC7_Encode*>(options);
3457 delete BCOptions;
3458 return CGU_CORE_OK;
3459}
3460
3461int CMP_CDECL SetErrorThresholdBC7(void* options, CGU_FLOAT minThreshold, CGU_FLOAT maxThreshold)
3462{

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68