API reference
Preparing search index…

RenderTarget

Abstract

Shared draw dispatch and command recording for render targets.

Type hierarchy

Hierarchy (View Summary)

Source & inheritance
Member directory31

Constructors

Methods

Constructors

Methods

  • Submits queued draws and restores OpenGL states saved by pushGLStates.

    Returns

    void
    Source & inheritance
  • Submits queued draws and saves current OpenGL states for mixing with native OpenGL.

    Returns

    void
    Source & inheritance
  • Submits queued draws and restores OpenGL states required for SFML drawing.

    Returns

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

    Parameters

    active
    boolean = true

    Returns

    boolean
    Source & inheritance

Symbol members

  • Returns

    ReadonlySet<
        Readonly<
            Pick<
                Texture,
                | "getSize"
                | typeof graphicsNative
                | typeof textureId
                | typeof textureOwner
                | "copyToImage"
                | "isSmooth"
                | "isRepeated"
                | "isSrgb"
                | "getNativeHandle",
            >,
        >,
    >
    Source & inheritance

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