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

Function CreateOptionsBC7

cmp_core/shaders/bc7_encode_kernel.cpp:3442–3450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3440//======================= CPU USER INTERFACES ====================================
3441
3442int CMP_CDECL CreateOptionsBC7(void** options)
3443{
3444 (*options) = new BC7_Encode;
3445 if (!options)
3446 return CGU_CORE_ERR_NEWMEM;
3447 init_BC7ramps();
3448 SetDefaultBC7Options((BC7_Encode*)(*options));
3449 return CGU_CORE_OK;
3450}
3451
3452int CMP_CDECL DestroyOptionsBC7(void* options)
3453{

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 2

init_BC7rampsFunction · 0.85
SetDefaultBC7OptionsFunction · 0.85

Tested by 1

mainFunction · 0.68