Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ShaderMixinDiscardException Class

    Namespace: Stride.Shaders
    Assembly: Stride.Shaders.dll

    An exception used to early exit a shader mixin with discard.

    System.Object → System.Exception → ShaderMixinDiscardException
    Derived from ShaderMixinDiscardException:

    public class ShaderMixinDiscardException : Exception, ISerializable
    Name Description
    Constructors
    ShaderMixinDiscardException()

    Initializes a new instance of the ShaderMixinDiscardException class.

    ShaderMixinDiscardException(ShaderSource)

    Initializes a new instance of the ShaderMixinDiscardException class.

    Properties
    DiscardSource

    Gets the discard source if any (may be null).

    | Improve this Doc View Source

    Constructors


    ShaderMixinDiscardException()

    Initializes a new instance of the ShaderMixinDiscardException class.

    public ShaderMixinDiscardException()

    ShaderMixinDiscardException(ShaderSource)

    Initializes a new instance of the ShaderMixinDiscardException class.

    public ShaderMixinDiscardException(ShaderSource source)
    Parameters
    Type Name Description
    ShaderSource source

    The source.

    | Improve this Doc View Source

    Properties


    DiscardSource

    Gets the discard source if any (may be null).

    public ShaderSource DiscardSource { get; }
    Property Value
    Type Description
    ShaderSource

    The discard source.


    Inherited Members

    System.Exception.GetBaseException()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.GetType()
    System.Exception.ToString()
    System.Exception.Data
    System.Exception.HelpLink
    System.Exception.HResult
    System.Exception.InnerException
    System.Exception.Message
    System.Exception.Source
    System.Exception.StackTrace
    System.Exception.TargetSite
    System.Exception.SerializeObjectState

    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