engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FMultiSizeIndexContainer类 参考

Skeletal mesh index buffers are 16 bit by default and 32 bit when called for. 更多...

#include <MultiSizeIndexContainer.h>

Public 成员函数

ENGINE_API void CopyIndexBuffer (const TArray< uint32 > &NewArray)
 Populates the index buffer with a new set of indices
 
ENGINE_API void CreateIndexBuffer (uint8 DataTypeSize)
 Creates a new index buffer
 
uint8 GetDataTypeSize () const
 Accessors
 
ENGINE_API void GetIndexBuffer (TArray< uint32 > &OutArray) const
 Returns a 32 bit version of the index buffer
 
void InitResources ()
 Initialize the index buffer's render resources.
 
ENGINE_API void RebuildIndexBuffer (uint8 InDataTypeSize, const TArray< uint32 > &NewArray)
 Repopulates the index buffer
 
void ReleaseResources ()
 Releases the index buffer's render resources.
 
void Serialize (FArchive &Ar, bool bNeedsCPUAccess)
 Serialization. 更多...
 

详细描述

Skeletal mesh index buffers are 16 bit by default and 32 bit when called for.

This class adds a level of abstraction on top of the index buffers so that we can treat them all as 32 bit.

成员函数说明

◆ Serialize()

void FMultiSizeIndexContainer::Serialize ( FArchive &  Ar,
bool  bNeedsCPUAccess 
)

Serialization.

参数
ArThe archive with which to serialize.
bNeedsCPUAccessIf true, the loaded data will remain in CPU memory even after the RHI index buffer has been initialized.

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