Handbook
Glossary
(framebuffer-texture) ( dim iformat xformat -- texture )
Vocabulary
bunny
.
outlined
Inputs
dim
an
object
iformat
an
object
xformat
an
object
Outputs
texture
an
object
Definition
USING:
kernel
opengl.gl
opengl.textures
sequences
;
IN:
bunny.outlined
::
(framebuffer-texture)
( dim iformat xformat -- texture )
GL_TEXTURE0
glActiveTexture
gen-texture
GL_TEXTURE_2D
over
glBindTexture
GL_TEXTURE_2D
GL_TEXTURE_WRAP_S
GL_CLAMP
glTexParameteri
GL_TEXTURE_2D
GL_TEXTURE_WRAP_T
GL_CLAMP
glTexParameteri
GL_TEXTURE_2D
GL_TEXTURE_MAG_FILTER
GL_NEAREST
glTexParameteri
GL_TEXTURE_2D
GL_TEXTURE_MIN_FILTER
GL_NEAREST
glTexParameteri
GL_TEXTURE_2D
0 iformat dim
first2
0 xformat
GL_UNSIGNED_BYTE
f
glTexImage2D
;