Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterial
Description
Flush existing resource shader maps and combines the material resource's Ids with another unique guid that represent the transformation applied so we can stay deterministic. If the guid given is non-valid (default value) we generate an entirely new guid for the resource.
| Name | ReleaseResourcesAndMutateDDCKey |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/Material.h |
| Include Path | #include "Materials/Material.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/Material.cpp |
virtual void ReleaseResourcesAndMutateDDCKey
(
const FGuid & TransformationId
)
Parameters
| Name | Remarks |
|---|---|
| TransformationId | If valid, combine this guid with the current material resource's Ids yielding a new but deterministic Ids. |