Table of Contents

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)

public SamplerStateDescription(TextureFilter filter, TextureAddress addressU, TextureAddress addressV, TextureAddress addressW, int maxAnisotropy, Color borderColor, float minLod, float maxLod)

Parameters

filter TextureFilter

The filter to use.

addressU TextureAddress

The texture address of the U-coordinates (S).

addressV TextureAddress

The texture address of the V-coordinates (T).

addressW TextureAddress

The texture address of the W-coordinates (R).

maxAnisotropy int

The maximum number of anisotropic levels. (Max: MaxAnisotropicLevels).

borderColor Color

The color of the border, when using ClampToBorder.

minLod float

The minimum LOD of the SamplerState.

maxLod float

The 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 .