Handbook
Glossary
texture-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-data-target
class.
Definition
USING:
kernel
;
IN:
gpu.textures
:
texture-data-target?
( object -- ? )
dup
texture-3d-data-target?
[
drop
t
]
[
dup
texture-2d-data-target?
[
drop
t
]
[
texture-1d-data-target?
]
if
]
if
;