Package com.badlogic.gdx.graphics.g3d
Class ModelBatch.RenderablePool
- java.lang.Object
-
- com.badlogic.gdx.utils.Pool<T>
-
- com.badlogic.gdx.utils.FlushablePool<Renderable>
-
- com.badlogic.gdx.graphics.g3d.ModelBatch.RenderablePool
-
- Enclosing class:
- ModelBatch
protected static class ModelBatch.RenderablePool extends FlushablePool<Renderable>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.badlogic.gdx.utils.Pool
Pool.Poolable
-
-
Field Summary
-
Fields inherited from class com.badlogic.gdx.utils.FlushablePool
obtained
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RenderablePool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Renderable
newObject()
Renderable
obtain()
Returns an object from this pool.-
Methods inherited from class com.badlogic.gdx.utils.FlushablePool
flush, free, freeAll
-
-
-
-
Method Detail
-
newObject
protected Renderable newObject()
- Specified by:
newObject
in classPool<Renderable>
-
obtain
public Renderable obtain()
Description copied from class:Pool
Returns an object from this pool. The object may be new (fromPool.newObject()
) or reused (previouslyfreed
).- Overrides:
obtain
in classFlushablePool<Renderable>
-
-