Navigation
API > API/Runtime > API/Runtime/Engine
Inline HLSL instruction.
A value that is the result of an arbitrary snippet of HLSL code.
Note: See BaseMaterialExpressions.ini file.
| Name | FInlineHLSL |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIR.h |
| Include Path | #include "Materials/MaterialIR.h" |
Syntax
struct FInlineHLSL : public MIR::TInstruction< VK_InlineHLSL, 0 >
Inheritance Hierarchy
- FValue → FInstruction → TInstruction → FInlineHLSL
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxNumArguments | int32 | Materials/MaterialIR.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Arguments | FValue * | Array of argument values. | Materials/MaterialIR.h | |
| Code | FSimpleStringView | The arbitrary inlined HLSL code snippet. | Materials/MaterialIR.h | |
| ExternalCodeDeclaration | const FMaterialExternalCodeDeclaration * | The declaration this instruction refers to. | Materials/MaterialIR.h | |
| FInlineHLSL | union MIR::FInlineHLSL | Materials/MaterialIR.h | ||
| NumArguments | int32 | Number of arguments from another expression node. | Materials/MaterialIR.h |