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