SDL_GPUBufferCreateInfo - A structure specifying the parameters of a buffer.
Contents
Availability
This struct is available since SDL 3.2.0.
Description
Usage flags can be bitwise OR'd together for combinations of usages. Note that certain combinations are
invalid, for example VERTEX and INDEX.
Header File
Defined in SDL3/SDL_gpu.h
Name
SDL_GPUBufferCreateInfo - A structure specifying the parameters of a buffer.
See Also
•(3), SDL_CreateGPUBuffer(3), •(3), SDL_GPUBufferUsageFlags(3type) Simple Directmedia Layer SDL 3.2.10 SDL_GPUBufferCreateInfo(3type)
Synopsis
#include"SDL3/SDL.h"typedefstructSDL_GPUBufferCreateInfo{SDL_GPUBufferUsageFlagsusage;/**<Howthebufferisintendedtobeusedbytheclient.*/Uint32size;/**<Thesizeinbytesofthebuffer.*/SDL_PropertiesIDprops;/**<ApropertiesIDforextensions.Shouldbe0ifnoextensionsareneeded.*/}SDL_GPUBufferCreateInfo;