Class: vertextype

For usercreated meshes it is necessary to specify what vertextype you want to have. Different vertextypes have different attributes and sizes.

Hierarchy

o-+ renderinterface
  o-+ vertextype

Methods:

Method overview:


vertex16color ()
returns: (vertextype)
size 16 bytes, position (3 floats), color (4 unsigned byte).
vertex32normals ()
returns: (vertextype)
size 32 bytes, normals (3 shorts), position (3 floats), color (4 unsigned bytes), 1 texcoord channel (2 floats).
vertex32texcoords ()
returns: (vertextype)
size 32 bytes, position (3 floats), color (4 unsigned byte), 2 texcoord channels (2*2 floats).
vertex64 ()
returns: (vertextype)
size 64 bytes, normals (3 floats), position (3 floats), color (4 unsigned bytes), 4 texcoord channels (4*2 floats). The last 2 texcoord channels serve as user4 (4 floats)

Inherited Methods: