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
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 arraypool
- the pool to obtain Renderables from
Copyright © 2013. All Rights Reserved.