Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/SceneView.h |
Include |
#include "SceneView.h" |
Source |
/Engine/Source/Runtime/Engine/Private/SceneView.cpp |
void SetupCommonViewUniformBufferParameters
(
FViewUniformShaderParameters & ViewUniformShaderParameters,
const FIntPoint & InBufferSize,
int32 NumMSAASamples,
const FIntRect & InEffectiveViewRect,
const FViewMatrices & InViewMatrices,
const FViewMatrices & InPrevViewMatrices
) const
Populates the uniform buffer prameters common to all scene view use cases View parameters should be set up in this method if they are required for the view to render properly. This is to avoid code duplication and uninitialized parameters in other places that create view uniform parameters (e.g Slate)