Package com.badlogic.gdx.graphics.g3d
package com.badlogic.gdx.graphics.g3d
-
ClassDescriptionExtend this class to implement a material attribute.A model represents a 3D assets.Batches
Renderable
instances, fetchesShader
s for them, sorts them and then renders them.ModelCache tries to combine multiple render calls into a single render call by merging them where possible.Allows to reuse one or more meshes while avoiding creating new objects.A basicModelCache.MeshPool
implementation that avoids creating new meshes at the cost of memory usage.ARenderableSorter
that sorts by vertex attributes, material attributes and primitive types (in that order), so that meshes can be easily merged.A tightModelCache.MeshPool
implementation, which is typically used for static meshes (create once, use many).An instance of aModel
, allows to specify global transform and modify the materials, as it has a copy of the model's materials.A Renderable contains all information about a single render instruction (typically a draw call).Returns a list ofRenderable
instances to be rendered by aModelBatch
.Interface which is used to render one or moreRenderable
s.