最小模块: 加一个空pass
GraphBuilder.AddPass(
RDG_EVENT_NAME("TEST"),
PassParameters,
ERDGPassFlags::Raster,
[](FRHICommandList& RHICmdList)
{
});
注意:
PassParameters如果定义错误,不会报错,当时增加pass会失败。
官方文档:https://docs.unrealengine.com/5.1/en-US/render-dependency-graph-in-unreal-engine/