Aracılığıyla paylaş


BlendState.NonPremultiplied Field

A built-in state object with settings for blending with non-premultipled alpha that is blending source and destination data by using alpha while assuming the color data contains no alpha information.

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

Syntax

public static readonly BlendState NonPremultiplied

Remarks

This built-in state object has the following settings:

Property Value
ColorSourceBlend Blend.SourceAlpha
AlphaSourceBlend Blend.SourceAlpha
ColorDestinationBlend Blend.InverseSourceAlpha
AlphaDestinationBlend Blend.InverseSourceAlpha

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP