C# Класс NScumm.MonoGame.XnaGraphicsManager

Наследование: Core.Graphics.IGraphicsManager, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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