Device.GetRenderStateBoolean(RenderStates) Method (Microsoft.DirectX.Direct3D)

Retrieves the Boolean value of a given render state.

Definition

Visual Basic Public Function GetRenderStateBoolean( _
    ByVal state As RenderStates _
) As Boolean
C# public bool GetRenderStateBoolean(
    RenderStates state
);
C++ public:
bool GetRenderStateBoolean(
    RenderStates state
);
JScript public function GetRenderStateBoolean(
    state : RenderStates
) : boolean;

Parameters

state Microsoft.DirectX.Direct3D.RenderStates
A member from the RenderStates enumeration that represents the render state value to retreive.

Return Value

System.Boolean
The render state value retrieved.

Remarks

Use this method to retrieve render states with Boolean values.