Function MeshInstance2D.texture

The Texture that will be used if using the default CanvasItemMaterial. Can be accessed as TEXTURE in CanvasItem shader.

Texture texture() nothrow @property @nogc;

void texture (
  Texture v
) nothrow @property @nogc;