CrystalSpace

Public API Reference

csPenCache Class Reference

A pen cache. More...

#include <cstool/pen.h>

List of all members.

Public Member Functions

void Clear ()
 Clear this cache.
void PushMesh (csSimpleRenderMesh *mesh, csSimpleMeshFlags flags)
 Push a new mesh to this renderer.
void Render (iGraphics3D *g3d)
 Render this cached pen.
void SetTransform (const csReversibleTransform &trans)
 Set a transform.

Detailed Description

A pen cache.

This class can be used to remember a series of commands so that they can be rendered faster.

Definition at line 85 of file pen.h.


Member Function Documentation

void csPenCache::Clear (  ) 

Clear this cache.

void csPenCache::PushMesh ( csSimpleRenderMesh mesh,
csSimpleMeshFlags  flags 
)

Push a new mesh to this renderer.

If this mesh is compatible with the previous one then they will be merged.

void csPenCache::Render ( iGraphics3D g3d  ) 

Render this cached pen.

void csPenCache::SetTransform ( const csReversibleTransform trans  ) 

Set a transform.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1