FMaterialCachedExpressionData

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialCachedData.h

Include

#include "MaterialCachedData.h"

Syntax

struct FMaterialCachedExpressionData

Variables

Name Description

Public variable

uint32 : 1

 

bHasRuntimeVirtualTextureOutput

Public variable

uint32 : 1

 

bHasSceneColor

Public variable

TArray < UMateri ...

 

DefaultLayerBlends

Public variable

TArray < UMateri ...

 

DefaultLayers

Public variable

TArray < FName >

 

DynamicParameterNames

Public variable

TArray < FMateri ...

 

FunctionInfos

Array of all functions this material depends on.

Public variable

TArray < ULandsc ...

 

GrassTypes

Public variable

TArray < FMateri ...

 

ParameterCollectionInfos

Array of all parameter collections this material depends on.

Public variable

FMaterialCached ...

 

Parameters

Public variable

TArray < bool >

 

QualityLevelsUsed

Public variable

TArray < UObject ...

 

ReferencedTextures

Array of all texture referenced by this material

Functions

Name Description

Public function

void

 

Reset()

Public function

bool

 

UpdateForExpressions

(
    const FMaterialCachedExpressionCont ...,
    const TArray < UMaterialExpression &...,
    EMaterialParameterAssociation Assoc...,
    int32 ParameterIndex
)

Returns 'false' if update is incomplete, due to missing expression data (stripped from non-editor build)

Public function

bool

 

UpdateForFunction

(
    const FMaterialCachedExpressionCont ...,
    UMaterialFunctionInterface * Fu...,
    EMaterialParameterAssociation Assoc...,
    int32 ParameterIndex
)

Public function

bool

 

UpdateForLayerFunctions

(
    const FMaterialCachedExpressionCont ...,
    const FMaterialLayersFunctions & La...
)

Select Skin
Light
Dark

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