Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    SamplingPattern Enum

    Namespace: Stride.Rendering.Images
    Assembly: Stride.Rendering.dll

    How samples are fetched from the source texture when scaling

    public enum SamplingPattern

    Fields

    Name Description
    Expanded

    tilted pyramid gather, 9 taps, weights inverse to distance to center. (inspired by "Next Generation Post Processing in Call of Duty Advanced Warfare")

    Linear

    simple unique sampling at the center (the hardware sampler creates the 4 neighbor gathering).

    Extension Methods

    ComponentBaseExtensions.DisposeBy<SamplingPattern>(ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<SamplingPattern>(ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation