Imager.sPixel._GetRed C# (CSharp) Method

_GetRed() private static method

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