ModelRendererStats

Description

struct Tinman.Engine.Models.ModelRendererStats

Statistics of model geometry rendered with a ModelRenderer.

Public / Attributes

Draw​Count


public readonly attribute DrawCount → (int32)

The total number of render API draw calls that have been made.

Model​Count


public readonly attribute ModelCount → (int32)

The total number of IModel objects that have been visited directly or indirectly by ModelRenderer.Render.

This values gives an indication of the complexity of the model hierarchy.

Primitive​Count


public readonly attribute PrimitiveCount → (int32)

The total number of rendered primitives, taking into account geometry instancing (see IModel.UseGeometryInstancing).

This values gives an indication of the complexity of the rendered geometry.

State​Geometry


public readonly attribute StateGeometry → (int32)

The total number of render state changes because of different model geometry (see IModelGeometry).

State​Material


public readonly attribute StateMaterial → (int32)

The total number of render state changes because of different model materials (see IMaterial).

State​Pass


public readonly attribute StatePass → (int32)

The total number of render state changes because of different shader technique passes (see IRenderEffectBase.Pass).