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