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