PurplePen.OctreeQuantizer.Octree.OctreeNode.Increment C# (CSharp) Method

Increment() public method

Increment the pixel count and add to the color information
public Increment ( Color32 pixel ) : void
pixel Color32
return void
                public void Increment(Color32* pixel)
                {
                    _pixelCount++;
                    _red += pixel->Red;
                    _green += pixel->Green;
                    _blue += pixel->Blue;
                }