Handbook
Glossary
image-internal-format ( component-order component-type -- internal-format )
Vocabulary
opengl
.
textures
Inputs
component-order
an
object
component-type
an
object
Outputs
internal-format
an
object
Definition
USING:
arrays
assocs
kernel
;
IN:
opengl.textures
:
image-internal-format
( component-order component-type -- internal-format )
2dup
[
fix-internal-component-order
]
dip
2array
image-internal-formats
at
[
2nip
]
[
unsupported-component-order
]
if*
;