Struct SamplerStateDescription
- Namespace
- Pie
- Assembly
- Pie.dll
Describes a SamplerState.
public struct SamplerStateDescription
- Inherited Members
Constructors
SamplerStateDescription(TextureFilter, TextureAddress, TextureAddress, TextureAddress, int, Color, float, float)
Create a new SamplerStateDescription.
public SamplerStateDescription(TextureFilter filter, TextureAddress addressU, TextureAddress addressV, TextureAddress addressW, int maxAnisotropy, Color borderColor, float minLod, float maxLod)
Parameters
filterTextureFilterThe filter to use.
addressUTextureAddressThe texture address of the U-coordinates (S).
addressVTextureAddressThe texture address of the V-coordinates (T).
addressWTextureAddressThe texture address of the W-coordinates (R).
maxAnisotropyintThe maximum number of anisotropic levels. (Max: MaxAnisotropicLevels).
borderColorColorThe color of the border, when using ClampToBorder.
minLodfloatThe minimum LOD of the SamplerState.
maxLodfloatThe maximum LOD of the SamplerState.
Fields
AddressU
The texture address of the U-coordinates (S).
public TextureAddress AddressU
Field Value
- TextureAddress
- Describes a .
AddressV
The texture address of the V-coordinates (T).
public TextureAddress AddressV
Field Value
- TextureAddress
- Describes a .
AddressW
The texture address of the W-coordinates (R).
public TextureAddress AddressW
Field Value
- TextureAddress
- Describes a .
AnisotropicClamp
Use anisotropic filtering (with MaxAnisotropicLevels levels), with clamping to edge.
public static readonly SamplerStateDescription AnisotropicClamp
Field Value
- SamplerStateDescription
- Describes a .
AnisotropicRepeat
Use anisotropic filtering (with MaxAnisotropicLevels levels), with repeat.
public static readonly SamplerStateDescription AnisotropicRepeat
Field Value
- SamplerStateDescription
- Describes a .
BorderColor
The color of the border, when using ClampToBorder.
public Color BorderColor
Field Value
- Color
- Describes a .
Filter
The filter to use.
public TextureFilter Filter
Field Value
- TextureFilter
- Describes a .
LinearClamp
Use linear filtering with clamping to edge.
public static readonly SamplerStateDescription LinearClamp
Field Value
- SamplerStateDescription
- Describes a .
LinearRepeat
Use linear filtering with repeat.
public static readonly SamplerStateDescription LinearRepeat
Field Value
- SamplerStateDescription
- Describes a .
MaxAnisotropy
The maximum number of anisotropic levels. (Max: MaxAnisotropicLevels).
public int MaxAnisotropy
Field Value
- int
- Describes a .
MaxLOD
The maximum LOD of the SamplerState.
public float MaxLOD
Field Value
- float
- Describes a .
MinLOD
The minimum LOD of the SamplerState.
public float MinLOD
Field Value
- float
- Describes a .
PointClamp
Use point filtering with clamping to edge.
public static readonly SamplerStateDescription PointClamp
Field Value
- SamplerStateDescription
- Describes a .
PointRepeat
Use point filtering with repeat.
public static readonly SamplerStateDescription PointRepeat
Field Value
- SamplerStateDescription
- Describes a .