Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound 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

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


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. This is because selected vertices will be copied from this main buffer to a rendering pipeline buffer ('vertex cache' in Quake3 speak) and it's easier & quicker to just copy a contiguous block from one buffer for all components than to copy from several separate buffers.


Member Data Documentation

int Ogre::BspLevel::BspVertex::colour
 

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

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

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

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

Copyright © 2002 by The OGRE Team