Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/GPUSortManager.h |
Include |
#include "GPUSortManager.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GPUSortManager.cpp |
void SkrinkAndReset
(
const FSettings & InSettings
)
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.
Parameter |
Description |
---|---|
InSettings |
Buffer allocation settings, in particular the number of frames required before actually shrinking. |