Mix-in for an object that draws itself and then a list of other drawables.
Definition drawable.h:32
Draws one mesh many times, once per recorded instance transform.
Definition multimesh.h:39
Rnd::MultiMesh * mMesh
Definition tnlgemmeshkind.h:63
TnlGemMeshKind(Rnd::MultiMesh *pMesh, float flLodOffset, float flCostScale)
Take a multi-mesh as one level of detail and clear its instances.
float GetCost()
Report the drawing cost one gem at this level adds.
TnlGemMeshKind * mNext
Definition tnlgemmeshkind.h:66
void AddDrawTo(Rnd::Drawable *pParent)
Add the multi-mesh of this level and of every coarser level to a drawable.
void SetShowing(int nShowing)
Show or hide the multi-mesh of this level and of every coarser level.
float mCost
Definition tnlgemmeshkind.h:67
float mLodDistance
Definition tnlgemmeshkind.h:65
The rendering engine.
Definition animhelper.h:3