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

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

Copied!

static UploadContext* CreateUploadContext ()

UploadContext instance creation function. Implemented per api/platform to return the correct internal resource type.


Execute

Copied!

virtual void Execute () = 0

Executes batched GPU resource copies.


AppendTransferInfo

Copied!

void AppendTransferInfo (TransferInfo * pTransferInfo)

Adds TransferInfo data to the queue of resource copies to execute.


GetImpl

Copied!

virtual const UploadContextInternal* GetImpl () const = 0

Gets the internal implementation for api/platform parameter accessors.