v0.1.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Pages
CGUL::GL Namespace Reference

Contains all of the OpenGL defines. More...

Typedefs

typedef unsigned int Bitfield
 
typedef unsigned char Boolean
 
typedef signed char Byte
 
typedef char Char
 
typedef double ClampD
 
typedef float ClampF
 
typedef double Double
 
typedef unsigned int Enum
 
typedef float Float
 
typedef int Int
 
typedef CGUL::SInt64 Int64
 
typedef CGUL::PtrDiff IntPtr
 
typedef short Short
 
typedef int SizeI
 
typedef CGUL::PtrDiff SizeIPtr
 
typedef unsigned char UByte
 
typedef unsigned int UInt
 
typedef CGUL::UInt64 UInt64
 
typedef unsigned long ULong
 
typedef unsigned short UShort
 
typedef void Void
 

Functions

void ActiveTexture (GL::Enum target)
 
void AlphaFunc (GL::Enum func, GL::ClampF ref)
 
void AttachShader (GL::UInt program, GL::UInt shader)
 
void Begin (GL::Enum mode)
 
void BindAttribLocation (GL::UInt program, GL::UInt index, const GL::Char *name)
 
void BindAttribLocation (GL::UInt program, GL::UInt index, const String &name)
 
void BindBuffer (GL::Enum target, GL::UInt buffer)
 
void BindFramebuffer (GL::Enum target, GL::UInt framebuffer)
 
void BindTexture (GL::Enum target, GL::UInt texture)
 
void BindVertexArray (GL::UInt array)
 
void BlendFunc (GL::Enum sfactor, GL::Enum dfactor)
 
void BlendFunci (GL::UInt buf, GL::Enum sfactor, GL::Enum dfactor)
 
void BufferData (GL::Enum target, GL::SizeIPtr size, const GL::Void *data, GL::Enum usage)
 
GL::Enum CheckFramebufferStatus (GL::Enum target)
 
void Clear (GL::Bitfield mask)
 
void ClearColor (GL::ClampF red, GL::ClampF green, GL::ClampF blue, GL::ClampF alpha)
 
void Color3b (GL::Byte red, GL::Byte green, GL::Byte blue)
 
void Color3s (GL::Short red, GL::Short green, GL::Short blue)
 
void Color3i (GL::Int red, GL::Int green, GL::Int blue)
 
void Color3f (GL::Float red, GL::Float green, GL::Float blue)
 
void Color3d (GL::Double red, GL::Double green, GL::Double blue)
 
void Color3ub (GL::UByte red, GL::UByte green, GL::UByte blue)
 
void Color3us (GL::UShort red, GL::UShort green, GL::UShort blue)
 
void Color3ui (GL::UInt red, GL::UInt green, GL::UInt blue)
 
void Color4b (GL::Byte red, GL::Byte green, GL::Byte blue, GL::Byte alpha)
 
void Color4s (GL::Short red, GL::Short green, GL::Short blue, GL::Short alpha)
 
void Color4i (GL::Int red, GL::Int green, GL::Int blue, GL::Int alpha)
 
void Color4f (GL::Float red, GL::Float green, GL::Float blue, GL::Float alpha)
 
void Color4d (GL::Double red, GL::Double green, GL::Double blue, GL::Double alpha)
 
void Color4ub (GL::UByte red, GL::UByte green, GL::UByte blue, GL::UByte alpha)
 
void Color4us (GL::UShort red, GL::UShort green, GL::UShort blue, GL::UShort alpha)
 
void Color4ui (GL::UInt red, GL::UInt green, GL::UInt blue, GL::UInt alpha)
 
void CompileShader (GL::UInt shader)
 
GL::UInt CreateProgram ()
 
GL::UInt CreateShader (GL::Enum shaderType)
 
void DeleteBuffers (GL::SizeI n, const GL::UInt *buffers)
 
void DeleteTextures (GL::SizeI n, const GL::UInt *textures)
 
void DeleteVertexArrays (GL::SizeI n, const GL::UInt *arrays)
 
void Disable (GL::Enum cap)
 
void DisableVertexAttribArray (GL::UInt index)
 
