|
SDL 3.0
|
#include <SDL_render.h>
Collaboration diagram for SDL_GPURenderStateDesc:Data Fields | |
| Uint32 | version |
| SDL_GPUShader * | fragment_shader |
| Sint32 | num_sampler_bindings |
| const SDL_GPUTextureSamplerBinding * | sampler_bindings |
| Sint32 | num_storage_textures |
| SDL_GPUTexture *const * | storage_textures |
| Sint32 | num_storage_buffers |
| SDL_GPUBuffer *const * | storage_buffers |
GPU render state description.
This structure should be initialized using SDL_INIT_INTERFACE().
Definition at line 2819 of file SDL_render.h.
| SDL_GPUShader* SDL_GPURenderStateDesc::fragment_shader |
The fragment shader to use when this render state is active
Definition at line 2823 of file SDL_render.h.
| Sint32 SDL_GPURenderStateDesc::num_sampler_bindings |
The number of additional fragment samplers to bind when this render state is active
Definition at line 2825 of file SDL_render.h.
| Sint32 SDL_GPURenderStateDesc::num_storage_buffers |
The number of storage buffers to bind when this render state is active
Definition at line 2831 of file SDL_render.h.
| Sint32 SDL_GPURenderStateDesc::num_storage_textures |
The number of storage textures to bind when this render state is active
Definition at line 2828 of file SDL_render.h.
| const SDL_GPUTextureSamplerBinding* SDL_GPURenderStateDesc::sampler_bindings |
Additional fragment samplers to bind when this render state is active
Definition at line 2826 of file SDL_render.h.
| SDL_GPUBuffer* const* SDL_GPURenderStateDesc::storage_buffers |
Storage buffers to bind when this render state is active
Definition at line 2832 of file SDL_render.h.
| SDL_GPUTexture* const* SDL_GPURenderStateDesc::storage_textures |
Storage textures to bind when this render state is active
Definition at line 2829 of file SDL_render.h.
| Uint32 SDL_GPURenderStateDesc::version |
the version of this interface
Definition at line 2821 of file SDL_render.h.