|
SDL 3.0
|
#include <SDL_gpu.h>
A structure specifying the parameters of a texture.
Usage flags can be bitwise OR'd together for combinations of usages. Note that certain usage combinations are invalid, for example SAMPLER and GRAPHICS_STORAGE.
| SDL_GPUTextureFormat SDL_GPUTextureCreateInfo::format |
| Uint32 SDL_GPUTextureCreateInfo::height |
| Uint32 SDL_GPUTextureCreateInfo::layer_count_or_depth |
| Uint32 SDL_GPUTextureCreateInfo::num_levels |
| SDL_PropertiesID SDL_GPUTextureCreateInfo::props |
| SDL_GPUSampleCount SDL_GPUTextureCreateInfo::sample_count |
| SDL_GPUTextureType SDL_GPUTextureCreateInfo::type |
| SDL_GPUTextureUsageFlags SDL_GPUTextureCreateInfo::usage |
| Uint32 SDL_GPUTextureCreateInfo::width |