Partager via


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

Retrieves the integer value of a given texture stage state.

Definition

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

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.Int32
The texture stage state value retrieved.

Remarks

Use this method to retrieve texture stage states with integer values.