Handbook
Glossary
(clear-color-attachment) ( type attachment value -- )
Vocabulary
gpu
.
framebuffers
.
private
Inputs
type
an
object
attachment
an
object
value
an
object
Outputs
None
Definition
USING:
kernel
opengl.gl
sequences
;
IN:
gpu.framebuffers.private
::
(clear-color-attachment)
( type attachment value -- )
attachment
glDrawBuffer
type
float-type
=
[
value 4 value
last
pad-tail
first4
glClearColor
GL_COLOR_BUFFER_BIT
glClear
]
[
type value
(clear-integer-color-attachment)
]
if
;