#include <SDL_gpu.h>
A structure specifying a vertex attribute.
All vertex attribute locations provided to an SDL_GPUVertexInputState must be unique.
- Since
- This struct is available since SDL 3.1.3
- See also
- SDL_GPUVertexBufferDescription
-
SDL_GPUVertexInputState
Definition at line 1543 of file SDL_gpu.h.
◆ buffer_slot
Uint32 SDL_GPUVertexAttribute::buffer_slot |
The binding slot of the associated vertex buffer.
Definition at line 1546 of file SDL_gpu.h.
◆ format
The size and type of the attribute data.
Definition at line 1547 of file SDL_gpu.h.
◆ location
Uint32 SDL_GPUVertexAttribute::location |
The shader input location index.
Definition at line 1545 of file SDL_gpu.h.
◆ offset
Uint32 SDL_GPUVertexAttribute::offset |
The byte offset of this attribute relative to the start of the vertex element.
Definition at line 1548 of file SDL_gpu.h.
The documentation for this struct was generated from the following file: