C# 클래스 FFXIVAPP.Hooker.Engine.DXSpriteRenderer

상속: IDisposable
파일 보기 프로젝트 열기: Icehunter/ffxivapp-hooker 1 사용 예제들

공개 메소드들

메소드 설명
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