Navigation
API > API/Runtime > API/Runtime/RenderCore
Description
Takes the requested buffer size and quantizes it to an appropriate size for the rest of the rendering pipeline. Currently ensures that sizes are multiples of 4 so that they can safely be halved in size several times.
| Name | QuantizeSceneBufferSize |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderUtils.h |
| Include Path | #include "RenderUtils.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/RenderUtils.cpp |
void QuantizeSceneBufferSize
(
const FIntPoint & InBufferSize,
FIntPoint & OutBufferSize,
const uint32 SuggestedDivisor
)