Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/HLSLTree > API/Runtime/Engine/HLSLTree/FExpression > API/Runtime/Engine/HLSLTree/FExpression/GetValueShader
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 |
FEmitShaderExpression &42; GetValueShader
&40;
FEmitContext & Context,
FEmitScope & Scope,
const Shader::FType & ResultType
&41; const
Remarks
Get Shader/Preshader/Constant value for the expression
Parameters
| Name | Description |
|---|---|
| RequestedType | the componets of the result that are needed |
| PreparedType | the prepared type of this expression, should be return of Context.PrepareExpression/GetPreparedType |
| ResultType | the requested output type, value will be cast to this type if needed Various overloads below will derive the missing values from those that are provided, and/or object PreparedType from the given Context directly |