Handbook
Glossary
bind-unnamed-output-attachments ( framebuffer attachments -- )
Vocabulary
gpu
.
render
.
private
Inputs
framebuffer
an
object
attachments
an
object
Outputs
None
Definition
USING:
alien.c-types
alien.data
gpu.framebuffers.private
kernel
opengl.gl
sequences
;
IN:
gpu.render.private
:
bind-unnamed-output-attachments
( framebuffer attachments -- )
[
gl-attachment
]
with
map
dup
length
1
=
[
first
glDrawBuffer
]
[
[
length
]
[
int
>c-array
]
bi
glDrawBuffers
]
if
;