Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

VertexAttribute Struct Reference

List of all members.

Public Types

enum  {
  Position = 0, Color0 = 1, Color1 = 2, Normal = 3,
  Tangent = 4, Texture0 = 5, Texture1 = 6, Texture2 = 7,
  Texture3 = 8, MaxAttribute = 9, InvalidAttribute = -1
}
enum  Format {
  Float1 = 0, Float2 = 1, Float3 = 2, Float4 = 3,
  UByte4 = 4, InvalidFormat = -1
}

Public Attributes

Format format
unsigned int offset

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Position 
Color0 
Color1 
Normal 
Tangent 
Texture0 
Texture1 
Texture2 
Texture3 
MaxAttribute 
InvalidAttribute 

Definition at line 22 of file xtocmod.cpp.

00022          {
00023         Position = 0,
00024         Color0   = 1,
00025         Color1   = 2,
00026         Normal   = 3,
00027         Tangent  = 4,
00028         Texture0 = 5,
00029         Texture1 = 6,
00030         Texture2 = 7,
00031         Texture3 = 8,
00032         MaxAttribute = 9,
00033         InvalidAttribute  = -1,
00034     };

enum VertexAttribute::Format
 

Enumeration values:
Float1 
Float2 
Float3 
Float4 
UByte4 
InvalidFormat 

Definition at line 36 of file xtocmod.cpp.

00037     {
00038         Float1 = 0,
00039         Float2 = 1,
00040         Float3 = 2,
00041         Float4 = 3,
00042         UByte4 = 4,
00043         InvalidFormat = -1,
00044     };


Member Data Documentation

Format VertexAttribute::format
 

Definition at line 47 of file xtocmod.cpp.

Referenced by CreateVertexAttributeMap(), DumpVertexDescription(), generateNormals(), and generateTangents().

unsigned int VertexAttribute::offset
 

Definition at line 46 of file xtocmod.cpp.

Referenced by CreateVertexAttributeMap(), DumpMeshVertices(), generateNormals(), and generateTangents().


The documentation for this struct was generated from the following file:
Generated on Sat Jan 14 22:33:41 2006 for Celestia by  doxygen 1.4.1