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

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