Export (0) Print
Expand All

GraphicsDevice.SetVertexShaderConstant Method (Int32, Quaternion[])

Sets the specified vertex shader constant float registers to an array of Quaternion values.

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

public void SetVertexShaderConstant (
         int startRegister,
         Quaternion[] constantData
)

Parameters

startRegister
Zero-based index of the vertex shader constant float register at which to begin setting values.
constantData
The constant data.

Exception typeCondition
ArgumentNullException constantData is null.
ArgumentOutOfRangeExceptionThe graphics buffer is not large enough for this data.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2015 Microsoft