class CopyResource

Copy resources are used to prime GPU resources with data (copied over via the Copy queue).

File location: framework/cauldron/framework/inc/render/copyresource.h

Structs

Name

Description

SourceData

SourceData for CopyResource.

Methods

Return type

Description

static CopyResource*

CreateCopyResource ( const GPUResource * pDest, const SourceData * pSrc, ResourceState initialState )
CopyResource instance creation function. Implemented per api/platform to return the correct internal resource type.

GPUResource *

Gets the backing “GPUResource“.

const GPUResource *

GetResource () const

Detailed description

Copy resources are used to prime GPU resources with data (copied over via the Copy queue).

Methods

CreateCopyResource

Copied!

static CopyResource* CreateCopyResource (
    const GPUResource * pDest,
    const SourceData * pSrc,
    ResourceState  initialState
)

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


GetResource

Copied!

GPUResource * GetResource ()

Gets the backing GPUResource.