/Engine/Source/Runtime/Engine/Public/HLSLTree/HLSLTree.h
Some expressions may support passing object types to custom HLSL expressionsCheckObjectSupportsCustomHLSL()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 parametersEmitValueShader()will be called to generate the actual HLSL code for the expression
bool CheckObjectSupportsCustomHLSL ( [FEmitContext](API\Runtime\Engine\HLSLTree\FEmitContext) & Context, [FEmitScope](API\Runtime\Engine\HLSLTree\FEmitScope) & Scope, const [FName](API\Runtime\Core\UObject\FName) & ObjectTypeName ) const