Handbook
Glossary
color-attachment-ref? ( object -- ? )
Vocabulary
gpu
.
framebuffers
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
color-attachment-ref
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
gpu.framebuffers
:
color-attachment-ref?
( object -- ? )
dup
dup
tuple?
[
layout-of
7
slot
dup
\
color-attachment
eq?
[
drop
t
]
[
\
system-attachment
eq?
]
if
]
[
drop
f
]
if
[
drop
t
]
[
default-attachment?
]
if
;