Scroll to navigation

SDL_GPUMultisampleState(3type) SDL3 DATATYPES SDL_GPUMultisampleState(3type)

NAME

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

HEADER FILE

Defined in SDL3/SDL_gpu.h

SYNOPSIS

#include "SDL3/SDL.h"
typedef struct SDL_GPUMultisampleState
{
    SDL_GPUSampleCount sample_count;  /**< The number of samples to be used in rasterization. */
    Uint32 sample_mask;               /**< Determines which samples get updated in the render targets. Treated as 0xFFFFFFFF if enable_mask is false. */
    bool enable_mask;             /**< Enables sample masking. */
    Uint8 padding1;
    Uint8 padding2;
    Uint8 padding3;
} SDL_GPUMultisampleState;

AVAILABILITY

This struct is available since SDL 3.1.3

SEE ALSO

(3), SDL_GPUGraphicsPipelineCreateInfo(3type)

SDL 3.1.6 Simple Directmedia Layer