Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FEmitter
Description
Emits a branch instruction. When the result of the Condition argument is true, the instruction will evaluate the True argument, otherwise the False argument. This instruction will place the as much of the other instructions whose results serve the computation of True or False within separate inner scopes, in order to avoid unnecessarily computing the inactive argument.
| Name | Branch |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIREmitter.h |
| Include Path | #include "Materials/MaterialIREmitter.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialIREmitter.cpp |
FValueRef Branch
(
FValueRef Condition,
FValueRef True,
FValueRef False
)