Keos::COGLDeclaration Class Reference

Class for OpenGL vertex declarations. More...

#include <KeosOGLDeclaration.h>

Inheritance diagram for Keos::COGLDeclaration:

Inheritance graph
[legend]
List of all members.

Public Types

typedef std::vector< TElementTElementArray
typedef std::vector< TElementArrayTElementMatrix

Public Member Functions

 COGLDeclaration ()
 Default constructor.
 ~COGLDeclaration ()
 Destructor.
void AddElement (uint nStream, const TElement &Element)
 Add an element description.
const TElementArrayGetStreamElements (uint nStream) const
 Return the description of one stram from declaration.

Classes

struct  TElement

Detailed Description

Class for OpenGL vertex declarations.

Definition at line 33 of file KeosOGLDeclaration.h.


Member Typedef Documentation

typedef std::vector<TElement> Keos::COGLDeclaration::TElementArray

Definition at line 44 of file KeosOGLDeclaration.h.

typedef std::vector<TElementArray> Keos::COGLDeclaration::TElementMatrix

Definition at line 45 of file KeosOGLDeclaration.h.


Constructor & Destructor Documentation

Keos::COGLDeclaration::COGLDeclaration (  ) 

Default constructor.

Definition at line 32 of file KeosOGLDeclaration.cpp.

Keos::COGLDeclaration::~COGLDeclaration (  ) 

Destructor.

Definition at line 37 of file KeosOGLDeclaration.cpp.


Member Function Documentation

void Keos::COGLDeclaration::AddElement ( uint  nStream,
const TElement Element 
)

Add an element description.

Parameters:
nStream Stream number.
Element Element to add.

Definition at line 41 of file KeosOGLDeclaration.cpp.

Referenced by Keos::COGLRenderSystem::CreateDeclaration().

const COGLDeclaration::TElementArray & Keos::COGLDeclaration::GetStreamElements ( uint  nStream  )  const

Return the description of one stram from declaration.

Parameters:
nStream Stream number.
Returns:
Reference on the elements array of the stream.

Definition at line 47 of file KeosOGLDeclaration.cpp.

Referenced by Keos::COGLRenderSystem::_SetVB().


The documentation for this class was generated from the following files:
Generated on Fri Mar 9 14:29:32 2007 for Keos by  doxygen 1.5.1-p1