C# 클래스 Mosa.DeviceSystem.FrameBuffer16bpp

Implementation of FrameBuffer with 16 Bits Per Pixel
상속: FrameBuffer, IFrameBuffer
파일 보기 프로젝트 열기: tgiphil/MOSA-Project

공개 메소드들

메소드 설명
FrameBuffer16bpp ( IMemory memory, uint width, uint height, uint offset, uint depth ) : Mosa.HardwareSystem

Initializes a new instance of the FrameBuffer16bpp 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.

메소드 상세

FrameBuffer16bpp() 공개 메소드

Initializes a new instance of the FrameBuffer16bpp class.
public FrameBuffer16bpp ( 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