ShaderMixinDiscardException Class
Namespace: Stride.ShadersAssembly: 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). |
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. |
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