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 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.
|
GetResource ()
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
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
GPUResource * GetResource ()
Gets the backing GPUResource
.