Navigation
API > API/Runtime > API/Runtime/Engine
Struct used for annotations when a materials 'used with' flags have changed and need saving
| Name | FMaterialsWithDirtyUsageFlags |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/Material.h |
| Include Path | #include "Materials/Material.h" |
Syntax
struct FMaterialsWithDirtyUsageFlags
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMaterialsWithDirtyUsageFlags() |
Materials/Material.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultAnnotation | const FMaterialsWithDirtyUsageFlags | Default state for annotations (no flags changed) | Materials/Material.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaterialFlagsThatHaveChanged | uint32 | Store the flags that have been changed since last save, each bit represents a flag | Materials/Material.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsDefault() |
Determine if this annotation is the default | Materials/Material.h | |
bool IsUsageFlagDirty
(
EMaterialUsage UsageFlag |
Query the annotation to see if the specified flag has been changed | Materials/Material.h | |
void MarkUsageFlagDirty
(
EMaterialUsage UsageFlag |
Mark the specificed flag as changed in this annotation | Materials/Material.h |