C# Класс FFXIVAPP.Hooker.Engine.DXSpriteRenderer

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

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

Метод Описание
BeginBatch ( SharpDX.Direct3D11.ShaderResourceView texSRV ) : void
DXSpriteRenderer ( SharpDX.Direct3D11.Device device, DeviceContext deviceContext ) : System
Dispose ( ) : void
Draw ( Rectangle destinationRect, Rectangle sourceRect, Color4 color ) : void
DrawString ( int X, int Y, string text, int R, int G, int B, int A, DXFont F ) : void
EndBatch ( ) : void
Initialize ( ) : bool

Приватные методы

Метод Описание
BuildSpriteQuad ( Sprite sprite, SpriteVertex &v ) : void
DrawBatch ( int startSpriteIndex, int spriteCount ) : void
PointToNdc ( int x, int y, float z ) : System.Vector3
SafeDispose ( IDisposable obj ) : void

Описание методов

BeginBatch() публичный Метод

public BeginBatch ( SharpDX.Direct3D11.ShaderResourceView texSRV ) : void
texSRV SharpDX.Direct3D11.ShaderResourceView
Результат void

DXSpriteRenderer() публичный Метод

public DXSpriteRenderer ( SharpDX.Direct3D11.Device device, DeviceContext deviceContext ) : System
device SharpDX.Direct3D11.Device
deviceContext DeviceContext
Результат System

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Draw() публичный Метод

public Draw ( Rectangle destinationRect, Rectangle sourceRect, Color4 color ) : void
destinationRect Rectangle
sourceRect Rectangle
color Color4
Результат void

DrawString() публичный Метод

public DrawString ( int X, int Y, string text, int R, int G, int B, int A, DXFont F ) : void
X int
Y int
text string
R int
G int
B int
A int
F DXFont
Результат void

EndBatch() публичный Метод

public EndBatch ( ) : void
Результат void

Initialize() публичный Метод

public Initialize ( ) : bool
Результат bool