Device.GetPixelShaderBooleanConstant(Int32,Int32) Method (Microsoft.DirectX.Direct3D)
Retrieves a Boolean shader constant.
Definition
Visual Basic Public Function GetPixelShaderBooleanConstant( _
ByVal startRegister As Integer, _
ByVal constantCount As Integer _
) As Boolean()C# public bool[] GetPixelShaderBooleanConstant(
int startRegister,
int constantCount
);C++ public:
array<bool>^ GetPixelShaderBooleanConstant(
int startRegister,
int constantCount
);JScript public function GetPixelShaderBooleanConstant(
startRegister : int,
constantCount : int
) : boolean[];
Parameters
startRegister System.Int32
Register number that contains the first constant value.constantCount System.Int32
Number of Boolean values in the array of constants.
Return Value
System.Boolean[]
Array of constants.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
See Also