| 3495 | } |
| 3496 | |
| 3497 | int 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 | |
| 3506 | int CMP_CDECL SetAlphaOptionsBC7(void* options, CGU_BOOL imageNeedsAlpha, CGU_BOOL colourRestrict, CGU_BOOL alphaRestrict) |
| 3507 | { |