|
ObjectivelyGPU
Object oriented graphics framework for SDL3 and C
|
The swapchain texture acquired for a single frame. More...
#include <CommandBuffer.h>
Data Fields | |
| SDL_GPUTexture * | texture |
| The swapchain render target for this frame. | |
| SDL_GPUTextureFormat | format |
| The swapchain texture format. | |
| SDL_Size | size |
| The swapchain dimensions in pixels. | |
The swapchain texture acquired for a single frame.
Valid only between a successful acquireSwapchainTexture call and the submit of the same CommandBuffer. SDL3 reclaims the texture on submit.
| SDL_GPUTextureFormat SwapchainTexture::format |
The swapchain texture format.
| SDL_Size SwapchainTexture::size |
The swapchain dimensions in pixels.
| SDL_GPUTexture* SwapchainTexture::texture |
The swapchain render target for this frame.