Handbook
Glossary
fragment-shader? ( object -- ? )
Vocabulary
opengl
.
shaders
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
fragment-shader
class.
Definition
USING:
kernel
;
IN:
opengl.shaders
:
fragment-shader?
( object -- ? )
dup
gl-shader?
[
(fragment-shader?)
]
[
drop
f
]
if
;