update-compressed-texture ( tdt level loc dim compressed-data -- )
GPU-accelerated rendering ยป Texture objects

Prev:allocate-compressed-texture ( tdt level dim compressed-data -- )
Next:compressed-texture-data-size ( tdt level -- size )


Vocabulary
gpu.textures

Inputs
tdta texture-data-target
levelan integer
locan integer or sequence of integers
diman integer or sequence of integers
compressed-dataa texture-data


Outputs
None

Word description
Updates the linear, rectangular, or cubic subregion of a compressed texture-data-target bounded by loc and dim with the data referenced by the given compressed-texture-data tuple. The given level of detail of the texture must have been previously allocated for compressed data with allocate-compressed-texture.

Notes
Using a buffer-ptr as the ptr of a compressed-texture-data object requires OpenGL 2.1 or later or the GL_ARB_pixel_buffer_object extension.

See also
update-texture, update-texture-image

Definition

GENERIC#: update-compressed-texture 4
( tdt level loc dim compressed-data -- )


Methods