Device.GetSamplerStageStateSingle(Int32,SamplerStageStates) Method (Microsoft.DirectX.Direct3D)
Retrieves the floating-point value of a given sampler stage state.
Definition
Visual Basic Public Function GetSamplerStageStateSingle( _
ByVal stage As Integer, _
ByVal state As SamplerStageStates _
) As SingleC# public float GetSamplerStageStateSingle(
int stage,
SamplerStageStates state
);C++ public:
float GetSamplerStageStateSingle(
int stage,
SamplerStageStates state
);JScript public function GetSamplerStageStateSingle(
stage : int,
state : SamplerStageStates
) : float;
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.Single
The sampler stage state value retrieved.
Remarks
Use this method to retrieve sampler stage states with floating-point values.