Share via


Device.GetTextureStageStateSingle(Int32,TextureStageStates) Method (Microsoft.DirectX.Direct3D)

Retrieves the floating-point value of a given texture stage state.

Definition

Visual Basic Public Function GetTextureStageStateSingle( _
    ByVal stage As Integer, _
    ByVal state As TextureStageStates _
) As Single
C# public float GetTextureStageStateSingle(
    int stage,
    TextureStageStates state
);
C++ public:
float GetTextureStageStateSingle(
    int stage,
    TextureStageStates state
);
JScript public function GetTextureStageStateSingle(
    stage : int,
    state : TextureStageStates
) : float;

Parameters

stage System.Int32
Index value of the texture stage to retrieve.
state Microsoft.DirectX.Direct3D.TextureStageStates
A member from the TextureStageStates enumeration that represents the texture stage state value to retreive.

Return Value

System.Single
The texture stage state value retrieved.

Remarks

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