Handbook
Glossary
prepare-world-slabs ( world: papier-world -- )
Vocabulary
papier
Inputs
world
a
papier-world
Outputs
None
Definition
USING:
accessors
gpu.textures
kernel
papier.map
typed
;
IN:
papier
TYPED:
prepare-world-slabs
( world: papier-world -- )
[
dup
slabs>>
slabs-by-name
>>slabs-by-name
drop
]
[
[
slabs>>
]
[
slab-images>>
]
bi
update-slabs-for-atlas
]
[
[
uniforms>>
atlas>>
0
]
[
atlas>>
]
bi
allocate-texture-image
]
tri
;