class UploadContext
The FidelityFX Cauldron Framework
api/platform-agnostic representation of an upload context.
File location: framework/cauldron/framework/inc/render/commandlist.h
Methods
Return type |
Description |
---|---|
static UploadContext* |
UploadContext instance creation function. Implemented per api/platform to return the correct internal resource type.
|
void |
Execute () = 0
Executes batched GPU resource copies.
|
void |
AppendTransferInfo (TransferInfo * pTransferInfo)
Adds TransferInfo data to the queue of resource copies to execute.
|
const UploadContextInternal* |
GetImpl () const = 0
Gets the internal implementation for api/platform parameter accessors.
|
UploadContextInternal* |
GetImpl () = 0
|
Detailed description
The FidelityFX Cauldron Framework
api/platform-agnostic representation of an upload context. Used to transfer asset data from CPU memory to GPU memory via the copy queue.
Methods
CreateUploadContext
UploadContext instance creation function. Implemented per api/platform to return the correct internal resource type.
Execute
Executes batched GPU resource copies.
AppendTransferInfo
void AppendTransferInfo (TransferInfo * pTransferInfo)
Adds TransferInfo data to the queue of resource copies to execute.
GetImpl
Gets the internal implementation for api/platform parameter accessors.