GraphicsDevice.GetPixelShaderVector4ArrayConstant Method

Gets an array of Vector4 values from the pixel shader constant float registers.

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

public Vector4[] GetPixelShaderVector4ArrayConstant (
         int startRegister,
         int constantCount
)

Parameters

startRegister
Pixel shader constant float register of the first constant.
constantCount
Number of Vector4 values to retrieve.

Return Value

Array of Vector4 values retrieved from the constant registers.

Exception typeCondition
InvalidOperationException The method call is invalid. For example, a method's parameter may have an invalid value.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show: