Device.SetSamplerState(Int32,SamplerStageStates,Boolean) Method (Microsoft.DirectX.Direct3D)
Sets a sampler stage state value.
Definition
Visual Basic Public Sub SetSamplerState( _
ByVal stage As Integer, _
ByVal state As SamplerStageStates, _
ByVal value As Boolean _
)C# public void SetSamplerState(
int stage,
SamplerStageStates state,
bool value
);C++ public:
void SetSamplerState(
int stage,
SamplerStageStates state,
bool value
);JScript public function SetSamplerState(
stage : int,
state : SamplerStageStates,
value : boolean
);
Parameters
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.Boolean
A Boolean value to set for the given sampler stage state.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.