SamplerStateCollection.Item Property
Gets a specific SamplerState object using an index value.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public SamplerState this [
int index
] { get; }
Property Value
The SamplerState object at the requested index.
Exceptions
Exception type | Condition |
---|---|
InvalidOperationException | The index for this vertex stream is invalid. |
See Also
Reference
SamplerStateCollection Class
SamplerStateCollection Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista