Enum bgfx.SamplerFlags | Project Tiny Rendering | 0.21.0-preview.4
docs.unity3d.com
    Show / Hide Table of Contents

    Enum bgfx.SamplerFlags

    Namespace: Bgfx
    Syntax
    [Flags]
    public enum SamplerFlags : uint

    Fields

    Name Description
    BitsMask
    BorderColorMask
    BorderColorShift
    CompareAlways

    Compare when sampling depth texture: always.

    CompareEqual

    Compare when sampling depth texture: equal.

    CompareGequal

    Compare when sampling depth texture: greater or equal.

    CompareGreater

    Compare when sampling depth texture: greater.

    CompareLequal

    Compare when sampling depth texture: less or equal.

    CompareLess

    Compare when sampling depth texture: less.

    CompareMask
    CompareNever

    Compare when sampling depth texture: never.

    CompareNotequal

    Compare when sampling depth texture: not equal.

    CompareShift
    MagAnisotropic

    Mag sampling mode: Anisotropic

    MagMask
    MagPoint

    Mag sampling mode: Point

    MagShift
    MinAnisotropic

    Min sampling mode: Anisotropic

    MinMask
    MinPoint

    Min sampling mode: Point

    MinShift
    MipMask
    MipPoint

    Mip sampling mode: Point

    MipShift
    None
    Point
    ReservedMask
    ReservedShift
    SampleStencil

    Sample stencil instead of depth.

    UBorder

    Wrap U mode: Border

    UClamp

    Wrap U mode: Clamp

    UMask
    UMirror

    Wrap U mode: Mirror

    UShift
    UvwBorder
    UvwClamp
    UvwMirror
    VBorder

    Wrap V mode: Border

    VClamp

    Wrap V mode: Clamp

    VMask
    VMirror

    Wrap V mode: Mirror

    VShift
    WBorder

    Wrap W mode: Border

    WClamp

    Wrap W mode: Clamp

    WMask
    WMirror

    Wrap W mode: Mirror

    WShift
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023