engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FUntypedBulkData2< ElementType > 模板类 参考

@documentation 更多...

#include <BulkData2.h>

+ 类 FUntypedBulkData2< ElementType > 继承关系图:

Public 成员函数

FORCEINLINE FBulkDataBuffer< ElementType > GetCopyAsBuffer (int64 RequestedElementCount, bool bDiscardInternalCopy)
 Returns a copy encapsulated by a FBulkDataBuffer. 更多...
 
int64 GetElementCount () const
 Returns the number of elements held by the BulkData object. 更多...
 
int32 GetElementSize () const
 Returns size in bytes of single element. 更多...
 
- Public 成员函数 继承自 FBulkDataBase
bool DoesExist () const
 Returns true if the data references a file that currently exists and can be referenced by the file system.
 
void GetCopy (void **Dest, bool bDiscardInternalCopy)
 Retrieves a copy of the bulk data. 更多...
 
FIoFilenameHash GetIoFilenameHash () const
 Returns the io filename hash associated with this bulk data. 更多...
 
bool StartAsyncLoading ()
 Initiates a new asynchronous operation to load the bulkdata from disk assuming that it is not already loaded. 更多...
 

详细描述

template<typename ElementType>
class FUntypedBulkData2< ElementType >

@documentation

待办事项:
documentation

成员函数说明

◆ GetCopyAsBuffer()

template<typename ElementType >
FORCEINLINE FBulkDataBuffer< ElementType > FUntypedBulkData2< ElementType >::GetCopyAsBuffer ( int64  RequestedElementCount,
bool  bDiscardInternalCopy 
)
inline

Returns a copy encapsulated by a FBulkDataBuffer.

参数
RequestedElementCountIf set to greater than 0, the returned FBulkDataBuffer will be limited to this number of elements. This will give an error if larger than the actual number of elements in the BulkData object.
bDiscardInternalCopyIf true then the BulkData object will free it's internal buffer once called.
返回
A FBulkDataBuffer that owns a copy of the BulkData, this might be a subset of the data depending on the value of RequestedSize.

◆ GetElementCount()

template<typename ElementType >
int64 FUntypedBulkData2< ElementType >::GetElementCount ( ) const
inline

Returns the number of elements held by the BulkData object.

返回
Number of elements.

◆ GetElementSize()

template<typename ElementType >
int32 FUntypedBulkData2< ElementType >::GetElementSize ( ) const
inline

Returns size in bytes of single element.

返回
The size of the element.

该类的文档由以下文件生成: