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 EEmitCastFlags
&123;
None = 0u,
ZeroExtendScalar = (1u << 0),
&125;
}
}
Values
| Name | Description |
|---|---|
| None | |
| ZeroExtendScalar | Scalars are replicated by default, this will zero-extend them instead. |
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