Handbook
Glossary
texture-3d-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-3d-data-target
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
;
IN:
gpu.textures
:
texture-3d-data-target?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
13
fixnum>=
[
13
slot
dup
\
texture-2d-array
eq?
[
drop
t
]
[
\
texture-3d
eq?
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;