Handbook
Glossary
gen-texture ( -- id )
Vocabulary
opengl
.
textures
Inputs
None
Outputs
id
an
integer
Word description
Wrapper for
glGenTextures
to handle the common case of generating a single texture ID.
Definition
USING:
opengl
opengl.gl
;
IN:
opengl.textures
:
gen-texture
( -- id )
[
glGenTextures
]
(gen-gl-object)
;