Partager via


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

Retrieves the integer value of a given render state.

Definition

Visual Basic Public Function GetRenderStateInt32( _
    ByVal state As RenderStates _
) As Integer
C# public int GetRenderStateInt32(
    RenderStates state
);
C++ public:
int GetRenderStateInt32(
    RenderStates state
);
JScript public function GetRenderStateInt32(
    state : RenderStates
) : int;

Parameters

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

Return Value

System.Int32
The render state value retrieved.

Remarks

Use this method to retrieve render states with integer values.