FMaterialShader::SetParameters

Sets pixel parameters that are material specific but not [FMeshBatch](API\Runtime\Engine\FMeshBatch) specific.

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 FSceneView & View,
    const TUniformBufferRef< FViewUniformShaderParameters > & ViewUniformBuffer,
    ESceneTextureSetupMode SceneTextureSetupMode
)

Remarks

Sets pixel parameters that are material specific but not FMeshBatch specific.

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