FShaderPipelineType::FShaderPipelineType

Set bShouldOptimizeUnusedOutputs to true if we want unique FShaders for each shader pipeline Set bShouldOptimizeUnusedOutputs to false if the FShaders will point to the individual shaders in the map

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/Shader.h

Include

#include "Shader.h"

Source

/Engine/Source/Runtime/RenderCore/Private/Shader.cpp

Syntax

FShaderPipelineType
(
    const TCHAR * InName,
    const FShaderType * InVertexShader,
    const FShaderType * InHullShader,
    const FShaderType * InDomainShader,
    const FShaderType * InGeometryShader,
    const FShaderType * InPixelShader,
    bool bInShouldOptimizeUnusedOutputs
)

Remarks

Set bShouldOptimizeUnusedOutputs to true if we want unique FShaders for each shader pipeline Set bShouldOptimizeUnusedOutputs to false if the FShaders will point to the individual shaders in the map

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