Function Polygon2D.setTexture

void setTexture (
  Texture texture
) nothrow @nogc;