FMaterialUniformExpressionExternalTextureBase

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class FMaterialUniformExpressionExternalTextureBase : public FMaterialUniformExpression

Variables

Name Description

Protected variable

FGuid

 

ExternalTextureGuid

Optional external texture GUID defined at compile time

Protected variable

int32

 

SourceTextureIndex

Index of the texture in the material that should be used to retrieve the external texture GUID at runtime (or INDEX_NONE)

Constructors

Name Description

Public function

FMaterialUniformExpressionExternalTextureBase

(
    int32 InSourceTextureIndex
)

Public function

FMaterialUniformExpressionExternalTextureBase

(
    const FGuid& InExternalTextureGuid
)

Functions

Name Description

Public function Const

int32

 

GetSourceTextureIndex()

Protected function Const

FGuid

 

ResolveExternalTextureGUID

(
    const FMaterialRenderContext& Cont...,
    TOptional< FName > ParameterName
)

Resolve the guid that relates to texture information inside FExternalTexture

Public function Static

FMaterialUni...

 

SerializationConstructor()

Overridden from FMaterialUniformExpression

Name Description

Public function Virtual Const

FMaterialUni...

 

GetType()

Public function Virtual Const

bool

 

IsConstant()

Public function Virtual Const

bool

 

IsIdentical

(
    const FMaterialUniformExpression&#...
)

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Constants

Name

Description

StaticType

References

Module

Engine

Header

Runtime/Engine/Public/MaterialShared.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback