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

Retrieves the integer value of a given sampler stage state.

Definition

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

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

Remarks

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