PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
CVertArray Class Reference

Public Member Functions

bool GetVerticesAreValid () const
 
bool GetNormalsAreValid () const
 
bool GetTexCoordsAreValid () const
 
bool GetColorsAreValid () const
 
void SetVerticesValid (bool valid)
 
void SetNormalsValid (bool valid)
 
void SetTexCoordsValid (bool valid)
 
void SetColorsValid (bool valid)
 
void * GetVertices () const
 
void * GetNormals () const
 
void * GetTexCoords () const
 
void * GetColors () const
 
void SetVertices (void *newPtr)
 
void SetNormals (void *newPtr)
 
void SetTexCoords (void *newPtr)
 
void SetColors (void *newPtr)
 
int GetWordsPerVertex () const
 
int GetWordsPerNormal () const
 
int GetWordsPerTexCoord () const
 
int GetWordsPerColor () const
 
void SetWordsPerVertex (int numWords)
 
void SetWordsPerNormal (int numWords)
 
void SetWordsPerTexCoord (int numWords)
 
void SetWordsPerColor (int numWords)
 

Private Attributes

void * Vertices
 
void * Normals
 
void * TexCoords
 
void * Colors
 
bool VerticesAreValid
 
bool NormalsAreValid
 
bool TexCoordsAreValid
 
bool ColorsAreValid
 
char WordsPerVertex
 
char WordsPerNormal
 
char WordsPerTexCoord
 
char WordsPerColor
 

Detailed Description

Definition at line 27 of file gmanager.h.

Constructor & Destructor Documentation

◆ CVertArray()

CVertArray::CVertArray ( )

Definition at line 27 of file gmanager.cpp.

Member Function Documentation

◆ GetVerticesAreValid()

bool CVertArray::GetVerticesAreValid ( ) const
inline

Definition at line 35 of file gmanager.h.

◆ GetNormalsAreValid()

bool CVertArray::GetNormalsAreValid ( ) const
inline

Definition at line 36 of file gmanager.h.

◆ GetTexCoordsAreValid()

bool CVertArray::GetTexCoordsAreValid ( ) const
inline

Definition at line 37 of file gmanager.h.

◆ GetColorsAreValid()

bool CVertArray::GetColorsAreValid ( ) const
inline

Definition at line 38 of file gmanager.h.

◆ SetVerticesValid()

void CVertArray::SetVerticesValid ( bool  valid)
inline

Definition at line 40 of file gmanager.h.

◆ SetNormalsValid()

void CVertArray::SetNormalsValid ( bool  valid)
inline

Definition at line 41 of file gmanager.h.

◆ SetTexCoordsValid()

void CVertArray::SetTexCoordsValid ( bool  valid)
inline

Definition at line 42 of file gmanager.h.

◆ SetColorsValid()

void CVertArray::SetColorsValid ( bool  valid)
inline

Definition at line 43 of file gmanager.h.

◆ GetVertices()

void * CVertArray::GetVertices ( ) const
inline

Definition at line 45 of file gmanager.h.

◆ GetNormals()

void * CVertArray::GetNormals ( ) const
inline

Definition at line 46 of file gmanager.h.

◆ GetTexCoords()

void * CVertArray::GetTexCoords ( ) const
inline

Definition at line 47 of file gmanager.h.

◆ GetColors()

void * CVertArray::GetColors ( ) const
inline

Definition at line 48 of file gmanager.h.

◆ SetVertices()

void CVertArray::SetVertices ( void *  newPtr)
inline

Definition at line 50 of file gmanager.h.

◆ SetNormals()

void CVertArray::SetNormals ( void *  newPtr)
inline

Definition at line 51 of file gmanager.h.

◆ SetTexCoords()

void CVertArray::SetTexCoords ( void *  newPtr)
inline

Definition at line 52 of file gmanager.h.

◆ SetColors()

void CVertArray::SetColors ( void *  newPtr)
inline

Definition at line 53 of file gmanager.h.

◆ GetWordsPerVertex()

int CVertArray::GetWordsPerVertex ( ) const
inline

Definition at line 55 of file gmanager.h.

◆ GetWordsPerNormal()

int CVertArray::GetWordsPerNormal ( ) const
inline

Definition at line 56 of file gmanager.h.

◆ GetWordsPerTexCoord()

int CVertArray::GetWordsPerTexCoord ( ) const
inline

Definition at line 57 of file gmanager.h.

◆ GetWordsPerColor()

int CVertArray::GetWordsPerColor ( ) const
inline

Definition at line 58 of file gmanager.h.

◆ SetWordsPerVertex()

void CVertArray::SetWordsPerVertex ( int  numWords)
inline

Definition at line 60 of file gmanager.h.

◆ SetWordsPerNormal()

void CVertArray::SetWordsPerNormal ( int  numWords)
inline

Definition at line 61 of file gmanager.h.

◆ SetWordsPerTexCoord()

void CVertArray::SetWordsPerTexCoord ( int  numWords)
inline

Definition at line 62 of file gmanager.h.

◆ SetWordsPerColor()

void CVertArray::SetWordsPerColor ( int  numWords)
inline

Definition at line 63 of file gmanager.h.

Field Documentation

◆ Vertices

void* CVertArray::Vertices
private

Definition at line 28 of file gmanager.h.

◆ Normals

void * CVertArray::Normals
private

Definition at line 28 of file gmanager.h.

◆ TexCoords

void * CVertArray::TexCoords
private

Definition at line 28 of file gmanager.h.

◆ Colors

void * CVertArray::Colors
private

Definition at line 28 of file gmanager.h.

◆ VerticesAreValid

bool CVertArray::VerticesAreValid
private

Definition at line 29 of file gmanager.h.

◆ NormalsAreValid

bool CVertArray::NormalsAreValid
private

Definition at line 29 of file gmanager.h.

◆ TexCoordsAreValid

bool CVertArray::TexCoordsAreValid
private

Definition at line 29 of file gmanager.h.

◆ ColorsAreValid

bool CVertArray::ColorsAreValid
private

Definition at line 29 of file gmanager.h.

◆ WordsPerVertex

char CVertArray::WordsPerVertex
private

Definition at line 30 of file gmanager.h.

◆ WordsPerNormal

char CVertArray::WordsPerNormal
private

Definition at line 30 of file gmanager.h.

◆ WordsPerTexCoord

char CVertArray::WordsPerTexCoord
private

Definition at line 30 of file gmanager.h.

◆ WordsPerColor

char CVertArray::WordsPerColor
private

Definition at line 30 of file gmanager.h.


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