Vocabulary
gpu.textures

Class description
texture-data tuples are used to feed image data to allocate-texture and update-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 component-order and component-type slots determine the component-order and component-type 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
<texture-data>

Definition