SamplerState.MipMapLevelOfDetailBias Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the mipmap LOD bias. The default value is 0.

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)

Syntax

'Declaration
Public Property MipMapLevelOfDetailBias As Single
public float MipMapLevelOfDetailBias { get; set; }

Property Value

Type: System.Single
The mipmap LOD bias, which ranges from -1.0 to +1.0.

Remarks

Mipmap LOD bias offsets the mipmap level from which a texture is sampled (the result is computed using trilinear texturing between the nearest two levels). A negative bias indicates a larger mipmap level; a positive bias indicates a smaller mipmap level.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.