Share via


ShaderConstant.SetValue Method

Sets the value of a ShaderConstant.

Overload List

Name Description
ShaderConstant.SetValue (GraphicsDevice, Boolean) Sets the value of a ShaderConstant to a Boolean.
ShaderConstant.SetValue (GraphicsDevice, Boolean[]) Sets the value of a ShaderConstant to an array of Boolean objects.
ShaderConstant.SetValue (GraphicsDevice, Int32) Sets the value of a ShaderConstant to an Int32.
ShaderConstant.SetValue (GraphicsDevice, Int32[]) Sets the value of a ShaderConstant to an array of Int32 objects.
ShaderConstant.SetValue (GraphicsDevice, Matrix) Sets the value of a ShaderConstant to a Matrix.
ShaderConstant.SetValue (GraphicsDevice, Matrix[]) Sets the value of a ShaderConstant to an array of Matrix objects.
ShaderConstant.SetValue (GraphicsDevice, Quaternion) Sets the value of a ShaderConstant to a Quaternion.
ShaderConstant.SetValue (GraphicsDevice, Quaternion[]) Sets the value of a ShaderConstant to an array of Quaternion objects.
ShaderConstant.SetValue (GraphicsDevice, Single) Sets the value of a ShaderConstant to a Single.
ShaderConstant.SetValue (GraphicsDevice, Single[]) Sets the value of a ShaderConstant to an array of Single objects.
ShaderConstant.SetValue (GraphicsDevice, Vector2) Sets the value of a ShaderConstant to a Vector2
ShaderConstant.SetValue (GraphicsDevice, Vector2[]) Sets the value of a ShaderConstant to an array of Vector2 objects.
ShaderConstant.SetValue (GraphicsDevice, Vector3) Sets the value of a ShaderConstant to a Vector3.
ShaderConstant.SetValue (GraphicsDevice, Vector3[]) Sets the value of a ShaderConstant to an array of Vector3 objects.
ShaderConstant.SetValue (GraphicsDevice, Vector4) Sets the value of a ShaderConstant to a Vector4.
ShaderConstant.SetValue (GraphicsDevice, Vector4[]) Sets the value of a ShaderConstant to an array of Vector4 objects.

See Also

Reference

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