Click to Rate and Give Feedback
MSDN
MSDN Library
XNA Game Studio
XNA Game Studio 3.1
 SamplerStates Property
Collapse All/Expand All Collapse All
XNA Game Studio 3.1
GraphicsDevice.SamplerStates Property
Retrieves a collection of SamplerState objects for the current GraphicsDevice.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

C#
public SamplerStateCollection SamplerStates { get; }

Property Value

The sample states of this GraphicsDevice.

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.

Xbox 360, Windows XP SP2, Windows Vista
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker