Texture.draw

Draws the texture using a CanvasItem with the VisualServer API at the specified position. Equivalent to VisualServer.canvasItemAddTextureRect with a rect at position and the size of this Texture.

struct Texture
@nogc nothrow const
void
draw
(,
in Vector2 position
,
in Color modulate = Color(1, 1, 1, 1)
,
in bool transpose = false
,)

Meta