Navigation
API > API/Plugins > API/Plugins/Composite
Render-thread proxy for the morphological dilation/erosion pass.
| Name | FCompositePassDilationProxy |
| Type | class |
| Header File | /Engine/Plugins/Compositing/Composite/Source/Composite/Public/Passes/CompositePassDilation.h |
| Include Path | #include "Passes/CompositePassDilation.h" |
Syntax
class FCompositePassDilationProxy : public FCompositeCorePassProxy
Inheritance Hierarchy
- FCompositeCorePassProxy → FCompositePassDilationProxy
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AbsSize | int32 | Total pixel reach of the dilation/erosion (dispatched in greedy 2-pixel steps). | Passes/CompositePassDilation.h | |
| bCarryRGBWithAlpha | bool | When true, copy the alpha-winning neighbor's RGB into RGB channels not in the mask (so mattes grow visibly). | Passes/CompositePassDilation.h | |
| bErode | bool | When true, runs erosion (shrink opaque); when false, runs dilation (expand opaque). | Passes/CompositePassDilation.h | |
| bUseThreshold | bool | When true, gate the operation on Threshold. When false, run true min/max morphology. | Passes/CompositePassDilation.h | |
| ChannelMask | uint32 | Bitmask of channels to operate on: R=0x1, G=0x2, B=0x4, A=0x8. | Passes/CompositePassDilation.h | |
| Threshold | float | Opacity threshold (standard opacity space) used only when bUseThreshold is true. | Passes/CompositePassDilation.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Passes/CompositePassDilation.h | |||
FCompositeCorePassProxy
(
UE::CompositeCore::FPassInputDeclArray InPassDeclaredInputs |
Passes/CompositePassDilation.h |
Public Virtual
Overridden from FCompositeCorePassProxy
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPassTexture Add
(
FRDGBuilder& GraphBuilder, |
Adds ceil(AbsSize/2) RDG compute passes covering AbsSize pixels of dilation or erosion and returns the result. | Passes/CompositePassDilation.h | |
virtual const FName & GetTypeName() |
Passes/CompositePassDilation.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FName & GetTypeNameStatic() |
Passes/CompositePassDilation.h |