Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/HLSLTree > API/Runtime/Engine/HLSLTree/FExpression
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/HLSLTree/HLSLTree.h |
| Include | #include "HLSLTree/HLSLTree.h" |
| Source | /Engine/Source/Runtime/Engine/Private/HLSLTree/HLSLTree.cpp |
bool CheckObjectSupportsCustomHLSL
(
FEmitContext & Context,
FEmitScope & Scope,
const FName & ObjectTypeName
) const
Remarks
Some expressions may support passing object types to custom HLSL expressions CheckObjectSupportsCustomHLSL() will return true if this is supported If supported, GetObjectCustomHLSLParameter() will generate code to declare the parameters in the custom HLSL function, and forward the parameters EmitValueShader() will be called to generate the actual HLSL code for the expression