virtual Vector2u getSize() const
Return the size of the rendering region of the texture.
void setSmooth(bool smooth)
Enable or disable texture smoothing.
bool create(unsigned int width, unsigned int height, bool depthBuffer=false)
Create the render-texture.
bool isSmooth() const
Tell whether the smooth filtering is enabled or not.
const Texture & getTexture() const
Get a read-only reference to the target texture.
void display()
Update the contents of the target texture.
bool setActive(bool active=true)
Activate of deactivate the render-texture for rendering.
bool isRepeated() const
Tell whether the texture is repeated or not.
void setRepeated(bool repeated)
Enable or disable texture repeating.
Class holding a valid drawing context.
Target for off-screen 2D rendering into a texture.
some things could easily be broken///////