Class ShaderMixinDiscardException
An exception used to early exit a shader mixin with discard.
public class ShaderMixinDiscardException : Exception, ISerializable
- Inheritance
-
ShaderMixinDiscardException
- Implements
- Inherited Members
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
source
ShaderSourceThe source.
Properties
DiscardSource
Gets the discard source if any (may be null).
public ShaderSource DiscardSource { get; }
Property Value
- ShaderSource
The discard source.