SDL_GPUVertexInputState - A structure specifying the parameters of a graphics pipeline vertex input
Contents
Availability
This struct is available since SDL 3.2.0.
Name
SDL_GPUVertexInputState - A structure specifying the parameters of a graphics pipeline vertex input
state.
See Also
SDL_GPUGraphicsPipelineCreateInfo(3type), SDL_GPUVertexBufferDescription(3type), SDL_GPUVertexAttribute(3type) Simple Directmedia Layer SDL 3.2.20 SDL_GPUVertexInputState(3type)
Synopsis
#include<SDL3/SDL_gpu.h>typedefstructSDL_GPUVertexInputState{constSDL_GPUVertexBufferDescription*vertex_buffer_descriptions;/**<Apointertoanarrayofvertexbufferdescriptions.*/Uint32num_vertex_buffers;/**<Thenumberofvertexbufferdescriptionsintheabovearray.*/constSDL_GPUVertexAttribute*vertex_attributes;/**<Apointertoanarrayofvertexattributedescriptions.*/Uint32num_vertex_attributes;/**<Thenumberofvertexattributedescriptionsintheabovearray.*/}SDL_GPUVertexInputState;