Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialIRModule
An entry point is a sequence of instructions that evaluates a set of "output" instructions. A way to think of an entry point is as the "main scope" or the "body" of a C function. Each shader stage (Vertex, Pixel and Compute) gets its own entry point with one or more outputs. Other entry points are crated by user specified "local functions", such as custom outputs.
| Name | FEntryPoint |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIRModule.h |
| Include Path | #include "Materials/MaterialIRModule.h" |
Syntax
struct FEntryPoint
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Name | FStringView | This entry point's user name. | Materials/MaterialIRModule.h | |
| Outputs | TArrayView< MIR::FValue * > | An array of terminal values this entry point evaluates. | Materials/MaterialIRModule.h | |
| RootBlock | MIR::FBlock | The root block containing this entry point's instructions. | Materials/MaterialIRModule.h | |
| Stage | MIR::EStage | The shader stage this entry point is intended to run in. | Materials/MaterialIRModule.h |