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

Function CreateOptionsBC6

cmp_core/shaders/bc6_encode_kernel.cpp:4313–4320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4311//======================= END OF DECOMPRESS CODE =========================================
4312
4313int CMP_CDECL CreateOptionsBC6(void** options)
4314{
4315 (*options) = new BC6H_Encode;
4316 if (!options)
4317 return CGU_CORE_ERR_NEWMEM;
4318 SetDefaultBC6Options((BC6H_Encode*)(*options));
4319 return CGU_CORE_OK;
4320}
4321
4322int CMP_CDECL DestroyOptionsBC6(void* options)
4323{

Callers 1

mainFunction · 0.85

Calls 1

SetDefaultBC6OptionsFunction · 0.85

Tested by 1

mainFunction · 0.68