Export (0) Print
Expand All

GraphicsDevice.SetPixelShaderConstant Method (Int32, Quaternion)

Sets the specified pixel shader constant float registers to a Quaternion value.

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

public void SetPixelShaderConstant (
         int startRegister,
         Quaternion constantData
)

Parameters

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

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

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2014 Microsoft