4 ;;;; ARB_vertex_buffer_object
6 (defconstant +buffer-size-arb
+ #x8764
)
7 (defconstant +buffer-usage-arb
+ #x8765
)
8 (defconstant +array-buffer-arb
+ #x8892
)
9 (defconstant +element-array-buffer-arb
+ #x8893
)
10 (defconstant +array-buffer-binding-arb
+ #x8894
)
11 (defconstant +element-array-buffer-binding-arb
+ #x8895
)
12 (defconstant +vertex-array-buffer-binding-arb
+ #x8896
)
13 (defconstant +normal-array-buffer-binding-arb
+ #x8897
)
14 (defconstant +color-array-buffer-binding-arb
+ #x8898
)
15 (defconstant +index-array-buffer-binding-arb
+ #x8899
)
16 (defconstant +texture-coord-array-buffer-binding-arb
+ #x889A
)
17 (defconstant +edge-flag-array-buffer-binding-arb
+ #x889B
)
18 (defconstant +secondary-color-array-buffer-binding-arb
+ #x889C
)
19 (defconstant +fog-coordinate-array-buffer-binding-arb
+ #x889D
)
20 (defconstant +weight-array-buffer-binding-arb
+ #x889E
)
21 (defconstant +vertex-attrib-array-buffer-binding-arb
+ #x889F
)
22 (defconstant +read-only-arb
+ #x88B8
)
23 (defconstant +write-only-arb
+ #x88B9
)
24 (defconstant +read-write-arb
+ #x88BA
)
25 (defconstant +buffer-access-arb
+ #x88BB
)
26 (defconstant +buffer-mapped-arb
+ #x88BC
)
27 (defconstant +buffer-map-pointer-arb
+ #x88BD
)
28 (defconstant +stream-draw-arb
+ #x88E0
)
29 (defconstant +stream-read-arb
+ #x88E1
)
30 (defconstant +stream-copy-arb
+ #x88E2
)
31 (defconstant +static-draw-arb
+ #x88E4
)
32 (defconstant +static-read-arb
+ #x88E5
)
33 (defconstant +static-copy-arb
+ #x88E6
)
34 (defconstant +dynamic-draw-arb
+ #x88E8
)
35 (defconstant +dynamic-read-arb
+ #x88E9
)
36 (defconstant +dynamic-copy-arb
+ #x88EA
)
38 (("GetBufferPointervARB" get-buffer-pointerv-arb
) :args
39 ((:name |target|
:type |BufferTargetARB|
:direction
:in
)
40 (:name |pname|
:type |BufferPointerNameARB|
:direction
:in
)
41 (:name |params|
:type |VoidPointer|
:direction
:out
:array t
:size
#x1
))
42 :return
("void") :category
("ARB_vertex_buffer_object") :dlflags
43 ("notlistable") :version
("1.2") :extension nil
:alias
("GetBufferPointerv")
44 :glsalias
("GetBufferPointerv")))
46 (("GetBufferParameterivARB" get-buffer-parameter-iv-arb
) :args
47 ((:name |target|
:type |BufferTargetARB|
:direction
:in
)
48 (:name |pname|
:type |BufferPNameARB|
:direction
:in
)
49 (:name |params|
:type |Int32|
:direction
:out
:array t
:size
(|pname|
)))
50 :return
("void") :category
("ARB_vertex_buffer_object") :dlflags
51 ("notlistable") :version
("1.2") :extension nil
:alias
52 ("GetBufferParameteriv") :glsalias
("GetBufferParameteriv")))
54 (("UnmapBufferARB" unmap-buffer-arb
) :args
55 ((:name |target|
:type |BufferTargetARB|
:direction
:in
)) :return
("Boolean")
56 :category
("ARB_vertex_buffer_object") :version
("1.2") :extension nil
:alias
57 ("UnmapBuffer") :glsalias
("UnmapBuffer")))
59 (("MapBufferARB" map-buffer-arb
) :args
60 ((:name |target|
:type |BufferTargetARB|
:direction
:in
)
61 (:name |access|
:type |BufferAccessARB|
:direction
:in
))
62 :return
("VoidPointer") :category
("ARB_vertex_buffer_object") :version
63 ("1.2") :extension nil
:alias
("MapBuffer") :glsalias
("MapBuffer")))
65 (("GetBufferSubDataARB" get-buffer-sub-data-arb
) :args
66 ((:name |target|
:type |BufferTargetARB|
:direction
:in
)
67 (:name |offset|
:type |BufferOffsetARB|
:direction
:in
)
68 (:name |size|
:type |BufferSizeARB|
:direction
:in
)
69 (:name |data|
:type |Void|
:direction
:out
:array t
:size size
))
70 :return
("void") :category
("ARB_vertex_buffer_object") :dlflags
71 ("notlistable") :version
("1.2") :extension nil
:alias
("GetBufferSubData")
72 :glsalias
("GetBufferSubData")))
74 (("BufferSubDataARB" buffer-sub-data-arb
) :args
75 ((:name |target|
:type |BufferTargetARB|
:direction
:in
)
76 (:name |offset|
:type |BufferOffsetARB|
:direction
:in
)
77 (:name |size|
:type |BufferSizeARB|
:direction
:in
)
78 (:name |data|
:type |ConstVoid|
:direction
:in
:array t
:size size
))
79 :return
("void") :category
("ARB_vertex_buffer_object") :version
("1.2")
80 :extension nil
:alias
("BufferSubData") :glsalias
("BufferSubData")))
82 (("BufferDataARB" buffer-data-arb
) :args
83 ((:name |target|
:type |BufferTargetARB|
:direction
:in
)
84 (:name |size|
:type |BufferSizeARB|
:direction
:in
)
85 (:name |data|
:type |ConstVoid|
:direction
:in
:array t
:size size
)
86 (:name |usage|
:type |BufferUsageARB|
:direction
:in
))
87 :return
("void") :category
("ARB_vertex_buffer_object") :version
("1.2")
88 :extension nil
:alias
("BufferData") :glsalias
("BufferData")))
90 (("IsBufferARB" is-buffer-arb
) :args
91 ((:name |buffer|
:type |UInt32|
:direction
:in
)) :return
("Boolean")
92 :category
("ARB_vertex_buffer_object") :version
("1.2") :extension nil
:alias
93 ("IsBuffer") :glsalias
("IsBuffer")))
95 (("GenBuffersARB" gen-buffers-arb
) :args
96 ((:name |n|
:type |SizeI|
:direction
:in
)
97 (:name |buffers|
:type |UInt32|
:direction
:out
:array t
:size n
))
98 :return
("void") :category
("ARB_vertex_buffer_object") :version
("1.2")
99 :extension nil
:alias
("GenBuffers") :glsalias
("GenBuffers")))
101 (("DeleteBuffersARB" delete-buffers-arb
) :args
102 ((:name |n|
:type |SizeI|
:direction
:in
)
103 (:name |buffers|
:type |ConstUInt32|
:direction
:in
:array t
:size n
))
104 :return
("void") :category
("ARB_vertex_buffer_object") :version
("1.2")
105 :extension nil
:alias
("DeleteBuffers") :glsalias
("DeleteBuffers")))
107 (("BindBufferARB" bind-buffer-arb
) :args
108 ((:name |target|
:type |BufferTargetARB|
:direction
:in
)
109 (:name |buffer|
:type |UInt32|
:direction
:in
))
110 :return
("void") :category
("ARB_vertex_buffer_object") :version
("1.2")
111 :extension nil
:alias
("BindBuffer") :glsalias
("BindBuffer")))