EffectStateManager.SetSamplerState Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets a sampler state.

Definition

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
);

Parameters

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.

Remarks

SetSamplerState is a user-implemented method that is called from an effect during rendering.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.