IDirect3DDevice9::SetSamplerState
    Sets the sampler state value.
            
		
        
HRESULT SetSamplerState(
  DWORD Sampler,
  D3DSAMPLERSTATETYPE Type,
  DWORD Value
);
    
Parameters
      - Sampler
- [in]  The sampler stage index.
- Type
- [in]  This parameter can be any member of the D3DSAMPLERSTATETYPE enumerated type. 
- Value
- [in]  State value to set. The meaning of this value is determined by the Type parameter. 
Return Values
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
    
Requirements
  Header: Declared in D3d9.h.
					
See Also
IDirect3DDevice9::GetSamplerState