OGRE  13.4
Object-Oriented Graphics Rendering Engine
Ogre::SubmissionType Namespace Reference

Enumerations

enum  SubmissionType { FlushOnly , NewFrameIdx , EndFrameAndSwap }
 

Enumeration Type Documentation

◆ SubmissionType

Enumerator
FlushOnly 

Send the work we have so far to the GPU, but there may be more under way.

        A fence won't be generated automatically to protect this work, but
        there may be one if getCurrentFence or acquireCurrentFence
        was called 
NewFrameIdx 

Same as FlushOnly + fences the data so that VaoManager::mDynamicBufferCurrentFrame can be incremented and waitForTailFrameToFinish works without stalling.

It's like forcing the end of a frame without swapping windows, e.g. when waiting for textures to finish streaming.

EndFrameAndSwap 

Same as NewFrameIdx + swaps windows (presents).

This is the real end of the frame.