Partager via


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

Retrieves the Boolean value of a given texture stage state.

Definition

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

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

Remarks

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