C# Class Mosa.DeviceSystem.FrameBuffer32bpp

Implementation of FrameBuffer with 32 Bits Per Pixel
Inheritance: FrameBuffer, IFrameBuffer
显示文件 Open project: tgiphil/MOSA-Project

Public Methods

Method Description
FrameBuffer32bpp ( IMemory memory, uint width, uint height, uint offset, uint depth ) : Mosa.HardwareSystem

Initializes a new instance of the FrameBuffer32bpp class.

GetPixel ( uint x, uint y ) : uint

Gets the pixel.

SetPixel ( uint color, uint x, uint y ) : void

Sets the pixel.

Protected Methods

Method Description
GetOffset ( uint x, uint y ) : uint

Gets the offset.

Method Details

FrameBuffer32bpp() public method

Initializes a new instance of the FrameBuffer32bpp class.
public FrameBuffer32bpp ( IMemory memory, uint width, uint height, uint offset, uint depth ) : Mosa.HardwareSystem
memory IMemory The memory.
width uint The width.
height uint The height.
offset uint The offset.
depth uint The depth.
return Mosa.HardwareSystem

GetOffset() protected method

Gets the offset.
protected GetOffset ( uint x, uint y ) : uint
x uint The x.
y uint The y.
return uint

GetPixel() public method

Gets the pixel.
public GetPixel ( uint x, uint y ) : uint
x uint The x.
y uint The y.
return uint

SetPixel() public method

Sets the pixel.
public SetPixel ( uint color, uint x, uint y ) : void
color uint The color.
x uint The x.
y uint The y.
return void