void DrawArrays (GL::Enum mode, GL::Int first, GL::SizeI count)
 
void DrawElements (GL::Enum mode, GL::SizeI count, GL::Enum type, const GL::Void *indices)
 
void Enable (GL::Enum cap)
 
void EnableVertexAttribArray (GL::UInt index)
 
void End ()
 
void FramebufferTexture2D (GL::Enum target, GL::Enum attachment, GL::Enum textarget, GL::UInt texture, GL::Int level)
 
void GenBuffers (GL::SizeI n, GL::UInt *buffers)
 
void GenTextures (GL::SizeI n, GL::UInt *textures)
 
void GenFramebuffers (GL::SizeI n, GL::UInt *ids)
 
void GenVertexArrays (GL::SizeI n, UInt *arrays)
 
void GetBooleanv (GL::Enum pname, GL::Boolean *params)
 
void GetFloatv (GL::Enum pname, GL::Float *params)
 
void GetIntegerv (GL::Enum pname, GL::Int *params)
 
void GetProgramInfoLog (GL::UInt program, GL::SizeI maxLength, GL::SizeI *length, GL::Char *infoLog)
 
void GetProgramInfoLog (GL::UInt program, String *infoLog)
 
void GetProgramiv (GL::UInt program, Enum pname, GL::Int *params)
 
void GetShaderInfoLog (GL::UInt shader, GL::SizeI maxLength, GL::SizeI *length, GL::Char *infoLog)
 
void GetShaderInfoLog (GL::UInt shader, String *infoLog)
 
void GetShaderiv (GL::UInt shader, GL::Enum pname, GL::Int *params)
 
const GL::UByte * GetString (GL::Enum pname)
 
GL::Int GetUniformLocation (GL::UInt program, const GL::Char *name)
 
GL::Int GetUniformLocation (GL::UInt program, String &name)
 
void LinkProgram (GL::UInt program)
 
void LoadIdentity ()
 
void MatrixMode (GL::Enum mode)
 
void Ortho (GL::Double left, GL::Double right, GL::Double bottom, GL::Double top, GL::Double nearVal, GL::Double farVal)
 
void PixelStoref (GL::Enum pname, GL::Float param)
 
void PixelStorei (GL::Enum pname, GL::Int param)
 
void PopMatrix ()
 
void PushMatrix ()
 
void Rotated (GL::Double angle, GL::Double x, GL::Double y, GL::Double z)
 
void Rotatef (GL::Float angle, GL::Float x, GL::Float y, GL::Float z)
 
void ShadeModel (GL::Enum mode)
 
void ShaderSource (GL::UInt shader, GL::SizeI count, const char **string, const GL::Int *length)
 
void ShaderSource (GL::UInt shader, const GL::Char *string)
 
void ShaderSource (GL::UInt shader, const String &string)
 
void SwapInterval (GL::Boolean enable)
 
void TexCoord1s (GL::Short s)
 
void TexCoord1i (GL::Int s)
 
void TexCoord1f (GL::Float s)
 
void TexCoord1d (GL::Double s)
 
void TexCoord2s (GL::Short s, GL::Short t)
 
void TexCoord2i (GL::Int s, GL::Int t)
 
void TexCoord2f (GL::Float s, GL::Float t)
 
void TexCoord2d (GL::Double s, GL::Double t)
 
void TexCoord3s (GL::Short s, GL::Short t, GL::Short r)
 
void TexCoord3i (GL::Int s, GL::Int t, GL::Int r)
 
void TexCoord3f (GL::Float s, GL::Float t, GL::Float r)
 
void TexCoord3d (GL::Double s, GL::Double t, GL::Double r)
 
void TexCoord4s (GL::Short s, GL::Short t, GL::Short r, GL::Short q)
 
void TexCoord4i (GL::Int s, GL::Int t, GL::Int r, GL::Int q)
 
void TexCoord4f (GL::Float s, GL::Float t, GL::Float r, GL::Float q)
 
void TexCoord4d (GL::Double s, GL::Double t, GL::Double r, GL::Double q)
 
void TexEnvf (GL::Enum target, GL::Enum pname, GL::Float param)
 
void TexEnvi (GL::Enum target, GL::Enum pname, GL::Int param)
 
