Handbook
Glossary
gl-wrap ( wrap -- gl-wrap )
Vocabulary
gpu
.
textures
.
private
Inputs
wrap
an
object
Outputs
gl-wrap
an
object
Definition
USING:
combinators
gpu.textures
opengl.gl
;
IN:
gpu.textures.private
:
gl-wrap
( wrap -- gl-wrap )
{
{
clamp-texcoord-to-edge
[
GL_CLAMP_TO_EDGE
]
}
{
clamp-texcoord-to-border
[
GL_CLAMP_TO_BORDER
]
}
{
repeat-texcoord
[
GL_REPEAT
]
}
{
repeat-texcoord-mirrored
[
GL_MIRRORED_REPEAT
]
}
}
case
;
inline