Handbook
Glossary
set-texture-parameters ( texture -- )
Vocabulary
terrain
Inputs
texture
an
object
Outputs
None
Definition
USING:
opengl
opengl.gl
;
IN:
terrain
:
set-texture-parameters
( texture -- )
GL_TEXTURE_2D
GL_TEXTURE0
bind-texture-unit
GL_TEXTURE_2D
GL_TEXTURE_MIN_FILTER
GL_LINEAR
glTexParameteri
GL_TEXTURE_2D
GL_TEXTURE_MAG_FILTER
GL_LINEAR
glTexParameteri
GL_TEXTURE_2D
GL_TEXTURE_WRAP_S
GL_CLAMP_TO_EDGE
glTexParameteri
GL_TEXTURE_2D
GL_TEXTURE_WRAP_T
GL_CLAMP_TO_EDGE
glTexParameteri
;