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

Function DestroyOptionsBC6

cmp_core/shaders/bc6_encode_kernel.cpp:4322–4329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4320}
4321
4322int CMP_CDECL DestroyOptionsBC6(void* options)
4323{
4324 if (!options)
4325 return CGU_CORE_ERR_INVALIDPTR;
4326 BC6H_Encode* BCOptions = reinterpret_cast<BC6H_Encode*>(options);
4327 delete BCOptions;
4328 return CGU_CORE_OK;
4329}
4330
4331int CMP_CDECL SetQualityBC6(void* options, CGU_FLOAT fquality)
4332{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68