API reference
Preparing search index…

RenderTexture

sf::RenderTexture: record clear/draw, submit when display is called.

Type hierarchy

Hierarchy (View Summary)

Source & inheritance
Member directory38

Constructors

Methods

Constructors

Methods

  • Synchronously submits recorded draws and updates the result texture; only then can these draw results be sampled.

    Returns

    void
    Source & inheritance
  • Call display() after drawing, then generate mipmaps for that image.

    Returns

    boolean
    Source & inheritance
  • Submits queued draws and activates or deactivates the OpenGL context; returns whether it succeeded.

    Parameters

    active
    boolean = true

    Returns

    boolean
    Source & inheritance
  • Sets whether the result texture repeats.

    Parameters

    repeated
    boolean

    Returns

    void
    Source & inheritance
  • Sets whether the result texture uses smooth filtering.

    Parameters

    smooth
    boolean

    Returns

    void
    Source & inheritance
  • Returns the maximum antialiasing level supported by the current environment.

    Returns

    number
    Source & inheritance

Symbol members

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0