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