Package icyllis.arc3d.granite.task
Class CopyImageTask
java.lang.Object
icyllis.arc3d.core.RefCnt
icyllis.arc3d.granite.task.Task
icyllis.arc3d.granite.task.CopyImageTask
- All Implemented Interfaces:
RefCounted
,Task
-
Field Summary
Fields inherited from interface icyllis.arc3d.engine.Task
RESULT_DISCARD, RESULT_FAILURE, RESULT_SUCCESS
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Cleanup resources.int
execute
(ImmediateContext context, CommandBuffer commandBuffer) Add commands to command buffer onImmediateContext
.static @SharedPtr CopyImageTask
make
(@SharedPtr ImageViewProxy srcProxy, @NonNull Rect2ic subset, @SharedPtr ImageViewProxy dstProxy, int dstX, int dstY, int dstLevel) int
prepare
(RecordingContext context) Prepare resources onRecordingContext
using itsResourceProvider
.
-
Method Details
-
make
@SharedPtr public static @SharedPtr CopyImageTask make(@SharedPtr @SharedPtr ImageViewProxy srcProxy, @NonNull Rect2ic subset, @SharedPtr @SharedPtr ImageViewProxy dstProxy, int dstX, int dstY, int dstLevel) -
deallocate
protected void deallocate()Description copied from class:Task
Cleanup resources.- Overrides:
deallocate
in classTask
-
prepare
Description copied from class:Task
Prepare resources onRecordingContext
using itsResourceProvider
. -
execute
Description copied from class:Task
Add commands to command buffer onImmediateContext
. TheResourceProvider
ofImmediateContext
can also be used to create resources.
-