public interface RenderableProvider
Renderable instances to be rendered by a ModelBatch.| Modifier and Type | Method and Description |
|---|---|
void |
getRenderables(Array<Renderable> renderables,
Pool<Renderable> pool)
Returns
Renderable instances. |
void getRenderables(Array<Renderable> renderables, Pool<Renderable> pool)
Renderable instances. Renderables are obtained from the provided Pool and added to the provided
array. The Renderables obtained using Pool.obtain() will later be put back into the pool, do not store them
internally. The resulting array can be rendered via a ModelBatch.renderables - the output arraypool - the pool to obtain Renderables from