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 TypeMethodDescriptionvoidgetRenderables(com.badlogic.gdx.utils.Array<IntRenderable> renderables, com.badlogic.gdx.utils.Pool<IntRenderable> pool)ReturnsIntRenderableinstances.
-
Method Details
-
getRenderables
void getRenderables(com.badlogic.gdx.utils.Array<IntRenderable> renderables, com.badlogic.gdx.utils.Pool<IntRenderable> pool)ReturnsIntRenderableinstances. Renderables are obtained from the providedPooland 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
-