mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-20 04:56:07 +00:00
Clarify SDL_GPUVertexBufferDescription.pitch comment (#13381)
(cherry picked from commit ee6d8f78f4)
This commit is contained in:
parent
ee371ff740
commit
1ab01b9367
1 changed files with 1 additions and 1 deletions
|
|
@ -1549,7 +1549,7 @@ typedef struct SDL_GPUSamplerCreateInfo
|
|||
typedef struct SDL_GPUVertexBufferDescription
|
||||
{
|
||||
Uint32 slot; /**< The binding slot of the vertex buffer. */
|
||||
Uint32 pitch; /**< The byte pitch between consecutive elements of the vertex buffer. */
|
||||
Uint32 pitch; /**< The size of a single element + the offset between elements. */
|
||||
SDL_GPUVertexInputRate input_rate; /**< Whether attribute addressing is a function of the vertex index or instance index. */
|
||||
Uint32 instance_step_rate; /**< Reserved for future use. Must be set to 0. */
|
||||
} SDL_GPUVertexBufferDescription;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue