EffectStateManager.SetSamplerState Method |
Language: |
Sets a sampler state.
Visual Basic 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
);C++ public:
virtual void SetSamplerState(
int samplerStage,
SamplerStageStates state,
int value
) abstract;JScript 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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.