logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GPUBufferCreateInfo - A structure specifying the parameters of a buffer.

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;

See Also