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 TypeMethodDescriptionvoidclose()intexecute(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:TaskAdd commands to command buffer onImmediateContext. TheResourceProviderofImmediateContextcan also be used to create resources. -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
toString
-