|
SDL 3.0
|
#include <SDL_gpu.h>
Data Fields | |
| SDL_GPUTexture * | texture |
| Uint32 | mip_level |
| Uint32 | layer |
| Uint32 | x |
| Uint32 | y |
| Uint32 | z |
| Uint32 | w |
| Uint32 | h |
| Uint32 | d |
A structure specifying a region of a texture.
Used when transferring data to or from a texture.
| Uint32 SDL_GPUTextureRegion::layer |
| Uint32 SDL_GPUTextureRegion::mip_level |
| SDL_GPUTexture* SDL_GPUTextureRegion::texture |
| Uint32 SDL_GPUTextureRegion::x |
| Uint32 SDL_GPUTextureRegion::y |
| Uint32 SDL_GPUTextureRegion::z |