mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 16:55:28 +00:00
Specific enums for Version14 "Fog" additions.
This commit is contained in:
parent
66b8c33efd
commit
fde63de9a0
|
@ -278,14 +278,14 @@ VERSION_1_4 enum:
|
|||
# DEPTH_COMPONENT24 = 0x81A6 # PixelInternalFormat
|
||||
# DEPTH_COMPONENT32 = 0x81A7 # PixelInternalFormat
|
||||
# MIRRORED_REPEAT = 0x8370
|
||||
FOG_COORDINATE_SOURCE = 0x8450 # 1 I
|
||||
FOG_COORDINATE = 0x8451
|
||||
FRAGMENT_DEPTH = 0x8452
|
||||
CURRENT_FOG_COORDINATE = 0x8453 # 1 F
|
||||
FOG_COORDINATE_ARRAY_TYPE = 0x8454 # 1 I
|
||||
FOG_COORDINATE_ARRAY_STRIDE = 0x8455 # 1 I
|
||||
FOG_COORDINATE_ARRAY_POINTER = 0x8456
|
||||
FOG_COORDINATE_ARRAY = 0x8457 # 1 I
|
||||
# FOG_COORDINATE_SOURCE = 0x8450 # 1 I
|
||||
# FOG_COORDINATE = 0x8451
|
||||
# FRAGMENT_DEPTH = 0x8452
|
||||
# CURRENT_FOG_COORDINATE = 0x8453 # 1 F
|
||||
# FOG_COORDINATE_ARRAY_TYPE = 0x8454 # 1 I
|
||||
# FOG_COORDINATE_ARRAY_STRIDE = 0x8455 # 1 I
|
||||
# FOG_COORDINATE_ARRAY_POINTER = 0x8456
|
||||
# FOG_COORDINATE_ARRAY = 0x8457 # 1 I
|
||||
COLOR_SUM = 0x8458 # 1 I
|
||||
CURRENT_SECONDARY_COLOR = 0x8459 # 3 F
|
||||
SECONDARY_COLOR_ARRAY_SIZE = 0x845A # 1 I
|
||||
|
@ -337,8 +337,29 @@ TextureCompareMode enum:
|
|||
# Shadow Ambient (http://opengl.org/registry/specs/ARB/shadow_ambient.txt)
|
||||
TextureParameterName enum:
|
||||
TEXTURE_COMPARE_FAIL_VALUE = 0x80BF
|
||||
|
||||
|
||||
# Fog (http://www.opengl.org/registry/specs/EXT/fog_coord.txt)
|
||||
FogPointerType enum:
|
||||
use DataType FLOAT
|
||||
use DataType DOUBLE
|
||||
|
||||
FogParameter enum:
|
||||
FOG_COORD_SRC = 0x8450
|
||||
|
||||
FogMode enum:
|
||||
FOG_COORD = 0x8451
|
||||
FRAGMENT_DEPTH = 0x8452
|
||||
|
||||
GetPName enum:
|
||||
CURRENT_FOG_COORD = 0x8453
|
||||
FOG_COORD_ARRAY_TYPE = 0x8454
|
||||
FOG_COORD_ARRAY_STRIDE = 0x8455
|
||||
|
||||
GetPointervPName enum:
|
||||
FOG_COORD_ARRAY_POINTER = 0x8456
|
||||
|
||||
EnableCap enum:
|
||||
FOG_COORD_ARRAY = 0x8457
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
@ -384,14 +405,14 @@ VERSION_1_5 enum:
|
|||
DYNAMIC_COPY = 0x88EA # ARB_vertex_buffer_object
|
||||
# SAMPLES_PASSED = 0x8914 # ARB_occlusion_query
|
||||
# New naming scheme
|
||||
FOG_COORD_SRC = GL_FOG_COORDINATE_SOURCE
|
||||
FOG_COORD = GL_FOG_COORDINATE
|
||||
CURRENT_FOG_COORD = GL_CURRENT_FOG_COORDINATE
|
||||
FOG_COORD_ARRAY_TYPE = GL_FOG_COORDINATE_ARRAY_TYPE
|
||||
FOG_COORD_ARRAY_STRIDE = GL_FOG_COORDINATE_ARRAY_STRIDE
|
||||
FOG_COORD_ARRAY_POINTER = GL_FOG_COORDINATE_ARRAY_POINTER
|
||||
FOG_COORD_ARRAY = GL_FOG_COORDINATE_ARRAY
|
||||
FOG_COORD_ARRAY_BUFFER_BINDING = GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
|
||||
# FOG_COORD_SRC = GL_FOG_COORDINATE_SOURCE
|
||||
# FOG_COORD = GL_FOG_COORDINATE
|
||||
# CURRENT_FOG_COORD = GL_CURRENT_FOG_COORDINATE
|
||||
# FOG_COORD_ARRAY_TYPE = GL_FOG_COORDINATE_ARRAY_TYPE
|
||||
# FOG_COORD_ARRAY_STRIDE = GL_FOG_COORDINATE_ARRAY_STRIDE
|
||||
# FOG_COORD_ARRAY_POINTER = GL_FOG_COORDINATE_ARRAY_POINTER
|
||||
# FOG_COORD_ARRAY = GL_FOG_COORDINATE_ARRAY
|
||||
# FOG_COORD_ARRAY_BUFFER_BINDING = GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
|
||||
SRC0_RGB = GL_SOURCE0_RGB
|
||||
SRC1_RGB = GL_SOURCE1_RGB
|
||||
SRC2_RGB = GL_SOURCE2_RGB
|
||||
|
|
|
@ -5142,7 +5142,7 @@ FogCoorddv(coord)
|
|||
|
||||
FogCoordPointer(type, stride, pointer)
|
||||
return void
|
||||
param type FogPointerTypeEXT in value
|
||||
param type FogPointerType in value # FogPointerTypeEXT in value
|
||||
param stride SizeI in value
|
||||
param pointer Void in array [COMPSIZE(type/stride)] retained
|
||||
category VERSION_1_4
|
||||
|
|
Loading…
Reference in a new issue