Expand description
Texture sampler configuration and caching.
Provides enumerations for texture filtering and wrapping modes, a configuration struct combining them, and a simple in-memory cache so identical configurations share the same sampler object.
Structs§
- Sampler
Cache - In-memory cache that de-duplicates identical sampler configurations.
- Sampler
Config - Complete configuration for a texture sampler.
- Sampler
Handle - A handle to a cached sampler, returned by
SamplerCache.
Enums§
- Filter
Mode - How texels are filtered when a texture is sampled at a non-integer coordinate.
- Wrap
Mode - How texture coordinates outside [0, 1] are resolved.
Type Aliases§
- LodBias
- The level-of-detail bias applied when selecting a mipmap level.