|
enum | Semantic {
VES_POSITION = 1
, VES_BLEND_WEIGHTS = 2
, VES_BLEND_INDICES = 3
, VES_NORMAL = 4
,
VES_DIFFUSE = 5
, VES_SPECULAR = 6
, VES_TEXTURE_COORDINATES = 7
, VES_BINORMAL = 8
,
VES_TANGENT = 9
, VES_COUNT = 9
} |
| Vertex element semantics, used to identify the meaning of vertex buffer contents. More...
|
|
enum | Type {
VET_FLOAT1 = 0
, VET_FLOAT2 = 1
, VET_FLOAT3 = 2
, VET_FLOAT4 = 3
,
VET_COLOUR = 4
, VET_SHORT1 = 5
, VET_SHORT2 = 6
, VET_SHORT3 = 7
,
VET_SHORT4 = 8
, VET_UBYTE4 = 9
, VET_COLOUR_ARGB = 10
, VET_COLOUR_ABGR = 11
,
VET_DOUBLE1 = 12
, VET_DOUBLE2 = 13
, VET_DOUBLE3 = 14
, VET_DOUBLE4 = 15
,
VET_USHORT1 = 16
, VET_USHORT2 = 17
, VET_USHORT3 = 18
, VET_USHORT4 = 19
,
VET_INT1 = 20
, VET_INT2 = 21
, VET_INT3 = 22
, VET_INT4 = 23
,
VET_UINT1 = 24
, VET_UINT2 = 25
, VET_UINT3 = 26
, VET_UINT4 = 27
} |
| Vertex element type, used to identify the base types of the vertex contents. More...
|
|
◆ Semantic
Vertex element semantics, used to identify the meaning of vertex buffer contents.
Enumerator |
---|
VES_POSITION | Position, 3 reals per vertex.
|
VES_BLEND_WEIGHTS | Blending weights.
|
VES_BLEND_INDICES | Blending indices.
|
VES_NORMAL | Normal, 3 reals per vertex.
|
VES_DIFFUSE | Diffuse colours.
|
VES_SPECULAR | Specular colours.
|
VES_TEXTURE_COORDINATES | Texture coordinates.
|
VES_BINORMAL | Binormal (Y axis if normal is Z)
|
VES_TANGENT | Tangent (X axis if normal is Z)
|
VES_COUNT | The number of VertexElementSemantic elements (note - the first value VES_POSITION is 1)
|
◆ Type
Vertex element type, used to identify the base types of the vertex contents.
Enumerator |
---|
VET_FLOAT1 | |
VET_FLOAT2 | |
VET_FLOAT3 | |
VET_FLOAT4 | |
VET_COLOUR | alias to more specific colour type - use the current rendersystem's colour packing
|
VET_SHORT1 | |
VET_SHORT2 | |
VET_SHORT3 | |
VET_SHORT4 | |
VET_UBYTE4 | |
VET_COLOUR_ARGB | D3D style compact colour.
|
VET_COLOUR_ABGR | GL style compact colour.
|
VET_DOUBLE1 | |
VET_DOUBLE2 | |
VET_DOUBLE3 | |
VET_DOUBLE4 | |
VET_USHORT1 | |
VET_USHORT2 | |
VET_USHORT3 | |
VET_USHORT4 | |
VET_INT1 | |
VET_INT2 | |
VET_INT3 | |
VET_INT4 | |
VET_UINT1 | |
VET_UINT2 | |
VET_UINT3 | |
VET_UINT4 | |
◆ VertexElement()
Assimp::Ogre::VertexElement::VertexElement |
( |
| ) |
|
◆ ComponentCount() [1/2]
size_t Assimp::Ogre::VertexElement::ComponentCount |
( |
| ) |
const |
Count of components in this element, eg. VET_FLOAT3 return 3.
◆ ComponentCount() [2/2]
size_t Assimp::Ogre::VertexElement::ComponentCount |
( |
Type |
type | ) |
|
|
static |
◆ SemanticToString() [1/2]
std::string Assimp::Ogre::VertexElement::SemanticToString |
( |
| ) |
|
◆ SemanticToString() [2/2]
std::string Assimp::Ogre::VertexElement::SemanticToString |
( |
Semantic |
semantic | ) |
|
|
static |
◆ Size()
size_t Assimp::Ogre::VertexElement::Size |
( |
| ) |
const |
Size of the vertex element in bytes.
◆ TypeSize()
size_t Assimp::Ogre::VertexElement::TypeSize |
( |
Type |
type | ) |
|
|
static |
◆ TypeToString() [1/2]
std::string Assimp::Ogre::VertexElement::TypeToString |
( |
| ) |
|
◆ TypeToString() [2/2]
std::string Assimp::Ogre::VertexElement::TypeToString |
( |
Type |
type | ) |
|
|
static |
◆ index
uint16_t Assimp::Ogre::VertexElement::index |
◆ offset
uint16_t Assimp::Ogre::VertexElement::offset |
◆ semantic
Semantic Assimp::Ogre::VertexElement::semantic |
◆ source
uint16_t Assimp::Ogre::VertexElement::source |
◆ type
Type Assimp::Ogre::VertexElement::type |
The documentation for this class was generated from the following files: