candlewick 0.1.0
A renderer
|
Classes | |
struct | DownloadResult |
class | TransferBufferPool |
Transfer buffer for the texture downloader. More... | |
class | VideoRecorder |
Functions | |
DownloadResult | 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 | 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) |
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 ) |