#include "../core/Core.h"
#include <SDL3/SDL_gpu.h>
Go to the source code of this file.
|
DownloadResult | candlewick::media::downloadTexture (CommandBuffer &command_buffer, const Device &device, TransferBufferPool &pool, SDL_GPUTexture *texture, SDL_GPUTextureFormat format, const Uint16 width, const Uint16 height) |
| Download texture to a mapped buffer.
|
|
void | candlewick::media::saveTextureToFile (CommandBuffer &command_buffer, const Device &device, TransferBufferPool &pool, SDL_GPUTexture *texture, SDL_GPUTextureFormat format, const Uint16 width, const Uint16 height, std::string_view filename) |
|