C# Class Clandestine.Graphics

Afficher le fichier Open project: mrmikey/nes

Méthodes publiques

Свойство Type Description
EatCPU bool
GlobalColor GLColor
GraphicsThread Thread
NPOTAllowed bool
PerformSlowDebugDepthChecking bool
RenderLockBlob object
Renderables List
ScreenHeight int
ScreenWidth int

Méthodes publiques

Méthode Description
Deinitialise ( ) : void
Initialise ( int width, int height ) : void
Initialise ( int width, int height, int zoomOverride ) : void
Render ( ) : void
RestoreWindow ( ) : void
SetWindowTitle ( string windowTitle ) : void

Private Methods

Méthode Description
Intersects ( Rectangle tthis, Rectangle value ) : bool
NotifyRenderablesDepthChange ( ) : void
OnWindowClose ( ) : int
checkForDepthProblems ( Renderable r1, Renderable r2 ) : void
compareRenderablesDepths ( Renderable r1, Renderable r2 ) : int

Method Details

Deinitialise() public static méthode

public static Deinitialise ( ) : void
Résultat void

Initialise() public static méthode

public static Initialise ( int width, int height ) : void
width int
height int
Résultat void

Initialise() public static méthode

public static Initialise ( int width, int height, int zoomOverride ) : void
width int
height int
zoomOverride int
Résultat void

Render() public static méthode

public static Render ( ) : void
Résultat void

RestoreWindow() public static méthode

public static RestoreWindow ( ) : void
Résultat void

SetWindowTitle() public static méthode

public static SetWindowTitle ( string windowTitle ) : void
windowTitle string
Résultat void

Property Details

EatCPU public_oe static_oe property

public static bool EatCPU
Résultat bool

GlobalColor public_oe static_oe property

public static GLColor GlobalColor
Résultat GLColor

GraphicsThread public_oe static_oe property

public static Thread GraphicsThread
Résultat Thread

NPOTAllowed public_oe static_oe property

Dictates whether textures with sizes that aren't a power of two are allowed. If this is set to false, some quick hax will be applied to work around the lack of capability in the hardware. (Logic for setting this is in Initialise()).
public static bool NPOTAllowed
Résultat bool

PerformSlowDebugDepthChecking public_oe static_oe property

public static bool PerformSlowDebugDepthChecking
Résultat bool

RenderLockBlob public_oe static_oe property

public static object RenderLockBlob
Résultat object

Renderables public_oe static_oe property

public static List Renderables
Résultat List

ScreenHeight public_oe static_oe property

public static int ScreenHeight
Résultat int

ScreenWidth public_oe static_oe property

public static int ScreenWidth
Résultat int