|
SDL3pp
A slim C++ wrapper for SDL3
|
An opaque handle representing a copy pass. More...
Public Member Functions | |
| constexpr | GPUCopyPass (GPUCopyPassRaw gPUCopyPass={}) noexcept |
| Wraps GPUCopyPass. | |
| constexpr | operator GPUCopyPassRaw () const noexcept |
| Unwraps to the underlying GPUCopyPass. | |
| void | UploadToTexture (const GPUTextureTransferInfo &source, const GPUTextureRegion &destination, bool cycle) |
| Uploads data from a transfer buffer to a texture. | |
| void | UploadToBuffer (const GPUTransferBufferLocation &source, const GPUBufferRegion &destination, bool cycle) |
| Uploads data from a transfer buffer to a buffer. | |
| void | CopyTextureToTexture (const GPUTextureLocation &source, const GPUTextureLocation &destination, Uint32 w, Uint32 h, Uint32 d, bool cycle) |
| Performs a texture-to-texture copy. | |
| void | CopyBufferToBuffer (const GPUBufferLocation &source, const GPUBufferLocation &destination, Uint32 size, bool cycle) |
| Performs a buffer-to-buffer copy. | |
| void | DownloadFromTexture (const GPUTextureRegion &source, const GPUTextureTransferInfo &destination) |
| Copies data from a texture to a transfer buffer on the GPU timeline. | |
| void | DownloadFromBuffer (const GPUBufferRegion &source, const GPUTransferBufferLocation &destination) |
| Copies data from a buffer to a transfer buffer on the GPU timeline. | |
| void | End () |
| Ends the current copy pass. | |
An opaque handle representing a copy pass.
This handle is transient and should not be held or referenced after GPUCopyPass.End is called.
|
inlineconstexprnoexcept |
Wraps GPUCopyPass.
| gPUCopyPass | the value to be wrapped |
|
inlineconstexprnoexcept |
Unwraps to the underlying GPUCopyPass.