Package icyllis.arc3d.granite.task
Class DrawTask
java.lang.Object
icyllis.arc3d.core.RefCnt
icyllis.arc3d.granite.task.Task
icyllis.arc3d.granite.task.DrawTask
- All Implemented Interfaces:
RefCounted,Task
-
Field Summary
Fields inherited from interface icyllis.arc3d.engine.Task
RESULT_DISCARD, RESULT_FAILURE, RESULT_SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCleanup resources.intexecute(ImmediateContext context, CommandBuffer commandBuffer) Add commands to command buffer onImmediateContext.intprepare(RecordingContext context) Prepare resources onRecordingContextusing itsResourceProvider.
-
Constructor Details
-
DrawTask
-
-
Method Details
-
deallocate
protected void deallocate()Description copied from class:TaskCleanup resources.- Overrides:
deallocatein classTask
-
prepare
Description copied from class:TaskPrepare resources onRecordingContextusing itsResourceProvider. -
execute
Description copied from class:TaskAdd commands to command buffer onImmediateContext. TheResourceProviderofImmediateContextcan also be used to create resources.
-