OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::BspLevel::BspVertex Struct Reference

The index at which leaf nodes begin. More...

#include <OgreBspLevel.h>

Public Attributes

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

Detailed Description

The index at which leaf nodes begin.

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 130 of file OgreBspLevel.h.

Member Data Documentation

int Ogre::BspLevel::BspVertex::colour

Definition at line 134 of file OgreBspLevel.h.

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

Definition at line 136 of file OgreBspLevel.h.

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

Definition at line 133 of file OgreBspLevel.h.

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

Definition at line 132 of file OgreBspLevel.h.

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

Definition at line 135 of file OgreBspLevel.h.


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