Device.GetRenderStateSingle Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Function GetRenderStateSingle( _
    ByVal state As RenderStates _
) As Single
C# public float GetRenderStateSingle(
    RenderStates state
);
Managed C++ public: float GetRenderStateSingle(
    RenderStates state
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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