Handbook
Glossary
cl-image-channel-order? ( object -- ? )
Vocabulary
opencl
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
cl-image-channel-order
class.
Definition
USING:
kernel
;
IN:
opencl
:
cl-image-channel-order?
( object -- ? )
dup
cl-channel-order-luminance?
[
drop
t
]
[
dup
cl-channel-order-intensity?
[
drop
t
]
[
dup
cl-channel-order-argb?
[
drop
t
]
[
dup
cl-channel-order-bgra?
[
drop
t
]
[
dup
cl-channel-order-rgba?
[
drop
t
]
[
dup
cl-channel-order-rga?
~quotation~
~quotation~
if
]
if
]
if
]
if
]
if
]
if
;