Package icyllis.arc3d.engine.task
Class TaskList
java.lang.Object
icyllis.arc3d.engine.task.TaskList
- All Implemented Interfaces:
AutoCloseable
,Consumer<@SharedPtr Task>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(@SharedPtr Task task) Same asappendTask(Task)
void
appendTask
(@SharedPtr Task task) void
appendTasks
(TaskList tasks) This method moves the given task list.void
appendTasks
(List<@SharedPtr ? extends Task> tasks) This method moves the given task list.void
clear()
void
close()
int
execute
(ImmediateContext context, CommandBuffer commandBuffer) boolean
isEmpty()
int
prepare
(RecordingContext context) void
prependTask
(@SharedPtr Task task) int
size()
-
Constructor Details
-
TaskList
public TaskList()
-
-
Method Details
-
appendTask
-
prependTask
-
accept
Same asappendTask(Task)
- Specified by:
accept
in interfaceConsumer<@SharedPtr Task>
-
appendTasks
This method moves the given task list. -
appendTasks
This method moves the given task list. -
size
public int size() -
isEmpty
public boolean isEmpty() -
clear
public void clear() -
prepare
-
execute
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-