C# 클래스 SuperCaissiere.Engine.Core.Resolution

Easy resolution management
Author : David Gouveia
파일 보기 프로젝트 열기: valryon/super-caissiere

공개 메소드들

메소드 설명
Initialize ( GraphicsDeviceManager graphics, int deviceWidth, int deviceHeight, int virtualWidth, int virtualHeight, bool fullscreen ) : void

Intialize the resolution independance

SetGameResolution ( int width, int height ) : void
SetResolution ( int width, int height, bool fullscreen ) : void

Change the resolution after initialization

비공개 메소드들

메소드 설명
ApplyChanges ( ) : void
CalculateViewport ( ) : void
Invalidate ( ) : void

메소드 상세

Initialize() 공개 정적인 메소드

Intialize the resolution independance
public static Initialize ( GraphicsDeviceManager graphics, int deviceWidth, int deviceHeight, int virtualWidth, int virtualHeight, bool fullscreen ) : void
graphics GraphicsDeviceManager
deviceWidth int
deviceHeight int
virtualWidth int
virtualHeight int
fullscreen bool
리턴 void

SetGameResolution() 공개 정적인 메소드

public static SetGameResolution ( int width, int height ) : void
width int
height int
리턴 void

SetResolution() 공개 정적인 메소드

Change the resolution after initialization
public static SetResolution ( int width, int height, bool fullscreen ) : void
width int
height int
fullscreen bool
리턴 void