Device.GetSamplerStageStateSingle Method |
Language: |
Retrieves the floating-point value of a given sampler stage state.
Visual Basic .NET Public Function GetSamplerStageStateSingle( _
ByVal stage As Integer, _
ByVal state As SamplerStageStates _
) As SingleC# public float GetSamplerStageStateSingle(
int stage,
SamplerStageStates state
);Managed C++ public: float GetSamplerStageStateSingle(
int stage,
SamplerStageStates state
);JScript .NET public function GetSamplerStageStateSingle(
stage : int,
state : SamplerStageStates
) : float;
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.
System.Single . The sampler stage state value retrieved.
Use this method to retrieve sampler stage states with floating-point values.
Feedback? Please provide us with your comments on this topic.