Mosa.DeviceSystem.FrameBuffer24bpp.GetOffset C# (CSharp) Method

GetOffset() protected method

Gets the offset.
protected GetOffset ( uint x, uint y ) : uint
x uint The x.
y uint The y.
return uint
        protected override uint GetOffset(uint x, uint y)
        {
            return offset + (y * depth) + (x * 3);
        }