Handbook
Glossary
geometry-shader-parameter? ( object -- ? )
Vocabulary
gpu
.
shaders
.
private
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
geometry-shader-parameter
class.
Definition
USING:
classes.tuple.private
gpu.shaders
kernel
slots.private
;
IN:
gpu.shaders.private
:
geometry-shader-parameter?
( object -- ? )
dup
dup
tuple?
[
layout-of
7
slot
\
geometry-shader-vertices-out
eq?
]
[
drop
f
]
if
[
drop
t
]
[
dup
geometry-shader-output?
[
drop
t
]
[
geometry-shader-input?
]
if
]
if
;