read-texture-image ( tdt level -- image )
GPU-accelerated rendering ยป Texture objects

Prev:update-texture-image ( tdt level loc image -- )
Next:compressed-texture-format


Vocabulary
gpu.textures

Inputs
tdta texture-data-target
levelan integer


Outputs
imagean image


Word description
Reads the entire image for the levelth level of detail of a texture into a new image. The format of the image is determined by the component-order and component-type of the texture.

See also
read-compressed-texture, read-compressed-texture-to, read-texture, read-texture-to

Definition