FGPUSortManager::AddTask

Add a GPU sort task to process this frame.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GPUSortManager.h"

Source

/Engine/Source/Runtime/Engine/Private/GPUSortManager.cpp

Syntax

bool AddTask
(
    FAllocationInfo & OutInfo,
    int32 ValueCount,
    EGPUSortFlags TaskFlags
)

Remarks

Add a GPU sort task to process this frame. Tasks are expected to be created before OnPreRender() gets called.

Return true if the task was added to a batch, false otherwise, could be because GPU sorting is disabled.

Parameters

Parameter

Description

OutInfo

The details about the allocation bindings, if success.

IndexCount

The number of values that need to be sorted by this task.

SortFlags

The sort task requirements.

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