GraphicsDevice.GetPixelShaderBooleanConstant Method

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

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

public bool[] GetPixelShaderBooleanConstant (
         int startRegister,
         int constantCount
)

Parameters

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

Return Value

Array of Boolean 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: