SamplerStageStates Enumeration
|
Language: |
Note: This documentation is preliminary and is subject to change.
Defines the sampler state types.
Definition
Visual Basic .NET |
Public Enum SamplerStageStates |
C# |
public enum SamplerStageStates |
Managed C++ |
__value public enum SamplerStageStates |
JScript .NET |
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 level of detail (LOD) bias. The default value is zero. |
BorderColor |
4 |
Border color represented as a member of the Color 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.2902.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35 |
See Also
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.