|
SDL 3.0
|
#include <SDL_gpu.h>
Data Fields | |
| SDL_GPUBufferUsageFlags | usage |
| Uint32 | size |
| SDL_PropertiesID | props |
A structure specifying the parameters of a buffer.
Usage flags can be bitwise OR'd together for combinations of usages. Note that certain combinations are invalid, for example VERTEX and INDEX.
| SDL_PropertiesID SDL_GPUBufferCreateInfo::props |
| Uint32 SDL_GPUBufferCreateInfo::size |
| SDL_GPUBufferUsageFlags SDL_GPUBufferCreateInfo::usage |