Handbook
Glossary
framebuffer-attachment? ( object -- ? )
Vocabulary
gpu
.
framebuffers
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
framebuffer-attachment
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
;
IN:
gpu.framebuffers
:
framebuffer-attachment?
( object -- ? )
dup
dup
tuple?
[
layout-of
dup
1
slot
11
fixnum>=
[
11
slot
\
renderbuffer
eq?
]
[
drop
f
]
if
]
[
drop
f
]
if
[
drop
t
]
[
texture-attachment?
]
if
;