void TexImage2D (GL::Enum target, GL::Int level, GL::Int internalFormat, GL::SizeI width, GL::SizeI height, GL::Int border, GL::Enum format, GL::Enum type, const GL::Void *data)
 
void TexParameterf (GL::Enum target, GL::Enum pname, GL::Float param)
 
void TexParameteri (GL::Enum target, GL::Enum pname, GL::Int param)
 
void TexSubImage2D (GL::Enum target, GL::Int level, GL::Int xoffset, GL::Int yoffset, GL::SizeI width, GL::SizeI height, GL::Enum format, GL::Enum type, const GL::Void *data)
 
void Translated (GL::Double x, GL::Double y, GL::Double z)
 
void Translatef (GL::Float x, GL::Float y, GL::Float z)
 
void Uniform1f (GL::Int location, GL::Float v0)
 
void Uniform1fv (GL::Int location, GL::SizeI count, const GL::Float *value)
 
void Uniform1i (GL::Int location, GL::Int v0)
 
void Uniform1iv (GL::Int location, GL::SizeI count, const GL::Int *value)
 
void Uniform2f (GL::Int location, GL::Float v0, GL::Float v1)
 
void Uniform2f (GL::Int location, const Vector2T< GL::Float > &v)
 
void Uniform2fv (GL::Int location, GL::SizeI count, const GL::Float *value)
 
void Uniform2fv (GL::Int location, GL::SizeI count, const Vector2T< GL::Float > *value)
 
void Uniform2i (GL::Int location, GL::Int v0, GL::Int v1)
 
void Uniform2iv (GL::Int location, GL::SizeI count, const GL::Int *value)
 
void Uniform3f (GL::Int location, GL::Float v0, GL::Float v1, GL::Float v2)
 
void Uniform3f (GL::Int location, const Vector3T< GL::Float > &v)
 
void Uniform3f (GL::Int location, const Color &v)
 
void Uniform3fv (GL::Int location, GL::SizeI count, const GL::Float *value)
 
void Uniform3fv (GL::Int location, GL::SizeI count, const Vector3T< GL::Float > *value)
 
void Uniform3i (GL::Int location, GL::Int v0, GL::Int v1, GL::Int v2)
 
void Uniform3i (GL::Int location, const Color &color)
 
void Uniform3iv (GL::Int location, GL::SizeI count, const GL::Int *value)
 
void Uniform4f (GL::Int location, GL::Float v0, GL::Float v1, GL::Float v2, GL::Float v3)
 
void Uniform4f (GL::Int location, const Vector4T< GL::Float > &v)
 
void Uniform4f (GL::Int location, const Color &v)
 
void Uniform4fv (GL::Int location, GL::SizeI count, const GL::Float *value)
 
void Uniform4fv (GL::Int location, GL::SizeI count, const Vector4T< GL::Float > *value)
 
void Uniform4i (GL::Int location, GL::Int v0, GL::Int v1, GL::Int v2, GL::Int v3)
 
void Uniform4i (GL::Int location, const Color &color)
 
void Uniform4iv (GL::Int location, GL::SizeI count, const GL::Int *value)
 
void UniformMatrix2v (GL::Int location, GL::SizeI count, GL::Boolean transpose, const GL::Float *value)
 
void UniformMatrix2fv (GL::Int location, GL::SizeI count, GL::Boolean transpose, const GL::Float *value)
 
void UniformMatrix3fv (GL::Int location, GL::SizeI count, GL::Boolean transpose, const GL::Float *value)
 
void UniformMatrix4f (GL::Int location, GL::Boolean transpose, const GL::Float *value)
 
void UniformMatrix4f (GL::Int location, GL::Boolean transpose, const MatrixT< GL::Float > &value)
 
void UniformMatrix4fv (GL::Int location, GL::SizeI count, GL::Boolean transpose, const GL::Float *value)
 
void UniformMatrix4fv (GL::Int location, GL::SizeI count, GL::Boolean transpose, const MatrixT< GL::Float > *value)
 
void UseProgram (GL::UInt program)
 
void ValidateProgram (GL::UInt program)
 
void Vertex2s (GL::Short x, GL::Short y)
 
