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

Ogre::BspLevel::BspVertex Struct Reference

Vertex format for fixed geometry. More...

#include <OgreBspLevel.h>

List of all members.

Public Attributes

float position [3]
float normal [3]
int colour
float texcoords [2]
float lightmap [2]


Detailed Description

Vertex format for fixed geometry.

Note that in this case vertex components (position, normal, texture coords etc) are held interleaved in the same buffer. However, the format here is different from the format used by Quake because older Direct3d drivers like the vertex elements to be in a particular order within the buffer. See VertexDeclaration for full details of this marvellous(not) feature.

Definition at line 126 of file OgreBspLevel.h.


Member Data Documentation

int Ogre::BspLevel::BspVertex::colour
 

Definition at line 130 of file OgreBspLevel.h.

float Ogre::BspLevel::BspVertex::lightmap[2]
 

Definition at line 132 of file OgreBspLevel.h.

float Ogre::BspLevel::BspVertex::normal[3]
 

Definition at line 129 of file OgreBspLevel.h.

float Ogre::BspLevel::BspVertex::position[3]
 

Definition at line 128 of file OgreBspLevel.h.

float Ogre::BspLevel::BspVertex::texcoords[2]
 

Definition at line 131 of file OgreBspLevel.h.


The documentation for this struct was generated from the following file:

Copyright © 2000-2005 by The OGRE Team
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:46:32 2006