Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/HLSLTree
Inheritance Hierarchy
- FNode
- FOwnedNode
- FExpression
- FExpressionComponentMask
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/HLSLTree/HLSLTreeCommon.h |
| Include | #include "HLSLTree/HLSLTreeCommon.h" |
Syntax
class FExpressionComponentMask : public UE::HLSLTree::FExpression
Remarks
Similar to FExpressionSwizzle, except swizzle parameters are extracted from a 'Mask' expression, which is expected to generate a 'bool4' component mask (which is then used to initialize a FSwizzleParameters) The 'Mask' input is required to be constant (otherwise an error is generated) This is used to support material StaticParameterMask expressions, in most cases FExpressionSwizzle is a better choice
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FExpression * | Input | ||
| const FExpression * | Mask |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FExpressionComponentMask
(
const FExpression* InInput, |
Overridden from FExpression
| Type | Name | Description | |
|---|---|---|---|
| void | ComputeAnalyticDerivatives
(
FTree& Tree, |
Create new expressions representing DDX/DDY of this expression | |
| const FExpression * | ComputePreviousFrame
(
FTree& Tree, |
Creates a new expression representing this expression on the previous frame. | |
| void | EmitValuePreshader
(
FEmitContext& Context, |
Emit Preshader code representing this expression | |
| void | EmitValueShader
(
FEmitContext& Context, |
Emit HLSL shader code representing this expression | |
| bool | PrepareValue
(
FEmitContext& Context, |
Computes a FPreparedType for this expression, given a FRequestedType. |