Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIREmitter.h |
| Include | #include "Materials/MaterialIREmitter.h" |
Syntax
class FEmitter
Variables
| Type | Name | Description | |
|---|---|---|---|
| friend | FMaterialIRModuleBuilderImpl |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FEmitter
(
FMaterialIRModuleBuilderImpl* InBuilder, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CheckInputIsScalar
(
const FExpressionInput* Input, |
||
| void | CheckInputIsScalar
(
const FExpressionInput* Input, |
||
| void | CheckInputTypeIs
(
const FExpressionInput* Input, |
Checks that the type of the value InputValue_ flowing into Input_ is of specified type `Kind. |
|
| bool | CheckValueValid
(
const FValue* Value |
||
| FEmitter & | DefaultTo
(
const FExpressionInput* Input, |
||
| FEmitter & | DefaultToFloatZero
(
const FExpressionInput* Input |
||
| FValue * | EmitBinaryOperator
(
EBinaryOperator Operator, |
||
| FValue * | EmitBranch
(
FValue* Condition, |
||
| FValue * | EmitConstantBool1
(
bool InX |
||
| FValue * | |||
| FValue * | EmitConstantFloat1
(
TFloat InX |
||
| FValue * | EmitConstantFloat2
(
const FVector2f& InValue |
||
| FValue * | EmitConstantFloat3
(
const FVector3f& InValue |
||
| FValue * | EmitConstantFloat4
(
const FVector4f& InValue |
||
| FValue * | EmitConstantFromShaderValue
(
const UE::Shader::FValue& InValue |
||
| FValue * | EmitConstantInt1
(
TInteger InX |
||
| FValue * | EmitConstantInt2
(
const FIntVector2& InValue |
||
| FValue * | EmitConstantInt3
(
const FIntVector3& InValue |
||
| FValue * | EmitConstantInt4
(
const FIntVector4& InValue |
||
| FValue * | EmitConstantScalarZero
(
EScalarKind Kind |
||
| FValue * | |||
| FValue * | EmitConstruct
(
FTypePtr Type, |
||
| FSetMaterialOutput * | EmitSetMaterialOutput
(
EMaterialProperty InProperty, |
||
| FValue * | EmitSubscript
(
FValue* Value, |
||
| FValue * | EmitSwizzle
(
FValue* Value, |
||
| FValue * | EmitTextureSample
(
UTexture* Texture, |
||
| FValue * | EmitVector2
(
FValue* InX, |
||
| FValue * | EmitVector3
(
FValue* InX, |
||
| FValue * | EmitVector4
(
FValue* InX, |
||
| void | |||
| void | |||
| FValue * | Get
(
const FExpressionInput* Input |
Gets and returns the value flowing into input with specified `InputIndex_. | |
| FPrimitiveTypePtr | |||
| FValue * | GetExternalInput
(
EExternalInput Id |
||
| FValue * | GetFloat
(
const FExpressionInput* Input |
It gets the value flowing into it and checks that its type is float scalar. | |
| FValue * | GetOfType
(
const FExpressionInput* Input, |
Gets the value flowing into Input_ and returns it after checking that its type matches Kind_. |
|
| FValue * | GetParameter
(
FName Name, |
||
| FValue * | GetPrimitive
(
const FExpressionInput* Input |
||
| FValue * | GetScalar
(
const FExpressionInput* Input |
||
| bool | IsInvalid () |
||
| FEmitter & | Flows specified Value_ out of output with specified OutputIndex_. |
||
| FEmitter & | Put
(
const FExpressionOutput* Output, |
Flows specified Value_ out of specified expression Output_. |
|
| FValue * | TryGet
(
const FExpressionInput* Input |
Tries to get a value from specified input. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FPrivate |