Method | 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, |
||
EndBatch ( ) : void | ||
Initialize ( ) : bool |
Method | 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 |
public BeginBatch ( SharpDX.Direct3D11.ShaderResourceView texSRV ) : void | ||
texSRV | SharpDX.Direct3D11.ShaderResourceView | |
return | void |
public DXSpriteRenderer ( SharpDX.Direct3D11.Device device, DeviceContext deviceContext ) : System | ||
device | SharpDX.Direct3D11.Device | |
deviceContext | DeviceContext | |
return | System |
public Draw ( Rectangle destinationRect, Rectangle sourceRect, Color4 color ) : void | ||
destinationRect | Rectangle | |
sourceRect | Rectangle | |
color | Color4 | |
return | void |
public DrawString ( int X, int Y, string text, int R, int G, int B, int A, |
||
X | int | |
Y | int | |
text | string | |
R | int | |
G | int | |
B | int | |
A | int | |
F | ||
return | void |