Navigation
API > API/Runtime > API/Runtime/Engine
A user-function defined with user-provided HLSL code.
| Name | FFunctionHLSL |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIR.h |
| Include Path | #include "Materials/MaterialIR.h" |
Syntax
struct FFunctionHLSL : public MIR::FFunction
Inheritance Hierarchy
- FFunction → FFunctionHLSL
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Code | FStringView | The HLSL code of the body of this function. | Materials/MaterialIR.h | |
| Defines | TConstArrayView< FFunctionHLSLDefine > | Array of #defines to declare in the material shader. | Materials/MaterialIR.h | |
| Includes | TConstArrayView< FStringView > | Array of include directives to declare in the material shader. | Materials/MaterialIR.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Equals
(
const FFunctionHLSL* Other |
Whether this function equals specified (they have the same data). | Materials/MaterialIR.h |