| Interface | Description |
|---|---|
| ModelCache.MeshPool |
Allows to reuse one or more meshes while avoiding creating new objects.
|
| RenderableProvider |
Returns a list of
Renderable instances to be rendered by a ModelBatch. |
| Shader |
Interface which is used to render one or more
Renderables. |
| Class | Description |
|---|---|
| Attribute |
Extend this class to implement a material attribute.
|
| Attributes | |
| Environment | |
| Material | |
| Model |
A model represents a 3D assets.
|
| ModelBatch |
Batches
Renderable instances, fetches Shaders for them, sorts them and then renders them. |
| ModelBatch.RenderablePool | |
| ModelCache |
ModelCache tries to combine multiple render calls into a single render call by merging them where possible.
|
| ModelCache.SimpleMeshPool |
A basic
ModelCache.MeshPool implementation that avoids creating new meshes at the cost of memory usage. |
| ModelCache.Sorter |
A
RenderableSorter that sorts by vertex attributes, material attributes and primitive types (in that order), so that
meshes can be easily merged. |
| ModelCache.TightMeshPool |
A tight
ModelCache.MeshPool implementation, which is typically used for static meshes (create once, use many). |
| ModelInstance |
An instance of a
Model, allows to specify global transform and modify the materials, as it has a copy of the model's
materials. |
| Renderable |
A Renderable contains all information about a single render instruction (typically a draw call).
|