void Vertex2i (GL::Int x, GL::Int y)
 
void Vertex2f (GL::Float x, GL::Float y)
 
void Vertex2d (GL::Double x, GL::Double y)
 
void Vertex3s (GL::Short x, GL::Short y, GL::Short z)
 
void Vertex3i (GL::Int x, GL::Int y, GL::Int z)
 
void Vertex3f (GL::Float x, GL::Float y, GL::Float z)
 
void Vertex3d (GL::Double x, GL::Double y, GL::Double z)
 
void Vertex4s (GL::Short x, GL::Short y, GL::Short z, GL::Short w)
 
void Vertex4i (GL::Int x, GL::Int y, GL::Int z, GL::Int w)
 
void Vertex4f (GL::Float x, GL::Float y, GL::Float z, GL::Float w)
 
void Vertex4d (GL::Double x, GL::Double y, GL::Double z, GL::Double w)
 
void VertexAttribIPointer (GL::UInt index, GL::Int size, GL::Enum type, GL::SizeI stride, const GL::Void *pointer)
 
void VertexAttribLPointer (GL::UInt index, GL::Int size, GL::Enum type, GL::SizeI stride, const GL::Void *pointer)
 
void VertexAttribPointer (GL::UInt index, GL::Int size, GL::Enum type, GL::Boolean normalized, GL::SizeI stride, const GL::Void *pointer)
 
void Viewport (GL::Int x, GL::Int y, GL::SizeI width, GL::SizeI height)
 

Variables

static const UInt32 POSITION1 = 0
 OpenGL numerical representation of position 1. More...
 
static const UInt32 POSITION2 = 1
 OpenGL numerical representation of position 2. (see POSITION1)
 
static const UInt32 POSITION3 = 2
 OpenGL numerical representation of position 3. (see POSITION1)
 
static const UInt32 POSITION4 = 3
 OpenGL numerical representation of position 4. (see POSITION1)
 
static const UInt32 COLOR1 = 4
 OpenGL numerical representation of color 1. (see POSITION1)
 
static const UInt32 COLOR2 = 5
 OpenGL numerical representation of color 2. (see POSITION1)
 
static const UInt32 COLOR3 = 6
 OpenGL numerical representation of color 3. (see POSITION1)
 
static const UInt32 COLOR4 = 7
 OpenGL numerical representation of color 4. (see POSITION1)
 
static const UInt32 TEXCOORD1 = 8
 OpenGL numerical representation of texcoord 1. (see POSITION1)
 
static const UInt32 TEXCOORD2 = 9
 OpenGL numerical representation of texcoord 2. (see POSITION1)
 
static const UInt32 TEXCOORD3 = 10
 OpenGL numerical representation of texcoord 3. (see POSITION1)
 
static const UInt32 TEXCOORD4 = 11
 OpenGL numerical representation of texcoord 4. (see POSITION1)
 
static const UInt32 NORMAL1 = 12
 OpenGL numerical representation of normal 1. (see POSITION1)
 
static const UInt32 NORMAL2 = 13
 OpenGL numerical representation of normal 2. (see POSITION1)
 
static const UInt32 NORMAL3 = 14
 OpenGL numerical representation of normal 3. (see POSITION1)
 
static const UInt32 NORMAL4 = 15
 OpenGL numerical representation of normal 4. (see POSITION1)
 
static const Enum POINTS = 0x0000
 Equivalent to GL_POINTS. More...
 
static const Enum ZERO = 0x0000
 Equivalent to GL_ZERO.
 
static const Enum LINES = 0x0001
 Equivalent to GL_LINES.
 
static const Enum ONE = 0x0001
 Equivalent to GL_ONE.
 
static const Enum LINE_LOOP = 0x0002
 Equivalent to GL_LINE_LOOP.
 
static const Enum LINE_STRIP = 0x0003
 Equivalent to GL_LINE_STRIP.
 
static const Enum TRIANGLES = 0x0004
 Equivalent to GL_TRIANGLES.
 
static const Enum TRIANGLE_STRIP = 0x0005
 Equivalent to GL_TRIANGLE_STRIP.
 
