SDL 3.0
|
#include <SDL_gpu.h>
A structure specifying the parameters of the graphics pipeline rasterizer state.
NOTE: Some backend APIs (D3D11/12) will enable depth clamping even if enable_depth_clip is true. If you rely on this clamp+clip behavior, consider enabling depth clip and then manually clamping depth in your fragment shaders on Metal and Vulkan.
SDL_GPUCullMode SDL_GPURasterizerState::cull_mode |
float SDL_GPURasterizerState::depth_bias_clamp |
float SDL_GPURasterizerState::depth_bias_constant_factor |
float SDL_GPURasterizerState::depth_bias_slope_factor |
bool SDL_GPURasterizerState::enable_depth_bias |
bool SDL_GPURasterizerState::enable_depth_clip |
SDL_GPUFillMode SDL_GPURasterizerState::fill_mode |
SDL_GPUFrontFace SDL_GPURasterizerState::front_face |