Class GPUCopyResourceTask
GPU resource copy task.
Assembly: FlaxEngine.dll
File: Engine/Graphics/Async/Tasks/GPUCopyResourceTask.h
Syntax
public class GPUCopyResourceTask : public GPUTask
Constructors
GPUCopyResourceTask(GPUResource* src, GPUResource* dst)
Initializes a new instance of the GPUCopyResourceTask class.
Declaration
public GPUCopyResourceTask(GPUResource* src, GPUResource* dst)
Parameters
|
GPUResource
src
The source resource. |
|
GPUResource
dst
The destination resource. |
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
|