ModelRendererStats

Description

struct Tinman.Engine.Models.ModelRendererStats

Statistics of model geometry rendered with a ModelRenderer.

Public / Attributes

DrawCount


public readonly attribute DrawCount → (int32)

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

ModelCount


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.

PrimitiveCount


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.

StateGeometry


public readonly attribute StateGeometry → (int32)

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

StateMaterial


public readonly attribute StateMaterial → (int32)

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

StatePass


public readonly attribute StatePass → (int32)

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