Enum Remains [done!]
Posted Wednesday, 2 January, 2008 - 16:10 by Inertia in
This is a list of the last tokens i couldn't properly identify, and one Ati Extension where i'm not certain if it should be included at all.
Often it's mentioned that it has been added "somewhere", but theres no entry at "somewhere".
public enum Version12
{
MaxElementsVertices = ( (int) 0x80e8 ), //??
MaxElementsIndices = ( (int) 0x80e9 ), //??
}
public enum Version20
{
// partially: http://www.opengl.org/registry/specs/ATI/separate_stencil.txt
StencilBackFunc = ( (int) 0x8800 ),
StencilBackFail = ( (int) 0x8801 ),
StencilBackPassDepthFail = ( (int) 0x8802 ),
StencilBackPassDepthPass = ( (int) 0x8803 ),
StencilBackRef = ( (int) 0x8ca3 ),
StencilBackValueMask = ( (int) 0x8ca4 ),
StencilBackWritemask = ( (int) 0x8ca5 ),
AttachedShaders = ( (int) 0x8b85 ), // should both belong to ARB_shader_object, not listed?
CurrentProgram = ( (int) 0x8b8d ), // CURRENT_PROGRAM = 0x8B8D # ARB_shader_objects (added for 2.0)
PointSpriteCoordOrigin = ( (int) 0x8ca0 ),
LowerLeft = ( (int) 0x8ca1 ),
UpperLeft = ( (int) 0x8ca2 ), /*
POINT_SPRITE_COORD_ORIGIN = 0x8CA0 # ARB_point_sprite (added for 2.0)
LOWER_LEFT = 0x8CA1 # ARB_point_sprite (added for 2.0)
UPPER_LEFT = 0x8CA2 # ARB_point_sprite (added for 2.0)
*/
}
public enum Version21
{
CurrentRasterSecondaryColor = ( (int) 0x845f ), // related to GL.DrawPixels query (somehow)
}
{
MaxElementsVertices = ( (int) 0x80e8 ), //??
MaxElementsIndices = ( (int) 0x80e9 ), //??
}
public enum Version20
{
// partially: http://www.opengl.org/registry/specs/ATI/separate_stencil.txt
StencilBackFunc = ( (int) 0x8800 ),
StencilBackFail = ( (int) 0x8801 ),
StencilBackPassDepthFail = ( (int) 0x8802 ),
StencilBackPassDepthPass = ( (int) 0x8803 ),
StencilBackRef = ( (int) 0x8ca3 ),
StencilBackValueMask = ( (int) 0x8ca4 ),
StencilBackWritemask = ( (int) 0x8ca5 ),
AttachedShaders = ( (int) 0x8b85 ), // should both belong to ARB_shader_object, not listed?
CurrentProgram = ( (int) 0x8b8d ), // CURRENT_PROGRAM = 0x8B8D # ARB_shader_objects (added for 2.0)
PointSpriteCoordOrigin = ( (int) 0x8ca0 ),
LowerLeft = ( (int) 0x8ca1 ),
UpperLeft = ( (int) 0x8ca2 ), /*
POINT_SPRITE_COORD_ORIGIN = 0x8CA0 # ARB_point_sprite (added for 2.0)
LOWER_LEFT = 0x8CA1 # ARB_point_sprite (added for 2.0)
UPPER_LEFT = 0x8CA2 # ARB_point_sprite (added for 2.0)
*/
}
public enum Version21
{
CurrentRasterSecondaryColor = ( (int) 0x845f ), // related to GL.DrawPixels query (somehow)
}




Comments
Jan 02
01:48:12public enum Version12 {
posted by the Fiddler{
MaxElementsVertices = ( (int) 0x80e8 ), //??
MaxElementsIndices = ( (int) 0x80e9 ), //??
}
These are GetPName tokens (http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml)
Jan 03
13:28:33public enum Version20 {
posted by the Fiddler{
// partially: http://www.opengl.org/registry/specs/ATI/separate_stencil.txt
StencilBackFunc = ( (int) 0x8800 ),
StencilBackFail = ( (int) 0x8801 ),
StencilBackPassDepthFail = ( (int) 0x8802 ),
StencilBackPassDepthPass = ( (int) 0x8803 ),
StencilBackRef = ( (int) 0x8ca3 ),
StencilBackValueMask = ( (int) 0x8ca4 ),
StencilBackWritemask = ( (int) 0x8ca5 )
}
GetPName tokens, too.
LowerLeft = ( (int) 0x8ca1 ),
UpperLeft = ( (int) 0x8ca2 ),
New PointParameter tokens (http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml). Added the first to PointParameterName and wrote a helper overload for the last two (otherwise you'd have to cast to int to use them).
CurrentProgram = ( (int) 0x8b8d ), // CURRENT_PROGRAM = 0x8B8D # ARB_shader_objects (added for 2.0)
GetProgram tokens (http://www.opengl.org/sdk/docs/man/xhtml/glGetProgram.xml)
And this concludes Version20 - only Version21 left now!
Jan 03
13:39:19public enum
posted by the Fiddler{
CurrentRasterSecondaryColor = ( (int) 0x845f ), // related to GL.DrawPixels query (somehow)
}
Another GetPName token (http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml). Version21 is now finished!
Just the ARB shaders remain now.
Jan 03
16:02:37I have to make up a new word
posted by InertiaI have to make up a new word to comment this, because no existing is sufficient.
Awesomeness!
This is the first time that google with parameter site:opengl.org failed me, guess they don't index .xml documents.