Device.GetRenderStateSingle Method

Language:

Retrieves the floating-point value of a given render state.

Definition

Visual Basic Public Function GetRenderStateSingle( _
    ByVal state As RenderStates _
) As Single
C# public float GetRenderStateSingle(
    RenderStates state
);
C++ public:
float GetRenderStateSingle(
    RenderStates state
);
JScript public function GetRenderStateSingle(
    state : RenderStates
) : float;

Parameters

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

Return Value

System.Single
The render state value retrieved.

Remarks

Use this method to retrieve render states with floating-point values.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.