[−][src]Module web_glitz::image::sampler
Structs
| LODRange | |
| Linear | The sampled value is chosen to be the value of the texel whose coordinates are closest to the sampling coordinates. |
| LinearMipmapLinear | First selects both the nearest mipmap level for which the texel size is smaller than the fragment, as well as the nearest mipmap level for which the texel size is larger than the fragment; then samples a value from both mipmap levels by linearly interpolating between the 4 texels that are closest to the sampling coordinates; finally, the sample value is calculated by linearly interpolating between these two values. |
| LinearMipmapNearest | First selects both the nearest mipmap level for which the texel size is smaller than the fragment, as well as the nearest mipmap level for which the texel size is larger than the fragment; then samples a value from both mipmap levels by choosing the texel whose coordinates are closest to the sampling coordinates; finally, the sample value is calculated by linearly interpolating between these two values. |
| Nearest | The sampled value is chosen to be the value of the texel whose coordinates are closest to the sampling coordinates. |
| NearestMipmapLinear | First selects the mipmap level for which the texel size is closest to the fragment size, then the sampled value is calculated by linearly interpolating between the 4 texels that are closest to the sampling coordinates. |
| NearestMipmapNearest | First selects the mipmap level for which the texel size is closest to the fragment size, then the sampled value is chose to be the value of the texel whose coordinates are closest to the sampling coordinates. |
| Sampler | Samples texture values given texture coordinates texture coordinates. |
| SamplerDescriptor | Provides the information necessary for the creation of a Sampler. |
| ShadowSampler | Samples depth values and compares them to a reference value using a CompareFunction. |
| ShadowSamplerDescriptor | Provides the information necessary for the creation of a Sampler. |
Enums
| CompareFunction | Enumerates the compare functions available for a ShadowSampler. |
| Wrap | Enumerates the methods available to a Sampler for texture coordinate wrapping. |
Traits
| CompatibleFilter | Marker trait for valid filter and texture format combinations |
| CompatibleSampler | |
| MagnificationFilter | Sealed trait implemented for marker types that identify magnification filtering operations used by Samplers. |
| MinificationFilter | Sealed trait implemented for marker types that identify minification filtering operations used by Samplers. |