# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CStripifier Class Reference

Wrapper to NVidia(tm) Stripifier. More...

#include <stripifier.h>

List of all members.

Public Methods

 CStripifier ()
 Constructor. More...

void optimizeTriangles (const CPrimitiveBlock &in, CPrimitiveBlock &out, uint cacheSize=10)
 reorganize triangles to get efficiency of GPU vertex-cache. More...


Detailed Description

Wrapper to NVidia(tm) Stripifier.

Author:
Lionel Berenguier , Nevrax France
Date:
2001

Definition at line 43 of file stripifier.h.


Constructor & Destructor Documentation

NL3D::CStripifier::CStripifier  
 

Constructor.

Definition at line 42 of file stripifier.cpp.


Member Function Documentation

void NL3D::CStripifier::optimizeTriangles const CPrimitiveBlock   in,
CPrimitiveBlock   out,
uint    cacheSize = 10
 

reorganize triangles to get efficiency of GPU vertex-cache.

Default vertex cache is 10. out get the same list of triangles, but in different order. any list of lines / quads in out are not modified. NB: &in == &out is possible.

Definition at line 187 of file stripifier.cpp.

References in, and v.


The documentation for this class was generated from the following files: