C# Class Gonzo.Resolution

Afficher le fichier Open project: Afr0Games/Project-Dollhouse

Méthodes publiques

Méthode Description
BeginDraw ( ) : void

Sets the device to use the draw pump Sets correct aspect ratio

FullViewport ( ) : void
Init ( GraphicsDeviceManager &device ) : void
ResetViewport ( ) : void
SetResolution ( int Width, int Height, bool FullScreen ) : void
SetVirtualResolution ( int Width, int Height ) : void
getTransformationMatrix ( ) : Matrix
getVirtualAspectRatio ( ) : float

Get virtual Mode Aspect Ratio

Private Methods

Méthode Description
ApplyResolutionSettings ( ) : void
RecreateScaleMatrix ( ) : void

Method Details

BeginDraw() public static méthode

Sets the device to use the draw pump Sets correct aspect ratio
public static BeginDraw ( ) : void
Résultat void

FullViewport() public static méthode

public static FullViewport ( ) : void
Résultat void

Init() public static méthode

public static Init ( GraphicsDeviceManager &device ) : void
device GraphicsDeviceManager
Résultat void

ResetViewport() public static méthode

public static ResetViewport ( ) : void
Résultat void

SetResolution() public static méthode

public static SetResolution ( int Width, int Height, bool FullScreen ) : void
Width int
Height int
FullScreen bool
Résultat void

SetVirtualResolution() public static méthode

public static SetVirtualResolution ( int Width, int Height ) : void
Width int
Height int
Résultat void

getTransformationMatrix() public static méthode

public static getTransformationMatrix ( ) : Matrix
Résultat Matrix

getVirtualAspectRatio() public static méthode

Get virtual Mode Aspect Ratio
public static getVirtualAspectRatio ( ) : float
Résultat float