Package com.prineside.tdi2.utils
Class ParallelBatchStack
java.lang.Object
com.prineside.tdi2.utils.ParallelBatchStack
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionParallelBatchStack
(int meshSize, com.badlogic.gdx.graphics.glutils.ShaderProgram shaderProgram, int maxThreads) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
execute()
void
registerBatch
(int priority, ObjectConsumer<ParallelBatch> job) void
registerBatch
(int priority, ObjectConsumer<ParallelBatch> job, Runnable postFlushRunnable)
-
Field Details
-
batchesOrdered
-
-
Constructor Details
-
ParallelBatchStack
public ParallelBatchStack(int meshSize, com.badlogic.gdx.graphics.glutils.ShaderProgram shaderProgram, int maxThreads)
-
-
Method Details
-
registerBatch
-
registerBatch
public void registerBatch(int priority, ObjectConsumer<ParallelBatch> job, Runnable postFlushRunnable) -
execute
public void execute() -
dispose
public void dispose()
-