Handbook
Glossary
gen-gl-buffer ( -- id )
Vocabulary
opengl
Inputs
None
Outputs
id
an
integer
Word description
Wrapper for
glGenBuffers
to handle the common case of generating a single buffer ID.
See also
create-gl-buffer
,
delete-gl-buffer
Definition
USING:
opengl.gl
;
IN:
opengl
:
gen-gl-buffer
( -- id )
[
glGenBuffers
]
(gen-gl-object)
;