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