Navigation
API > API/Runtime > API/Runtime/Renderer
Description
More advanced variant of screen pass drawing. Supports overriding blend / depth stencil pipeline state, and providing a custom vertex shader. Shader parameters are not bound by this method, instead the user provides a setup function that is called prior to draw, but after setting the PSO. This setup function should assign shader parameters.
| Name | DrawScreenPass |
| Type | function |
| Header File | /Engine/Source/Runtime/Renderer/Public/ScreenPass.h |
| Include Path | #include "ScreenPass.h" |
template<typename TSetupFunction>
void DrawScreenPass
(
FRHICommandList & RHICmdList,
FScreenPassViewInfo ViewInfo,
const FScreenPassTextureViewport & OutputViewport,
const FScreenPassTextureViewport & InputViewport,
const FScreenPassPipelineState & PipelineState,
EScreenPassDrawFlags Flags,
TSetupFunction SetupFunction
)