/Engine/Source/Runtime/Engine/Public/SceneView.h
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)
void SetupCommonViewUniformBufferParameters ( [FViewUniformShaderParameters](API\Runtime\Engine\FViewUniformShaderParameters) & ViewUniformShaderParameters, const FIntPoint & InBufferSize, int32 NumMSAASamples, const FIntRect & InEffectiveViewRect, const [FViewMatrices](API\Runtime\Engine\FViewMatrices) & InViewMatrices, const [FViewMatrices](API\Runtime\Engine\FViewMatrices) & InPrevViewMatrices ) const