Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::GeometryData Struct Reference

Common structure containing info about geometry. More...

#include <OgreGeometryData.h>

List of all members.

Public Attributes

unsigned short numVertices
 Count of the number of vertices contained herein. More...

bool hasNormals
 If true, vertex normals are present in the data. More...

unsigned short numTexCoords
 Number of texture coordinates sets present in the data. More...

unsigned short numTexCoordDimensions [OGRE_MAX_TEXTURE_COORD_SETS]
 Number of texture dimensions in each set of texture coords. More...

bool hasColours
 If true, vertex colours are present in the data. More...

RealpVertices
 Position (x,y,z) components of shared vertices. More...

RealpTexCoords [OGRE_MAX_TEXTURE_COORD_SETS]
 Texture coordinate components of shared vertices. More...

RealpNormals
 Vertex normal components of shared vertices. More...

unsigned long * pColours
 Vertex colour components of shared vertices - RGBA packed. More...

unsigned short vertexStride
 The 'Stride' between sets of vertex data. 0 indicates data is packed with no gaps. More...

unsigned short normalStride
 The 'Stride' between sets of normal data. 0 indicates data is packed with no gaps. More...

unsigned short texCoordStride [OGRE_MAX_TEXTURE_COORD_SETS]
 The 'Stride' between each set of texture data. 0 indicates data is packed with no gaps. More...

unsigned short colourStride
 The 'Stride' between sets of diffuse colour data. 0 indicates data is packed with no gaps. More...

unsigned short numBlendWeightsPerVertex
 The number of vertex blending weights per vertex. More...

RenderOperation::VertexBlendDatapBlendingWeights
 Optional pointer to a list of vertex blending details, organised in vertex order. More...


Detailed Description

Common structure containing info about geometry.


Member Data Documentation

unsigned short Ogre::GeometryData::colourStride
 

The 'Stride' between sets of diffuse colour data. 0 indicates data is packed with no gaps.

bool Ogre::GeometryData::hasColours
 

If true, vertex colours are present in the data.

bool Ogre::GeometryData::hasNormals
 

If true, vertex normals are present in the data.

unsigned short Ogre::GeometryData::normalStride
 

The 'Stride' between sets of normal data. 0 indicates data is packed with no gaps.

unsigned short Ogre::GeometryData::numBlendWeightsPerVertex
 

The number of vertex blending weights per vertex.

unsigned short Ogre::GeometryData::numTexCoordDimensions[OGRE_MAX_TEXTURE_COORD_SETS]
 

Number of texture dimensions in each set of texture coords.

unsigned short Ogre::GeometryData::numTexCoords
 

Number of texture coordinates sets present in the data.

unsigned short Ogre::GeometryData::numVertices
 

Count of the number of vertices contained herein.

RenderOperation::VertexBlendData* Ogre::GeometryData::pBlendingWeights
 

Optional pointer to a list of vertex blending details, organised in vertex order.

The number of weights per vertex is recorded in numBlendWeightsPerVertex - there must be this many for every vertex: set the weight to 0 for those vertices that don't use all the entries (if some vertices have more than others)

unsigned long* Ogre::GeometryData::pColours
 

Vertex colour components of shared vertices - RGBA packed.

Real* Ogre::GeometryData::pNormals
 

Vertex normal components of shared vertices.

Real* Ogre::GeometryData::pTexCoords[OGRE_MAX_TEXTURE_COORD_SETS]
 

Texture coordinate components of shared vertices.

Real* Ogre::GeometryData::pVertices
 

Position (x,y,z) components of shared vertices.

unsigned short Ogre::GeometryData::texCoordStride[OGRE_MAX_TEXTURE_COORD_SETS]
 

The 'Stride' between each set of texture data. 0 indicates data is packed with no gaps.

unsigned short Ogre::GeometryData::vertexStride
 

The 'Stride' between sets of vertex data. 0 indicates data is packed with no gaps.

Copyright © 2002 by The OGRE Team