public enum SamplerPresetThe samplers a document may name, by what they are for.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A preset rather than the twelve fields of a SamplerDescription, for the same reason BlendPreset is a preset: an author picks a behaviour, and a document full of address modes and LOD biases is one nobody can read. A project needing something else sets the binding's sampler in code, which is what the asset model always falls back to.
Fields and properties (5)
NoneNo sampler — what a binding that is not one has.
LinearClampTrilinear, clamped — what a full-screen pass reading a render target wants.
PointClampUnfiltered and clamped — a lookup where interpolation would be nonsense.
LinearRepeatTrilinear, repeating — an ordinary surface texture.
ShadowDepth comparison, for a shadow map.
Used by (5)
- CompositorAssetTestsVixen.Rendering.Tests
- CompositorBuilderVixen.Rendering
- ResourceBindingAssetVixen.Rendering
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_Compositor_ResourceBindingAssetSerializerVixen.Rendering