-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to know when rendering to texture is done #412
Comments
Hi! Depending on what you want do: To answer your question specifically: See What I suspect you probably want: If you want to download the data back for processing, you can use an AsyncTextureTicket. See the manual. The code in When you call The most efficient way to do it (e.g. video streaming) is to wait vaoManager->getDynamicBufferMultiplier() frames (e.g. if it returns 2, download() the data immediately but call map/queryIsTransferDone after the next time frameRenderingQueued gets called, if it returns 3, wait another |
Hi! |
Hello. I would like to ask, in ogre, how do I know that the current frame has been rendered by the gpu? For example, when I render to the texture, how do I know that the GPU has finished rendering, and I need to sample it back to do other processing at this time. I tried Ogre::FrameListener, but frameRenderingQueued doesn't sync gpu rendering complete event
The text was updated successfully, but these errors were encountered: