Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

GraphicsDevice.SetPixelShaderConstant Method (Int32, Matrix[])

Sets the specified pixel shader constant float registers to an array of Matrix values.

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

public void SetPixelShaderConstant (
         int startRegister,
         Matrix[] 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
ArgumentNullException constantData is null.
ArgumentOutOfRangeExceptionThe graphics buffer is not large enough for this data.
Xbox 360, Windows XP SP2, Windows Vista
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.