resonance 1.0.1
Loading...
Searching...
No Matches
RenderStats Struct Reference

Per-frame counters the renderer maintains and the debug overlay reports. More...

#include <renderstats.h>

Public Attributes

int mnPoints
 Point particles submitted, advanced by the point path by the whole vertex count.
int mnMeshDraws
 Meshes submitted, incremented by Rnd::PsMesh::DrawShowing().
int mnFacesClipped
 Triangles with at least one vertex outside a plane, counted before the drop tests.
int mnSplitTriangles
 Triangles Rnd::ClipTriangleToFrustum() splits, counted once the shared-plane reject passes.
int mnTriangles
 Triangles submitted, advanced by Rnd::PsMesh::DrawFacesVU1() by the face count.
int mnEdgesClipped
 Edges dropped by the clip test.
int mnLines
 Lines emitted, which stands to the edge count as mnTriangles does to the face count.
int mnSpritesCulled
 Sprite pairs rejected whole by the corner test.
int mnSpritesDrawn
 Sprites drawn, advanced per sprite and by the batch count in the VU1 path.
int mnVertsTransformed
 Vertices transformed, advanced by both vertex transform passes by the run length.
int mnGifTags
 GIF tags opened, incremented by GfxDevice::WriteGifTag().
int mnGifPackets
 GIF packets submitted, incremented by GfxDevice::FlushGifPacket().
int mnMatSelects
 Materials applied, incremented by each of the Rnd::PsMat select entry points.
int mnLitVerts
 Vertices lit, advanced by Rnd::TransformAndLightMeshVerts() and printed as "litverts".

Detailed Description

Per-frame counters the renderer maintains and the debug overlay reports.

Each counter is recovered from the routine that increments it, and the labels GfxDevice::DrawRenderStatsOverlay() prints for every word confirm the list. The total size is unrecovered.

Member Data Documentation

◆ mnPoints

int RenderStats::mnPoints

Point particles submitted, advanced by the point path by the whole vertex count.

◆ mnMeshDraws

int RenderStats::mnMeshDraws

Meshes submitted, incremented by Rnd::PsMesh::DrawShowing().

◆ mnFacesClipped

int RenderStats::mnFacesClipped

Triangles with at least one vertex outside a plane, counted before the drop tests.

◆ mnSplitTriangles

int RenderStats::mnSplitTriangles

Triangles Rnd::ClipTriangleToFrustum() splits, counted once the shared-plane reject passes.

Printed as "splittris".

◆ mnTriangles

int RenderStats::mnTriangles

Triangles submitted, advanced by Rnd::PsMesh::DrawFacesVU1() by the face count.

◆ mnEdgesClipped

int RenderStats::mnEdgesClipped

Edges dropped by the clip test.

◆ mnLines

int RenderStats::mnLines

Lines emitted, which stands to the edge count as mnTriangles does to the face count.

◆ mnSpritesCulled

int RenderStats::mnSpritesCulled

Sprite pairs rejected whole by the corner test.

◆ mnSpritesDrawn

int RenderStats::mnSpritesDrawn

Sprites drawn, advanced per sprite and by the batch count in the VU1 path.

◆ mnVertsTransformed

int RenderStats::mnVertsTransformed

Vertices transformed, advanced by both vertex transform passes by the run length.

◆ mnGifTags

int RenderStats::mnGifTags

GIF tags opened, incremented by GfxDevice::WriteGifTag().

◆ mnGifPackets

int RenderStats::mnGifPackets

GIF packets submitted, incremented by GfxDevice::FlushGifPacket().

◆ mnMatSelects

int RenderStats::mnMatSelects

Materials applied, incremented by each of the Rnd::PsMat select entry points.

◆ mnLitVerts

int RenderStats::mnLitVerts

Vertices lit, advanced by Rnd::TransformAndLightMeshVerts() and printed as "litverts".


The documentation for this struct was generated from the following file: