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


Vocabulary
gpu.textures.private

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


Outputs
None

Definition


:: (allocate-compressed-texture)
( tdt level dim compressed-data dim-quot teximage-quot -- )
tdt bind-tdt :> texture tdt texture-data-gl-target level
compressed-data format>> gl-compressed-texture-format dim
dim-quot call 0 compressed-data [ length>> ] [ ptr>> ] bi
pixel-unpack-buffer teximage-quot with-gpu-data-ptr ; inline