Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionRuntimeVirtualTextureReplace
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionRuntimeVirtualTextureReplace.h |
| Include | #include "Materials/MaterialExpressionRuntimeVirtualTextureReplace.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object)
class UMaterialExpressionRuntimeVirtualTextureReplace : public UMaterialExpression
Remarks
Material output expression to switch logic for a path that renders to runtime virtual texture pages.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FExpressionInput | Default | Used by the default rendering passes. | |
| FExpressionInput | VirtualTextureOutput | Used by the pass that renders to a runtime virtual texture page. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionRuntimeVirtualTextureReplace
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| uint32 | GetInputType
(
int32 InputIndex |
||
| uint32 | GetOutputType
(
int32 OutputIndex |
||
| bool | IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. |