Vocabulary
gpu.textures

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


Outputs
None

Word description
Updates the linear, rectangular, or cubic subregion of a texture-data-target bounded by loc and dim with new image data from a texture-data tuple.

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
update-compressed-texture, update-texture-image

Definition

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


Methods