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

Function CreateOptionsBC5

cmp_core/shaders/bc5_encode_kernel.cpp:231–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229#ifndef ASPM_GPU
230
231int CMP_CDECL CreateOptionsBC5(void** options)
232{
233 CMP_BC15Options* BC15optionsDefault = new CMP_BC15Options;
234 if (BC15optionsDefault)
235 {
236 SetDefaultBC15Options(BC15optionsDefault);
237 (*options) = BC15optionsDefault;
238 }
239 else
240 {
241 (*options) = NULL;
242 return CGU_CORE_ERR_NEWMEM;
243 }
244 return CGU_CORE_OK;
245}
246
247int CMP_CDECL DestroyOptionsBC5(void* options)
248{

Callers 1

mainFunction · 0.85

Calls 1

SetDefaultBC15OptionsFunction · 0.85

Tested by 1

mainFunction · 0.68