Share via


ShaderConstant.SetValue Method (GraphicsDevice, Int32 )

Sets the value of a ShaderConstant to an array of Int32 objects.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public void SetValue (
         GraphicsDevice graphicsDevice,
         int[] value
)

Parameters

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista