C# Class Mosa.DeviceSystem.FrameBuffer32bpp

Implementation of FrameBuffer with 32 Bits Per Pixel
Inheritance: FrameBuffer, IFrameBuffer
Afficher le fichier Open project: tgiphil/MOSA-Project

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
GetOffset ( uint x, uint y ) : uint

Gets the offset.

Method Details

FrameBuffer32bpp() public méthode

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.
Résultat Mosa.HardwareSystem

GetOffset() protected méthode

Gets the offset.
protected GetOffset ( uint x, uint y ) : uint
x uint The x.
y uint The y.
Résultat uint

GetPixel() public méthode

Gets the pixel.
public GetPixel ( uint x, uint y ) : uint
x uint The x.
y uint The y.
Résultat uint

SetPixel() public méthode

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