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