Specific enums for Version14 "Point Parameters" and Version20 "Point Sprites" additions.

This commit is contained in:
the_fiddler 2008-01-01 22:39:45 +00:00
parent 8476fd740f
commit 6bc5158cf2
2 changed files with 92 additions and 31 deletions

View file

@ -268,10 +268,10 @@ VERSION_1_4 enum:
BLEND_SRC_RGB = 0x80C9
BLEND_DST_ALPHA = 0x80CA
BLEND_SRC_ALPHA = 0x80CB
POINT_SIZE_MIN = 0x8126 # 1 F
POINT_SIZE_MAX = 0x8127 # 1 F
POINT_FADE_THRESHOLD_SIZE = 0x8128 # 1 F
POINT_DISTANCE_ATTENUATION = 0x8129 # 3 F
# POINT_SIZE_MIN = 0x8126 # 1 F
# POINT_SIZE_MAX = 0x8127 # 1 F
# POINT_FADE_THRESHOLD_SIZE = 0x8128 # 1 F
# POINT_DISTANCE_ATTENUATION = 0x8129 # 3 F
GENERATE_MIPMAP = 0x8191
GENERATE_MIPMAP_HINT = 0x8192 # 1 I
# DEPTH_COMPONENT16 = 0x81A5 # PixelInternalFormat
@ -375,6 +375,19 @@ GetPName enum:
GetPointervPName enum:
SECONDARY_COLOR_ARRAY_POINTER = 0x845D
# Point Parameters (http://www.opengl.org/registry/specs/ARB/point_parameters.txt)
PointParameterName enum:
POINT_SIZE_MIN = 0x8126
POINT_SIZE_MAX = 0x8127
POINT_FADE_THRESHOLD_SIZE = 0x8128
POINT_DISTANCE_ATTENUATION = 0x8129 # this token is only accepted by GL.PointParameterv not GL.PointParameter
GetPName enum:
POINT_SIZE_MIN = 0x8126
POINT_SIZE_MAX = 0x8127
POINT_FADE_THRESHOLD_SIZE = 0x8128
POINT_DISTANCE_ATTENUATION = 0x8129 # this token is only accepted by GL.PointParameterv not GL.PointParameter
###############################################################################
@ -470,26 +483,26 @@ VERSION_2_0 enum:
STENCIL_BACK_FAIL = 0x8801 # ARB_stencil_two_side
STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802 # ARB_stencil_two_side
STENCIL_BACK_PASS_DEPTH_PASS = 0x8803 # ARB_stencil_two_side
MAX_DRAW_BUFFERS = 0x8824 # ARB_draw_buffers
DRAW_BUFFER0 = 0x8825 # ARB_draw_buffers
DRAW_BUFFER1 = 0x8826 # ARB_draw_buffers
DRAW_BUFFER2 = 0x8827 # ARB_draw_buffers
DRAW_BUFFER3 = 0x8828 # ARB_draw_buffers
DRAW_BUFFER4 = 0x8829 # ARB_draw_buffers
DRAW_BUFFER5 = 0x882A # ARB_draw_buffers
DRAW_BUFFER6 = 0x882B # ARB_draw_buffers
DRAW_BUFFER7 = 0x882C # ARB_draw_buffers
DRAW_BUFFER8 = 0x882D # ARB_draw_buffers
DRAW_BUFFER9 = 0x882E # ARB_draw_buffers
DRAW_BUFFER10 = 0x882F # ARB_draw_buffers
DRAW_BUFFER11 = 0x8830 # ARB_draw_buffers
DRAW_BUFFER12 = 0x8831 # ARB_draw_buffers
DRAW_BUFFER13 = 0x8832 # ARB_draw_buffers
DRAW_BUFFER14 = 0x8833 # ARB_draw_buffers
DRAW_BUFFER15 = 0x8834 # ARB_draw_buffers
# MAX_DRAW_BUFFERS = 0x8824 # ARB_draw_buffers
# DRAW_BUFFER0 = 0x8825 # ARB_draw_buffers
# DRAW_BUFFER1 = 0x8826 # ARB_draw_buffers
# DRAW_BUFFER2 = 0x8827 # ARB_draw_buffers
# DRAW_BUFFER3 = 0x8828 # ARB_draw_buffers
# DRAW_BUFFER4 = 0x8829 # ARB_draw_buffers
# DRAW_BUFFER5 = 0x882A # ARB_draw_buffers
# DRAW_BUFFER6 = 0x882B # ARB_draw_buffers
# DRAW_BUFFER7 = 0x882C # ARB_draw_buffers
# DRAW_BUFFER8 = 0x882D # ARB_draw_buffers
# DRAW_BUFFER9 = 0x882E # ARB_draw_buffers
# DRAW_BUFFER10 = 0x882F # ARB_draw_buffers
# DRAW_BUFFER11 = 0x8830 # ARB_draw_buffers
# DRAW_BUFFER12 = 0x8831 # ARB_draw_buffers
# DRAW_BUFFER13 = 0x8832 # ARB_draw_buffers
# DRAW_BUFFER14 = 0x8833 # ARB_draw_buffers
# DRAW_BUFFER15 = 0x8834 # ARB_draw_buffers
BLEND_EQUATION_ALPHA = 0x883D # EXT_blend_equation_separate
POINT_SPRITE = 0x8861 # ARB_point_sprite
COORD_REPLACE = 0x8862 # ARB_point_sprite
# POINT_SPRITE = 0x8861 # ARB_point_sprite
# COORD_REPLACE = 0x8862 # ARB_point_sprite
MAX_VERTEX_ATTRIBS = 0x8869 # ARB_vertex_shader
VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A # ARB_vertex_shader
MAX_TEXTURE_COORDS = 0x8871 # ARB_vertex_shader, ARB_fragment_shader
@ -546,7 +559,55 @@ VERSION_2_0 enum:
PixelType enum:
HALF_FLOAT = 0x140B
# Draw Buffers (http://www.opengl.org/registry/specs/ARB/draw_buffers.txt)
# <summary>Monoscopic contexts include only left buffers, while stereoscopic contexts include both left and right buffers. Likewise, single buffered contexts include only front buffers, while double buffered contexts include both front and back buffers.</summary>
DrawBuffersEnum enum:
use DrawBufferMode NONE
use DrawBufferMode FRONT_LEFT
use DrawBufferMode FRONT_RIGHT
use DrawBufferMode BACK_LEFT
use DrawBufferMode BACK_RIGHT
use DrawBufferMode AUX0
use DrawBufferMode AUX1
use DrawBufferMode AUX2
use DrawBufferMode AUX3
GetPName enum:
MAX_DRAW_BUFFERS = 0x8824
DRAW_BUFFER0 = 0x8825
DRAW_BUFFER1 = 0x8826
DRAW_BUFFER2 = 0x8827
DRAW_BUFFER3 = 0x8828
DRAW_BUFFER4 = 0x8829
DRAW_BUFFER5 = 0x882A
DRAW_BUFFER6 = 0x882B
DRAW_BUFFER7 = 0x882C
DRAW_BUFFER8 = 0x882D
DRAW_BUFFER9 = 0x882E
DRAW_BUFFER10 = 0x882F
DRAW_BUFFER11 = 0x8830
DRAW_BUFFER12 = 0x8831
DRAW_BUFFER13 = 0x8832
DRAW_BUFFER14 = 0x8833
DRAW_BUFFER15 = 0x8834
# Point Sprites (http://opengl.org/registry/specs/ARB/point_sprite.txt)
EnableCap enum:
POINT_SPRITE = 0x8861
TextureEnvTarget enum:
POINT_SPRITE = 0x8861
TextureEnvParameter enum:
COORD_REPLACE = 0x8862
# <summary>This Enum may only be used with GL.TexEnv if target is PointSprite and pname is CoordReplace.</summary>
TextureEnvModePointSprite enum:
use Boolean TRUE
use Boolean FALSE
GetPName enum:
POINT_SPRITE = 0x8861
###############################################################################
#

