NL3D::CPrimitiveProfile Class Reference

#include <primitive_profile.h>


Detailed Description

A Primitive counter.
Author:
Lionel Berenguier

Nevrax France

Date:
2001

Definition at line 43 of file primitive_profile.h.

Public Member Functions

 CPrimitiveProfile ()
void reset ()

Data Fields

uint NLines
uint NPoints
uint NQuads
uint NTriangles
uint NTriangleStrips
 The number of triangles strip rendered (if you just draw 1 strip of 400 triangles, NTriangleStrips==400).


Constructor & Destructor Documentation

NL3D::CPrimitiveProfile::CPrimitiveProfile  )  [inline]
 

Definition at line 53 of file primitive_profile.h.

References NL3D_MEM_PRIMITIVE_PROFILE, and reset().

00054         {
00055                 NL3D_MEM_PRIMITIVE_PROFILE
00056                 reset();
00057         }


Member Function Documentation

void NL3D::CPrimitiveProfile::reset  ) 
 

Definition at line 35 of file primitive_profile.cpp.

References NL3D_MEM_PRIMITIVE_PROFILE, NLines, NPoints, NQuads, and NTriangleStrips.

Referenced by CPrimitiveProfile(), and NL3D::CDriverGL::swapBuffers().

00036 {
00037         NL3D_MEM_PRIMITIVE_PROFILE
00038         NPoints= 0;
00039         NLines= 0;
00040         NTriangles= 0;
00041         NQuads= 0;
00042         NTriangleStrips= 0;
00043 }


Field Documentation

uint NL3D::CPrimitiveProfile::NLines
 

Definition at line 47 of file primitive_profile.h.

Referenced by NL3D::CDriverGL::render(), and reset().

uint NL3D::CPrimitiveProfile::NPoints
 

Definition at line 46 of file primitive_profile.h.

Referenced by NL3D::CDriverGL::renderPoints(), and reset().

uint NL3D::CPrimitiveProfile::NQuads
 

Definition at line 49 of file primitive_profile.h.

Referenced by NL3D::CDriverGL::render(), NL3D::CDriverGL::renderOrientedQuads(), NL3D::CDriverGL::renderQuads(), and reset().

uint NL3D::CPrimitiveProfile::NTriangles
 

Definition at line 48 of file primitive_profile.h.

Referenced by NL3D::CVegetableManager::render(), NL3D::CVegetableBlendLayerModel::render(), NL3D::CDriverGL::render(), NL3D::CDriverGL::renderSimpleTriangles(), and NL3D::CDriverGL::renderTriangles().

uint NL3D::CPrimitiveProfile::NTriangleStrips
 

The number of triangles strip rendered (if you just draw 1 strip of 400 triangles, NTriangleStrips==400).

Definition at line 51 of file primitive_profile.h.

Referenced by reset().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 07:03:09 2004 for NeL by doxygen 1.3.6