EffectTechnique.IsParameterUsed Method
Determines whether a given EffectParameter is used by this technique.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public bool IsParameterUsed (
EffectParameter parameter
)
Parameters
- parameter
The effect parameter to check.
Return Value
true if the parameter is used by this technique; false otherwise.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | parameter is null. |
See Also
Reference
EffectTechnique Class
EffectTechnique Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista