OGRE-Next: Ogre::SubmissionType Namespace Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Enumerations
Ogre::SubmissionType Namespace Reference

## Enumerations
enum | SubmissionType { FlushOnly , NewFrameIdx , EndFrameAndSwap }

## Enumeration Type Documentation

## ◆ SubmissionType

enum Ogre::SubmissionType::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.