Package icyllis.arc3d.granite
Class Recording
java.lang.Object
icyllis.arc3d.granite.Recording
- All Implemented Interfaces:
Task
,AutoCloseable
The task of rendering a frame, created by
RecordingContext
,
will replay on ImmediateContext
.-
Field Summary
Fields inherited from interface icyllis.arc3d.engine.Task
RESULT_DISCARD, RESULT_FAILURE, RESULT_SUCCESS
-
Constructor Summary
ConstructorsConstructorDescriptionRecording
(TaskList rootTaskList, it.unimi.dsi.fastutil.objects.ObjectArrayList<@SharedPtr Resource> extraResourceRefs) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
execute
(ImmediateContext context, CommandBuffer commandBuffer) Add commands to command buffer onImmediateContext
.toString()
-
Constructor Details
-
Recording
public Recording(TaskList rootTaskList, it.unimi.dsi.fastutil.objects.ObjectArrayList<@SharedPtr Resource> extraResourceRefs)
-
-
Method Details
-
execute
Description copied from interface:Task
Add commands to command buffer onImmediateContext
. TheResourceProvider
ofImmediateContext
can also be used to create resources. -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
toString
-