Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    DepthStencilStates Class

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    Known values for DepthStencilStateDescription.

    System.Object → DepthStencilStates
    Derived from DepthStencilStates:

    public static class DepthStencilStates
    Name Description
    Fields
    Default

    A built-in state object with default settings for using a depth stencil buffer.

    DefaultInverse

    A built-in state object with default settings using greater comparison for Z.

    DepthRead

    A built-in state object with settings for enabling a read-only depth stencil buffer.

    None

    A built-in state object with settings for not using a depth stencil buffer.

    | Improve this Doc View Source

    Fields


    Default

    A built-in state object with default settings for using a depth stencil buffer.

    public static readonly DepthStencilStateDescription Default
    Field Value
    Type Description
    DepthStencilStateDescription

    DefaultInverse

    A built-in state object with default settings using greater comparison for Z.

    public static readonly DepthStencilStateDescription DefaultInverse
    Field Value
    Type Description
    DepthStencilStateDescription

    DepthRead

    A built-in state object with settings for enabling a read-only depth stencil buffer.

    public static readonly DepthStencilStateDescription DepthRead
    Field Value
    Type Description
    DepthStencilStateDescription

    None

    A built-in state object with settings for not using a depth stencil buffer.

    public static readonly DepthStencilStateDescription None
    Field Value
    Type Description
    DepthStencilStateDescription

    • Improve this Doc
    • View Source
    In This Article

    Back to top

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