(allocate-texture) ( tdt level dim data dim-quot teximage-quot -- )


Vocabulary
gpu.textures.private

Inputs
tdtan object
levelan object
diman object
dataan object
dim-quotan object
teximage-quotan object


Outputs
None

Definition


:: (allocate-texture)
( tdt level dim data dim-quot teximage-quot -- )
tdt bind-tdt :> texture tdt texture-data-gl-target level
texture texture-gl-internal-format dim dim-quot call
0 texture data texture-data-gl-args pixel-unpack-buffer
teximage-quot with-gpu-data-ptr ; inline