Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/PostProcess
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/PostProcess/PostProcessMaterialInputs.h |
| Include | #include "PostProcess/PostProcessMaterialInputs.h" |
Syntax
struct FPostProcessMaterialInputs
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAllowSceneColorInputAsOutput | Allows (but doesn't guarantee) an optimization where, if possible, the scene color input is reused as the output. | |
| bool | bManualStencilTest | Whether or not the stencil test must be done in the pixel shader rather than rasterizer state. | |
| bool | bMetalMSAAHDRDecode | ||
| bool | bUserSceneTextureFirstRender | ||
| bool | bUserSceneTextureOutput | ||
| TStaticArray< bool, kPostProcessMaterialInputCountMax > | bUserSceneTexturesSet | ||
| FRDGTextureRef | CustomDepthTexture | Custom depth/stencil used for stencil operations. | |
| EPixelFormat | OutputFormat | The output texture format to use if a new texture is created. | |
| FScreenPassRenderTarget | OverrideOutput | [Optional] Render to the specified output. If invalid, a new texture is created and returned. | |
| TStaticArray< FScreenPassTexture, kPathTracingPostProcessMaterialInputCountMax > | PathTracingTextures | Array of input textures bound to the material from path tracing. All inputs are optional | |
| FSceneTextureShaderParameters | SceneTextures | The uniform buffer containing all scene textures. | |
| const FSceneWithoutWaterTextures * | SceneWithoutWaterTextures | Depth and color textures of the scene without single layer water. May be nullptr if not available. | |
| TStaticArray< FScreenPassTextureSlice, kPostProcessMaterialInputCountMax > | Textures | Array of input textures bound to the material. | |
| TStaticArray< FScreenPassTextureSlice, kPostProcessMaterialInputCountMax > | UserSceneTextures | UserSceneTexture inputs, which take precedence over Textures above if set. | |
| uint32 | UserSceneTextureSceneColorInput |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FScreenPassTextureSlice | GetInput
(
EPostProcessMaterialInput Input |
||
| FScreenPassTexture | |||
| FScreenPassTextureSlice | GetSceneColorOutput
(
EBlendableLocation BlendableLocation |
||
| FScreenPassTexture | ReturnUntouchedSceneColorForPostProcessing
(
FRDGBuilder& GraphBuilder |
Returns the input scene color as a 2D texture output. | |
| void | SetInput
(
EPostProcessMaterialInput Input, |
||
| void | SetInput
(
FRDGBuilder& GraphBuilder, |
||
| void | SetPathTracingInput
(
EPathTracingPostProcessMaterialInput Input, |
||
| void | SetUserSceneTextureInput
(
EPostProcessMaterialInput Input, |
||
| void | Validate () |
||
| void | ValidateInputExists
(
EPostProcessMaterialInput Input |