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

_GetRed() private static méthode

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