Function 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.
void draw
(
const(RID) canvas_item,
const(Vector2) position,
const(Color) modulate = Color(0.00000F, 0.00000F, 0.00000F, 1.00000F, ).this(1.00000F, 1.00000F, 1.00000F, 1.00000F),
const(bool) transpose = false,
Texture normal_map = Texture(godot_object(null), )
) nothrow @nogc const;