Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/HLSLTree/HLSLTree.h |
Include |
#include "HLSLTree/HLSLTree.h" |
class FExpression : public UE::HLSLTree::FNode
Represents an HLSL expression. This is a piece of code that evaluates to a value, but has no side effects. Unlike statements, expressions are not expected to execute in any particular order. They may be cached (or not) in generated code, without the underlying implementation needing to care. Expressions track the outer-most scope in which they're accessed. The generated HLSL code will ensure they are defined in that scope. Examples include constant literals, variable accessors, and various types of math operations This is an abstract base class, with derived classes representing various types of expression
Name | Description | ||
---|---|---|---|
|
FScope * |
ParentScope |
Name | Description | ||
---|---|---|---|
|
EmitCode ( |
Emits code for the given expression, either HLSL code or preshader bytecode |
Name | Description | ||
---|---|---|---|
|
ENodeVisitRe... |
Visit ( |