Handbook
Glossary
vertex-format? ( object -- ? )
Vocabulary
gpu
.
shaders
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
vertex-format
class.
Definition
USING:
game.debug.private
game.models.collada.private
game.models.obj.private
gml.viewer
gpu.demos.bunny
kernel
papier.map
;
IN:
gpu.shaders
:
vertex-format?
( object -- ? )
dup
papier-vertex?
[
drop
t
]
[
dup
bunny-vertex?
[
drop
t
]
[
dup
wire-vertex-format?
[
drop
t
]
[
dup
obj-vertex-format?
[
drop
t
]
[
dup
collada-vertex-format?
[
drop
t
]
[
dup
debug-text-vertex-format?
~quotation~ ~quotation~
if
]
if
]
if
]
if
]
if
]
if
;