Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionVirtualTextureFeatureSwitch
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionVirtualTextureFeatureSwitch.h |
Include | #include "Materials/MaterialExpressionVirtualTextureFeatureSwitch.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object)
class UMaterialExpressionVirtualTextureFeatureSwitch : public UMaterialExpression
Remarks
Material output expression to switch logic according to whether virtual texturing is supported on this project, platform and feature level.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FExpressionInput | No | Used if virtual texture is not supported. |
![]() ![]() |
FExpressionInput | Yes | Used if virtual texture is supported. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionVirtualTextureFeatureSwitch
(
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. |