ESortBatchProcessingOrder

Defines the order in which sort batches are processed every frame.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/GPUSortManager.h

Include

#include "GPUSortManager.h"

Syntax

enum ESortBatchProcessingOrder
{
    Undefined                                           = 0,
    KeyGenAndSortAfterPreRender                         = 1,
    KeyGenAfterPreRenderAndSortAfterPostRenderOpaque    = 2,
    KeyGenAndSortAfterPostRenderOpaque                  = 3,
}

Values

Name

Description

Undefined

KeyGenAndSortAfterPreRender

KeyGenAfterPreRenderAndSortAfterPostRenderOpaque

KeyGenAndSortAfterPostRenderOpaque

Remarks

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.

also that KeyGenAfterPreRenderAndSortAfterPostRenderOpaque could include KeyGen after PostRenderOpaque().

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss