Imager.sPixel._GetGreen C# (CSharp) Méthode

_GetGreen() private static méthode

Gets the value for green, hopefully the compiler inlines that.
private static _GetGreen ( uint rgbBytes ) : byte
rgbBytes uint The pixel value.
Résultat byte
        private static byte _GetGreen(uint rgbBytes)
        {
            return ((byte)(rgbBytes >> 8));
        }