FUniformExpressionSet

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

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "MaterialShared.h"

Syntax

class FUniformExpressionSet

Remarks

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

Variables

Constructors

Name Description

Public function

FUniformExpressionSet()

Functions

Name Description

Public function

FShaderParam ...

 

CreateBufferStruct()

Public function Const

void

 

FillUniformBuffer

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

Public function Const

const FMater ...

 

FindScalarParameter

(
    const FHashedMaterialParameterInfo ...
)

Public function Const

const FMater ...

 

FindVectorParameter

(
    const FHashedMaterialParameterInfo ...
)

Public function Const

void

 

GetGameThreadTextureValue

(
    EMaterialTextureParameterType Type,
    int32 Index,
    const UMaterialInterface * Mate...,
    const FMaterial & Material,
    UTexture *& OutValue,
    bool bAllowOverride
)

Public function Const

int32

 

GetNumTextures

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

const FMater ...

 

GetScalarParameter

(
    uint32 Index
)

Public function Const

FString

 

GetSummaryString()

Public function Const

const FMater ...

 

GetTextureParameter

(
    EMaterialTextureParameterType Type,
    int32 Index
)

Public function Const

void

 

GetTextureValue

(
    int32 Index,
    const FMaterial & Material,
    const URuntimeVirtualTexture *&...
)

Public function Const

void

 

GetTextureValue

(
    EMaterialTextureParameterType Type,
    int32 Index,
    const FMaterialRenderContext & Cont...,
    const FMaterial & Material,
    const UTexture *& OutValue
)

Public function Const

const FTypeL ...

 

GetTypeLayout()

Public function Const

const FRHIUn ...

 

GetUniformBufferLayout()

Public function Const

const FMater ...

 

GetVectorParameter

(
    uint32 Index
)

Protected function Const

FVTPackedSta ...

 

GetVTStackAndLayerIndex

(
    int32 UniformExpressionIndex
)

Public function Const

bool

 

HasExternalTextureExpressions()

Public function Const

bool

 

IsEmpty()

Public function

void

 

SetParameterCollections

(
    const TArray < class UMaterialParame ...
)

Public function Static

FTypeLayoutD ...

 

StaticGetTypeLayout()

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FUniformExpressionSet & Refer...
)

Classes

Typedefs

Name

Description

DerivedType

InternalBaseType

Constants

Name

Description

CounterBase

InterfaceType

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