Package com.prineside.tdi2.utils
Class ParallelBatchStack
java.lang.Object
com.prineside.tdi2.utils.ParallelBatchStack
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParallelBatchStack(int meshSize, com.badlogic.gdx.graphics.glutils.ShaderProgram shaderProgram, int maxThreads) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voidexecute()voidregisterBatch(int priority, ObjectRetriever<ParallelBatch> job) voidregisterBatch(int priority, ObjectRetriever<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, ObjectRetriever<ParallelBatch> job, Runnable postFlushRunnable) -
execute
public void execute() -
dispose
public void dispose()
-