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
class FEmitScope
Remarks
FEmitScopes mostly track FScopes, except they hold transient state used while emitting HLSL The exception is FFunction, which allows FScopes to be dynamically injected into the hierarchy, which will result in FEmitScopes matching this dynamic hierarchy
Variables
| Type | Name | Description | |
|---|---|---|---|
| FStatement * | ContainedStatement | ||
| EExpressionEvaluation | Evaluation | ||
| FEmitShaderNode * | FirstNode | ||
| int32 | NestedLevel | ||
| FStatement * | OwnerStatement | ||
| FEmitScope * | ParentScope | ||
| EEmitScopeState | State |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | EmitShaderCode
(
FEmitShaderScopeStack& Stack |
||
| FEmitScope * | FindLoop () |
||
| FEmitScope * | FindSharedParent
(
FEmitScope* Lhs, |
||
| bool | HasParent
(
const FEmitScope* InParent |
||
| bool | IsLoop () |