Click or drag to resize
Ab4d.SharpEngine logo

IDiffuseMaterialIsPreMultipliedAlphaColor Property

When IsPreMultipliedAlphaColor is true (false by default) and Opacity is less then 1, then the color components of the DiffuseColor are already multiplied with alpha value to produce pre-multiplied colors. When false, then non-premultiplied color is converted in pre-multiplied color when this is required by the shader.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
bool IsPreMultipliedAlphaColor { get; set; }

Property Value

Boolean

[Missing <value> documentation for "P:Ab4d.SharpEngine.Materials.IDiffuseMaterial.IsPreMultipliedAlphaColor"]

Remarks

[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Materials.IDiffuseMaterial.IsPreMultipliedAlphaColor"]

See Also