Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

# 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 Private Attributes

static GLenum | MatrixType []
| Matrix types.
static GLenum | MatrixType2 []
| Matrix types for glGetFloatv, glGetIntegerv, ....
static TPixelFmt | PixelFormat []
| Pixel formats.
static GLenum | Blend []
| Alpha-blending parameters.
static GLenum | TextureOp []
| Textures operators.
static GLenum | TextureArg []
| Arguments of mixing of the units of texture.
static GLenum | RenderParameter []
| Render parameters.

## 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. Definition at line 109 of file KeosOGLEnum.cpp. References Keos::BUF_DYNAMIC, and GL_STATIC_DRAW_ARB.

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

| Render parameters. Definition at line 162 of file KeosOGLEnum.cpp. References RenderParameter.

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

| Arguments of mixing of the units of texture. Definition at line 156 of file KeosOGLEnum.cpp. References TextureArg.

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

| Textures operators. Definition at line 150 of file KeosOGLEnum.cpp. References TextureOp.

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

| Alpha-blending parameters. Definition at line 144 of file KeosOGLEnum.cpp. References Blend.

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

| Formats of pixel. Definition at line 138 of file KeosOGLEnum.cpp. References PixelFormat.

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

| Matrix type. Definition at line 126 of file KeosOGLEnum.cpp. References MatrixType.

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

| Matrix type for glGetFloatv, glGetIntegerv, ... Definition at line 132 of file KeosOGLEnum.cpp. References MatrixType2.

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

| Lock flags. Definition at line 116 of file KeosOGLEnum.cpp. References GL_READ_ONLY_ARB, GL_READ_WRITE_ARB, GL_WRITE_ONLY_ARB, Keos::LOCK_READONLY, and Keos::LOCK_WRITEONLY.

## Member Data Documentation

GLenum Keos::COGLEnum::Blend`[static, private]`

| Initial value:
        {
            GL_SRC_ALPHA,
            GL_ONE_MINUS_SRC_ALPHA,
            GL_DST_ALPHA,
            GL_ONE_MINUS_DST_ALPHA,
            GL_SRC_COLOR,
            GL_ONE_MINUS_SRC_COLOR,
            GL_DST_COLOR,
            GL_ONE_MINUS_DST_COLOR,
            GL_ONE,
            GL_ZERO
        }
Alpha-blending parameters. Definition at line 67 of file KeosOGLEnum.cpp. Referenced by Get().

GLenum Keos::COGLEnum::MatrixType`[static, private]`

| Initial value:
        {
            GL_MODELVIEW,
            GL_PROJECTION,
            GL_TEXTURE,
            GL_TEXTURE,
            GL_TEXTURE,
            GL_TEXTURE
        }
Matrix types. Definition at line 31 of file KeosOGLEnum.cpp. Referenced by Get().

GLenum Keos::COGLEnum::MatrixType2`[static, private]`

| Initial value:
        {
            GL_MODELVIEW_MATRIX,
            GL_PROJECTION_MATRIX,
            GL_TEXTURE_MATRIX,
            GL_TEXTURE_MATRIX,
            GL_TEXTURE_MATRIX,
            GL_TEXTURE_MATRIX
        }
Matrix types for glGetFloatv, glGetIntegerv, .... Definition at line 42 of file KeosOGLEnum.cpp. Referenced by GetMatrix().

COGLEnum::TPixelFmt Keos::COGLEnum::PixelFormat`[static, private]`

| Initial value:
        {
            {GL_LUMINANCE,       GL_LUMINANCE8,                    GL_UNSIGNED_BYTE},
            {GL_LUMINANCE_ALPHA, GL_LUMINANCE8_ALPHA8,             GL_UNSIGNED_BYTE},
            {GL_BGRA,            GL_RGB5_A1,                       GL_UNSIGNED_SHORT_1_5_5_5_REV},
            {GL_BGRA,            GL_RGBA4,                         GL_UNSIGNED_SHORT_4_4_4_4_REV},
            {GL_BGR,             GL_RGB8,                          GL_UNSIGNED_BYTE},
            {GL_BGRA,            GL_RGBA8,                         GL_UNSIGNED_BYTE},
            {GL_BGR,             GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, 0},
            {GL_BGRA,            GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, 0},
            {GL_BGRA,            GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, 0}
        }
Pixel formats. Definition at line 53 of file KeosOGLEnum.cpp. Referenced by Get().

GLenum Keos::COGLEnum::RenderParameter`[static, private]`

| Initial value:
        {
            0,
            GL_BLEND,
        }
Render parameters. Definition at line 102 of file KeosOGLEnum.cpp. Referenced by Get().

GLenum Keos::COGLEnum::TextureArg`[static, private]`

| Initial value:
        {
            GL_PRIMARY_COLOR_EXT,
            GL_TEXTURE,
            GL_PREVIOUS_EXT,
            GL_CONSTANT_EXT
        }
Arguments of mixing of the units of texture. Definition at line 93 of file KeosOGLEnum.cpp. Referenced by Get().

GLenum Keos::COGLEnum::TextureOp`[static, private]`

| Initial value:
        {
            GL_REPLACE,
            GL_ADD,
            GL_MODULATE,
            GL_REPLACE,
            GL_ADD,
            GL_MODULATE
        }
Textures operators. Definition at line 82 of file KeosOGLEnum.cpp. Referenced by Get().

The documentation for this class was generated from the following files:

- RenderSystems/OpenGL/KeosOGLEnum.h
- RenderSystems/OpenGL/KeosOGLEnum.cpp