R showPrimitives (cvar)

Description

Reports surfaces, vertex indexes, vertices and texture memory used in scene.

Usage

At the console type…

r_showPrimitives [int]

Parameters

  • [int]
    • 0 - Disable.
    • 1 - Display first set of information.
    • 2 - Display second set of information.

Flags

Flag Enabled Description
CVAR_ALL all flags
CVAR_BOOL variable is a boolean
CVAR_INTEGER X variable is an integer
CVAR_FLOAT variable is a float
CVAR_SYSTEM system variable
CVAR_RENDERER X renderer variable
CVAR_SOUND sound variable
CVAR_GUI gui variable
CVAR_GAME game variable
CVAR_TOOL tool variable
CVAR_USERINFO sent to servers, available to menu
CVAR_SERVERINFO sent from servers, available to menu
CVAR_NETWORKSYNC cvar is synced from the server to clients
CVAR_STATIC X statically declared, not user created
CVAR_CHEAT X variable is considered a cheat
CVAR_NOCHEAT variable is not considered a cheat
CVAR_INIT can only be set from the command-line
CVAR_ROM display only, cannot be set by user at all
CVAR_ARCHIVE set to cause it to be saved to a config file
CVAR_MODIFIED X set when the variable is modified

Notes

The information displayed with “1”:

  • views - Number of drawn camera views.
  • draws - How many draw calls are sent to the GPU.
  • tris - Number of total polygons sent to the GPU.
  • shdw - Number of shadow polygons sent to the GPU.
  • vbo - Number of vertex buffers.
  • image - How much memory is being used by textures in the current scene only (it doesn’t include frame buffer memory).

The information displayed with “2”:

  • v - Same as views above.
  • ds - Same as draws above.
  • t - Number of polygons (after removing the number of shadow polygons) / “ambient” polygons.
  • v - Number of vertices (after removing the number of shadow vertices) / “ambient” vertices.
  • st - Number of shadow triangles only.
  • sv - Number of shadow vertices only.
  • image - Same as image above.