View file

@ -5185,7 +5185,7 @@ MultiDrawElements(mode, count, type, indices, primcount)
PointParameterf(pname, param)
return void
param pname PointParameterNameARB in value
param pname PointParameterName in value # PointParameterNameARB in value
param param CheckedFloat32 in value
category VERSION_1_4
version 1.4
@ -5196,7 +5196,7 @@ PointParameterf(pname, param)
PointParameterfv(pname, params)
return void
param pname PointParameterNameARB in value
param pname PointParameterName in value # PointParameterNameARB in value
param params CheckedFloat32 in array [COMPSIZE(pname)]
category VERSION_1_4
version 1.4
@ -5207,7 +5207,7 @@ PointParameterfv(pname, params)
PointParameteri(pname, param)
return void
param pname PointParameterNameARB in value
param pname PointParameterName in value # PointParameterNameARB in value
param param Int32 in value
category VERSION_1_4
version 1.4
@ -5218,7 +5218,7 @@ PointParameteri(pname, param)
PointParameteriv(pname, params)
return void
param pname PointParameterNameARB in value
param pname PointParameterName in value # PointParameterNameARB in value
param params Int32 in array [COMPSIZE(pname)]
category VERSION_1_4
version 1.4
@ -5231,7 +5231,7 @@ PointParameteriv(pname, params)
SecondaryColor3b(red, green, blue)
return void
param red ColorB in value
param red ColorB in value
param green ColorB in value
param blue ColorB in value
category VERSION_1_4
@ -5250,7 +5250,7 @@ SecondaryColor3bv(v)
SecondaryColor3d(red, green, blue)
return void
param red ColorD in value
param red ColorD in value
param green ColorD in value
param blue ColorD in value
category VERSION_1_4
@ -5842,8 +5842,8 @@ BlendEquationSeparate(modeRGB, modeAlpha)
DrawBuffers(n, bufs)
return void
param n SizeI in value
param bufs DrawBufferModeATI in array [n]
param n SizeI in value
param bufs DrawBuffersEnum in array [n] # DrawBufferModeATI in array [n]
category VERSION_2_0
version 2.0
extension