compressed-texture-data
GPU-accelerated rendering » Texture objects

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


Vocabulary
gpu.textures

Class description
compressed-texture-data tuples are used to feed compressed texture data to allocate-compressed-texture and update-compressed-texture.
The ptr slot references either CPU memory (as a byte-array or alien) or a GPU buffer-ptr that contains the image data.
The format slot determines the compressed-texture-format of the referenced data.
The length slot determines the size in bytes of the referenced data.


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

See also
<compressed-texture-data>

Definition