EffectStateManager.SetSamplerState Method |
Language: |
Sets a sampler state.
Visual Basic .NET MustOverride Public Sub SetSamplerState( _
ByVal samplerStage As Integer, _
ByVal state As SamplerStageStates, _
ByVal value As Integer _
)C# public abstract void SetSamplerState(
int samplerStage,
SamplerStageStates state,
int value
);Managed C++ public: virtual void SetSamplerState(
int samplerStage,
SamplerStageStates state,
int value
) = 0;JScript .NET public abstract function SetSamplerState(
samplerStage : int,
state : SamplerStageStates,
value : int
);
samplerStage System.Int32. The zero-based sampler stage index. state Microsoft.DirectX.Direct3D.SamplerStageStates. A SamplerStageStates enumeration that identifies sampler state, which can specify the filtering, addressing, or the border color. value System.Int32. The value to set for the sampler state type specified in state.
SetSamplerState is a user-implemented method that is called from an effect during rendering.
Feedback? Please provide us with your comments on this topic.