Target for off-screen 2D rendering into a texture.
Definition: RenderTexture.h:98
Base class for all render targets (window, texture, ...)
Definition: RenderTarget.h:102
bool isRepeated() const
Check if the texture is repeated or not.
Definition: RenderTexture.h:153
void setSmooth(bool smooth=true)
Enable or disable texture smoothing.
Definition: RenderTexture.h:117
void setRepeated(bool repeated=true)
Enable or disable texture repeating.
Definition: RenderTexture.h:142
A texture for colored images.
Definition: Texture.h:313
bool isSmooth() const
Check if the smooth filtering is enabled or not.
Definition: RenderTexture.h:128
const Texture & getTexture() const
Get a read-only reference to the target texture.
Definition: RenderTexture.h:207