C# Класс Mosa.DeviceSystem.FrameBuffer32bpp

Implementation of FrameBuffer with 32 Bits Per Pixel
Наследование: FrameBuffer, IFrameBuffer
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
GetOffset ( uint x, uint y ) : uint

Gets the offset.

Описание методов

FrameBuffer32bpp() публичный Метод

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.
Результат Mosa.HardwareSystem

GetOffset() защищенный Метод

Gets the offset.
protected GetOffset ( uint x, uint y ) : uint
x uint The x.
y uint The y.
Результат uint

GetPixel() публичный Метод

Gets the pixel.
public GetPixel ( uint x, uint y ) : uint
x uint The x.
y uint The y.
Результат uint

SetPixel() публичный Метод

Sets the pixel.
public SetPixel ( uint color, uint x, uint y ) : void
color uint The color.
x uint The x.
y uint The y.
Результат void