Shape.setTexture

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

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

Meta