TrinityCore
|
Go to the source code of this file.
Classes | |
class | G3D::_internal::_BinaryFormat< T > |
Namespaces | |
G3D | |
G3D::_internal | |
Macros | |
#define | binaryFormatOf(T) (G3D::_internal::_BinaryFormat<T>::x()) |
#define | DECLARE_BINARYFORMATOF(CType, EnumType) |
Functions | |
int32 | G3D::byteSize (BinaryFormat f) |
Morgan McGuire, http://graphics.cs.williams.edu
Copyright 2000-2005, Morgan McGuire. All rights reserved.
#define binaryFormatOf | ( | T | ) | (G3D::_internal::_BinaryFormat<T>::x()) |
A macro that maps G3D types to format constants. (e.g. binaryFormatOf(Vector3) == VECTOR3_BINFMT).
#define DECLARE_BINARYFORMATOF | ( | CType, | |
EnumType | |||
) |
Macro to declare the underlying format (as will be returned by glFormatOf) of a type. For example,
DECLARE_BINARYFORMATOF(Vector4, VECTOR4_BINFMT)
Use this so you can make vertex arrays of your own classes and not just the standard ones.