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

A vertex buffer storing bone index/weight data. 更多...

#include <SkinWeightVertexBuffer.h>

+ 类 FSkinWeightDataVertexBuffer 继承关系图:

Public 成员函数

ENGINE_API void CleanUp ()
 Delete existing resources
 
FVertexBufferRHIRef CreateRHIBuffer_RenderThread ()
 Create an RHI vertex buffer with CPU data. 更多...
 
ENGINE_API FSkinWeightDataVertexBuffer ()
 Default constructor.
 
ENGINE_API FSkinWeightDataVertexBuffer (const FSkinWeightDataVertexBuffer &Other)
 Constructor (copy)
 
FORCEINLINE uint32 GetBoneIndexByteSize () const
 
FORCEINLINE uint32 GetConstantInfluencesBoneWeightsOffset () const
 
FORCEINLINE uint32 GetConstantInfluencesVertexStride () const
 
virtual FString GetFriendlyName () const override
 
FORCEINLINE uint32 GetNumBones () const
 
FORCEINLINE uint32 GetNumVertices () const
 
FORCEINLINE uint32 GetVertexDataSize () const
 
virtual ENGINE_API void InitRHI () override
 Initializes the RHI resources used by this resource. 更多...
 
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 FSkinWeightDataVertexBuffer & operator= (const FSkinWeightDataVertexBuffer &Other)
 Assignment. 更多...
 
virtual ENGINE_API void ReleaseRHI () override
 Releases the RHI resources used by this resource. 更多...
 
ENGINE_API void SetMaxBoneInfluences (uint32 InMaxBoneInfluences)
 Set if this will have extra streams for bone indices & weights.
 
FORCEINLINE void SetNeedsCPUAccess (bool bInNeedsCPUAccess)
 Set if the CPU needs access to this vertex buffer
 
ENGINE_API ~FSkinWeightDataVertexBuffer ()
 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.
 

额外继承的成员函数

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

详细描述

A vertex buffer storing bone index/weight data.

成员函数说明

◆ CreateRHIBuffer_RenderThread()

FVertexBufferRHIRef FSkinWeightDataVertexBuffer::CreateRHIBuffer_RenderThread ( )

Create an RHI vertex buffer with CPU data.

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

◆ GetBoneIndexByteSize()

FORCEINLINE uint32 FSkinWeightDataVertexBuffer::GetBoneIndexByteSize ( ) const
inline
返回
byte size of each bone index

◆ GetConstantInfluencesBoneWeightsOffset()

FORCEINLINE uint32 FSkinWeightDataVertexBuffer::GetConstantInfluencesBoneWeightsOffset ( ) const
inline
返回
offset position for bone weights data for each vertex

◆ GetConstantInfluencesVertexStride()

FORCEINLINE uint32 FSkinWeightDataVertexBuffer::GetConstantInfluencesVertexStride ( ) const
inline
返回
vertex stride for when using constant number of bones per vertex buffer

◆ GetFriendlyName()

virtual FString FSkinWeightDataVertexBuffer::GetFriendlyName ( ) const
inlineoverridevirtual
返回
The resource's friendly name. Typically a UObject name.

重载 FVertexBuffer .

◆ GetNumBones()

FORCEINLINE uint32 FSkinWeightDataVertexBuffer::GetNumBones ( ) const
inline
返回
number of bones in this vertex buffer

◆ GetNumVertices()

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

◆ GetVertexDataSize()

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

◆ InitRHI()

virtual ENGINE_API void FSkinWeightDataVertexBuffer::InitRHI ( )
overridevirtual

Initializes the RHI resources used by this resource.

Called when entering the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.

重载 FRenderResource .

◆ operator=()

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

Assignment.

Assumes that vertex buffer will be rebuilt

◆ ReleaseRHI()

virtual ENGINE_API void FSkinWeightDataVertexBuffer::ReleaseRHI ( )
overridevirtual

Releases the RHI resources used by this resource.

Called when leaving the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.

重载 FVertexBuffer .


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