Navigation
API > API/Runtime > API/Runtime/MeshDescription
Bulk data storage for FMeshDescription
| Name | FMeshDescriptionBulkData |
| Type | struct |
| Header File | /Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h |
| Include Path | #include "MeshDescription.h" |
Syntax
struct FMeshDescriptionBulkData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMeshDescriptionBulkData() |
MeshDescription.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bBulkDataUpdated | bool | Whether the bulk data has been written via SaveMeshDescription | MeshDescription.h | |
| bGuidIsHash | bool | Uses hash instead of guid to identify content to improve DDC cache hit. | MeshDescription.h | |
| BulkData | UE::Serialization::FEditorBulkData | Internally store bulk data as bytes | MeshDescription.h | |
| BulkDataLock | FRWLock | Protects simultaneous access to BulkData | MeshDescription.h | |
| CustomVersions | FCustomVersionContainer | Take a copy of the bulk data versioning so it can be propagated to the bulk data reader when deserializing MeshDescription | MeshDescription.h | |
| Guid | FGuid | GUID associated with the data stored herein. | MeshDescription.h | |
| LicenseeUEVersion | int32 | MeshDescription.h | ||
| UEVersion | FPackageFileVersion | MeshDescription.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Empty() |
Empties the bulk data | MeshDescription.h | |
int64 GetBulkDataSize() |
Gets the size of the serialized bulk data | MeshDescription.h | |
FString GetIdString() |
Return unique ID string for this bulk data | MeshDescription.h | |
bool IsEmpty() |
Returns true if there is no bulk data available | MeshDescription.h | |
void LoadMeshDescription
(
FMeshDescription& MeshDescription |
Load the mesh description from the bulk data | MeshDescription.h | |
void SaveMeshDescription
(
FMeshDescription& MeshDescription |
Store a new mesh description in the bulk data | MeshDescription.h | |
| Serialization | MeshDescription.h | ||
void UseHashAsGuid() |
Uses a hash as the GUID, useful to prevent recomputing content already in cache. | MeshDescription.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TConstArrayView< FGuid > GetMeshDescriptionCustomVersions() |
Returns all of the CustomVersions that can be used when serializing an FMeshDescription. | MeshDescription.h |