|
candlewick 0.10.0-4-g76c0
A tiny cross-platform renderer based on SDL3
|
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 ) |