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