Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/Shader.h |
Include |
#include "Shader.h" |
Source |
/Engine/Source/Runtime/RenderCore/Private/Shader.cpp |
FShaderPipelineType
(
const TCHAR * InName,
const FShaderType * InVertexShader,
const FShaderType * InHullShader,
const FShaderType * InDomainShader,
const FShaderType * InGeometryShader,
const FShaderType * InPixelShader,
bool bInShouldOptimizeUnusedOutputs
)
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