Kochol Game Engine  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kge::gfx::VertexDec Class Reference

Custom vertex declaration. More...

#include <VertexDec.h>

Public Member Functions

 VertexDec (core::stringc &sName)
 Constructor.
 ~VertexDec ()
 Destructor.
u32 GetID ()
 Returns the vertex declaration ID.
const core::stringcGetName () const
 Returns the vertex declaration name.

Public Attributes

CustomVertex m_VertexDec
 For internal use.

Protected Attributes

u32 m_iUID
 Unique ID.
core::stringc m_sName
 The vertex declaration name.

Detailed Description

Custom vertex declaration.

Definition at line 20 of file VertexDec.h.

Constructor & Destructor Documentation

kge::gfx::VertexDec::VertexDec ( core::stringc sName)

Constructor.

kge::gfx::VertexDec::~VertexDec ( )

Destructor.

Member Function Documentation

u32 kge::gfx::VertexDec::GetID ( )
inline

Returns the vertex declaration ID.

Definition at line 31 of file VertexDec.h.

const core::stringc& kge::gfx::VertexDec::GetName ( ) const
inline

Returns the vertex declaration name.

Definition at line 34 of file VertexDec.h.

Member Data Documentation

u32 kge::gfx::VertexDec::m_iUID
protected

Unique ID.

Definition at line 40 of file VertexDec.h.

core::stringc kge::gfx::VertexDec::m_sName
protected

The vertex declaration name.

Definition at line 41 of file VertexDec.h.

CustomVertex kge::gfx::VertexDec::m_VertexDec

For internal use.

Definition at line 36 of file VertexDec.h.


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