Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    DepthStencilStencilOpDescription Struct

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

    [DataContract]
    public struct DepthStencilStencilOpDescription : IEquatable<DepthStencilStencilOpDescription>
    Name Description
    Properties
    StencilDepthBufferFail

    Gets or sets the stencil operation to perform if the stencil test passes and the depth-test fails. The default is StencilOperation.Keep.

    StencilFail

    Gets or sets the stencil operation to perform if the stencil test fails. The default is StencilOperation.Keep.

    StencilFunction

    Gets or sets the comparison function for the stencil test. The default is CompareFunction.Always.

    StencilPass

    Gets or sets the stencil operation to perform if the stencil test passes. The default is StencilOperation.Keep.

    Methods
    Equals(DepthStencilStencilOpDescription)
    Equals(Object)
    GetHashCode()
    Operators
    Equality(DepthStencilStencilOpDescription, DepthStencilStencilOpDescription)
    Inequality(DepthStencilStencilOpDescription, DepthStencilStencilOpDescription)
    | Improve this Doc View Source

    Properties


    StencilDepthBufferFail

    Gets or sets the stencil operation to perform if the stencil test passes and the depth-test fails. The default is StencilOperation.Keep.

    public StencilOperation StencilDepthBufferFail { get; set; }
    Property Value
    Type Description
    StencilOperation

    StencilFail

    Gets or sets the stencil operation to perform if the stencil test fails. The default is StencilOperation.Keep.

    public StencilOperation StencilFail { get; set; }
    Property Value
    Type Description
    StencilOperation

    StencilFunction

    Gets or sets the comparison function for the stencil test. The default is CompareFunction.Always.

    public CompareFunction StencilFunction { get; set; }
    Property Value
    Type Description
    CompareFunction

    StencilPass

    Gets or sets the stencil operation to perform if the stencil test passes. The default is StencilOperation.Keep.

    public StencilOperation StencilPass { get; set; }
    Property Value
    Type Description
    StencilOperation
    | Improve this Doc View Source

    Methods


    Equals(DepthStencilStencilOpDescription)

    public bool Equals(DepthStencilStencilOpDescription other)
    Parameters
    Type Name Description
    DepthStencilStencilOpDescription other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()
    | Improve this Doc View Source

    Operators


    Equality(DepthStencilStencilOpDescription, DepthStencilStencilOpDescription)

    public static bool operator ==(DepthStencilStencilOpDescription left, DepthStencilStencilOpDescription right)
    Parameters
    Type Name Description
    DepthStencilStencilOpDescription left
    DepthStencilStencilOpDescription right
    Returns
    Type Description
    System.Boolean

    Inequality(DepthStencilStencilOpDescription, DepthStencilStencilOpDescription)

    public static bool operator !=(DepthStencilStencilOpDescription left, DepthStencilStencilOpDescription right)
    Parameters
    Type Name Description
    DepthStencilStencilOpDescription left
    DepthStencilStencilOpDescription right
    Returns
    Type Description
    System.Boolean

    Inherited Members

    System.ValueType.ToString()

    Extension Methods

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

    Back to top

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