Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/GPUSortManager.h |
Include |
#include "GPUSortManager.h" |
enum ESortBatchProcessingOrder
{
Undefined = 0,
KeyGenAndSortAfterPreRender = 1,
KeyGenAfterPreRenderAndSortAfterPostRenderOpaque = 2,
KeyGenAndSortAfterPostRenderOpaque = 3,
}
Name |
Description |
---|---|
Undefined |
|
KeyGenAndSortAfterPreRender |
|
KeyGenAfterPreRenderAndSortAfterPostRenderOpaque |
|
KeyGenAndSortAfterPostRenderOpaque |
Defines the order in which sort batches are processed every frame. KeyGenAfterPreRenderAndSortAfterPostRenderOpaque is the most complex case since the KeyGen is called after PreRendeR() while the sort only happens after PostRenderOpaque(). This creates a situation where the FParticleSortBuffers need to be keep bound to the batch and can not be reused by other batches with this processing order. Note also that KeyGenAfterPreRenderAndSortAfterPostRenderOpaque could include KeyGen after PostRenderOpaque().