texture
GPU-accelerated rendering ยป Texture objects

Next:texture-data


Vocabulary
gpu.textures

Class description
Textures are typed, multidimensional arrays of GPU memory used for storing image data, lookup tables, and other kinds of multidimensional data for use with shader programs. They come in different types depending on dimensionality and intended usage:
texture-1d

texture-2d

texture-3d

texture-cube-map

texture-rectangle

texture-1d-array

texture-2d-array


Textures are constructed using the corresponding <constructor word> for their type. The constructor sets the texture's component-order, component-type, and texture-parameters. Once created, memory for a texture can be allocated with allocate-texture, updated with update-texture, or retrieved with read-texture.

Definition


Methods