Click or drag to resize
DigitalRuneEffectParameterDescription Constructor
Initializes a new instance of the EffectParameterDescription class.

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public EffectParameterDescription(
	EffectParameter parameter,
	string semantic,
	int index,
	EffectParameterHint hint
)

Parameters

parameter
Type: EffectParameter
The effect parameter.
semantic
Type: SystemString
The semantic.
index
Type: SystemInt32
The index.
hint
Type: DigitalRune.Graphics.EffectsEffectParameterHint
A value indicating how the effect parameter should be treated during state sorting.
Exceptions
ExceptionCondition
ArgumentNullExceptionparameter is .
ArgumentOutOfRangeException Invalid index. Allowed values are -1, 0, and positive numbers.
ArgumentExceptionhint is invalid.
See Also