The Nebula Device 3: CoreGraphics::VertexComponent Class Reference

The Nebula Device 3

CoreGraphics::VertexComponent Class Reference

#include <vertexcomponent.h>


Detailed Description

Describes a single vertex component in a vertex layout description.

(C) 2006 Radon Labs GmbH

Public Types

enum  SemanticName
 component semantic
enum  Format
 component format
enum  AccessType
 access type

Public Member Functions

 VertexComponent ()
 default constructor
 VertexComponent (SemanticName semName, IndexT semIndex, Format format)
 constructor
SemanticName GetSemanticName () const
 get semantic name
IndexT GetSemanticIndex () const
 get semantic index
Format GetFormat () const
 get vertex component format
SizeT GetByteSize () const
 get the byte size of the vertex component
Util::String GetSignature () const
 get a unique signature of the vertex component
AccessType GetAccessType () const
 get access type

Static Public Member Functions

static Util::String SemanticNameToString (SemanticName n)
 convert semantic name to string
static Util::String FormatToString (Format f)
 convert format to string