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

Function SetSrgbBC2

cmp_core/shaders/bc2_encode_kernel.cpp:121–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121int CMP_CDECL SetSrgbBC2(void* options, CGU_BOOL sRGB)
122{
123 if (!options)
124 return CGU_CORE_ERR_INVALIDPTR;
125 CMP_BC15Options* BC15optionsDefault = (CMP_BC15Options*)options;
126
127 BC15optionsDefault->m_bIsSRGB = sRGB;
128 return CGU_CORE_OK;
129}
130
131int CMP_CDECL SetGammaBC2(void* options, CGU_BOOL sRGB)
132{

Callers 2

SetGammaBC2Function · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68