Handbook
Glossary
geometry-shader-output? ( 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-output
class.
Definition
USING:
kernel
;
IN:
gpu.shaders
:
geometry-shader-output?
( object -- ? )
dup
triangle-strips-output?
[
drop
t
]
[
dup
line-strips-output?
[
drop
t
]
[
points-output?
]
if
]
if
;