Expand description
Texture is an image that used to fill faces to add details to them. It could also be used as a generic and mostly unlimited capacity storage for arbitrary data.
Structs§
- GpuTexture
Descriptor - Descriptor of a texture that is used to request textures from a graphics server.
Enums§
- Coordinate
- Texture coordinate.
- Cube
MapFace - Face of a cube map.
- GpuTexture
Kind - A kind of GPU texture.
- Magnification
Filter - The texture magnification function is used when the pixel being textured maps to an area less than or equal to one texture element.
- Minification
Filter - The texture minifying function is used whenever the pixel being textured maps to an area greater than one texture element.
- Pixel
Element Kind - Element kind of pixel.
- Pixel
Kind - Pixel kind of GPU texture.
- Wrap
Mode - Defines a law of texture coordinate modification.
Traits§
- GpuTexture
- Texture is an image that used to fill faces to add details to them. It could also be used as a generic and mostly unlimited capacity storage for arbitrary data.
Functions§
- image_
1d_ size_ bytes - Calculates size in bytes of a linear texture using the given size of the texture and its pixel kind.
- image_
2d_ size_ bytes - Calculates size in bytes of a rectangular texture using the given size of the texture and its pixel kind.
- image_
3d_ size_ bytes - Calculates size in bytes of a volume texture using the given size of the texture and its pixel kind.