Table of Contents

Class ShaderMixinDiscardException

Namespace
Stride.Shaders
Assembly
Stride.Shaders.dll

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 ShaderSource

The source.

Properties

DiscardSource

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

public ShaderSource DiscardSource { get; }

Property Value

ShaderSource

The discard source.