FUntypedBulkData2

Windows
MacOS
Linux

Inheritance Hierarchy

FBulkDataBase

FUntypedBulkData2

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkData2.h

Include

#include "Serialization/BulkData2.h"

Syntax

template<typename ElementType>
class FUntypedBulkData2 : public FBulkDataBase

Constructors

Name Description

Public function

FUntypedBulkData2()

In the older Bulkdata system the data was being loaded as if it was POD with the option to opt out but nothing actually opted out.

Functions

Name Description

Public function

FBulkDataBuf...

 

GetCopyAsBuffer

(
    int64 RequestedElementCount,
    bool bDiscardInternalCopy
)

Returns a copy encapsulated by a FBulkDataBuffer.

Public function Const

int64

 

GetElementCount()

Returns the number of elements held by the BulkData object.

Public function Const

int32

 

GetElementSize()

Returns size in bytes of single element.

Public function

ElementType ...

 

Lock

(
    uint32 LockFlags
)

Public function Const

const Elemen...

 

LockReadOnly()

Public function

ElementType ...

 

Realloc

(
    int64 InElementCount
)

Public function

void

 

Serialize

(
    FArchive& Ar,
    UObject* Owner
)

: The following two Serialize methods are a work around for the default parameters in the old BulkData api that are not used anywhere and to avoid causing code compilation issues for licensee code.

Public function

void

 

Serialize

(
    FArchive& Ar,
    UObject* Owner,
    int32 Index
)

: See above

Public function

void

 

Serialize

(
    FArchive& Ar,
    UObject* Owner,
    int32 Index,
    bool bAttemptFileMapping
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss