Method | Description | |
---|---|---|
BeginDraw ( ) : void |
Sets the device to use the draw pump Sets correct aspect ratio
|
|
FullViewport ( ) : void | ||
GetTransformationMatrix ( ) : Matrix | ||
GetVirtualAspectRatio ( ) : float |
Get virtual Mode Aspect Ratio
|
|
Init ( GraphicsDeviceManager &device ) : void | ||
ResetViewport ( ) : void | ||
SetResolution ( int new_width, int new_height ) : void | ||
SetResolution ( int new_width, int new_height, bool fullScreen ) : void | ||
SetVirtualResolution ( int Width, int Height ) : void |
Method | Description | |
---|---|---|
ApplyResolutionSettings ( ) : void | ||
RecreateScaleMatrix ( ) : void |
public static GetTransformationMatrix ( ) : Matrix | ||
return | Matrix |
public static GetVirtualAspectRatio ( ) : float | ||
return | float |
public static Init ( GraphicsDeviceManager &device ) : void | ||
device | GraphicsDeviceManager | |
return | void |
public static SetResolution ( int new_width, int new_height ) : void | ||
new_width | int | |
new_height | int | |
return | void |
public static SetResolution ( int new_width, int new_height, bool fullScreen ) : void | ||
new_width | int | |
new_height | int | |
fullScreen | bool | |
return | void |
public static SetVirtualResolution ( int Width, int Height ) : void | ||
Width | int | |
Height | int | |
return | void |