Liste des Groupes | Revenir à c arch |
On 8/2/2024 8:35 PM, Lawrence D'Oliveiro wrote:
>On Fri, 2 Aug 2024 17:18:17 -0700, Chris M. Thomasson wrote:
Taking a screen shot? glReadPixels is okay, right?
That means grabbing the whole screen, regardless of what else it might
be showing, assuming your window it not occluded, and it further
assumes you have a screen to grab from. This kind of precludes running
the renderer as a batch, background process.
The glReadPixels call doesn't grab an image from the OS desktop, but
rather from one of the internal framebuffers associated with the OpenGL
context.
Les messages affichés proviennent d'usenet.