Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialHLSLGenerator
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MaterialHLSLGenerator.h |
| Include | #include "MaterialHLSLGenerator.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialHLSLGenerator.cpp |
const UE::HLSLTree::FExpression &42; AcquireExpression
&40;
UE::HLSLTree::FScope & Scope,
int32 InputIndex,
UMaterialExpression &42; MaterialExpression,
int32 OutputIndex,
const UE::HLSLTree::FSwizzleParameters & Swizzle
&41;
Remarks
Returns the appropriate HLSLNode representing the given UMaterialExpression. The node will be created if it doesn't exist. Otherwise, the tree will be updated to ensure the node is visible in the given scope Note that a given UMaterialExpression may only support 1 of these node types, attempting to access an invalid node type will generate an error