Handbook
Glossary
image>texture-data ( image -- dim texture-data )
Vocabulary
gpu
.
textures
Inputs
image
an
image
Outputs
dim
a sequence of
integer
s
texture-data
a
texture-data
Word description
Constructs a
texture-data
tuple referencing the pixel data from an
image
.
Definition
USING:
accessors
combinators
;
IN:
gpu.textures
:
image>texture-data
( image -- dim texture-data )
{
[
dim>>
]
[
bitmap>>
]
[
component-order>>
]
[
component-type>>
]
}
cleave
<texture-data>
;
inline