Click or drag to resize
Ab4d.SharpEngine logo

PixelEffectUsePixelIndexColor Property

Gets or sets a Boolean that specifies if this PixelEffects uses pixel index for the color of the pixel. When true, then PixelColor is added to the calculated color from pixel index. PixelColors array is not used in this case. The following is used to calculate the color from pixel index:
the first index starts with 1;
first number go into blue color (vertexId = 1: BGR: 0x010000; vertexId 257: BGR: 0x010200);
if there are more the 16M vertices, then this is written into alpha value (otherwise alpha is 0).

Namespace: Ab4d.SharpEngine.Effects
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public bool UsePixelIndexColor { get; set; }

Property Value

Boolean
See Also