![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MaterialInstanceSupport.h>
Public Member Functions | |
| FHashedMaterialParameterInfoPacked () | |
| FORCEINLINE | FHashedMaterialParameterInfoPacked (const struct FHashedMaterialParameterInfoPacked &Rhs) |
| FHashedMaterialParameterInfoPacked & | operator= (const FHashedMaterialParameterInfo &InInfo) |
| bool | operator== (const FHashedMaterialParameterInfoPacked &Other) const |
| bool | operator== (const FHashedMaterialParameterInfo &Other) const |
Public Attributes | |
| FScriptName | Name |
| int16 | Index = 0 |
| uint16 | HashNext: 14 |
| uint16 | Association: 2 |
Structure that packs FHashedMaterialParameterInfo plus a "HashNext" value into 16 bytes to save memory. Allows key/value pairs of 16-byte aligned items like vectors to fit in 32 bytes, rather 48, saving significant space on padding. This introduces limitations that Index cannot exceed 32767, and a given material can't have more than 16384 named parameters of a given type. Both of those numbers are at least a couple orders of magnitude larger than seen in practice.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
HashNext ignored in equality comparisons
| uint16 FHashedMaterialParameterInfoPacked::Association |
| uint16 FHashedMaterialParameterInfoPacked::HashNext |
| int16 FHashedMaterialParameterInfoPacked::Index = 0 |
| FScriptName FHashedMaterialParameterInfoPacked::Name |