static const Enum TRIANGLE_FAN = 0x0006
 Equivalent to GL_TRIANGLE_FAN.
 
static const Enum QUADS = 0x0007
 Equivalent to GL_QUADS.
 
static const Enum QUAD_STRIP = 0x0008
 Equivalent to GL_QUAD_STRIP.
 
static const Enum POLYGON = 0x0009
 Equivalent to GL_POLYGON.
 
static const Enum LINES_ADJACENCY = 0x000a
 Equivalent to GL_LINES_ADJACENCY.
 
static const Enum LINE_STRIP_ADJACENCY = 0x000b
 Equivalent to GL_LINE_STRIP_ADJACENCY.
 
static const Enum TRIANGLES_ADJACENCY = 0x000c
 Equivalent to GL_TRIANGLES_ADJACENCY.
 
static const Enum TRIANGLE_STRIP_ADJACENCY = 0x000d
 Equivalent to GL_TRIANGLE_STRIP_ADJACENCY.
 
static const Enum PATCHES = 0x000e
 Equivalent to GL_PATCHES.
 
static const Enum DEPTH_BUFFER_BIT = 0x0100
 Equivalent to GL_DEPTH_BUFFER_BIT.
 
static const Enum NEVER = 0x0200
 Equivalent to GL_NEVER.
 
static const Enum LESS = 0x0201
 Equivalent to GL_LESS.
 
static const Enum EQUAL = 0x0202
 Equivalent to GL_EQUAL.
 
static const Enum LEQUAL = 0x0203
 Equivalent to GL_LEQUAL.
 
static const Enum GREATER = 0x0204
 Equivalent to GL_GREATER.
 
static const Enum NOTEQUAL = 0x0205
 Equivalent to GL_NOTEQUAL.
 
static const Enum GEQUAL = 0x0206
 Equivalent to GL_GEQUAL.
 
static const Enum ALWAYS = 0x0207
 Equivalent to GL_ALWAYS.
 
static const Enum SRC_COLOR = 0x0300
 Equivalent to GL_SRC_COLOR.
 
static const Enum ONE_MINUS_SRC_COLOR = 0x0301
 Equivalent to GL_ONE_MINUS_SRC_COLOR.
 
static const Enum SRC_ALPHA = 0x0302
 Equivalent to GL_SRC_ALPHA.
 
static const Enum ONE_MINUS_SRC_ALPHA = 0x0303
 Equivalent to GL_ONE_MINUS_SRC_ALPHA.
 
static const Enum DST_ALPHA = 0x0304
 Equivalent to GL_DST_ALPHA.
 
static const Enum ONE_MINUS_DST_ALPHA = 0x0305
 Equivalent to GL_ONE_MINUS_DST_ALPHA.
 
static const Enum DST_COLOR = 0x0306
 Equivalent to GL_DST_COLOR.
 
static const Enum ONE_MINUS_DST_COLOR = 0x0307
 Equivalent to GL_ONE_MINUS_DST_COLOR.
 
static const Enum STENCIL_BUFFER_BIT = 0x0400
 Equivalent to GL_STENCIL_BUFFER_BIT.
 
static const Enum CULL_FACE = 0x0b44
 Equivalent to GL_CULL_FACE.
 
static const Enum DEPTH_TEST = 0x0b71
 Equivalent to GL_DEPTH_TEST.
 
static const Enum STENCIL_TEST = 0x0b90
 Equivalent to GL_STENCIL_TEST.
 
static const Enum BLEND = 0x0be2
 Equivalent to GL_BLEND.
 
static const Enum TEXTURE_2D = 0x0de1
 Equivalent to GL_TEXTURE_2D.
 
static const Enum BYTE = 0x1400
 Equivalent to GL_BYTE.
 
static const Enum UNSIGNED_BYTE = 0x1401
 Equivalent to GL_UNSIGNED_BYTE.
 
static const Enum SHORT = 0x1402
 Equivalent to GL_SHORT.
 
static const Enum UNSIGNED_SHORT = 0x1403
 Equivalent to GL_UNSIGNED_SHORT.
 
static const Enum INT = 0x1404
 Equivalent to GL_INT.
 
static const Enum UNSIGNED_INT = 0x1405
 Equivalent to GL_UNSIGNED_INT.
 
static const Enum FLOAT = 0x1406
 Equivalent to GL_FLOAT.
 
static const Enum DOUBLE = 0x140a
 Equivalent to GL_DOUBLE.
 
static const Enum HALF_FLOAT = 0x140b
 Equivalent to GL_HALF_FLOAT.
 
static const Enum FIXED = 0x140c
 Equivalent to GL_FIXED.
 
static const Enum INVERT = 0x150a
 Equivalent to GL_INVERT.
 
static const Enum RED = 0x1903
 Equivalent to GL_RED.
 
static const Enum RGB = 0x1907
 Equivalent to GL_RGB.
 
static const Enum RGBA = 0x1908
 Equivalent to GL_RGBA.
 
static const Enum KEEP = 0x1e00
 Equivalent to GL_KEEP.
 
static const Enum INCR = 0x1e02
 Equivalent to GL_INCR.
 
static const Enum DECR = 0x1e03
 Equivalent to GL_DECR.
 
static const Enum VENDOR = 0x1f00
 Equivalent to GL_VENDOR.
 
static const Enum RENDERER = 0x1f01
 Equivalent to GL_RENDERER.
 
static const Enum VERSION = 0x1f02
 Equivalent to GL_VERSION.
 
static const Enum EXTENSIONS = 0x1f03
 Equivalent to GL_EXTENSIONS.
 
static const Enum NEAREST = 0x2600
 Equivalent to GL_NEAREST.
 
static const Enum LINEAR = 0x2601
 Equivalent to GL_LINEAR.
 
static const Enum TEXTURE_MAG_FILTER = 0x2800
 Equivalent to GL_TEXTURE_MAG_FILTER.
 
static const Enum TEXTURE_MIN_FILTER = 0x2801
 Equivalent to GL_TEXTURE_MIN_FILTER.
 
static const Enum REPEAT = 0x2901
 Equivalent to GL_REPEAT.
 
static const Enum COLOR_BUFFER_BIT = 0x4000
 Equivalent to GL_COLOR_BUFFER_BIT.
 
static const Enum CONSTANT_COLOR = 0x8001
 Equivalent to GL_CONSTANT_COLOR.
 
static const Enum ONE_MINUS_CONSTANT_COLOR = 0x8002
 Equivalent to GL_ONE_MINUS_CONSTANT_COLOR.
 
static const Enum CONSTANT_ALPHA = 0x8003
 Equivalent to GL_CONSTANT_ALPHA.
 
static const Enum ONE_MINUS_CONSTANT_ALPHA = 0x8004
 Equivalent to GL_ONE_MINUS_CONSTANT_ALPHA.
 
static const Enum UNSIGNED_BYTE_3_3_2 = 0x8032
 Equivalent to GL_UNSIGNED_BYTE_3_3_2.
 
static const Enum UNSIGNED_SHORT_4_4_4_4 = 0x8033
 Equivalent to GL_UNSIGNED_SHORT_4_4_4_4.
 
static const Enum UNSIGNED_SHORT_5_5_5_1 = 0x8034
 Equivalent to GL_UNSIGNED_SHORT_5_5_5_1.
 
static const Enum UNSIGNED_INT_8_8_8_8 = 0x8035
 Equivalent to GL_UNSIGNED_INT_8_8_8_8.
 
static const Enum UNSIGNED_INT_10_10_10_2 = 0x8036
 Equivalent to GL_UNSIGNED_INT_10_10_10_2.
 
static const Enum RGB4 = 0x804F
 Equivalent to GL_RGB4.
 
static const Enum RGBA4 = 0x8056
 Equivalent to GL_RGBA4.
 
static const Enum PROXY_TEXTURE_2D = 0x8064
 Equivalent to GL_PROXY_TEXTURE_2D.
 
static const Enum CLAMP_TO_BORDER = 0x812d
 Equivalent to GL_CLAMP_TO_BORDER.
 
static const Enum CLAMP_TO_EDGE = 0x812f
 Equivalent to GL_CLAMP_TO_EDGE.
 
