FMaterialShader::SetParameters

Like SetParameters above, but takes a FViewInfo rather than [FSceneView](API\Runtime\Engine\FSceneView), which allows additional per-view parameters to be set

Windows
MacOS
Linux

References

Module

Renderer

Header

/Engine/Source/Runtime/Renderer/Public/MaterialShader.h

Include

#include "MaterialShader.h"

Source

/Engine/Source/Runtime/Renderer/Private/ShaderBaseClasses.cpp

Syntax

template<typename TRHIShader>
void SetParameters
(
    FRHICommandList & RHICmdList,
    TRHIShader * ShaderRHI,
    const FMaterialRenderProxy * MaterialRenderProxy,
    const FMaterial & Material,
    const FViewInfo & View,
    const TUniformBufferRef< FViewUniformShaderParameters > & ViewUniformBuffer,
    ESceneTextureSetupMode SceneTextureSetupMode
)

Remarks

Like SetParameters above, but takes a FViewInfo rather than FSceneView, which allows additional per-view parameters to be set

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