Namespace: Microsoft.Xna.Framework.GraphicsAssembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
public SamplerStateCollection SamplerStates { get; }
This method returns the last sampler state that was set for the GraphicsDevice, or the default GraphicsDevice sampler state, if not previously set. Programmable shaders reference textures using the sampler number, which is set as the index of a GraphicsDevice.Textures.