Class MeshPool
java.lang.Object
dev.engine_room.flywheel.backend.engine.MeshPool
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAllocate a model in the arena.voidbind(GlVertexArray vertexArray) voiddelete()voidflush()
-
Constructor Details
-
MeshPool
public MeshPool()Create a new mesh pool.
-
-
Method Details
-
alloc
Allocate a model in the arena.- Parameters:
mesh- The model to allocate.- Returns:
- A handle to the allocated model.
-
get
-
flush
public void flush() -
bind
-
delete
public void delete()
-