You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current names suggest that drawInternal is a more low-level method used within draw, however this isn't the case, and in fact, draw doesn't even call drawInternal. What they actually do is as follows:
draw blits the color information of the Framebuffer to the framebuffer currently bound to GL.
drawInternal blits the Framebuffer to the viewport, by creating a single screen-sized quad and applying the "blit" shader
I'm not sure what would be best to rename them, perhaps draw/drawToViewport or, in keeping with GL names, blit/blitToViewport? The latter even uses the "blit" shader
The text was updated successfully, but these errors were encountered:
The current names suggest that
drawInternal
is a more low-level method used withindraw
, however this isn't the case, and in fact,draw
doesn't even calldrawInternal
. What they actually do is as follows:draw
blits the color information of theFramebuffer
to the framebuffer currently bound to GL.drawInternal
blits theFramebuffer
to the viewport, by creating a single screen-sized quad and applying the "blit" shaderI'm not sure what would be best to rename them, perhaps
draw
/drawToViewport
or, in keeping with GL names,blit
/blitToViewport
? The latter even uses the"blit"
shaderThe text was updated successfully, but these errors were encountered: