Handbook
Glossary
init-frame-buffer-pixels ( frame-buffer -- )
Vocabulary
ui
.
gadgets
.
frame-buffer
Inputs
frame-buffer
an
object
Outputs
None
Definition
USING:
accessors
alien.c-types
alien.data
kernel
math
opengl
sequences
;
IN:
ui.gadgets.frame-buffer
:
init-frame-buffer-pixels
( frame-buffer -- )
dup
dim>>
[
gl-scale
]
map
product
>integer
4
*
uint
<c-array>
>>pixels
drop
;