Module luminance::texture
[−]
[src]
This module provides texture features.
Structs
Cubemap |
Cubemap dimension. |
Dim1 |
1D dimension. |
Dim2 |
2D dimension. |
Dim3 |
3D dimension. |
Flat |
Flat texture hint. |
Layered |
Layered texture hint. |
Sampler |
A |
Texture |
Texture. |
TextureProxy |
An opaque type representing any texture. |
Unit |
Texture unit. |
Enums
CubeFace |
Faces of a cubemap. |
DepthComparison |
Depth comparison to perform while depth test. |
Dim |
Dimension of a texture. |
Filter |
Minification and magnification filter. |
Layering |
Texture layering. If a texture is layered, it has an extra coordinate to access the layer. |
Wrap |
How to wrap texture coordinates while sampling textures? |
Traits
Dimensionable |
Reify a type into a |
HasTexture |
Trait to implement to provide texture features. |
Layerable |
Trait used to reify a type into a |
Functions
dim_capacity |
Capacity of the dimension, which is the product of the width, height and depth. |