Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/HLSLTree
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/HLSLTree/HLSLTreeEmit.h |
| Include | #include "HLSLTree/HLSLTreeEmit.h" |
Syntax
namespace UE
{
namespace HLSLTree
{
enum EEmitScopeState
&123;
Uninitialized,
Initializing,
Live,
Dead,
&125;
}
}
Values
| Name | Description |
|---|---|
| Uninitialized | |
| Initializing | |
| Live | |
| Dead |
Remarks
The HLSLTree module contains classes to build an HLSL AST (abstract syntax tree) This allows C++ to procedurally define an HLSL program. The structure of the tree is designed to be flexible, to facilitate incremental generation from a material node graph Once the tree is complete, HLSL source code may be generated