Keos::COGLEnum Class Reference

Convert Keos enums/flags for OpenGL. More...

#include <KeosOGLEnum.h>

List of all members.

Static Public Member Functions

static ulong BufferFlags (ulong nFlags)
 Buffer creation flags.
static ulong LockFlags (ulong nFlags)
 Lock flags.
static GLenum Get (TMatrixType Value)
 Matrix type.
static GLenum GetMatrix (TMatrixType Value)
 Matrix type for glGetFloatv, glGetIntegerv, .
static TPixelFmt Get (TPixelFormat Value)
 Formats of pixel.
static GLenum Get (TBlend Value)
 Alpha-blending parameters.
static GLenum Get (TTextureOp Value)
 Textures operators.
static GLenum Get (TTextureArg Value)
 Arguments of mixing of the units of texture.
static GLenum Get (TRenderParameter Value)
 Render parameters.
static GLenum Get (TFillMode Value)
 Fill modes.

Classes

struct  TPixelFmt
 Structure of the formats of pixel. More...


Detailed Description

Convert Keos enums/flags for OpenGL.

Definition at line 32 of file KeosOGLEnum.h.


Member Function Documentation

ulong Keos::COGLEnum::BufferFlags ( ulong  nFlags  )  [static]

Buffer creation flags.

Todo:
why GL_STATIC_DRAW_ARB for dynamic buffers ?

Definition at line 118 of file KeosOGLEnum.cpp.

References Keos::BUF_DYNAMIC, and GL_STATIC_DRAW_ARB.

Referenced by Keos::COGLRenderSystem::_CreateIB(), and Keos::COGLRenderSystem::_CreateVB().

ulong Keos::COGLEnum::LockFlags ( ulong  nFlags  )  [static]

Lock flags.

Definition at line 125 of file KeosOGLEnum.cpp.

References GL_READ_ONLY_ARB, GL_READ_WRITE_ARB, GL_WRITE_ONLY_ARB, Keos::LOCK_READONLY, and Keos::LOCK_WRITEONLY.

GLenum Keos::COGLEnum::Get ( TMatrixType  Value  )  [static]

Matrix type.

Definition at line 135 of file KeosOGLEnum.cpp.

Referenced by Keos::COGLRenderSystem::CreateTexture(), Keos::COGLRenderSystem::Enable(), Keos::COGLRenderSystem::LoadMatrix(), Keos::COGLRenderSystem::LoadMatrixMult(), Keos::COGLRenderSystem::PopMatrix(), Keos::COGLRenderSystem::PushMatrix(), Keos::COGLRenderSystem::SetFillMode(), Keos::COGLRenderSystem::SetupAlphaBlending(), and Keos::COGLRenderSystem::SetupTextureUnit().

GLenum Keos::COGLEnum::GetMatrix ( TMatrixType  Value  )  [static]

Matrix type for glGetFloatv, glGetIntegerv, .

..

Definition at line 141 of file KeosOGLEnum.cpp.

Referenced by Keos::COGLRenderSystem::GetMatrix().

COGLEnum::TPixelFmt Keos::COGLEnum::Get ( TPixelFormat  Value  )  [static]

Formats of pixel.

Definition at line 147 of file KeosOGLEnum.cpp.

GLenum Keos::COGLEnum::Get ( TBlend  Value  )  [static]

Alpha-blending parameters.

Definition at line 153 of file KeosOGLEnum.cpp.

GLenum Keos::COGLEnum::Get ( TTextureOp  Value  )  [static]

Textures operators.

Definition at line 159 of file KeosOGLEnum.cpp.

GLenum Keos::COGLEnum::Get ( TTextureArg  Value  )  [static]

Arguments of mixing of the units of texture.

Definition at line 165 of file KeosOGLEnum.cpp.

GLenum Keos::COGLEnum::Get ( TRenderParameter  Value  )  [static]

Render parameters.

Definition at line 171 of file KeosOGLEnum.cpp.

GLenum Keos::COGLEnum::Get ( TFillMode  Value  )  [static]

Fill modes.

Definition at line 177 of file KeosOGLEnum.cpp.


The documentation for this class was generated from the following files:
Generated on Fri Mar 9 14:29:32 2007 for Keos by  doxygen 1.5.1-p1