Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionNeuralNetworkOutput
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionNeuralPostProcessNode.h |
| Include | #include "Materials/MaterialExpressionNeuralPostProcessNode.h" |
Syntax
UCLASS (MinimalAPI, CollapseCategories, HideCategories=Object)
class UMaterialExpressionNeuralNetworkOutput : public UMaterialExpression
Remarks
The input node that holds the output from the neural network to the post process material.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | Coordinates | Coordinate to store the values: Texture index (float4): Batch[ignored], StartChannel[int,0], ViewportUV in 0..1 range Buffer index (float4): Batch[int,0], StartChannel[int,0], WidthHeight[ViewportUV] in 0..1 range | |
| TEnumAsByte< ENeuralIndexType > | NeuralIndexType | Indexing type: read from the texture or buffer. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionNeuralNetworkOutput
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| uint32 | GetInputType
(
int32 InputIndex |