Shape.setTexture

Set (or reset) a Texture and set the corresponding Rect

  1. void setTexture(Texture* texture)
  2. void setTexture(Texture* texture, Rect rect)
    class Shape
    final @nogc pure nothrow
    void
    setTexture

Meta