Torque3D Documentation / _generateds / gfxGLEnumTranslate.h

gfxGLEnumTranslate.h

Engine/source/gfx/gl/gfxGLEnumTranslate.h

More...

Namespaces:

Public Variables

GFXGLBlend [GFXBlend_COUNT]
GFXGLBlendOp [GFXBlendOp_COUNT]
GFXGLBufferType [GFXBufferType_COUNT]
GFXGLCmpFunc [GFXCmp_COUNT]
GFXGLCullMode [GFXCull_COUNT]
GFXGLFillMode [GFXFill_COUNT]
GFXGLPrimType [GFXPT_COUNT]
GFXGLStencilOp [GFXStencilOp_COUNT]
GFXGLTextureAddress [GFXAddress_COUNT]
GFXGLTextureFilter [GFXTextureFilter_COUNT]
GFXGLTextureFormat [GFXFormat_COUNT]
GFXGLTextureSwizzle [GFXFormat_COUNT]
GFXGLTextureType [GFXFormat_COUNT]

Detailed Description

Public Variables

GLenum GFXGLBlend [GFXBlend_COUNT]
GLenum GFXGLBlendOp [GFXBlendOp_COUNT]
GLenum GFXGLBufferType [GFXBufferType_COUNT]
GLenum GFXGLCmpFunc [GFXCmp_COUNT]
GLenum GFXGLCullMode [GFXCull_COUNT]
GLenum GFXGLFaceType [6]
GLenum GFXGLFillMode [GFXFill_COUNT]
GLenum GFXGLPrimType [GFXPT_COUNT]
GLenum GFXGLStencilOp [GFXStencilOp_COUNT]
GLenum GFXGLTextureAddress [GFXAddress_COUNT]
GLenum GFXGLTextureFilter [GFXTextureFilter_COUNT]
GLenum GFXGLTextureFormat [GFXFormat_COUNT]
GLenum GFXGLTextureInternalFormat [GFXFormat_COUNT]
GLint * GFXGLTextureSwizzle [GFXFormat_COUNT]
GLenum GFXGLTextureType [GFXFormat_COUNT]
 1
 2//-----------------------------------------------------------------------------
 3// Copyright (c) 2012 GarageGames, LLC
 4//
 5// Permission is hereby granted, free of charge, to any person obtaining a copy
 6// of this software and associated documentation files (the "Software"), to
 7// deal in the Software without restriction, including without limitation the
 8// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 9// sell copies of the Software, and to permit persons to whom the Software is
10// furnished to do so, subject to the following conditions:
11//
12// The above copyright notice and this permission notice shall be included in
13// all copies or substantial portions of the Software.
14//
15// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21// IN THE SOFTWARE.
22//-----------------------------------------------------------------------------
23
24#ifndef _GFXGLENUMTRANSLATE_H_
25#define _GFXGLENUMTRANSLATE_H_
26
27#include "gfx/gfxEnums.h"
28#include "gfx/gl/gfxGLDevice.h"
29
30namespace GFXGLEnumTranslate
31{
32   void init();
33};
34
35extern GLenum GFXGLPrimType[GFXPT_COUNT];
36extern GLenum GFXGLBlend[GFXBlend_COUNT];
37extern GLenum GFXGLBlendOp[GFXBlendOp_COUNT];
38extern GLenum GFXGLTextureFilter[GFXTextureFilter_COUNT];
39extern GLenum GFXGLTextureAddress[GFXAddress_COUNT];
40extern GLenum GFXGLCmpFunc[GFXCmp_COUNT];
41extern GLenum GFXGLStencilOp[GFXStencilOp_COUNT];
42
43extern GLenum GFXGLTextureInternalFormat[GFXFormat_COUNT];
44extern GLenum GFXGLTextureFormat[GFXFormat_COUNT];
45extern GLenum GFXGLTextureType[GFXFormat_COUNT];
46extern GLint* GFXGLTextureSwizzle[GFXFormat_COUNT];
47
48extern GLenum GFXGLBufferType[GFXBufferType_COUNT];
49extern GLenum GFXGLCullMode[GFXCull_COUNT];
50
51extern GLenum GFXGLFillMode[GFXFill_COUNT];
52
53extern GLenum GFXGLFaceType[6];
54
55#endif
56