Skip to content

Rendering to frame buffer #2386

Answered by hermet
SasLuca asked this question in Q&A
Jun 11, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hello, please have a look at this api: you can pass your framebuffer id to the id parameter.

    /**
     * @brief Sets the drawing target for rasterization.
     *
     * This function specifies the drawing target where the rasterization will occur. It can target
     * a specific framebuffer object (FBO) or the main surface.
     *
     * @param[in] id The GL target ID, usually indicating the FBO ID. A value of @c 0 specifies the main surface.
     * @param[in] w The width (in pixels) of the raster image.
     * @param[in] h The height (in pixels) of the raster image.
     *
     * @warning This API is experimental and not officially supported. It may be modified or removed in future ve…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SasLuca
Comment options

Answer selected by SasLuca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
example Sample Code
2 participants