Handbook
Glossary
draw-textured-rect ( dim texture -- )
Vocabulary
opengl
.
textures
.
private
Inputs
dim
an
object
texture
an
object
Outputs
None
Definition
USING:
kernel
opengl.gl
;
IN:
opengl.textures.private
:
draw-textured-rect
( dim texture -- )
[
[
set-blend-mode
]
[
(draw-textured-rect)
GL_TEXTURE_2D
0
glBindTexture
]
[
reset-blend-mode
]
tri
]
with-texturing
;