QuantizeSceneBufferSize

Takes the requested buffer size and quantizes it to an appropriate size for the rest of the rendering pipeline.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderUtils.h

Include

#include "RenderUtils.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderUtils.cpp

Syntax

void QuantizeSceneBufferSize
(
    const FIntPoint & InBufferSize,
    FIntPoint & OutBufferSize
)

Remarks

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.

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