FUniformExpressionSet

Stores all uniform expressions for a material generated from a material translation.

Windows
MacOS
Linux

Inheritance Hierarchy

FRefCountedObject

FUniformExpressionSet

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Syntax

class FUniformExpressionSet : public FRefCountedObject

Remarks

Stores all uniform expressions for a material generated from a material translation.

Variables

Name Description

Protected variable

TArray< FGuid >

 

ParameterCollections

Ids of parameter collections referenced by the material that was translated.

Protected variable

TArray< TRefCou...

 

Uniform2DTextureExpressions

Protected variable

TOptional< FSha...

 

UniformBufferStruct

The structure of a uniform buffer containing values for these uniform expressions.

Protected variable

TArray< TRefCou...

 

UniformCubeTextureExpressions

Protected variable

TArray< TRefCou...

 

UniformExternalTextureExpressions

Protected variable

TArray< TRefCou...

 

UniformScalarExpressions

Protected variable

TArray< TRefCou...

 

UniformVectorExpressions

Protected variable

TArray< TRefCou...

 

UniformVirtualTextureExpressions

Protected variable

TArray< TRefCou...

 

UniformVolumeTextureExpressions

Protected variable

TArray< FMateri...

 

VTStacks

Virtual texture stacks found during compilation

Constructors

Name Description

Public function

FUniformExpressionSet()

Functions

Name Description

Public function

void

 

CreateBufferStruct()

Public function Const

void

 

FillUniformBuffer

(
    const FMaterialRenderContext& Mate...,
    const FUniformExpressionCache& Uni...,
    uint8* TempBuffer,
    int TempBufferSize
)

Public function Const

uint32

 

GetAllocatedSize()

Public function Const

uint32

 

GetReferencedTexture2DRHIHash

(
    const FMaterialRenderContext& Mate...
)

Get a combined hash of all referenced Texture2D's underlying RHI textures, going through TextureReferences. Can be used to tell if any texture has gone through texture streaming mip changes recently.

Public function Const

FString

 

GetSummaryString()

Public function Const

const FShade...

 

GetUniformBufferStruct()

Protected function Const

FVTPackedSta...

 

GetVTStackAndLayerIndex

(
    int32 UniformExpressionIndex
)

Public function Const

bool

 

HasExternalTextureExpressions()

Public function Const

bool

 

IsEmpty()

Public function

void

 

Serialize

(
    FArchive& Ar
)

Public function

void

 

SetParameterCollections

(
    const TArray< class UMaterialParame...
)

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FUniformExpressionSet& Refer...
)

Classes

Name

Description

Protected struct

FVTPackedStackAndLayerIndex

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