UMaterialExpressionVirtualTextureFeatureSwitch

Material output expression to switch logic according to whether virtual texturing is supported on this project, platform and feature level.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UMaterialExpression

UMaterialExpressionVirtualTextureFeatureSwitch

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionVirtualTextureFeatureSwitch.h

Include

#include "Materials/MaterialExpressionVirtualTextureFeatureSwitch.h"

Syntax

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

Name Description

Public variable

FExpressionInpu...

 

No

Used if virtual texture is not supported.

Public variable

FExpressionInpu...

 

Yes

Used if virtual texture is supported.

Constructors

Name Description

Public function

UMaterialExpressionVirtualTextureFeatureSwitch

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UMaterialExpression

Name Description

Public function Virtual

int32

 

Compile

(
    FMaterialCompiler* Compiler,
    int32 OutputIndex
)

Create the new shader code chunk needed for the Abs expression

Public function Virtual Const

void

 

GetCaption

(
    TArray< FString >& OutCaptions
)

Returns the text to display on the material expression (in the material editor).

Public function Virtual

uint32

 

GetInputType

(
    int32 InputIndex
)

Public function Virtual

uint32

 

GetOutputType

(
    int32 OutputIndex
)

Public function Virtual

bool

 

IsResultMaterialAttributes

(
    int32 OutputIndex
)

Marks certain expression types as outputting material attributes.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss