Added OpenGL ES 1.1 tokens.
This commit is contained in:
parent
4f28e9ff5e
commit
79cbb00d6d
1 changed files with 576 additions and 0 deletions
576
Source/OpenTK/Graphics/GLES11/Enums.cs
Normal file
576
Source/OpenTK/Graphics/GLES11/Enums.cs
Normal file
|
@ -0,0 +1,576 @@
|
|||
#region License
|
||||
//
|
||||
// The Open Toolkit Library License
|
||||
//
|
||||
// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted.
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights to
|
||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
// the Software, and to permit persons to whom the Software is furnished to do
|
||||
// so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
// OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
#endregion
|
||||
|
||||
#if GLES11
|
||||
|
||||
namespace OpenTK.Graphics.GLES11
|
||||
{
|
||||
public enum OpenGLESCoreVersions
|
||||
{
|
||||
VersionEsCm10 = 1,
|
||||
VersionEsCl10 = 1,
|
||||
VersionEsCm11 = 1,
|
||||
VersionEsCl11 = 1,
|
||||
}
|
||||
|
||||
public enum ClearBufferMask
|
||||
{
|
||||
DepthBufferBit = 0x00000100,
|
||||
StencilBufferBit = 0x00000400,
|
||||
ColorBufferBit = 0x00004000,
|
||||
}
|
||||
|
||||
public enum Boolean
|
||||
{
|
||||
False = 0,
|
||||
True = 1,
|
||||
}
|
||||
|
||||
public enum BeginMode
|
||||
{
|
||||
Points = 0x0000,
|
||||
Lines = 0x0001,
|
||||
LineLoop = 0x0002,
|
||||
LineStrip = 0x0003,
|
||||
Triangles = 0x0004,
|
||||
TriangleStrip = 0x0005,
|
||||
TriangleFan = 0x0006,
|
||||
}
|
||||
|
||||
public enum AlphaFunction
|
||||
{
|
||||
Never = 0x0200,
|
||||
Less = 0x0201,
|
||||
Equal = 0x0202,
|
||||
Lequal = 0x0203,
|
||||
Greater = 0x0204,
|
||||
Notequal = 0x0205,
|
||||
Gequal = 0x0206,
|
||||
Always = 0x0207,
|
||||
}
|
||||
|
||||
public enum BlendingFactorDest
|
||||
{
|
||||
Zero = 0,
|
||||
One = 1,
|
||||
SrcColor = 0x0300,
|
||||
OneMinusSrcColor = 0x0301,
|
||||
SrcAlpha = 0x0302,
|
||||
OneMinusSrcAlpha = 0x0303,
|
||||
DstAlpha = 0x0304,
|
||||
OneMinusDstAlpha = 0x0305,
|
||||
}
|
||||
|
||||
public enum BlendingFactorSrc
|
||||
{
|
||||
DstColor = 0x0306,
|
||||
OneMinusDstColor = 0x0307,
|
||||
SrcAlphaSaturate = 0x0308,
|
||||
}
|
||||
|
||||
public enum ClipPlaneName
|
||||
{
|
||||
ClipPlane0 = 0x3000,
|
||||
ClipPlane1 = 0x3001,
|
||||
ClipPlane2 = 0x3002,
|
||||
ClipPlane3 = 0x3003,
|
||||
ClipPlane4 = 0x3004,
|
||||
ClipPlane5 = 0x3005,
|
||||
}
|
||||
|
||||
|
||||
public enum CullFaceMode
|
||||
{
|
||||
Front = 0x0404,
|
||||
Back = 0x0405,
|
||||
FrontAndBack = 0x0408,
|
||||
}
|
||||
|
||||
public enum EnableCap
|
||||
{
|
||||
Fog = 0x0B60,
|
||||
Lighting = 0x0B50,
|
||||
Texture2d = 0x0DE1,
|
||||
CullFace = 0x0B44,
|
||||
AlphaTest = 0x0BC0,
|
||||
Blend = 0x0BE2,
|
||||
ColorLogicOp = 0x0BF2,
|
||||
Dither = 0x0BD0,
|
||||
StencilTest = 0x0B90,
|
||||
DepthTest = 0x0B71,
|
||||
PointSmooth = 0x0B10,
|
||||
LineSmooth = 0x0B20,
|
||||
ScissorTest = 0x0C11,
|
||||
ColorMaterial = 0x0B57,
|
||||
Normalize = 0x0BA1,
|
||||
RescaleNormal = 0x803A,
|
||||
PolygonOffsetFill = 0x8037,
|
||||
VertexArray = 0x8074,
|
||||
NormalArray = 0x8075,
|
||||
ColorArray = 0x8076,
|
||||
TextureCoordArray = 0x8078,
|
||||
Multisample = 0x809D,
|
||||
SampleAlphaToCoverage = 0x809E,
|
||||
SampleAlphaToOne = 0x809F,
|
||||
SampleCoverage = 0x80A0,
|
||||
}
|
||||
|
||||
public enum ErrorCode
|
||||
{
|
||||
NoError = 0,
|
||||
InvalidEnum = 0x0500,
|
||||
InvalidValue = 0x0501,
|
||||
InvalidOperation = 0x0502,
|
||||
StackOverflow = 0x0503,
|
||||
StackUnderflow = 0x0504,
|
||||
OutOfMemory = 0x0505,
|
||||
}
|
||||
|
||||
public enum FogMode
|
||||
{
|
||||
Exp = 0x0800,
|
||||
Exp2 = 0x0801,
|
||||
}
|
||||
|
||||
public enum FogParameter
|
||||
{
|
||||
FogDensity = 0x0B62,
|
||||
FogStart = 0x0B63,
|
||||
FogEnd = 0x0B64,
|
||||
FogMode = 0x0B65,
|
||||
FogColor = 0x0B66,
|
||||
}
|
||||
|
||||
public enum FrontFaceDirection
|
||||
{
|
||||
Cw = 0x0900,
|
||||
Ccw = 0x0901,
|
||||
}
|
||||
|
||||
public enum GetPName
|
||||
{
|
||||
CurrentColor = 0x0B00,
|
||||
CurrentNormal = 0x0B02,
|
||||
CurrentTextureCoords = 0x0B03,
|
||||
PointSize = 0x0B11,
|
||||
PointSizeMin = 0x8126,
|
||||
PointSizeMax = 0x8127,
|
||||
PointFadeThresholdSize = 0x8128,
|
||||
PointDistanceAttenuation = 0x8129,
|
||||
SmoothPointSizeRange = 0x0B12,
|
||||
LineWidth = 0x0B21,
|
||||
SmoothLineWidthRange = 0x0B22,
|
||||
AliasedPointSizeRange = 0x846D,
|
||||
AliasedLineWidthRange = 0x846E,
|
||||
CullFaceMode = 0x0B45,
|
||||
FrontFace = 0x0B46,
|
||||
ShadeModel = 0x0B54,
|
||||
DepthRange = 0x0B70,
|
||||
DepthWritemask = 0x0B72,
|
||||
DepthClearValue = 0x0B73,
|
||||
DepthFunc = 0x0B74,
|
||||
StencilClearValue = 0x0B91,
|
||||
StencilFunc = 0x0B92,
|
||||
StencilValueMask = 0x0B93,
|
||||
StencilFail = 0x0B94,
|
||||
StencilPassDepthFail = 0x0B95,
|
||||
StencilPassDepthPass = 0x0B96,
|
||||
StencilRef = 0x0B97,
|
||||
StencilWritemask = 0x0B98,
|
||||
MatrixMode = 0x0BA0,
|
||||
Viewport = 0x0BA2,
|
||||
ModelviewStackDepth = 0x0BA3,
|
||||
ProjectionStackDepth = 0x0BA4,
|
||||
TextureStackDepth = 0x0BA5,
|
||||
ModelviewMatrix = 0x0BA6,
|
||||
ProjectionMatrix = 0x0BA7,
|
||||
TextureMatrix = 0x0BA8,
|
||||
AlphaTestFunc = 0x0BC1,
|
||||
AlphaTestRef = 0x0BC2,
|
||||
BlendDst = 0x0BE0,
|
||||
BlendSrc = 0x0BE1,
|
||||
LogicOpMode = 0x0BF0,
|
||||
ScissorBox = 0x0C10,
|
||||
ScissorTest = 0x0C11,
|
||||
ColorClearValue = 0x0C22,
|
||||
ColorWritemask = 0x0C23,
|
||||
UnpackAlignment = 0x0CF5,
|
||||
PackAlignment = 0x0D05,
|
||||
MaxLights = 0x0D31,
|
||||
MaxClipPlanes = 0x0D32,
|
||||
MaxTextureSize = 0x0D33,
|
||||
MaxModelviewStackDepth = 0x0D36,
|
||||
MaxProjectionStackDepth = 0x0D38,
|
||||
MaxTextureStackDepth = 0x0D39,
|
||||
MaxViewportDims = 0x0D3A,
|
||||
MaxTextureUnits = 0x84E2,
|
||||
SubpixelBits = 0x0D50,
|
||||
RedBits = 0x0D52,
|
||||
GreenBits = 0x0D53,
|
||||
BlueBits = 0x0D54,
|
||||
AlphaBits = 0x0D55,
|
||||
DepthBits = 0x0D56,
|
||||
StencilBits = 0x0D57,
|
||||
PolygonOffsetUnits = 0x2A00,
|
||||
PolygonOffsetFill = 0x8037,
|
||||
PolygonOffsetFactor = 0x8038,
|
||||
TextureBinding2d = 0x8069,
|
||||
VertexArraySize = 0x807A,
|
||||
VertexArrayType = 0x807B,
|
||||
VertexArrayStride = 0x807C,
|
||||
NormalArrayType = 0x807E,
|
||||
NormalArrayStride = 0x807F,
|
||||
ColorArraySize = 0x8081,
|
||||
ColorArrayType = 0x8082,
|
||||
ColorArrayStride = 0x8083,
|
||||
TextureCoordArraySize = 0x8088,
|
||||
TextureCoordArrayType = 0x8089,
|
||||
TextureCoordArrayStride = 0x808A,
|
||||
VertexArrayPointer = 0x808E,
|
||||
NormalArrayPointer = 0x808F,
|
||||
ColorArrayPointer = 0x8090,
|
||||
TextureCoordArrayPointer = 0x8092,
|
||||
SampleBuffers = 0x80A8,
|
||||
Samples = 0x80A9,
|
||||
SampleCoverageValue = 0x80AA,
|
||||
SampleCoverageInvert = 0x80AB,
|
||||
}
|
||||
|
||||
public enum GetTextureParameter
|
||||
{
|
||||
NumCompressedTextureFormats = 0x86A2,
|
||||
CompressedTextureFormats = 0x86A3,
|
||||
}
|
||||
|
||||
public enum HintMode
|
||||
{
|
||||
DontCare = 0x1100,
|
||||
Fastest = 0x1101,
|
||||
Nicest = 0x1102,
|
||||
}
|
||||
|
||||
public enum HintTarget
|
||||
{
|
||||
PerspectiveCorrectionHint = 0x0C50,
|
||||
PointSmoothHint = 0x0C51,
|
||||
LineSmoothHint = 0x0C52,
|
||||
FogHint = 0x0C54,
|
||||
GenerateMipmapHint = 0x8192,
|
||||
}
|
||||
|
||||
public enum LightModelParameter
|
||||
{
|
||||
LightModelAmbient = 0x0B53,
|
||||
LightModelTwoSide = 0x0B52,
|
||||
}
|
||||
|
||||
public enum LightParameter
|
||||
{
|
||||
Ambient = 0x1200,
|
||||
Diffuse = 0x1201,
|
||||
Specular = 0x1202,
|
||||
Position = 0x1203,
|
||||
SpotDirection = 0x1204,
|
||||
SpotExponent = 0x1205,
|
||||
SpotCutoff = 0x1206,
|
||||
ConstantAttenuation = 0x1207,
|
||||
LinearAttenuation = 0x1208,
|
||||
QuadraticAttenuation = 0x1209,
|
||||
}
|
||||
|
||||
public enum DataType
|
||||
{
|
||||
Byte = 0x1400,
|
||||
UnsignedByte = 0x1401,
|
||||
Short = 0x1402,
|
||||
UnsignedShort = 0x1403,
|
||||
Float = 0x1406,
|
||||
Fixed = 0x140C,
|
||||
}
|
||||
|
||||
public enum LogicOp
|
||||
{
|
||||
Clear = 0x1500,
|
||||
And = 0x1501,
|
||||
AndReverse = 0x1502,
|
||||
Copy = 0x1503,
|
||||
AndInverted = 0x1504,
|
||||
Noop = 0x1505,
|
||||
Xor = 0x1506,
|
||||
Or = 0x1507,
|
||||
Nor = 0x1508,
|
||||
Equiv = 0x1509,
|
||||
Invert = 0x150A,
|
||||
OrReverse = 0x150B,
|
||||
CopyInverted = 0x150C,
|
||||
OrInverted = 0x150D,
|
||||
Nand = 0x150E,
|
||||
Set = 0x150F,
|
||||
}
|
||||
|
||||
public enum MaterialParameter
|
||||
{
|
||||
Emission = 0x1600,
|
||||
Shininess = 0x1601,
|
||||
AmbientAndDiffuse = 0x1602,
|
||||
}
|
||||
|
||||
public enum MatrixMode
|
||||
{
|
||||
Modelview = 0x1700,
|
||||
Projection = 0x1701,
|
||||
Texture = 0x1702,
|
||||
}
|
||||
|
||||
public enum PixelFormat
|
||||
{
|
||||
Alpha = 0x1906,
|
||||
Rgb = 0x1907,
|
||||
Rgba = 0x1908,
|
||||
Luminance = 0x1909,
|
||||
LuminanceAlpha = 0x190A,
|
||||
}
|
||||
|
||||
public enum PixelStoreParameter
|
||||
{
|
||||
UnpackAlignment = 0x0CF5,
|
||||
PackAlignment = 0x0D05,
|
||||
}
|
||||
|
||||
public enum PixelType
|
||||
{
|
||||
UnsignedShort4444 = 0x8033,
|
||||
UnsignedShort5551 = 0x8034,
|
||||
UnsignedShort565 = 0x8363,
|
||||
}
|
||||
|
||||
public enum ShadingModel
|
||||
{
|
||||
Flat = 0x1D00,
|
||||
Smooth = 0x1D01,
|
||||
}
|
||||
|
||||
public enum StencilOp
|
||||
{
|
||||
Keep = 0x1E00,
|
||||
Replace = 0x1E01,
|
||||
Incr = 0x1E02,
|
||||
Decr = 0x1E03,
|
||||
}
|
||||
|
||||
public enum StringName
|
||||
{
|
||||
Vendor = 0x1F00,
|
||||
Renderer = 0x1F01,
|
||||
Version = 0x1F02,
|
||||
Extensions = 0x1F03,
|
||||
}
|
||||
|
||||
public enum TextureEnvMode
|
||||
{
|
||||
Modulate = 0x2100,
|
||||
Decal = 0x2101,
|
||||
Add = 0x0104,
|
||||
}
|
||||
|
||||
public enum TextureEnvParameter
|
||||
{
|
||||
TextureEnvMode = 0x2200,
|
||||
TextureEnvColor = 0x2201,
|
||||
}
|
||||
|
||||
public enum TextureEnvTarget
|
||||
{
|
||||
TextureEnv = 0x2300,
|
||||
}
|
||||
|
||||
public enum TextureMagFilter
|
||||
{
|
||||
Nearest = 0x2600,
|
||||
Linear = 0x2601,
|
||||
}
|
||||
|
||||
public enum TextureMinFilter
|
||||
{
|
||||
NearestMipmapNearest = 0x2700,
|
||||
LinearMipmapNearest = 0x2701,
|
||||
NearestMipmapLinear = 0x2702,
|
||||
LinearMipmapLinear = 0x2703,
|
||||
}
|
||||
|
||||
public enum TextureParameterName
|
||||
{
|
||||
TextureMagFilter = 0x2800,
|
||||
TextureMinFilter = 0x2801,
|
||||
TextureWrapS = 0x2802,
|
||||
TextureWrapT = 0x2803,
|
||||
GenerateMipmap = 0x8191,
|
||||
}
|
||||
|
||||
public enum TextureUnit
|
||||
{
|
||||
Texture0 = 0x84C0,
|
||||
Texture1 = 0x84C1,
|
||||
Texture2 = 0x84C2,
|
||||
Texture3 = 0x84C3,
|
||||
Texture4 = 0x84C4,
|
||||
Texture5 = 0x84C5,
|
||||
Texture6 = 0x84C6,
|
||||
Texture7 = 0x84C7,
|
||||
Texture8 = 0x84C8,
|
||||
Texture9 = 0x84C9,
|
||||
Texture10 = 0x84CA,
|
||||
Texture11 = 0x84CB,
|
||||
Texture12 = 0x84CC,
|
||||
Texture13 = 0x84CD,
|
||||
Texture14 = 0x84CE,
|
||||
Texture15 = 0x84CF,
|
||||
Texture16 = 0x84D0,
|
||||
Texture17 = 0x84D1,
|
||||
Texture18 = 0x84D2,
|
||||
Texture19 = 0x84D3,
|
||||
Texture20 = 0x84D4,
|
||||
Texture21 = 0x84D5,
|
||||
Texture22 = 0x84D6,
|
||||
Texture23 = 0x84D7,
|
||||
Texture24 = 0x84D8,
|
||||
Texture25 = 0x84D9,
|
||||
Texture26 = 0x84DA,
|
||||
Texture27 = 0x84DB,
|
||||
Texture28 = 0x84DC,
|
||||
Texture29 = 0x84DD,
|
||||
Texture30 = 0x84DE,
|
||||
Texture31 = 0x84DF,
|
||||
ActiveTexture = 0x84E0,
|
||||
ClientActiveTexture = 0x84E1,
|
||||
}
|
||||
|
||||
public enum TextureWrapMode
|
||||
{
|
||||
Repeat = 0x2901,
|
||||
ClampToEdge = 0x812F,
|
||||
}
|
||||
|
||||
public enum LightName
|
||||
{
|
||||
Light0 = 0x4000,
|
||||
Light1 = 0x4001,
|
||||
Light2 = 0x4002,
|
||||
Light3 = 0x4003,
|
||||
Light4 = 0x4004,
|
||||
Light5 = 0x4005,
|
||||
Light6 = 0x4006,
|
||||
Light7 = 0x4007,
|
||||
}
|
||||
|
||||
public enum BufferObjects
|
||||
{
|
||||
ArrayBuffer = 0x8892,
|
||||
ElementArrayBuffer = 0x8893,
|
||||
ArrayBufferBinding = 0x8894,
|
||||
ElementArrayBufferBinding = 0x8895,
|
||||
VertexArrayBufferBinding = 0x8896,
|
||||
NormalArrayBufferBinding = 0x8897,
|
||||
ColorArrayBufferBinding = 0x8898,
|
||||
TextureCoordArrayBufferBinding = 0x889A,
|
||||
|
||||
StaticDraw = 0x88E4,
|
||||
DynamicDraw = 0x88E8,
|
||||
|
||||
BufferSize = 0x8764,
|
||||
BufferUsage = 0x8765,
|
||||
}
|
||||
|
||||
public enum TextureCombine
|
||||
{
|
||||
Subtract = 0x84E7,
|
||||
Combine = 0x8570,
|
||||
CombineRgb = 0x8571,
|
||||
CombineAlpha = 0x8572,
|
||||
RgbScale = 0x8573,
|
||||
AddSigned = 0x8574,
|
||||
Interpolate = 0x8575,
|
||||
Constant = 0x8576,
|
||||
PrimaryColor = 0x8577,
|
||||
Previous = 0x8578,
|
||||
Operand0Rgb = 0x8590,
|
||||
Operand1Rgb = 0x8591,
|
||||
Operand2Rgb = 0x8592,
|
||||
Operand0Alpha = 0x8598,
|
||||
Operand1Alpha = 0x8599,
|
||||
Operand2Alpha = 0x859A,
|
||||
|
||||
AlphaScale = 0x0D1C,
|
||||
|
||||
Src0Rgb = 0x8580,
|
||||
Src1Rgb = 0x8581,
|
||||
Src2Rgb = 0x8582,
|
||||
Src0Alpha = 0x8588,
|
||||
Src1Alpha = 0x8589,
|
||||
Src2Alpha = 0x858A,
|
||||
|
||||
Dot3Rgb = 0x86AE,
|
||||
Dot3Rgba = 0x86AF,
|
||||
}
|
||||
|
||||
public enum OesReadFormat
|
||||
{
|
||||
ImplementationColorReadTypeOes = 0x8B9A,
|
||||
ImplementationColorReadFormatOes = 0x8B9B,
|
||||
}
|
||||
|
||||
public enum OesCompressedPalettedTexture
|
||||
{
|
||||
Palette4Rgb8Oes = 0x8B90,
|
||||
Palette4Rgba8Oes = 0x8B91,
|
||||
Palette4R5G6B5Oes = 0x8B92,
|
||||
Palette4Rgba4Oes = 0x8B93,
|
||||
Palette4Rgb5A1Oes = 0x8B94,
|
||||
Palette8Rgb8Oes = 0x8B95,
|
||||
Palette8Rgba8Oes = 0x8B96,
|
||||
Palette8R5G6B5Oes = 0x8B97,
|
||||
Palette8Rgba4Oes = 0x8B98,
|
||||
Palette8Rgb5A1Oes = 0x8B99,
|
||||
}
|
||||
|
||||
public enum OesPointSizeArray
|
||||
{
|
||||
PointSizeArrayOes = 0x8B9C,
|
||||
PointSizeArrayTypeOes = 0x898A,
|
||||
PointSizeArrayStrideOes = 0x898B,
|
||||
PointSizeArrayPointerOes = 0x898C,
|
||||
PointSizeArrayBufferBindingOes = 0x8B9F,
|
||||
}
|
||||
|
||||
public enum OesPointSprite
|
||||
{
|
||||
PointSpriteOes = 0x8861,
|
||||
CoordReplaceOes = 0x8862,
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue