Interface BufferedModel
- All Known Implementing Classes:
IndexedModel,ModelPool.PooledModel,VBOModel
public interface BufferedModel
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()voiddrawCall()voiddrawInstances(int instanceCount) Draws many instances of this model, assuming the appropriate state is already bound.default intdefault BufferLayoutgetType()intbooleanvoidsetupState(GlVertexArray vao) The VAO must be bound externally.default booleanvalid()
-
Method Details
-
getType
VertexType getType() -
getVertexCount
int getVertexCount() -
setupState
The VAO must be bound externally. -
drawCall
void drawCall() -
drawInstances
void drawInstances(int instanceCount) Draws many instances of this model, assuming the appropriate state is already bound. -
isDeleted
boolean isDeleted() -
delete
void delete() -
getLayout
-
valid
default boolean valid() -
getAttributeCount
default int getAttributeCount()
-