FScope

Represents an HLSL scope.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FNode

FScope

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/HLSLTree/HLSLTree.h

Include

#include "HLSLTree/HLSLTree.h"

Syntax

class FScope : public UE::HLSLTree::FNode

Remarks

Represents an HLSL scope. A scope contains a single statement, along with any expressions required by that statement

Functions

Name Description

Public function

void

 

AddPreviousScope

(
    FScope& Scope
)

Public function Const

bool

 

EmitHLSL

(
    FEmitContext& Context,
    FEmitScope& Scope
)

Public function Static

FScope *

 

FindSharedParent

(
    FScope* Lhs,
    FScope* Rhs
)

Public function Const

FScope *

 

GetParentScope()

Public function Const

TArrayView< ...

 

GetPreviousScopes()

Public function Const

bool

 

HasParentScope

(
    const FScope& ParentScope
)

Public function

void

 

UseExpression

(
    FExpression* Expression
)

Public function

void

 

UseFunctionCall

(
    FFunctionCall* FunctionCall
)

Overridden from FNode

Name Description

Public function Virtual

ENodeVisitRe...

 

Visit

(
    FNodeVisitor& Visitor
)