Class GPUCopySubresourceTask
GPU subresource copy task.
Assembly: FlaxEngine.dll
File: Engine/Graphics/Async/Tasks/GPUCopySubresourceTask.h
Syntax
public class GPUCopySubresourceTask : public GPUTask
Constructors
GPUCopySubresourceTask(GPUResource* src, GPUResource* dst, uint32 srcSubresource, uint32 dstSubresource)
Init
Declaration
public GPUCopySubresourceTask(GPUResource* src, GPUResource* dst, uint32 srcSubresource, uint32 dstSubresource)
Parameters
GPUResource
src
The source resource. |
GPUResource
dst
The destination resource. |
uint32
srcSubresource
The source subresource index. |
uint32
dstSubresource
The destination subresource index. |
Methods
HasReference(Object* resource)
Determines whether the specified object has reference to the given object.
Declaration
public virtual bool HasReference(Object* resource) const override
Parameters
Object
obj
The object. |
Returns
bool
True if the specified object has reference to the given object, otherwise false. |
Overrides
OnEnd()
run(GPUTasksContext* context)
Declaration
protected virtual Result run(GPUTasksContext* context) override
Parameters
GPUTasksContext
context
|
Returns
Result
|