Partager via


Device.GetSamplerStageStateBoolean(Int32,SamplerStageStates) Method (Microsoft.DirectX.Direct3D)

Retrieves the Boolean value of a given sampler stage state.

Definition

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

Parameters

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

Return Value

System.Boolean
The sampler stage state value retrieved.

Remarks

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