gpu: alpha-to-coverage support

This commit is contained in:
Caleb Cornett
2025-04-03 17:47:37 -04:00
committed by Sam Lantinga
parent d6d2c958a4
commit 44710a248c
6 changed files with 75 additions and 3 deletions

View File

@@ -1767,7 +1767,7 @@ typedef struct SDL_GPUMultisampleState
SDL_GPUSampleCount sample_count; /**< The number of samples to be used in rasterization. */
Uint32 sample_mask; /**< Reserved for future use. Must be set to 0. */
bool enable_mask; /**< Reserved for future use. Must be set to false. */
Uint8 padding1;
bool enable_alpha_to_coverage; /**< true enables the alpha-to-coverage feature. */
Uint8 padding2;
Uint8 padding3;
} SDL_GPUMultisampleState;