Navigation
API > API/Developer > API/Developer/MaterialUtilities
Intermediate material merging data
| Name | FMaterialMergeData |
| Type | struct |
| Header File | /Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h |
| Include Path | #include "MaterialUtilities.h" |
Syntax
struct FMaterialMergeData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMaterialMergeData
(
UMaterialInterface* InMaterial, |
MaterialUtilities.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FMaterialMergeData() |
MaterialUtilities.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Buffer | FUniformBufferRHIRef | MaterialUtilities.h | ||
| EmissiveScale | float | Output emissive scale, maximum baked out emissive value (used to scale other samples, 1/EmissiveScale * Sample) | MaterialUtilities.h | |
| LightMap | FLightMapRef | MaterialUtilities.h | ||
| LightMapIndex | int32 | MaterialUtilities.h | ||
| LODData | const FSkeletalMeshLODRenderData * | LODModel data used to bake out the material with, optional | MaterialUtilities.h | |
| Material | UMaterialInterface * | Input data Material that is being baked out | MaterialUtilities.h | |
| MaterialIndex | int32 | Material index to use when the material is baked out using mesh data (face material indices) | MaterialUtilities.h | |
| Mesh | const FMeshDescription * | Raw mesh data used to bake out the material with, optional | MaterialUtilities.h | |
| ProxyCache | FExportMaterialProxyCache * | Material proxy cache, eliminates shader compilations when a material is baked out multiple times for different meshes | MaterialUtilities.h | |
| ShadowMap | FShadowMapRef | MaterialUtilities.h | ||
| TexcoordBounds | FBox2D | Optional tex coordinate bounds of original texture coordinates set | MaterialUtilities.h | |
| TexCoords | const TArray< FVector2D > & | Optional new set of non-overlapping texture coordinates | MaterialUtilities.h |