SDL 3.0
SDL_GPUMultisampleState Struct Reference

#include <SDL_gpu.h>

Data Fields

SDL_GPUSampleCount sample_count
 
Uint32 sample_mask
 
bool enable_mask
 
Uint8 padding1
 
Uint8 padding2
 
Uint8 padding3
 

Detailed Description

A structure specifying the parameters of the graphics pipeline multisample state.

Since
This struct is available since SDL 3.2.0.
See also
SDL_GPUGraphicsPipelineCreateInfo

Definition at line 1745 of file SDL_gpu.h.

Field Documentation

◆ enable_mask

bool SDL_GPUMultisampleState::enable_mask

Enables sample masking.

Definition at line 1749 of file SDL_gpu.h.

◆ padding1

Uint8 SDL_GPUMultisampleState::padding1

Definition at line 1750 of file SDL_gpu.h.

◆ padding2

Uint8 SDL_GPUMultisampleState::padding2

Definition at line 1751 of file SDL_gpu.h.

◆ padding3

Uint8 SDL_GPUMultisampleState::padding3

Definition at line 1752 of file SDL_gpu.h.

◆ sample_count

SDL_GPUSampleCount SDL_GPUMultisampleState::sample_count

The number of samples to be used in rasterization.

Definition at line 1747 of file SDL_gpu.h.

◆ sample_mask

Uint32 SDL_GPUMultisampleState::sample_mask

Determines which samples get updated in the render targets. Treated as 0xFFFFFFFF if enable_mask is false.

Definition at line 1748 of file SDL_gpu.h.


The documentation for this struct was generated from the following file: