GetRenderStateSingle
TOC
Collapse the table of content
Expand the table of content

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

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

Definition

Visual BasicPublic Function GetRenderStateSingle( _
    ByVal state As RenderStates _
) As Single
C#public float GetRenderStateSingle(
    RenderStates state
);
C++public:
float GetRenderStateSingle(
    RenderStates state
);
JScriptpublic 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.

Show:
© 2016 Microsoft