![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <BulkDataScopedLock.h>
Public Member Functions | |
| UE_NONCOPYABLE (TBulkDataScopedWriteLock) | |
| TBulkDataScopedWriteLock (TBulkData< ElementType > &InBulkData) | |
| ~TBulkDataScopedWriteLock () | |
| int64 | Num () const |
| int64 | GetAllocatedSize () const |
| ElementType * | GetData () const |
| TArrayView64< ElementType > | GetView () const |
Locks the given bulkdata object for read/write access. Note that performing actions on the original bulkdata object while this scope is active (such as calls to realloc) may cause problems. Only use this object for bulkdata operations while it is active.
|
inline |
|
inline |
|
inline |
Returns the length of the bulkdata payload in bytes
|
inline |
Returns a raw pointer to the bulkdata payload
|
inline |
Returns the bulkdata payload wrapped in a TArrayView64 for added safety
|
inline |
Returns the number of elements in the bulkdata payload
| TBulkDataScopedWriteLock< ElementType >::UE_NONCOPYABLE | ( | TBulkDataScopedWriteLock< ElementType > | ) |