Package gaiasky.util.gdx
Interface IntRenderableProvider
- All Known Implementing Classes:
IntModelInstance
public interface IntRenderableProvider
Returns a list of
IntRenderable
instances to be rendered by a IntModelBatch
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
getRenderables
(com.badlogic.gdx.utils.Array<IntRenderable> renderables, com.badlogic.gdx.utils.Pool<IntRenderable> pool) ReturnsIntRenderable
instances.
-
Method Details
-
getRenderables
void getRenderables(com.badlogic.gdx.utils.Array<IntRenderable> renderables, com.badlogic.gdx.utils.Pool<IntRenderable> pool) ReturnsIntRenderable
instances. Renderables are obtained from the providedPool
and added to the provided array. The IntRenderables obtained usingPool.obtain()
will later be put back into the pool, do not store them internally. The resulting array can be rendered via aIntModelBatch
.- Parameters:
renderables
- the output arraypool
- the pool to obtain IntRenderables from
-