Handbook
Glossary
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
attachment-ref
class.
Definition
USING:
kernel
kernel.private
;
IN:
gpu.framebuffers
:
attachment-ref?
( object -- ? )
dup
tag
1
eq?
[
drop
t
]
[
dup
non-color-attachment-ref?
[
drop
t
]
[
color-attachment-ref?
]
if
]
if
;