Navigation
API > API/Runtime > API/Runtime/Renderer
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/ScreenPass.inl |
| Include | #include "ScreenPass.inl" |
FIntRect GetDownscaledViewRect
(
FIntRect Rect,
FIntPoint ViewExtent,
FIntPoint Divisor
)
Remarks
The normal GetDownscaledRect can produce overlapping rects where multiple viewports are present, because the Min rounds down, while the Max rounds up. This variation rounds up for the far edges of the viewport, but rounds down for everything else, avoiding this issue.