| DebugRendererDrawTexture Method |
Draws a texture.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void DrawTexture(
Texture2D texture,
Rectangle rectangle
)
Public Sub DrawTexture (
texture As Texture2D,
rectangle As Rectangle
)
public:
void DrawTexture(
Texture2D^ texture,
Rectangle rectangle
)
member DrawTexture :
texture : Texture2D *
rectangle : Rectangle -> unit
Parameters
- texture
- Type: Texture2D
The texture. - rectangle
- Type: Rectangle
The destination rectangle in screen space.
See Also