|
Rendu
A lightweight rendering engine for experimentations
|
Request for an asynchronous texture download. Data has been copied from the source texture to a buffer during the frame. The readback of the buffer to the CPU has to be performed once the frame is complete. More...
#include <GPUInternal.hpp>
Public Attributes | |
| std::shared_ptr< Buffer > | dstBuffer |
| Transfer buffer containing the texture data (mappable). | |
| std::unique_ptr< Texture > | dstTexture |
| Destination texture whose images have to be populated. | |
| std::function< void(const Texture &)> | callback |
| Callback to execute once the images creation is complete. | |
| glm::uvec2 | dstImageRange {0u,0u} |
| First index and number of images to populate (some mips/layers can be skipped). | |
| uint64_t | frame = 0 |
| Frame where the download was requested. | |
| GPUAsyncTask | id = 0 |
| Async task ID. | |
Request for an asynchronous texture download. Data has been copied from the source texture to a buffer during the frame. The readback of the buffer to the CPU has to be performed once the frame is complete.