Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FGPUSortManager > API/Runtime/Engine/FGPUSortManager/FDynamicValueBuffer
Description
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.
| Name | SkrinkAndReset |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/GPUSortManager.h |
| Include Path | #include "GPUSortManager.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GPUSortManager.cpp |
void SkrinkAndReset
(
FRHICommandListBase & RHICmdList,
const FSettings & InSettings
)
Parameters
| Name | Remarks |
|---|---|
| InSettings | Buffer allocation settings, in particular the number of frames required before actually shrinking. |