com.badlogic.gdx.graphics.g3d
Interface RenderableProvider

All Known Implementing Classes:
ModelInstance

public interface RenderableProvider

Returns a list of Renderable instances to be rendered by a ModelBatch.

Author:
badlogic

Method Summary
 void getRenderables(Array<Renderable> renderables, Pool<Renderable> pool)
          Returns Renderable instances.
 

Method Detail

getRenderables

void getRenderables(Array<Renderable> renderables,
                    Pool<Renderable> pool)
Returns Renderable instances. Renderables are obtained from the provided Pool and added to the provided array. The Renderables in the array will later be put back into the pool, do not store them internally. The resulting array can be rendered via a ModelBatch.

Parameters:
renderables - the output array
pool - the pool to obtain Renderables from


Copyright © 2013. All Rights Reserved.