Stripped out a lot of useless info from the spec, by selecting only what is needed.
[cl-glfw.git] / lib / opengl-arb_vertex_buffer_object.lisp
blobcefbe8b6874d7f30a5c4402861079dad867e397a
1 ;;;; This file was automatically generated by /home/bill/programming/cl-glfw/generators/make-bindings-from-spec.lisp
3 (in-package #:cl-glfw-opengl)
5 ;;;; arb_vertex_buffer_object
7 (defconstant +buffer-size-arb+ #x8764)
8 (defconstant +buffer-usage-arb+ #x8765)
9 (defconstant +array-buffer-arb+ #x8892)
10 (defconstant +element-array-buffer-arb+ #x8893)
11 (defconstant +array-buffer-binding-arb+ #x8894)
12 (defconstant +element-array-buffer-binding-arb+ #x8895)
13 (defconstant +vertex-array-buffer-binding-arb+ #x8896)
14 (defconstant +normal-array-buffer-binding-arb+ #x8897)
15 (defconstant +color-array-buffer-binding-arb+ #x8898)
16 (defconstant +index-array-buffer-binding-arb+ #x8899)
17 (defconstant +texture-coord-array-buffer-binding-arb+ #x889A)
18 (defconstant +edge-flag-array-buffer-binding-arb+ #x889B)
19 (defconstant +secondary-color-array-buffer-binding-arb+ #x889C)
20 (defconstant +fog-coordinate-array-buffer-binding-arb+ #x889D)
21 (defconstant +weight-array-buffer-binding-arb+ #x889E)
22 (defconstant +vertex-attrib-array-buffer-binding-arb+ #x889F)
23 (defconstant +read-only-arb+ #x88B8)
24 (defconstant +write-only-arb+ #x88B9)
25 (defconstant +read-write-arb+ #x88BA)
26 (defconstant +buffer-access-arb+ #x88BB)
27 (defconstant +buffer-mapped-arb+ #x88BC)
28 (defconstant +buffer-map-pointer-arb+ #x88BD)
29 (defconstant +stream-draw-arb+ #x88E0)
30 (defconstant +stream-read-arb+ #x88E1)
31 (defconstant +stream-copy-arb+ #x88E2)
32 (defconstant +static-draw-arb+ #x88E4)
33 (defconstant +static-read-arb+ #x88E5)
34 (defconstant +static-copy-arb+ #x88E6)
35 (defconstant +dynamic-draw-arb+ #x88E8)
36 (defconstant +dynamic-read-arb+ #x88E9)
37 (defconstant +dynamic-copy-arb+ #x88EA)
38 (defglextfun "GetBufferPointervARB" get-buffer-pointerv-arb :return "void"
39 :args
40 ((:name |target| :type |BufferTargetARB| :direction :in)
41 (:name |pname| :type |BufferPointerNameARB| :direction :in)
42 (:name |params| :type |VoidPointer| :direction :out :array t :size #x1))
43 :category "ARB_vertex_buffer_object" :version "1.2")
44 (defglextfun "GetBufferParameterivARB" get-buffer-parameter-iv-arb :return
45 "void" :args
46 ((:name |target| :type |BufferTargetARB| :direction :in)
47 (:name |pname| :type |BufferPNameARB| :direction :in)
48 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
49 :category "ARB_vertex_buffer_object" :version "1.2")
50 (defglextfun "UnmapBufferARB" unmap-buffer-arb :return "Boolean" :args
51 ((:name |target| :type |BufferTargetARB| :direction :in)) :category
52 "ARB_vertex_buffer_object" :version "1.2")
53 (defglextfun "MapBufferARB" map-buffer-arb :return "VoidPointer" :args
54 ((:name |target| :type |BufferTargetARB| :direction :in)
55 (:name |access| :type |BufferAccessARB| :direction :in))
56 :category "ARB_vertex_buffer_object" :version "1.2")
57 (defglextfun "GetBufferSubDataARB" get-buffer-sub-data-arb :return "void" :args
58 ((:name |target| :type |BufferTargetARB| :direction :in)
59 (:name |offset| :type |BufferOffsetARB| :direction :in)
60 (:name |size| :type |BufferSizeARB| :direction :in)
61 (:name |data| :type |Void| :direction :out :array t :size size))
62 :category "ARB_vertex_buffer_object" :version "1.2")
63 (defglextfun "BufferSubDataARB" buffer-sub-data-arb :return "void" :args
64 ((:name |target| :type |BufferTargetARB| :direction :in)
65 (:name |offset| :type |BufferOffsetARB| :direction :in)
66 (:name |size| :type |BufferSizeARB| :direction :in)
67 (:name |data| :type |ConstVoid| :direction :in :array t :size size))
68 :category "ARB_vertex_buffer_object" :version "1.2")
69 (defglextfun "BufferDataARB" buffer-data-arb :return "void" :args
70 ((:name |target| :type |BufferTargetARB| :direction :in)
71 (:name |size| :type |BufferSizeARB| :direction :in)
72 (:name |data| :type |ConstVoid| :direction :in :array t :size size)
73 (:name |usage| :type |BufferUsageARB| :direction :in))
74 :category "ARB_vertex_buffer_object" :version "1.2")
75 (defglextfun "IsBufferARB" is-buffer-arb :return "Boolean" :args
76 ((:name |buffer| :type |UInt32| :direction :in)) :category
77 "ARB_vertex_buffer_object" :version "1.2")
78 (defglextfun "GenBuffersARB" gen-buffers-arb :return "void" :args
79 ((:name |n| :type |SizeI| :direction :in)
80 (:name |buffers| :type |UInt32| :direction :out :array t :size n))
81 :category "ARB_vertex_buffer_object" :version "1.2")
82 (defglextfun "DeleteBuffersARB" delete-buffers-arb :return "void" :args
83 ((:name |n| :type |SizeI| :direction :in)
84 (:name |buffers| :type |ConstUInt32| :direction :in :array t :size n))
85 :category "ARB_vertex_buffer_object" :version "1.2")
86 (defglextfun "BindBufferARB" bind-buffer-arb :return "void" :args
87 ((:name |target| :type |BufferTargetARB| :direction :in)
88 (:name |buffer| :type |UInt32| :direction :in))
89 :category "ARB_vertex_buffer_object" :version "1.2")