Handbook
Glossary
texture-wrap-mode ( -- mode )
Vocabulary
opengl
.
textures
.
private
Inputs
None
Outputs
mode
an
object
Definition
USING:
kernel
opengl.capabilities
opengl.gl
;
IN:
opengl.textures.private
:
texture-wrap-mode
( -- mode )
"1.2"
has-gl-version?
[
GL_CLAMP_TO_EDGE
]
[
{
{
"GL_EXT_texture_edge_clamp"
"GL_SGIS_texture_edge_clamp"
}
}
has-gl-extensions?
GL_CLAMP_TO_EDGE
GL_CLAMP
?
]
if
;