enum QueueMode { QM_WaitForFences, QM_ExtendLocks };
Reports the type of queue handling expected by MeshCache from the RenderQueueProcessor.
Members |
Description |
QM_WaitForFences |
This mode, applicable on consoles, does not perform LockBuffers/UnlockBuffers operations on the MeshCache and instead relies on hardware fences to know when old meshes can be swapped out. If swapping candidate's fences are not passed, commands should be queued up instead. |
QM_ExtendLocks |
Doesn't use fences and instead requires LockBuffers calls to upload data. For optimization, this mode tries to minimize locks by extending each one for as long as possible and queuing up data for as long as the lock is held. This is used with D3D9. |
Render_MeshCache.h