ImageManipulation.OctreeQuantizer.InitialQuantizePixel C# (CSharp) Method

InitialQuantizePixel() protected method

Process the pixel in the first pass of the algorithm.
This function need only be overridden if your quantize algorithm needs two passes, such as an Octree quantizer.
protected InitialQuantizePixel ( Color32 pixel ) : void
pixel Color32 The pixel to quantize.
return void
        protected override void InitialQuantizePixel( Color32* pixel ) {
            // Add the color to the octree
            octree.AddColor( pixel );
        }