void setSmooth(bool smooth)
Enable or disable texture smoothing.
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.
bool generateMipmap()
Generate a mipmap using the current texture data.
bool setActive(bool active=true)
Activate or deactivate the render-texture for rendering.
Image living on the graphics card that can be used for drawing.
bool create(unsigned int width, unsigned int height, const ContextSettings &settings=ContextSettings())
Create the render-texture.
bool create(unsigned int width, unsigned int height, bool depthBuffer)
Create the render-texture.
Structure defining the settings of the OpenGL context attached to a window.
bool isRepeated() const
Tell whether the texture is repeated or not.
void display()
Update the contents of the target texture.
Target for off-screen 2D rendering into a texture.
static unsigned int getMaximumAntialiasingLevel()
Get the maximum anti-aliasing level supported by the system.
virtual Vector2u getSize() const
Return the size of the rendering region of the texture.
void setRepeated(bool repeated)
Enable or disable texture repeating.