VertexCache Class Reference

#include <VertexCache.h>

List of all members.

Public Member Functions

 VertexCache (int size)
 VertexCache ()
 ~VertexCache ()
bool InCache (int entry)
int AddEntry (int entry)
void Clear ()
void Copy (VertexCache *inVcache)
int At (int index)
void Set (int index, int value)

Private Attributes

int * entries
int numEntries


Detailed Description

Definition at line 37 of file VertexCache.h.


Constructor & Destructor Documentation

VertexCache::VertexCache ( int  size  )  [inline]

Definition at line 42 of file VertexCache.h.

References entries, i, and numEntries.

VertexCache::VertexCache (  )  [inline]

Definition at line 52 of file VertexCache.h.

VertexCache::~VertexCache (  )  [inline]

Definition at line 53 of file VertexCache.h.

References entries.


Member Function Documentation

int VertexCache::AddEntry ( int  entry  )  [inline]

Definition at line 70 of file VertexCache.h.

References entries, i, and numEntries.

int VertexCache::At ( int  index  )  [inline]

Definition at line 100 of file VertexCache.h.

References entries.

void VertexCache::Clear (  )  [inline]

Definition at line 87 of file VertexCache.h.

References entries, and numEntries.

void VertexCache::Copy ( VertexCache inVcache  )  [inline]

Definition at line 92 of file VertexCache.h.

References entries, i, numEntries, and Set().

bool VertexCache::InCache ( int  entry  )  [inline]

Definition at line 55 of file VertexCache.h.

References entries, i, and numEntries.

void VertexCache::Set ( int  index,
int  value 
) [inline]

Definition at line 101 of file VertexCache.h.

References entries.

Referenced by Copy().


Member Data Documentation

int* VertexCache::entries [private]

Definition at line 105 of file VertexCache.h.

Referenced by AddEntry(), At(), Clear(), Copy(), InCache(), Set(), VertexCache(), and ~VertexCache().

int VertexCache::numEntries [private]

Definition at line 106 of file VertexCache.h.

Referenced by AddEntry(), Clear(), Copy(), InCache(), and VertexCache().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:12:05 2010 for Second Life Viewer by  doxygen 1.4.7