Vocabulary
gpu.textures

Inputs
tdta texture-data-target
levelan integer


Outputs
byte-arraya byte-array


Word description
Reads the entire compressed image for the level th level of detail of a texture into a new byte-array. The format of the data in the byte array is determined by the compressed-texture-format of the data originally allocated by allocate-compressed-texture for the texture.

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

Definition