EffectParameter.SetValue Method

Sets the value of the EffectParameter.

Overload List

Name Description
EffectParameter.SetValue (Boolean) Sets the value of the EffectParameter.
EffectParameter.SetValue (Boolean[]) Sets the value of the EffectParameter.
EffectParameter.SetValue (Int32) Sets the value of the EffectParameter.
EffectParameter.SetValue (Int32[]) Sets the value of the EffectParameter.
EffectParameter.SetValue (Matrix) Sets the value of the EffectParameter.
EffectParameter.SetValue (Matrix[]) Sets the value of the EffectParameter.
EffectParameter.SetValue (Quaternion) Sets the value of the EffectParameter.
EffectParameter.SetValue (Quaternion[]) Sets the value of the EffectParameter.
EffectParameter.SetValue (Single) Sets the value of the EffectParameter.
EffectParameter.SetValue (Single[]) Sets the value of the EffectParameter.
EffectParameter.SetValue (String) Sets the value of the EffectParameter.
EffectParameter.SetValue (Texture) Sets the value of the EffectParameter.
EffectParameter.SetValue (Vector2) Sets the value of the EffectParameter.
EffectParameter.SetValue (Vector2[]) Sets the value of the EffectParameter.
EffectParameter.SetValue (Vector3) Sets the value of the EffectParameter.
EffectParameter.SetValue (Vector3[]) Sets the value of the EffectParameter.
EffectParameter.SetValue (Vector4) Sets the value of the EffectParameter.
EffectParameter.SetValue (Vector4[]) Sets the value of the EffectParameter.

Remarks

Setting the value of an effect parameter is a slow operation. Avoid high-frequency calls.

See Also

Reference

EffectParameter Class
EffectParameter Members
Microsoft.Xna.Framework.Graphics Namespace