Device.SetSamplerState Method |
Language: |
Sets a sampler stage state value.
Visual Basic .NET Public Sub SetSamplerState( _
ByVal stage As Integer, _
ByVal state As SamplerStageStates, _
ByVal value As Single _
)C# public void SetSamplerState(
int stage,
SamplerStageStates state,
float value
);Managed C++ public: void SetSamplerState(
int stage,
SamplerStageStates state,
float value
);JScript .NET public function SetSamplerState(
stage : int,
state : SamplerStageStates,
value : float
);
stage System.Int32. Index value of the sampler stage to set. state Microsoft.DirectX.Direct3D.SamplerStageStates. A member from the SamplerStageStates enumeration that represents the sampler stage state value to set. value System.Single. A floating-point value to set for the given sampler stage state.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Feedback? Please provide us with your comments on this topic.