UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TBulkDataScopedReadLock< ElementType > Class Template Reference

#include <BulkDataScopedLock.h>

Public Member Functions

 UE_NONCOPYABLE (TBulkDataScopedReadLock)
 
 TBulkDataScopedReadLock (const TBulkData< ElementType > &InBulkData)
 
 ~TBulkDataScopedReadLock ()
 
int64 Num () const
 
int64 GetAllocatedSize () const
 
const ElementType * GetData () const
 
TConstArrayView64< ElementType > GetView () const
 

Detailed Description

template<typename ElementType>
class TBulkDataScopedReadLock< ElementType >

Locks the given bulkdata object for read access

Constructor & Destructor Documentation

◆ TBulkDataScopedReadLock()

template<typename ElementType >
TBulkDataScopedReadLock< ElementType >::TBulkDataScopedReadLock ( const TBulkData< ElementType > &  InBulkData)
inline

◆ ~TBulkDataScopedReadLock()

template<typename ElementType >
TBulkDataScopedReadLock< ElementType >::~TBulkDataScopedReadLock ( )
inline

Member Function Documentation

◆ GetAllocatedSize()

template<typename ElementType >
int64 TBulkDataScopedReadLock< ElementType >::GetAllocatedSize ( ) const
inline

Returns the length of the bulkdata payload in bytes

◆ GetData()

template<typename ElementType >
const ElementType * TBulkDataScopedReadLock< ElementType >::GetData ( ) const
inline

Returns a raw pointer to the bulkdata payload

◆ GetView()

template<typename ElementType >
TConstArrayView64< ElementType > TBulkDataScopedReadLock< ElementType >::GetView ( ) const
inline

Returns the bulkdata payload wrapped in a TConstArrayView64 for added safety

◆ Num()

template<typename ElementType >
int64 TBulkDataScopedReadLock< ElementType >::Num ( ) const
inline

Returns the number of elements in the bulkdata payload

◆ UE_NONCOPYABLE()

template<typename ElementType >
TBulkDataScopedReadLock< ElementType >::UE_NONCOPYABLE ( TBulkDataScopedReadLock< ElementType >  )

The documentation for this class was generated from the following file: