# OgreHardwareVertexBuffer.h File Reference

`#include "OgrePrerequisites.h"`
`#include "OgreHardwareBuffer.h"`
`#include "OgreSharedPtr.h"`
`#include "OgreColourValue.h"`

Go to the source code of this file.

## Namespaces

namespace | Ogre

## Enumerations

enum | VertexElementSemantic { 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 }
| Vertex element semantics, used to identify the meaning of vertex buffer contents. More...
enum | VertexElementType { 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 }
| Vertex element type, used to identify the base types of the vertex contents. More...

## Enumeration Type Documentation

enum Ogre::VertexElementSemantic

Vertex element semantics, used to identify the meaning of vertex buffer contents.

Enumeration values:

  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).

Definition at line 70 of file OgreHardwareVertexBuffer.h.

enum Ogre::VertexElementType

Vertex element type, used to identify the base types of the vertex contents.

Enumeration values:

  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.

Definition at line 93 of file OgreHardwareVertexBuffer.h.

Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 17 15:39:13 2006