compressed-texture-data-size ( tdt level -- size )
GPU-accelerated rendering ยป Texture objects

Prev:update-compressed-texture ( tdt level loc dim compressed-data -- )
Next:read-compressed-texture ( tdt: texture-data-target level: integer -- byte-array: byte-array )


Vocabulary
gpu.textures

Inputs
tdta texture-data-target
levelan integer


Outputs
sizean integer


Word description
Returns the size in bytes of the memory allocated for the compressed texture data making up the levelth level of detail of the given texture-data-target.

Definition