Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/HLSLTree > API/Runtime/Engine/HLSLTree/FExpression
- FExpression::EmitCustomHLSLParameter()
- FExpressionParameter::EmitCustomHLSLParameter()
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 |
virtual bool EmitCustomHLSLParameter
(
FEmitContext & Context,
FEmitScope & Scope,
const FName & ObjectTypeName,
const TCHAR * ParameterName,
FEmitCustomHLSLParameterResult & OutResult
) const
Remarks
Allows custom objects to be passed to custom HLSL functions. This needs to initialize some HLSL code that facilitates this interface. If this returns 'true', then EmitValueShader() will be called to generate the actual HLSL code for the FExpression