Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterial
Description
Returns a CRC of all the Guids related to this material's shader. This includes Guids from the parent hierarchy (for material instances), material function state, and parameter assignment state. NOTE this function does NOT include texture content state or texture streaming state. Used as a faster way to detect changes than GetLightingGuidChain.
Virtual Inheritance
- UMaterialInterface::ComputeAllStateCRC → UMaterial::ComputeAllStateCRC
| Name | ComputeAllStateCRC |
| 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 uint32 ComputeAllStateCRC() const