Handbook
Glossary
gpu-api? ( object -- ? )
Vocabulary
gpu
.
private
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
gpu-api
class.
Definition
USING:
kernel
;
IN:
gpu.private
:
gpu-api?
( object -- ? )
dup
opengl-3?
[
drop
t
]
[
opengl-2?
]
if
;