FSceneView::SetupCommonViewUniformBufferParameters

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.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneView.h

Include

#include "SceneView.h"

Source

/Engine/Source/Runtime/Engine/Private/SceneView.cpp

Syntax

void SetupCommonViewUniformBufferParameters
(
    FViewUniformShaderParameters & ViewUniformShaderParameters,
    const FIntPoint & InBufferSize,
    int32 NumMSAASamples,
    const FIntRect & InEffectiveViewRect,
    const FViewMatrices & InViewMatrices,
    const FViewMatrices & InPrevViewMatrices
) const

Remarks

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)

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