Handbook
Glossary
blend-equation? ( object -- ? )
Vocabulary
gpu
.
state
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
blend-equation
class.
Definition
USING:
kernel
;
IN:
gpu.state
:
blend-equation?
( object -- ? )
dup
eq-max?
[
drop
t
]
[
dup
eq-min?
[
drop
t
]
[
dup
eq-reverse-subtract?
[
drop
t
]
[
dup
eq-subtract?
[
drop
t
]
[
eq-add?
]
if
]
if
]
if
]
if
;