FGPUSortManager::FDynamicValueBuffer::SkrinkAndReset

Shrinks the buffer after it has been used this frame if applicable.

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 SkrinkAndReset
(
    const FSettings & InSettings
)

Remarks

Shrinks the buffer after it has been used this frame if applicable. Resets other data so that it can be reused on the next frame. This includes releasing the smaller buffers that where allocated this frame if the buffer needed to be grown.

Parameters

Parameter

Description

InSettings

Buffer allocation settings, in particular the number of frames required before actually shrinking.

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