|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
SamplerConfig values named by what they do at a texture's limits. More...
Functions | |
| SamplerConfig | axes (AddressMode u, AddressMode v, FilterMode filter=FilterMode::LINEAR, AddressMode w=AddressMode::CLAMP_TO_EDGE) |
| Each axis addressed on its own, for surfaces that wrap one way and stop the other. | |
| SamplerConfig | bordered (BorderColor color, FilterMode filter=FilterMode::LINEAR) |
| Outside the image reads a fixed colour. | |
| SamplerConfig | linear_clamped () |
| Linear blending; outside the image the edge texel continues. | |
| SamplerConfig | magnify_nearest () |
| Magnified texels stay hard, minified ones are blended. | |
| SamplerConfig | minify_nearest () |
| Magnified texels are blended, minified ones are not, so shrinking aliases. | |
| SamplerConfig | mirrored (FilterMode filter=FilterMode::LINEAR) |
| The image repeats, every other copy mirrored. | |
| SamplerConfig | nearest_clamped () |
| Exact texels, no blending; outside the image the edge texel continues. | |
| SamplerConfig | oblique (float anisotropy=16.0F) |
| Linear, repeating, with anisotropic filtering clamped to 1 to 16, for surfaces seen at a slant. | |
| SamplerConfig | repeating (FilterMode filter=FilterMode::LINEAR) |
| The image repeats in every direction. | |
| SamplerConfig | repeating_depth (FilterMode filter=FilterMode::LINEAR) |
| The depth axis of a 3D image repeats; width and height clamp. | |
SamplerConfig values named by what they do at a texture's limits.
Each returns a plain config to pass to SamplerForge::get_or_create or to a SampledTexture, and to adjust further. The filter chooses how a texel is read, the addressing what a coordinate outside the image reads, and the border its colour. Mipmaps stay off: no mip chain is generated.