FMaterialMergeData

Intermediate material merging data

Windows
MacOS
Linux

References

Module

MaterialUtilities

Header

/Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h

Include

#include "MaterialUtilities.h"

Syntax

struct FMaterialMergeData

Remarks

Intermediate material merging data

Variables

Name Description

Public variable

FUniformBufferR...

 

Buffer

Public variable

float

 

EmissiveScale

Output emissive scale, maximum baked out emissive value (used to scale other samples, 1/EmissiveScale * Sample)

Public variable

FLightMapRef

 

LightMap

Public variable

int32

 

LightMapIndex

Public variable

const FSkeletal...

 

LODData

LODModel data used to bake out the material with, optional

Public variable

UMaterialInterf...

 

Material

Input data Material that is being baked out

Public variable

int32

 

MaterialIndex

Material index to use when the material is baked out using mesh data (face material indices)

Public variable

const FMeshDesc...

 

Mesh

Raw mesh data used to bake out the material with, optional

Public variable

FExportMaterial...

 

ProxyCache

Material proxy cache, eliminates shader compilations when a material is baked out multiple times for different meshes

Public variable

FShadowMapRef

 

ShadowMap

Public variable

FBox2D

 

TexcoordBounds

Optional tex coordinate bounds of original texture coordinates set

Public variable

const TArray< F...

 

TexCoords

Optional new set of non-overlapping texture coordinates

Constructors

Name Description

Public function

FMaterialMergeData

(
    UMaterialInterface* InMaterial,
    const FMeshDescription* InMesh,
    const FSkeletalMeshLODRenderData&#...,
    int32 InMaterialIndex,
    FBox2D InTexcoordBounds,
    const TArray< FVector2D >& InTexCo...
)

Destructors

Name Description

Public function

~FMaterialMergeData()