static const Enum DEPTH_STENCIL_ATTACHMENT = 0x821a
 Equivalent to GL_DEPTH_STENCIL_ATTACHMENT.
 
static const Enum MAJOR_VERSION = 0x821b
 Equivalent to GL_MAJOR_VERSION.
 
static const Enum MINOR_VERSION = 0x821c
 Equivalent to GL_MINOR_VERSION.
 
static const Enum RG = 0x8227
 Equivalent to GL_RG.
 
static const Enum UNSIGNED_BYTE_2_3_3_REV = 0x8362
 Equivalent to GL_UNSIGNED_BYTE_2_3_3_REV.
 
static const Enum UNSIGNED_SHORT_5_6_5 = 0x8363
 Equivalent to GL_UNSIGNED_SHORT_5_6_5.
 
static const Enum UNSIGNED_SHORT_5_6_5_REV = 0x8364
 Equivalent to GL_UNSIGNED_SHORT_5_6_5_REV.
 
static const Enum UNSIGNED_SHORT_4_4_4_4_REV = 0x8365
 Equivalent to GL_UNSIGNED_SHORT_4_4_4_4_REV.
 
static const Enum UNSIGNED_SHORT_1_5_5_5_REV = 0x8366
 Equivalent to GL_UNSIGNED_SHORT_1_5_5_5_REV.
 
static const Enum UNSIGNED_INT_8_8_8_8_REV = 0x8367
 Equivalent to GL_UNSIGNED_INT_8_8_8_8_REV.
 
static const Enum UNSIGNED_INT_2_10_10_10_REV = 0x8368
 Equivalent to GL_UNSIGNED_INT_2_10_10_10_REV.
 
static const Enum MIRRORED_REPEAT = 0x8370
 Equivalent to GL_MIRRORED_REPEAT.
 
static const Enum TEXTURE_RECTANGLE = 0x84f5
 Equivalent to GL_TEXTURE_RECTANGLE.
 
static const Enum PROXY_TEXTURE_RECTANGLE = 0x84f7
 Equivalent to GL_PROXY_TEXTURE_RECTANGLE.
 
static const Enum INCR_WRAP = 0x8507
 Equivalent to GL_INCR_WRAP.
 
static const Enum DECR_WRAP = 0x8508
 Equivalent to GL_DECR_WRAP.
 
static const Enum TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515
 Equivalent to GL_TEXTURE_CUBE_MAP_POSITIVE_X.
 
static const Enum TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
 Equivalent to GL_TEXTURE_CUBE_MAP_NEGATIVE_X.
 
static const Enum TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
 Equivalent to GL_TEXTURE_CUBE_MAP_POSITIVE_Y.
 
static const Enum TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
 Equivalent to GL_TEXTURE_CUBE_MAP_NEGATIVE_Y.
 
static const Enum TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519
 Equivalent to GL_TEXTURE_CUBE_MAP_POSITIVE_Z.
 
static const Enum TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851a
 Equivalent to GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
 
static const Enum PROXY_TEXTURE_CUBE_MAP = 0x851b
 Equivalent to GL_PROXY_TEXTURE_CUBE_MAP.
 
static const Enum ARRAY_BUFFER = 0x8892
 Equivalent to GL_ARRAY_BUFFER.
 
static const Enum ELEMENT_ARRAY_BUFFER = 0x8893
 Equivalent to GL_ELEMENT_ARRAY_BUFFER.
 
static const Enum DEPTH24_STENCIL8 = 0x88f0
 Equivalent to GL_DEPTH24_STENCIL8.
 
static const Enum UNIFORM_BUFFER = 0x8a11
 Equivalent to GL_UNIFORM_BUFFER.
 
static const Enum FRAGMENT_SHADER = 0x8b30
 Equivalent to GL_FRAGMENT_SHADER.
 
static const Enum VERTEX_SHADER = 0x8b31
 Equivalent to GL_VERTEX_SHADER.
 
static const Enum GLSL_VERSION = 0x8b8c
 Equivalent to GL_GLSL_VERSION.
 
static const Enum TEXTURE_1D_ARRAY = 0x8c18
 Equivalent to GL_TEXTURE_1D_ARRAY.
 
