Package | Description |
---|---|
com.badlogic.gdx.graphics.g3d | |
com.badlogic.gdx.graphics.g3d.utils |
Modifier and Type | Class and Description |
---|---|
static class |
ModelCache.Sorter
A
RenderableSorter that sorts by vertex attributes, material attributes and primitive types (in that order), so that
meshes can be easily merged. |
Modifier and Type | Field and Description |
---|---|
protected RenderableSorter |
ModelBatch.sorter
the
RenderableSorter |
Modifier and Type | Method and Description |
---|---|
RenderableSorter |
ModelBatch.getRenderableSorter() |
Constructor and Description |
---|
ModelBatch(RenderableSorter sorter)
Construct a ModelBatch
|
ModelBatch(RenderContext context,
RenderableSorter sorter)
Construct a ModelBatch, using this constructor makes you responsible for calling context.begin() and context.end() yourself.
|
ModelBatch(RenderContext context,
ShaderProvider shaderProvider,
RenderableSorter sorter)
Construct a ModelBatch, using this constructor makes you responsible for calling context.begin() and context.end() yourself.
|
ModelBatch(ShaderProvider shaderProvider,
RenderableSorter sorter)
Construct a ModelBatch
|
ModelCache(RenderableSorter sorter,
ModelCache.MeshPool meshPool)
Create a ModelCache using the specified
RenderableSorter and ModelCache.MeshPool implementation. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultRenderableSorter |