Vixen
02b45cc4
csharp
public enum SamplerPreset

The 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)

  • None

    No sampler — what a binding that is not one has.

  • LinearClamp

    Trilinear, clamped — what a full-screen pass reading a render target wants.

  • PointClamp

    Unfiltered and clamped — a lookup where interpolation would be nonsense.

  • LinearRepeat

    Trilinear, repeating — an ordinary surface texture.

  • Shadow

    Depth comparison, for a shadow map.

Used by (5)

  • CompositorAssetTestsVixen.Rendering.Tests
  • CompositorBuilderVixen.Rendering
  • ResourceBindingAssetVixen.Rendering
  • TypeRegistrationVixen.Rendering
  • Vixen_Rendering_Compositor_ResourceBindingAssetSerializerVixen.Rendering