Share via


SamplerStageStates Enumeration (Microsoft.DirectX.Direct3D)

Defines the sampler state types.

Definition

Visual Basic Public Enum SamplerStageStates
C# public enum SamplerStageStates
C++ public enum class SamplerStageStates
JScript public enum SamplerStageStates

Members

Member Value Description
DMapOffset 13 Vertex offset in the presampled displacement map. This is a constant used by the tessellator, its default value is zero.
ElementIndex 12 Element index to use when an element with multiple textures is assigned to the sampler.
SrgbTexture 11 Determines whether to use gamma correction. Set to true to enable gamma correction. The default value is false.
MaxMipLevel 9 The level of detail (LOD) index of the largest map to use. Index values range from 0 to (n-1) where 0 is the largest map. The default value is zero.
MipMapLevelOfDetailBias 8 Mipmap LOD bias. The default value is zero.
BorderColor 4 Border color represented as a member of the ColorLeave Site structure.
AddressW 3 Texture-address mode for the w coordinate. The default value is TextureAddress.Wrap. See TextureAddress.
AddressV 2 Texture-address mode for the v coordinate. The default value is TextureAddress.Wrap. See TextureAddress.
AddressU 1 Texture-address mode for the u coordinate. The default value is TextureAddress.Wrap. See TextureAddress.
MinFilter 6 Minification filter. The default value is TextureFilter.None. See TextureFilter.
MagFilter 5 Magnification filter. The default value is TextureFilter.None. See TextureFilter.
MaxAnisotropy 10 Maximum anisotropy value. The default value is zero.
MipFilter 7 Mipmap filter to use during minification. The default value is TextureFilter.None. See TextureFilter.

Remarks

These enumeration constants and values are used by the Device.SetSamplerState method.

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

See Also