Package gaiasky.util.gdx
Interface IntRenderableProvider
- All Known Implementing Classes:
IntModelInstance
,ModelInstanceHack
,Scene
,SceneSkybox
public interface IntRenderableProvider
-
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
-