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§
- Cube
MapFace - Face of a cube map.
- GpuTexture
Kind - A kind of GPU texture.
- Pixel
Element Kind - Element kind of pixel.
- Pixel
Kind - Pixel kind of GPU texture.
Traits§
- GpuTexture
AsAny - A base trait that provides useful methods for trait downcasting.
- GpuTexture
Trait - 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.