(update-texture) ( tdt level loc dim data dim-quot texsubimage-quot -- )


Vocabulary
gpu.textures.private

Inputs
tdtan object
levelan object
locan object
diman object
dataan object
dim-quotan object
texsubimage-quotan object


Outputs
None

Definition


:: (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