Handbook
Glossary
init-texture ( -- )
Vocabulary
opengl
.
textures
.
private
Inputs
None
Outputs
None
Definition
USING:
opengl.gl
;
IN:
opengl.textures.private
:
init-texture
( -- )
GL_TEXTURE_2D
GL_TEXTURE_MAG_FILTER
GL_NEAREST
glTexParameteri
GL_TEXTURE_2D
GL_TEXTURE_MIN_FILTER
GL_NEAREST
glTexParameteri
GL_TEXTURE_2D
GL_TEXTURE_WRAP_S
GL_REPEAT
glTexParameteri
GL_TEXTURE_2D
GL_TEXTURE_WRAP_T
GL_REPEAT
glTexParameteri
;