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

A vertex buffer for holding skeletal mesh clothing information only. 更多...

#include <SkeletalMeshVertexClothBuffer.h>

+ 类 FSkeletalMeshVertexClothBuffer 继承关系图:

Public 成员函数

void CleanUp ()
 Delete existing resources
 
FVertexBufferRHIRef CreateRHIBuffer_RenderThread ()
 Create an RHI vertex buffer with CPU data. 更多...
 
ENGINE_API FSkeletalMeshVertexClothBuffer ()
 Constructor
 
ENGINE_API FSkeletalMeshVertexClothBuffer (const FSkeletalMeshVertexClothBuffer &Other)
 Constructor (copy)
 
virtual FString GetFriendlyName () const override
 
FORCEINLINE uint32 GetNumVertices () const
 
FORCEINLINE uint32 GetStride () const
 
FORCEINLINE uint32 GetVertexDataSize () const
 
void Init (const TArray< FMeshToMeshVertData > &InMappingData, const TArray< uint64 > &InClothIndexMapping)
 Initializes the buffer with the given vertices. 更多...
 
virtual void InitRHI () override
 Initialize the RHI resource for this vertex buffer
 
template<uint32 MaxNumUpdates>
void InitRHIForStreaming (FRHIVertexBuffer *IntermediateBuffer, TRHIResourceUpdateBatcher< MaxNumUpdates > &Batcher)
 Similar to Init/ReleaseRHI but only update existing SRV so references to the SRV stays valid
 
ENGINE_API FSkeletalMeshVertexClothBuffer & operator= (const FSkeletalMeshVertexClothBuffer &Other)
 Assignment. 更多...
 
virtual void ReleaseRHI () override
 Release the RHI resource for this vertex buffer
 
virtual ENGINE_API ~FSkeletalMeshVertexClothBuffer ()
 Destructor
 
- Public 成员函数 继承自 FVertexBuffer
virtual FString GetFriendlyName () const override
 
virtual void ReleaseRHI () override
 Releases the RHI resources used by this resource. 更多...
 
virtual ~FVertexBuffer ()
 Destructor.
 
- Public 成员函数 继承自 FRenderResource
 FRenderResource ()
 Default constructor.
 
 FRenderResource (ERHIFeatureLevel::Type InFeatureLevel)
 Constructor when we know what feature level this resource should support
 
virtual FString GetFriendlyName () const
 
virtual void InitDynamicRHI ()
 Initializes the dynamic RHI resource and/or RHI render target used by this resource. 更多...
 
virtual void InitResource ()
 Initializes the resource. 更多...
 
virtual void InitRHI ()
 Initializes the RHI resources used by this resource. 更多...
 
virtual void ReleaseDynamicRHI ()
 Releases the dynamic RHI resource and/or RHI render target resources used by this resource. 更多...
 
virtual void ReleaseResource ()
 Prepares the resource for deletion. 更多...
 
virtual void ReleaseRHI ()
 Releases the RHI resources used by this resource. 更多...
 
void UpdateRHI ()
 If the resource's RHI resources have been initialized, then release and reinitialize it. 更多...
 
virtual ~FRenderResource ()
 Destructor used to catch unreleased resources.
 

友元

FArchive & operator<< (FArchive &Ar, FSkeletalMeshVertexClothBuffer &VertexBuffer)
 Serializer for this class 更多...
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 FRenderResource
static void InitPreRHIResources ()
 Initialize all resources initialized before the RHI was initialized
 

详细描述

A vertex buffer for holding skeletal mesh clothing information only.

This buffer sits along side the other skeletal mesh buffers per LOD

成员函数说明

◆ CreateRHIBuffer_RenderThread()

FVertexBufferRHIRef FSkeletalMeshVertexClothBuffer::CreateRHIBuffer_RenderThread ( )

Create an RHI vertex buffer with CPU data.

CPU data may be discarded after creation (see TResourceArray::Discard)

◆ GetFriendlyName()

virtual FString FSkeletalMeshVertexClothBuffer::GetFriendlyName ( ) const
overridevirtual
返回
text description for the resource type

重载 FVertexBuffer .

◆ GetNumVertices()

FORCEINLINE uint32 FSkeletalMeshVertexClothBuffer::GetNumVertices ( ) const
inline
返回
number of vertices in this vertex buffer

◆ GetStride()

FORCEINLINE uint32 FSkeletalMeshVertexClothBuffer::GetStride ( ) const
inline
返回
cached stride for vertex data type for this vertex buffer

◆ GetVertexDataSize()

FORCEINLINE uint32 FSkeletalMeshVertexClothBuffer::GetVertexDataSize ( ) const
inline
返回
total size of data in resource array

◆ Init()

void FSkeletalMeshVertexClothBuffer::Init ( const TArray< FMeshToMeshVertData > &  InMappingData,
const TArray< uint64 > &  InClothIndexMapping 
)

Initializes the buffer with the given vertices.

参数
InVertices- The vertices to initialize the buffer with.
InClothIndexMapping- Packed Map: u32 Key, u32 Value.

◆ operator=()

ENGINE_API FSkeletalMeshVertexClothBuffer & FSkeletalMeshVertexClothBuffer::operator= ( const FSkeletalMeshVertexClothBuffer &  Other)

Assignment.

Assumes that vertex buffer will be rebuilt

友元及相关函数文档

◆ operator<<

FArchive & operator<< ( FArchive &  Ar,
FSkeletalMeshVertexClothBuffer &  VertexBuffer 
)
friend

Serializer for this class

参数
Ar- archive to serialize to
B- data to serialize

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