Handbook
Glossary
(update-texture) ( tdt level loc dim data dim-quot texsubimage-quot -- )
Vocabulary
gpu
.
textures
.
private
Inputs
tdt
an
object
level
an
object
loc
an
object
dim
an
object
data
an
object
dim-quot
an
object
texsubimage-quot
an
object
Outputs
None
Definition
USING:
gpu.buffers
kernel
;
IN:
gpu.textures.private
::
(update-texture)
( tdt level loc dim data dim-quot texsubimage-quot -- )
tdt
bind-tdt
:>
texture tdt
texture-data-gl-target
level loc
dim dim-quot
bi@
texture data
texture-data-gl-args
pixel-unpack-buffer
texsubimage-quot
with-gpu-data-ptr
;
inline