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

Function SetSrgbBC3

cmp_core/shaders/bc3_encode_kernel.cpp:126–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126int CMP_CDECL SetSrgbBC3(void* options, CGU_BOOL sRGB)
127{
128 if (!options)
129 return CGU_CORE_ERR_INVALIDPTR;
130 CMP_BC15Options* BC15optionsDefault = (CMP_BC15Options*)options;
131
132 BC15optionsDefault->m_bIsSRGB = sRGB;
133 return CGU_CORE_OK;
134}
135
136int CMP_CDECL SetGammaBC3(void* options, CGU_BOOL sRGB)
137{

Callers 2

SetGammaBC3Function · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68