static const Enum PROXY_TEXTURE_1D_ARRAY = 0x8c19
 Equivalent to GL_PROXY_TEXTURE_1D_ARRAY.
 
static const Enum TEXTURE_BUFFER = 0x8c2a
 Equivalent to GL_TEXTURE_BUFFER.
 
static const Enum TRANSFORM_FEEDBACK_BUFFER = 0x8c8e
 Equivalent to GL_TRANSFORM_FEEDBACK_BUFFER.
 
static const Enum COLOR_ATTACHMENT0 = 0x8ce0
 Equivalent to GL_COLOR_ATTACHMENT0.
 
static const Enum FRAMEBUFFER = 0x8d40
 Equivalent to GL_FRAMEBUFFER.
 
static const Enum INT_2_10_10_10_REV = 0x8d9f
 Equivalent to GL_INT_2_10_10_10_REV.
 
static const Enum GEOMETRY_SHADER = 0x8dd9
 Equivalent to GL_GEOMETRY_SHADER.
 
static const Enum TESS_CONTROL_SHADER = 0x8e88
 Equivalent to GL_TESS_CONTROL_SHADER.
 
static const Enum TESS_EVALUATION_SHADER = 0x8e87
 Equivalent to GL_TESS_EVALUATION_SHADER.
 
static const Enum BGR = 0x80e0
 Equivalent to GL_BGR.
 
static const Enum BGRA = 0x80e1
 Equivalent to GL_BGRA.
 
static const Enum RENDERBUFFER = 0x8d41
 Equivalent to GL_RENDERBUFFER.
 
static const Enum STREAM_DRAW = 0x88e0
 Equivalent to GL_STREAM_DRAW.
 
static const Enum STREAM_READ = 0x88e1
 Equivalent to GL_STREAM_READ.
 
static const Enum STREAM_COPY = 0x88e2
 Equivalent to GL_STREAM_COPY.
 
static const Enum STATIC_DRAW = 0x88e4
 Equivalent to GL_STATIC_DRAW.
 
static const Enum STATIC_READ = 0x88e5
 Equivalent to GL_STATIC_READ.
 
static const Enum STATIC_COPY = 0x88e6
 Equivalent to GL_STATIC_COPY.
 
static const Enum DYNAMIC_DRAW = 0x88e8
 Equivalent to GL_DYNAMIC_DRAW.
 
static const Enum DYNAMIC_READ = 0x88e9
 Equivalent to GL_DYNAMIC_READ.
 
static const Enum DYNAMIC_COPY = 0x88ea
 Equivalent to GL_DYNAMIC_COPY.
 
static const Enum PIXEL_PACK_BUFFER = 0x88eb
 Equivalent to GL_PIXEL_PACK_BUFFER.
 
static const Enum PIXEL_UNPACK_BUFFER = 0x88ec
 Equivalent to GL_PIXEL_UNPACK_BUFFER.
 
static const Enum COPY_READ_BUFFER = 0x8f36
 Equivalent to GL_COPY_READ_BUFFER.
 
static const Enum COPY_WRITE_BUFFER = 0x8f37
 Equivalent to GL_COPY_WRITE_BUFFER.
 
static const Enum DRAW_INDIRECT_BUFFER = 0x8f3f
 Equivalent to GL_DRAW_INDIRECT_BUFFER.
 
static const Enum ATOMIC_COUNTER_BUFFER = 0x92c0
 Equivalent to GL_ATOMIC_COUNTER_BUFFER.
 
static const Enum SHADER_STORAGE_BUFFER = 0x90d2
 Equivalent to GL_SHADER_STORAGE_BUFFER.
 

Detailed Description

Contains all of the OpenGL defines.

Variable Documentation

const Enum CGUL::GL::POINTS = 0x0000
static

Equivalent to GL_POINTS.

Additional info etc etc.

const UInt32 CGUL::GL::POSITION1 = 0
static

OpenGL numerical representation of position 1.

Older OpenGL versions used numbers 0-15 to represent different types of data, most commonly 0-3 are used for positions, 4-7 are used for colors, 8-11 are used for texture coordinates, and 12-15 are used for normals. In reality, these indices can be used for whatever data you wish to pass into a shader.