C# Class FFXIVAPP.Hooker.Engine.DXSpriteRenderer

Inheritance: IDisposable
Afficher le fichier Open project: Icehunter/ffxivapp-hooker Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

BeginBatch() public méthode

public BeginBatch ( SharpDX.Direct3D11.ShaderResourceView texSRV ) : void
texSRV SharpDX.Direct3D11.ShaderResourceView
Résultat void

DXSpriteRenderer() public méthode

public DXSpriteRenderer ( SharpDX.Direct3D11.Device device, DeviceContext deviceContext ) : System
device SharpDX.Direct3D11.Device
deviceContext DeviceContext
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Draw() public méthode

public Draw ( Rectangle destinationRect, Rectangle sourceRect, Color4 color ) : void
destinationRect Rectangle
sourceRect Rectangle
color Color4
Résultat void

DrawString() public méthode

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
Résultat void

EndBatch() public méthode

public EndBatch ( ) : void
Résultat void

Initialize() public méthode

public Initialize ( ) : bool
Résultat bool