GraphicsDevice.GetVertexShaderInt32Constant Method
Gets an array of Int32 values from the vertex shader constant integer registers.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public int[] GetVertexShaderInt32Constant (
int startRegister,
int constantCount
)
Parameters
- startRegister
Vertex shader constant integer register of the first constant. - constantCount
Number of Int32 values to retrieve.
Return Value
Array of Int32 values retrieved from the constant registers.
Exceptions
Exception type | Condition |
---|---|
InvalidOperationException | The method call is invalid. For example, a method's parameter may have an invalid value. |
See Also
Reference
GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista