C# 클래스 NScumm.MonoGame.XnaGraphicsManager

상속: Core.Graphics.IGraphicsManager, IDisposable
파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

공개 메소드들

메소드 설명
Capture ( ) : Core.Graphics.Surface
CopyRectToScreen ( byte buffer, int sourceStride, int x, int y, int width, int height ) : void
CopyRectToScreen ( byte buffer, int startOffset, int sourceStride, int x, int y, int width, int height ) : void
CopyRectToScreen ( byte buffer, int sourceStride, int x, int y, int dstX, int dstY, int width, int height ) : void
Dispose ( ) : void
DrawCursor ( SpriteBatch spriteBatch, Vector2 cursorPos ) : void
DrawScreen ( SpriteBatch spriteBatch ) : void
FillScreen ( int color ) : void
GetPalette ( ) : Core.Graphics.Color[]
SetCursor ( byte pixels, int width, int height, NScumm.Core.Graphics.Point hotspot ) : void
SetCursor ( byte pixels, int offset, int width, int height, NScumm.Core.Graphics.Point hotspot, int keyColor ) : void
SetPalette ( Core colors ) : void
SetPalette ( Core colors, int first, int num ) : void
UpdateScreen ( ) : void
XnaGraphicsManager ( int width, int height, Core format, GameWindow window, GraphicsDevice device ) : Microsoft.Xna.Framework

메소드 상세

Capture() 공개 메소드

public Capture ( ) : Core.Graphics.Surface
리턴 Core.Graphics.Surface

CopyRectToScreen() 공개 메소드

public CopyRectToScreen ( byte buffer, int sourceStride, int x, int y, int width, int height ) : void
buffer byte
sourceStride int
x int
y int
width int
height int
리턴 void

CopyRectToScreen() 공개 메소드

public CopyRectToScreen ( byte buffer, int startOffset, int sourceStride, int x, int y, int width, int height ) : void
buffer byte
startOffset int
sourceStride int
x int
y int
width int
height int
리턴 void

CopyRectToScreen() 공개 메소드

public CopyRectToScreen ( byte buffer, int sourceStride, int x, int y, int dstX, int dstY, int width, int height ) : void
buffer byte
sourceStride int
x int
y int
dstX int
dstY int
width int
height int
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DrawCursor() 공개 메소드

public DrawCursor ( SpriteBatch spriteBatch, Vector2 cursorPos ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
cursorPos Vector2
리턴 void

DrawScreen() 공개 메소드

public DrawScreen ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

FillScreen() 공개 메소드

public FillScreen ( int color ) : void
color int
리턴 void

GetPalette() 공개 메소드

public GetPalette ( ) : Core.Graphics.Color[]
리턴 Core.Graphics.Color[]

SetCursor() 공개 메소드

public SetCursor ( byte pixels, int width, int height, NScumm.Core.Graphics.Point hotspot ) : void
pixels byte
width int
height int
hotspot NScumm.Core.Graphics.Point
리턴 void

SetCursor() 공개 메소드

public SetCursor ( byte pixels, int offset, int width, int height, NScumm.Core.Graphics.Point hotspot, int keyColor ) : void
pixels byte
offset int
width int
height int
hotspot NScumm.Core.Graphics.Point
keyColor int
리턴 void

SetPalette() 공개 메소드

public SetPalette ( Core colors ) : void
colors Core
리턴 void

SetPalette() 공개 메소드

public SetPalette ( Core colors, int first, int num ) : void
colors Core
first int
num int
리턴 void

UpdateScreen() 공개 메소드

public UpdateScreen ( ) : void
리턴 void

XnaGraphicsManager() 공개 메소드

public XnaGraphicsManager ( int width, int height, Core format, GameWindow window, GraphicsDevice device ) : Microsoft.Xna.Framework
width int
height int
format Core
window Microsoft.Xna.Framework.GameWindow
device GraphicsDevice
리턴 Microsoft.Xna.Framework