Handbook
Glossary
(make-framebuffer-textures) ( draw dim -- draw color normal depth )
Vocabulary
bunny
.
outlined
Inputs
draw
an
object
dim
an
object
Outputs
draw
an
object
color
an
object
normal
an
object
depth
an
object
Definition
USING:
accessors
combinators
kernel
opengl.gl
;
IN:
bunny.outlined
:
(make-framebuffer-textures)
( draw dim -- draw color normal depth )
{
[
drop
]
[
GL_RGBA16F
GL_RGBA
[
>>color-texture
]
(framebuffer-texture>>draw)
]
[
GL_RGBA16F
GL_RGBA
[
>>normal-texture
]
(framebuffer-texture>>draw)
]
[
GL_DEPTH_COMPONENT32
GL_DEPTH_COMPONENT
[
>>depth-texture
]
(framebuffer-texture>>draw)
]
}
2cleave
;