Bagikan melalui


SamplerState.MipMapLevelOfDetailBias Property

Gets or sets the mipmap LOD bias. The default value is 0. A negative value indicates a larger mipmap level; a positive value indicates a smaller mipmap level.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public float MipMapLevelOfDetailBias { get; set; }

Property Value

The mipmap LOD bias.

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

See Also

Reference

SamplerState Class
SamplerState Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP