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

Function SetMaskBC7

cmp_core/shaders/bc7_encode_kernel.cpp:3497–3504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3495}
3496
3497int CMP_CDECL SetMaskBC7(void* options, CGU_UINT8 mask)
3498{
3499 if (!options)
3500 return CGU_CORE_ERR_INVALIDPTR;
3501 BC7_Encode* BC7options = (BC7_Encode*)options;
3502 BC7options->validModeMask = mask;
3503 return CGU_CORE_OK;
3504}
3505
3506int CMP_CDECL SetAlphaOptionsBC7(void* options, CGU_BOOL imageNeedsAlpha, CGU_BOOL colourRestrict, CGU_BOOL alphaRestrict)
3507{

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68