OGRE-Next  3.0.0
Object-Oriented Graphics Rendering Engine
OgreVertexElements.h File Reference

Namespaces

 Ogre
 bswapNN may be defined as macros in <sys/endian.h> or <sys/bswap.h>
 

Enumerations

enum  Ogre::VertexElementSemantic {
  Ogre::VES_POSITION = 1 , Ogre::VES_BLEND_WEIGHTS = 2 , Ogre::VES_BLEND_INDICES = 3 , Ogre::VES_NORMAL = 4 ,
  Ogre::VES_DIFFUSE = 5 , Ogre::VES_SPECULAR = 6 , Ogre::VES_TEXTURE_COORDINATES = 7 , Ogre::VES_BINORMAL = 8 ,
  Ogre::VES_TANGENT = 9 , Ogre::VES_BLEND_WEIGHTS2 = 10 , Ogre::VES_BLEND_INDICES2 = 11 , Ogre::VES_COUNT = 11
}
 Vertex element semantics, used to identify the meaning of vertex buffer contents. More...
 
enum  Ogre::VertexElementType {
  Ogre::VET_FLOAT1 = 0 , Ogre::VET_FLOAT2 = 1 , Ogre::VET_FLOAT3 = 2 , Ogre::VET_FLOAT4 = 3 ,
  Ogre::VET_COLOUR = 4 , Ogre::VET_SHORT2 = 6 , Ogre::VET_SHORT4 = 8 , Ogre::VET_UBYTE4 = 9 ,
  Ogre::VET_COLOUR_ARGB = 10 , Ogre::VET_COLOUR_ABGR = 11 , Ogre::VET_DOUBLE1 = 12 , Ogre::VET_DOUBLE2 = 13 ,
  Ogre::VET_DOUBLE3 = 14 , Ogre::VET_DOUBLE4 = 15 , Ogre::VET_USHORT1_DEPRECATED = 16 , Ogre::VET_USHORT2 = 17 ,
  Ogre::VET_USHORT3_DEPRECATED = 18 , Ogre::VET_USHORT4 = 19 , Ogre::VET_INT1 = 20 , Ogre::VET_INT2 = 21 ,
  Ogre::VET_INT3 = 22 , Ogre::VET_INT4 = 23 , Ogre::VET_UINT1 = 24 , Ogre::VET_UINT2 = 25 ,
  Ogre::VET_UINT3 = 26 , Ogre::VET_UINT4 = 27 , Ogre::VET_BYTE4 = 28 , Ogre::VET_BYTE4_SNORM = 29 ,
  Ogre::VET_UBYTE4_NORM = 30 , Ogre::VET_SHORT2_SNORM = 31 , Ogre::VET_SHORT4_SNORM = 32 , Ogre::VET_USHORT2_NORM = 33 ,
  Ogre::VET_USHORT4_NORM = 34 , Ogre::VET_HALF2 = 35 , Ogre::VET_HALF4 = 36
}
 Vertex element type, used to identify the base types of the vertex contents Note that all attributes must be aligned to 4 bytes, that's why VET_SHORT1 (among others) doesn't exist. More...