mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 21:15:38 +00:00
Specific enums for ARB vertex/fragment program (asm).
This commit is contained in:
parent
d7c4d7c036
commit
456cbd39bd
|
@ -1483,92 +1483,205 @@ ARB_window_pos enum:
|
|||
# ARB_vertex_program enums are shared by ARB_fragment_program are so marked.
|
||||
# Unfortunately, PROGRAM_BINDING_ARB does accidentally reuse 0x8677 -
|
||||
# this was a spec editing typo that's now uncorrectable.
|
||||
# Edited for OpenTK
|
||||
ARB_vertex_program enum:
|
||||
COLOR_SUM_ARB = 0x8458
|
||||
VERTEX_PROGRAM_ARB = 0x8620
|
||||
VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622
|
||||
VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623
|
||||
VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624
|
||||
VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625
|
||||
CURRENT_VERTEX_ATTRIB_ARB = 0x8626
|
||||
PROGRAM_LENGTH_ARB = 0x8627 # shared
|
||||
PROGRAM_STRING_ARB = 0x8628 # shared
|
||||
# VERTEX_PROGRAM_ARB = 0x8620
|
||||
# VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622
|
||||
# VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623
|
||||
# VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624
|
||||
# VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625
|
||||
# CURRENT_VERTEX_ATTRIB_ARB = 0x8626
|
||||
# PROGRAM_LENGTH_ARB = 0x8627 # shared
|
||||
# PROGRAM_STRING_ARB = 0x8628 # shared
|
||||
MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E # shared
|
||||
MAX_PROGRAM_MATRICES_ARB = 0x862F # shared
|
||||
CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640 # shared
|
||||
CURRENT_MATRIX_ARB = 0x8641 # shared
|
||||
VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642
|
||||
VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643
|
||||
VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645
|
||||
# VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645
|
||||
PROGRAM_ERROR_POSITION_ARB = 0x864B # shared
|
||||
PROGRAM_BINDING_ARB = 0x8677 # shared
|
||||
# PROGRAM_BINDING_ARB = 0x8677 # shared
|
||||
MAX_VERTEX_ATTRIBS_ARB = 0x8869
|
||||
VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A
|
||||
# VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A
|
||||
PROGRAM_ERROR_STRING_ARB = 0x8874 # shared
|
||||
PROGRAM_FORMAT_ASCII_ARB = 0x8875 # shared
|
||||
PROGRAM_FORMAT_ARB = 0x8876 # shared
|
||||
PROGRAM_INSTRUCTIONS_ARB = 0x88A0 # shared
|
||||
MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1 # shared
|
||||
PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2 # shared
|
||||
MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3 # shared
|
||||
PROGRAM_TEMPORARIES_ARB = 0x88A4 # shared
|
||||
MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5 # shared
|
||||
PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6 # shared
|
||||
MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7 # shared
|
||||
PROGRAM_PARAMETERS_ARB = 0x88A8 # shared
|
||||
MAX_PROGRAM_PARAMETERS_ARB = 0x88A9 # shared
|
||||
PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA # shared
|
||||
MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB # shared
|
||||
PROGRAM_ATTRIBS_ARB = 0x88AC # shared
|
||||
MAX_PROGRAM_ATTRIBS_ARB = 0x88AD # shared
|
||||
PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE # shared
|
||||
MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF # shared
|
||||
PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0 # shared
|
||||
MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1 # shared
|
||||
PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2 # shared
|
||||
MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3 # shared
|
||||
MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4 # shared
|
||||
MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5 # shared
|
||||
PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6 # shared
|
||||
# PROGRAM_FORMAT_ARB = 0x8876 # shared
|
||||
# PROGRAM_INSTRUCTIONS_ARB = 0x88A0 # shared
|
||||
# MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1 # shared
|
||||
# PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2 # shared
|
||||
# MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3 # shared
|
||||
# PROGRAM_TEMPORARIES_ARB = 0x88A4 # shared
|
||||
# MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5 # shared
|
||||
# PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6 # shared
|
||||
# MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7 # shared
|
||||
# PROGRAM_PARAMETERS_ARB = 0x88A8 # shared
|
||||
# MAX_PROGRAM_PARAMETERS_ARB = 0x88A9 # shared
|
||||
# PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA # shared
|
||||
# MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB # shared
|
||||
# PROGRAM_ATTRIBS_ARB = 0x88AC # shared
|
||||
# MAX_PROGRAM_ATTRIBS_ARB = 0x88AD # shared
|
||||
# PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE # shared
|
||||
# MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF # shared
|
||||
# PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0 # shared
|
||||
# MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1 # shared
|
||||
# PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2 # shared
|
||||
# MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3 # shared
|
||||
# MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4 # shared
|
||||
# MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5 # shared
|
||||
# PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6 # shared
|
||||
TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7 # shared
|
||||
MATRIX0_ARB = 0x88C0 # shared
|
||||
MATRIX1_ARB = 0x88C1 # shared
|
||||
MATRIX2_ARB = 0x88C2 # shared
|
||||
MATRIX3_ARB = 0x88C3 # shared
|
||||
MATRIX4_ARB = 0x88C4 # shared
|
||||
MATRIX5_ARB = 0x88C5 # shared
|
||||
MATRIX6_ARB = 0x88C6 # shared
|
||||
MATRIX7_ARB = 0x88C7 # shared
|
||||
MATRIX8_ARB = 0x88C8 # shared
|
||||
MATRIX9_ARB = 0x88C9 # shared
|
||||
MATRIX10_ARB = 0x88CA # shared
|
||||
MATRIX11_ARB = 0x88CB # shared
|
||||
MATRIX12_ARB = 0x88CC # shared
|
||||
MATRIX13_ARB = 0x88CD # shared
|
||||
MATRIX14_ARB = 0x88CE # shared
|
||||
MATRIX15_ARB = 0x88CF # shared
|
||||
MATRIX16_ARB = 0x88D0 # shared
|
||||
MATRIX17_ARB = 0x88D1 # shared
|
||||
MATRIX18_ARB = 0x88D2 # shared
|
||||
MATRIX19_ARB = 0x88D3 # shared
|
||||
MATRIX20_ARB = 0x88D4 # shared
|
||||
MATRIX21_ARB = 0x88D5 # shared
|
||||
MATRIX22_ARB = 0x88D6 # shared
|
||||
MATRIX23_ARB = 0x88D7 # shared
|
||||
MATRIX24_ARB = 0x88D8 # shared
|
||||
MATRIX25_ARB = 0x88D9 # shared
|
||||
MATRIX26_ARB = 0x88DA # shared
|
||||
MATRIX27_ARB = 0x88DB # shared
|
||||
MATRIX28_ARB = 0x88DC # shared
|
||||
MATRIX29_ARB = 0x88DD # shared
|
||||
MATRIX30_ARB = 0x88DE # shared
|
||||
MATRIX31_ARB = 0x88DF # shared
|
||||
# MATRIX0_ARB = 0x88C0 # shared
|
||||
# MATRIX1_ARB = 0x88C1 # shared
|
||||
# MATRIX2_ARB = 0x88C2 # shared
|
||||
# MATRIX3_ARB = 0x88C3 # shared
|
||||
# MATRIX4_ARB = 0x88C4 # shared
|
||||
# MATRIX5_ARB = 0x88C5 # shared
|
||||
# MATRIX6_ARB = 0x88C6 # shared
|
||||
# MATRIX7_ARB = 0x88C7 # shared
|
||||
# MATRIX8_ARB = 0x88C8 # shared
|
||||
# MATRIX9_ARB = 0x88C9 # shared
|
||||
# MATRIX10_ARB = 0x88CA # shared
|
||||
# MATRIX11_ARB = 0x88CB # shared
|
||||
# MATRIX12_ARB = 0x88CC # shared
|
||||
# MATRIX13_ARB = 0x88CD # shared
|
||||
# MATRIX14_ARB = 0x88CE # shared
|
||||
# MATRIX15_ARB = 0x88CF # shared
|
||||
# MATRIX16_ARB = 0x88D0 # shared
|
||||
# MATRIX17_ARB = 0x88D1 # shared
|
||||
# MATRIX18_ARB = 0x88D2 # shared
|
||||
# MATRIX19_ARB = 0x88D3 # shared
|
||||
# MATRIX20_ARB = 0x88D4 # shared
|
||||
# MATRIX21_ARB = 0x88D5 # shared
|
||||
# MATRIX22_ARB = 0x88D6 # shared
|
||||
# MATRIX23_ARB = 0x88D7 # shared
|
||||
# MATRIX24_ARB = 0x88D8 # shared
|
||||
# MATRIX25_ARB = 0x88D9 # shared
|
||||
# MATRIX26_ARB = 0x88DA # shared
|
||||
# MATRIX27_ARB = 0x88DB # shared
|
||||
# MATRIX28_ARB = 0x88DC # shared
|
||||
# MATRIX29_ARB = 0x88DD # shared
|
||||
# MATRIX30_ARB = 0x88DE # shared
|
||||
# MATRIX31_ARB = 0x88DF # shared
|
||||
|
||||
AssemblyProgramTargetARB enum:
|
||||
FRAGMENT_PROGRAM = 0x8804
|
||||
VERTEX_PROGRAM = 0x8620
|
||||
use NV_geometry_program4 GEOMETRY_PROGRAM_NV
|
||||
|
||||
AssemblyProgramFormatARB enum:
|
||||
PROGRAM_FORMAT_ASCII_ARB = 0x8875 # shared
|
||||
|
||||
AssemblyProgramParameterARB enum:
|
||||
PROGRAM_LENGTH = 0x8627
|
||||
PROGRAM_FORMAT = 0x8876
|
||||
PROGRAM_BINDING = 0x8677
|
||||
PROGRAM_INSTRUCTION = 0x88A0
|
||||
MAX_PROGRAM_INSTRUCTIONS = 0x88A1
|
||||
PROGRAM_NATIVE_INSTRUCTIONS = 0x88A2
|
||||
MAX_PROGRAM_NATIVE_INSTRUCTIONS = 0x88A3
|
||||
PROGRAM_TEMPORARIES = 0x88A4
|
||||
MAX_PROGRAM_TEMPORARIES = 0x88A5
|
||||
PROGRAM_NATIVE_TEMPORARIES = 0x88A6
|
||||
MAX_PROGRAM_NATIVE_TEMPORARIES = 0x88A7
|
||||
PROGRAM_PARAMETERS = 0x88A8
|
||||
MAX_PROGRAM_PARAMETERS = 0x88A9
|
||||
PROGRAM_NATIVE_PARAMETERS = 0x88AA
|
||||
MAX_PROGRAM_NATIVE_PARAMETERS = 0x88AB
|
||||
PROGRAM_ATTRIBS = 0x88AC
|
||||
MAX_PROGRAM_ATTRIBS = 0x88AD
|
||||
PROGRAM_NATIVE_ATTRIBS = 0x88AE
|
||||
MAX_PROGRAM_NATIVE_ATTRIBS = 0x88AF
|
||||
PROGRAM_ADDRESS_REGISTERS = 0x88B0
|
||||
MAX_PROGRAM_ADDRESS_REGISTERS = 0x88B1
|
||||
PROGRAM_NATIVE_ADDRESS_REGISTERS = 0x88B2
|
||||
MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS = 0x88B3
|
||||
MAX_PROGRAM_LOCAL_PARAMETERS = 0x88B4
|
||||
MAX_PROGRAM_ENV_PARAMETERS = 0x88B5
|
||||
PROGRAM_UNDER_NATIVE_LIMITS = 0x88B6
|
||||
|
||||
PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805
|
||||
PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806
|
||||
PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807
|
||||
PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x8808
|
||||
PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x8809
|
||||
PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x880A
|
||||
MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x880B
|
||||
MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x880C
|
||||
MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 0x880D
|
||||
MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x880E
|
||||
MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880F
|
||||
MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810
|
||||
|
||||
AssemblyProgramStringParameterARB enum:
|
||||
PROGRAM_STRING = 0x8628
|
||||
|
||||
MatrixModeARB enum:
|
||||
use MatrixMode MODELVIEW
|
||||
use MatrixMode PROJECTION
|
||||
use MatrixMode TEXTURE
|
||||
use MatrixMode COLOR
|
||||
MATRIX0 = 0x88C0
|
||||
MATRIX1 = 0x88C1
|
||||
MATRIX2 = 0x88C2
|
||||
MATRIX3 = 0x88C3
|
||||
MATRIX4 = 0x88C4
|
||||
MATRIX5 = 0x88C5
|
||||
MATRIX6 = 0x88C6
|
||||
MATRIX7 = 0x88C7
|
||||
MATRIX8 = 0x88C8
|
||||
MATRIX9 = 0x88C9
|
||||
MATRIX10 = 0x88CA
|
||||
MATRIX11 = 0x88CB
|
||||
MATRIX12 = 0x88CC
|
||||
MATRIX13 = 0x88CD
|
||||
MATRIX14 = 0x88CE
|
||||
MATRIX15 = 0x88CF
|
||||
MATRIX16 = 0x88D0
|
||||
MATRIX17 = 0x88D1
|
||||
MATRIX18 = 0x88D2
|
||||
MATRIX19 = 0x88D3
|
||||
MATRIX20 = 0x88D4
|
||||
MATRIX21 = 0x88D5
|
||||
MATRIX22 = 0x88D6
|
||||
MATRIX23 = 0x88D7
|
||||
MATRIX24 = 0x88D8
|
||||
MATRIX25 = 0x88D9
|
||||
MATRIX26 = 0x88DA
|
||||
MATRIX27 = 0x88DB
|
||||
MATRIX28 = 0x88DC
|
||||
MATRIX29 = 0x88DD
|
||||
MATRIX30 = 0x88DE
|
||||
MATRIX31 = 0x88DF
|
||||
|
||||
VertexAttribParameterARB enum:
|
||||
ARRAY_ENABLED = 0x8622
|
||||
ARRAY_SIZE = 0x8623
|
||||
ARRAY_STRIDE = 0x8624
|
||||
ARRAY_TYPE = 0x8625
|
||||
CURRENT_VERTEX_ATTRIB = 0x8626
|
||||
ARRAY_NORMALIZED = 0x886A
|
||||
|
||||
VertexAttribPointerParameterARB enum:
|
||||
ARRAY_POINTER = 0x8645
|
||||
|
||||
VertexAttribPointerTypeARB enum:
|
||||
use DataType BYTE
|
||||
use DataType UNSIGNED_BYTE
|
||||
use DataType SHORT
|
||||
use DataType UNSIGNED_SHORT
|
||||
use DataType INT
|
||||
use DataType UNSIGNED_INT
|
||||
use DataType FLOAT
|
||||
use DataType DOUBLE
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #27
|
||||
# Some ARB_fragment_program enums are shared with ARB_vertex_program,
|
||||
# and are only included in that #define block, for now.
|
||||
# Edited for OpenTK
|
||||
ARB_fragment_program enum:
|
||||
# PROGRAM_LENGTH_ARB = 0x8627 # shared
|
||||
# PROGRAM_STRING_ARB = 0x8628 # shared
|
||||
|
@ -1578,19 +1691,19 @@ ARB_fragment_program enum:
|
|||
# CURRENT_MATRIX_ARB = 0x8641 # shared
|
||||
# PROGRAM_ERROR_POSITION_ARB = 0x864B # shared
|
||||
# PROGRAM_BINDING_ARB = 0x8677 # shared
|
||||
FRAGMENT_PROGRAM_ARB = 0x8804
|
||||
PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805
|
||||
PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806
|
||||
PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807
|
||||
PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x8808
|
||||
PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x8809
|
||||
PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x880A
|
||||
MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x880B
|
||||
MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x880C
|
||||
MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 0x880D
|
||||
MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x880E
|
||||
MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880F
|
||||
MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810
|
||||
# FRAGMENT_PROGRAM_ARB = 0x8804
|
||||
# PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805
|
||||
# PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806
|
||||
# PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807
|
||||
# PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x8808
|
||||
# PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x8809
|
||||
# PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x880A
|
||||
# MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x880B
|
||||
# MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x880C
|
||||
# MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 0x880D
|
||||
# MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x880E
|
||||
# MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880F
|
||||
# MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810
|
||||
MAX_TEXTURE_COORDS_ARB = 0x8871
|
||||
MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872
|
||||
# PROGRAM_ERROR_STRING_ARB = 0x8874 # shared
|
||||
|
@ -1653,6 +1766,34 @@ ARB_fragment_program enum:
|
|||
# MATRIX30_ARB = 0x88DE # shared
|
||||
# MATRIX31_ARB = 0x88DF # shared
|
||||
|
||||
BufferTargetARB enum:
|
||||
ARRAY_BUFFER = 0x8892
|
||||
ELEMENT_ARRAY_BUFFER = 0x8893
|
||||
|
||||
BufferUsageARB enum:
|
||||
STREAM_DRAW = 0x88E0
|
||||
STREAM_READ = 0x88E1
|
||||
STREAM_COPY = 0x88E2
|
||||
STATIC_DRAW = 0x88E4
|
||||
STATIC_READ = 0x88E5
|
||||
STATIC_COPY = 0x88E6
|
||||
DYNAMIC_DRAW = 0x88E8
|
||||
DYNAMIC_READ = 0x88E9
|
||||
DYNAMIC_COPY = 0x88EA
|
||||
|
||||
BufferAccessARB enum:
|
||||
READ_ONLY = 0x88B8
|
||||
WRITE_ONLY = 0x88B9
|
||||
READ_WRITE = 0x88BA
|
||||
|
||||
BufferParameterNameARB enum:
|
||||
BUFFER_SIZE = 0x8764
|
||||
BUFFER_USAGE = 0x8765
|
||||
BUFFER_ACCESS = 0x88BB
|
||||
BUFFER_MAPPED = 0x88BC
|
||||
|
||||
BufferPointerNameARB enum:
|
||||
BUFFER_MAP_POINTER = 0x88BD
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
|
|
@ -8241,6 +8241,7 @@ WindowPos3svARB(v)
|
|||
#
|
||||
# ARB Extension #26
|
||||
# ARB_vertex_program commands
|
||||
# Edited for OpenTK
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
|
@ -8667,7 +8668,7 @@ VertexAttribPointerARB(index, size, type, normalized, stride, pointer)
|
|||
return void
|
||||
param index UInt32 in value
|
||||
param size Int32 in value
|
||||
param type VertexAttribPointerTypeARB in value
|
||||
param type VertexAttribPointerTypeArb in value # VertexAttribPointerTypeARB in value
|
||||
param normalized Boolean in value
|
||||
param stride SizeI in value
|
||||
param pointer Void in array [COMPSIZE(size/type/stride)] retained
|
||||
|
@ -8700,8 +8701,8 @@ DisableVertexAttribArrayARB(index)
|
|||
|
||||
ProgramStringARB(target, format, len, string)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param format ProgramFormatARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param format AssemblyProgramFormatArb in value # AssemblyProgramFormatARB in value
|
||||
param len SizeI in value
|
||||
param string Void in array [len]
|
||||
category ARB_vertex_program
|
||||
|
@ -8713,7 +8714,7 @@ ProgramStringARB(target, format, len, string)
|
|||
|
||||
BindProgramARB(target, program)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param program UInt32 in value
|
||||
category ARB_vertex_program
|
||||
version 1.3
|
||||
|
@ -8748,7 +8749,7 @@ GenProgramsARB(n, programs)
|
|||
|
||||
ProgramEnvParameter4dARB(target, index, x, y, z, w)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param x Float64 in value
|
||||
param y Float64 in value
|
||||
|
@ -8764,7 +8765,7 @@ ProgramEnvParameter4dARB(target, index, x, y, z, w)
|
|||
|
||||
ProgramEnvParameter4dvARB(target, index, params)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param params Float64 in array [4]
|
||||
category ARB_vertex_program
|
||||
|
@ -8776,7 +8777,7 @@ ProgramEnvParameter4dvARB(target, index, params)
|
|||
|
||||
ProgramEnvParameter4fARB(target, index, x, y, z, w)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param x Float32 in value
|
||||
param y Float32 in value
|
||||
|
@ -8792,7 +8793,7 @@ ProgramEnvParameter4fARB(target, index, x, y, z, w)
|
|||
|
||||
ProgramEnvParameter4fvARB(target, index, params)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param params Float32 in array [4]
|
||||
category ARB_vertex_program
|
||||
|
@ -8804,7 +8805,7 @@ ProgramEnvParameter4fvARB(target, index, params)
|
|||
|
||||
ProgramLocalParameter4dARB(target, index, x, y, z, w)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param x Float64 in value
|
||||
param y Float64 in value
|
||||
|
@ -8820,7 +8821,7 @@ ProgramLocalParameter4dARB(target, index, x, y, z, w)
|
|||
|
||||
ProgramLocalParameter4dvARB(target, index, params)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param params Float64 in array [4]
|
||||
category ARB_vertex_program
|
||||
|
@ -8832,7 +8833,7 @@ ProgramLocalParameter4dvARB(target, index, params)
|
|||
|
||||
ProgramLocalParameter4fARB(target, index, x, y, z, w)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param x Float32 in value
|
||||
param y Float32 in value
|
||||
|
@ -8848,7 +8849,7 @@ ProgramLocalParameter4fARB(target, index, x, y, z, w)
|
|||
|
||||
ProgramLocalParameter4fvARB(target, index, params)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param params Float32 in array [4]
|
||||
category ARB_vertex_program
|
||||
|
@ -8860,7 +8861,7 @@ ProgramLocalParameter4fvARB(target, index, params)
|
|||
|
||||
GetProgramEnvParameterdvARB(target, index, params)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param params Float64 out array [4]
|
||||
dlflags notlistable
|
||||
|
@ -8873,7 +8874,7 @@ GetProgramEnvParameterdvARB(target, index, params)
|
|||
|
||||
GetProgramEnvParameterfvARB(target, index, params)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param params Float32 out array [4]
|
||||
dlflags notlistable
|
||||
|
@ -8886,7 +8887,7 @@ GetProgramEnvParameterfvARB(target, index, params)
|
|||
|
||||
GetProgramLocalParameterdvARB(target, index, params)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param params Float64 out array [4]
|
||||
dlflags notlistable
|
||||
|
@ -8899,7 +8900,7 @@ GetProgramLocalParameterdvARB(target, index, params)
|
|||
|
||||
GetProgramLocalParameterfvARB(target, index, params)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param index UInt32 in value
|
||||
param params Float32 out array [4]
|
||||
dlflags notlistable
|
||||
|
@ -8912,8 +8913,8 @@ GetProgramLocalParameterfvARB(target, index, params)
|
|||
|
||||
GetProgramivARB(target, pname, params)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param pname ProgramPropertyARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param pname AssemblyProgramParameterArb in value # ProgramPropertyARB in value
|
||||
param params Int32 out array [1]
|
||||
dlflags notlistable
|
||||
category ARB_vertex_program
|
||||
|
@ -8925,8 +8926,8 @@ GetProgramivARB(target, pname, params)
|
|||
|
||||
GetProgramStringARB(target, pname, string)
|
||||
return void
|
||||
param target ProgramTargetARB in value
|
||||
param pname ProgramStringPropertyARB in value
|
||||
param target AssemblyProgramTargetArb in value # ProgramTargetARB in value
|
||||
param pname AssemblyProgramStringParameterArb in value # ProgramStringPropertyARB in value
|
||||
param string Void out array [COMPSIZE(target,pname)]
|
||||
dlflags notlistable
|
||||
category ARB_vertex_program
|
||||
|
@ -8939,7 +8940,7 @@ GetProgramStringARB(target, pname, string)
|
|||
GetVertexAttribdvARB(index, pname, params)
|
||||
return void
|
||||
param index UInt32 in value
|
||||
param pname VertexAttribPropertyARB in value
|
||||
param pname VertexAttribParameterArb in value # VertexAttribPropertyARB in value
|
||||
param params Float64 out array [4]
|
||||
dlflags notlistable
|
||||
category ARB_vertex_program
|
||||
|
@ -8954,7 +8955,7 @@ GetVertexAttribdvARB(index, pname, params)
|
|||
GetVertexAttribfvARB(index, pname, params)
|
||||
return void
|
||||
param index UInt32 in value
|
||||
param pname VertexAttribPropertyARB in value
|
||||
param pname VertexAttribParameterArb in value # VertexAttribPropertyARB in value
|
||||
param params Float32 out array [4]
|
||||
dlflags notlistable
|
||||
category ARB_vertex_program
|
||||
|
@ -8969,7 +8970,7 @@ GetVertexAttribfvARB(index, pname, params)
|
|||
GetVertexAttribivARB(index, pname, params)
|
||||
return void
|
||||
param index UInt32 in value
|
||||
param pname VertexAttribPropertyARB in value
|
||||
param pname VertexAttribParameterArb in value # VertexAttribPropertyARB in value
|
||||
param params Int32 out array [4]
|
||||
dlflags notlistable
|
||||
category ARB_vertex_program
|
||||
|
@ -8984,7 +8985,7 @@ GetVertexAttribivARB(index, pname, params)
|
|||
GetVertexAttribPointervARB(index, pname, pointer)
|
||||
return void
|
||||
param index UInt32 in value
|
||||
param pname VertexAttribPointerPropertyARB in value
|
||||
param pname VertexAttribPointerParameterArb in value # VertexAttribPointerPropertyARB in value
|
||||
param pointer VoidPointer out array [1]
|
||||
dlflags notlistable
|
||||
category ARB_vertex_program
|
||||
|
@ -9025,12 +9026,13 @@ passthru: /* All ARB_fragment_program entry points are shared with ARB_vertex_pr
|
|||
#
|
||||
# ARB Extension #28
|
||||
# ARB_vertex_buffer_object commands
|
||||
# Edited for OpenTK
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
BindBufferARB(target, buffer)
|
||||
return void
|
||||
param target BufferTargetARB in value
|
||||
param target BufferTargetArb in value # BufferTargetARB in value
|
||||
param buffer UInt32 in value
|
||||
category ARB_vertex_buffer_object
|
||||
version 1.2
|
||||
|
@ -9069,10 +9071,10 @@ IsBufferARB(buffer)
|
|||
|
||||
BufferDataARB(target, size, data, usage)
|
||||
return void
|
||||
param target BufferTargetARB in value
|
||||
param target BufferTargetArb in value # BufferTargetARB in value
|
||||
param size BufferSizeARB in value
|
||||
param data ConstVoid in array [size]
|
||||
param usage BufferUsageARB in value
|
||||
param usage BufferUsageArb in value # BufferUsageARB in value
|
||||
category ARB_vertex_buffer_object
|
||||
version 1.2
|
||||
extension
|
||||
|
@ -9081,7 +9083,7 @@ BufferDataARB(target, size, data, usage)
|
|||
|
||||
BufferSubDataARB(target, offset, size, data)
|
||||
return void
|
||||
param target BufferTargetARB in value
|
||||
param target BufferTargetArb in value # BufferTargetARB in value
|
||||
param offset BufferOffsetARB in value
|
||||
param size BufferSizeARB in value
|
||||
param data ConstVoid in array [size]
|
||||
|
@ -9093,7 +9095,7 @@ BufferSubDataARB(target, offset, size, data)
|
|||
|
||||
GetBufferSubDataARB(target, offset, size, data)
|
||||
return void
|
||||
param target BufferTargetARB in value
|
||||
param target BufferTargetArb in value # BufferTargetARB in value
|
||||
param offset BufferOffsetARB in value
|
||||
param size BufferSizeARB in value
|
||||
param data Void out array [size]
|
||||
|
@ -9106,8 +9108,8 @@ GetBufferSubDataARB(target, offset, size, data)
|
|||
|
||||
MapBufferARB(target, access)
|
||||
return VoidPointer
|
||||
param target BufferTargetARB in value
|
||||
param access BufferAccessARB in value
|
||||
param target BufferTargetArb in value # BufferTargetARB in value
|
||||
param access BufferAccessArb in value # BufferAccessAARB in value
|
||||
category ARB_vertex_buffer_object
|
||||
version 1.2
|
||||
extension
|
||||
|
@ -9116,7 +9118,7 @@ MapBufferARB(target, access)
|
|||
|
||||
UnmapBufferARB(target)
|
||||
return Boolean
|
||||
param target BufferTargetARB in value
|
||||
param target BufferTargetArb in value # BufferTargetARB in value
|
||||
category ARB_vertex_buffer_object
|
||||
version 1.2
|
||||
extension
|
||||
|
@ -9126,7 +9128,7 @@ UnmapBufferARB(target)
|
|||
GetBufferParameterivARB(target, pname, params)
|
||||
return void
|
||||
param target BufferTargetARB in value
|
||||
param pname BufferPNameARB in value
|
||||
param pname BufferParameterNameArb in value # BufferPNameARB in value
|
||||
param params Int32 out array [COMPSIZE(pname)]
|
||||
category ARB_vertex_buffer_object
|
||||
dlflags notlistable
|
||||
|
@ -9138,7 +9140,7 @@ GetBufferParameterivARB(target, pname, params)
|
|||
GetBufferPointervARB(target, pname, params)
|
||||
return void
|
||||
param target BufferTargetARB in value
|
||||
param pname BufferPointerNameARB in value
|
||||
param pname BufferPointerNameArb in value # BufferPointerNameARB in value
|
||||
param params VoidPointer out array [1]
|
||||
category ARB_vertex_buffer_object
|
||||
dlflags notlistable
|
||||
|
|
Loading…
Reference in a new issue