Handbook
Glossary
geometry-shader-input? ( object -- ? )
Vocabulary
gpu
.
shaders
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
geometry-shader-input
class.
Definition
USING:
kernel
;
IN:
gpu.shaders
:
geometry-shader-input?
( object -- ? )
dup
triangles-with-adjacency-input?
[
drop
t
]
[
dup
triangles-input?
[
drop
t
]
[
dup
lines-with-adjacency-input?
[
drop
t
]
[
dup
lines-input?
[
drop
t
]
[
points-input?
]
if
]
if
]
if
]
if
;