Export (0) Print
Expand All
Expand Minimize

GraphicsDevice.GetPixelShaderVector3Constant Method

Gets a Vector3 value from the pixel shader constant float registers.

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

public Vector3 GetPixelShaderVector3Constant (
         int startRegister
)

Parameters

startRegister
Pixel shader constant float register of the first constant.

Return Value

Vector3 value 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

Show:
© 2014 Microsoft