Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/HLSLTree
Inheritance Hierarchy
- FNode
- FOwnedNode
- FExpression
- FExpressionInlineCustomHLSL
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/HLSLTree/HLSLTreeCommon.h |
| Include | #include "HLSLTree/HLSLTreeCommon.h" |
Syntax
class FExpressionInlineCustomHLSL : public UE::HLSLTree::FExpression
Remarks
Can be used to emit HLSL chunks with no inputs, where it's not worth the trouble of defining a new expression type
Variables
| Type | Name | Description | |
|---|---|---|---|
| FStringView | Code | ||
| Shader::EValueType | ResultType |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FExpressionInlineCustomHLSL
(
Shader::EValueType InType, |
Overridden from FExpression
| Type | Name | Description | |
|---|---|---|---|
| void | EmitValueShader
(
FEmitContext& Context, |
Emit HLSL shader code representing this expression | |
| bool | PrepareValue
(
FEmitContext& Context, |
Computes a FPreparedType for this expression, given a FRequestedType. |