C# Class NES.Graphics

Exibir arquivo Open project: mrmikey/nes Class Usage Examples

Public Properties

Property Type Description
BGBuffer int[]
BGPointer int
GraphicsThread Thread
RenderLockBlob object
ScreenBuffer int[]
SprHighBuffer int[]
SprHighPointer int
SprLowBuffer int[]
SprLowPointer int
TempPalette Color[]
Width int

Public Methods

Method Description
Deinitialise ( ) : void
DrawTile ( byte bank, int buffer, int sprPalette, int tileNo, int X, int Y, int attribute ) : void
DrawTileBothFlip ( byte bank, int buffer, int sprPalette, int tileNo, int X, int Y, int attribute ) : void
DrawTileHorizFlip ( byte bank, int buffer, int sprPalette, int tileNo, int X, int Y, int attribute ) : void
DrawTileVertFlip ( byte bank, int buffer, int sprPalette, int tileNo, int X, int Y, int attribute ) : void
Graphics ( Engine engine, int width, int height ) : System
Initialise ( int zoomOverride ) : void
Render ( ) : void

Private Methods

Method Description
OnWindowClose ( ) : int
renderScreen ( int pointer ) : void
sortTexture ( int &buffer, int &pointer ) : void

Method Details

Deinitialise() public method

public Deinitialise ( ) : void
return void

DrawTile() public method

public DrawTile ( byte bank, int buffer, int sprPalette, int tileNo, int X, int Y, int attribute ) : void
bank byte
buffer int
sprPalette int
tileNo int
X int
Y int
attribute int
return void

DrawTileBothFlip() public method

public DrawTileBothFlip ( byte bank, int buffer, int sprPalette, int tileNo, int X, int Y, int attribute ) : void
bank byte
buffer int
sprPalette int
tileNo int
X int
Y int
attribute int
return void

DrawTileHorizFlip() public method

public DrawTileHorizFlip ( byte bank, int buffer, int sprPalette, int tileNo, int X, int Y, int attribute ) : void
bank byte
buffer int
sprPalette int
tileNo int
X int
Y int
attribute int
return void

DrawTileVertFlip() public method

public DrawTileVertFlip ( byte bank, int buffer, int sprPalette, int tileNo, int X, int Y, int attribute ) : void
bank byte
buffer int
sprPalette int
tileNo int
X int
Y int
attribute int
return void

Graphics() public method

public Graphics ( Engine engine, int width, int height ) : System
engine Engine
width int
height int
return System

Initialise() public method

public Initialise ( int zoomOverride ) : void
zoomOverride int
return void

Render() public method

public Render ( ) : void
return void

Property Details

BGBuffer public_oe property

public int[] BGBuffer
return int[]

BGPointer public_oe property

public int BGPointer
return int

GraphicsThread public_oe property

public Thread GraphicsThread
return Thread

RenderLockBlob public_oe property

public object RenderLockBlob
return object

ScreenBuffer public_oe property

public int[] ScreenBuffer
return int[]

SprHighBuffer public_oe property

public int[] SprHighBuffer
return int[]

SprHighPointer public_oe property

public int SprHighPointer
return int

SprLowBuffer public_oe property

public int[] SprLowBuffer
return int[]

SprLowPointer public_oe property

public int SprLowPointer
return int

TempPalette public_oe property

public Color[] TempPalette
return Color[]

Width public_oe property

public int Width
return int