SamplerState Members
The following tables list the members exposed by the SamplerState type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
SamplerState | Initializes a new instance of the sampler state class. |
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
AnisotropicClamp | Contains default state for anisotropic filtering and texture coordinate clamping. |
![]() ![]() |
AnisotropicWrap | Contains default state for anisotropic filtering and texture coordinate wrapping. |
![]() ![]() |
LinearClamp | Contains default state for linear filtering and texture coordinate clamping. |
![]() ![]() |
LinearWrap | Contains default state for linear filtering and texture coordinate wrapping. |
![]() ![]() |
PointClamp | Contains default state for point filtering and texture coordinate clamping. |
![]() ![]() |
PointWrap | Contains default state for point filtering and texture coordinate wrapping. |
Public Properties
Name | Description | |
---|---|---|
![]() |
AddressU | Gets or sets the texture-address mode for the u-coordinate. |
![]() |
AddressV | Gets or sets the texture-address mode for the v-coordinate. |
![]() |
AddressW | Gets or sets the texture-address mode for the w-coordinate. |
![]() |
Filter | Gets or sets the type of filtering during sampling. |
![]() |
GraphicsDevice | (Inherited from GraphicsResource.) |
![]() |
IsDisposed | (Inherited from GraphicsResource.) |
![]() |
MaxAnisotropy | Gets or sets the maximum anisotropy. The default value is 4. |
![]() |
MaxMipLevel | Gets or sets the level of detail (LOD) index of the largest map to use. |
![]() |
MipMapLevelOfDetailBias | Gets or sets the mipmap LOD bias. The default value is 0. A negative value indicates a larger mipmap level; a positive value indicates a smaller mipmap level. |
![]() |
Name | (Inherited from GraphicsResource.) |
![]() |
Tag | (Inherited from GraphicsResource.) |
Public Methods
Name | Description | |
---|---|---|
![]() |
Dispose | Overloaded. Immediately releases the unmanaged resources used by this object. |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | (Inherited from GraphicsResource.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from GraphicsResource.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
Public Events
Name | Description | |
---|---|---|
![]() |
Disposing | (Inherited from GraphicsResource.) |
See Also
Reference
SamplerState Class
Microsoft.Xna.Framework.Graphics Namespace