Class InstancedInstancer<I extends Instance>
java.lang.Object
com.jozufozu.flywheel.backend.engine.AbstractInstancer<I>
com.jozufozu.flywheel.backend.engine.instancing.InstancedInstancer<I>
- All Implemented Interfaces:
Instancer<I>
-
Field Summary
Fields inherited from class com.jozufozu.flywheel.backend.engine.AbstractInstancer
changed, deleted, environment, handles, instances, lock, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDrawCall(InstancedDraw instancedDraw) voidbind(TextureBuffer buffer) voiddelete()draws()voidinit()booleanneedsToGrow(long capacity) voidupdate()Methods inherited from class com.jozufozu.flywheel.backend.engine.AbstractInstancer
clear, createInstance, instanceCount, notifyDirty, notifyRemoval, removeDeletedInstances, stealInstance, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.jozufozu.flywheel.api.instance.Instancer
createInstances
-
Constructor Details
-
InstancedInstancer
-
-
Method Details
-
draws
-
init
public void init() -
update
public void update() -
needsToGrow
public boolean needsToGrow(long capacity) -
delete
public void delete()- Overrides:
deletein classAbstractInstancer<I extends Instance>
-
addDrawCall
-
bind
-