Interface RenderableProvider

    • 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 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.
        Parameters:
        renderables - the output array
        pool - the pool to obtain Renderables from