FGPUSortManager::FValueBuffer::Allocate

Allocate some space into the buffer. The buffer needs to be big enough to hold the allocation.

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

void Allocate
(
    FAllocationInfo & OutInfo,
    int32 ValueCount,
    EGPUSortFlags Flags
)

Remarks

Allocate some space into the buffer. The buffer needs to be big enough to hold the allocation.

Parameters

Parameter

Description

OutInfo

The details about the allocation bindings.

ValueCount

The number of elements to add to the buffer.

Flags

Flag about what data format needs to be bound, see EGPUSortFlags::AnyValueFormat.

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