113 return NumVertices * Stride;
118 return VertexBufferSRV;
123 return ClothIndexMapping;
#define checkSlow(expr)
Definition AssertionMacros.h:332
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void Init()
Definition LockFreeList.h:4
Definition Archive.h:1208
Definition RHIResources.h:1581
Definition RHICommandList.h:455
Definition RHIResourceReplace.h:55
Definition SkeletalMeshVertexClothBuffer.h:15
uint32 GetVertexDataSize() const
Definition SkeletalMeshVertexClothBuffer.h:111
void ReleaseRHIForStreaming(FRHIResourceReplaceBatcher &Batcher)
Definition SkeletalMeshVertexClothBuffer.cpp:91
FShaderResourceViewRHIRef GetSRV() const
Definition SkeletalMeshVertexClothBuffer.h:116
virtual ENGINE_API ~FSkeletalMeshVertexClothBuffer()
Definition SkeletalMeshVertexClothBuffer.cpp:27
ENGINE_API FSkeletalMeshVertexClothBuffer()
Definition SkeletalMeshVertexClothBuffer.cpp:15
ENGINE_API void SetMetadata(const TArray< FClothBufferIndexMapping > &ClothIndexMapping, uint32 Stride, uint32 NumVertices)
Definition SkeletalMeshVertexClothBuffer.cpp:99
const TArray< FClothBufferIndexMapping > & GetClothIndexMapping() const
Definition SkeletalMeshVertexClothBuffer.h:121
const FMeshToMeshVertData & MappingData(uint32 VertexIndex) const
Definition SkeletalMeshVertexClothBuffer.h:87
uint32 GetStride() const
Definition SkeletalMeshVertexClothBuffer.h:104
ENGINE_API FSkeletalMeshVertexClothBuffer & operator=(const FSkeletalMeshVertexClothBuffer &Other)
Definition SkeletalMeshVertexClothBuffer.cpp:37
void InitRHIForStreaming(FRHIBuffer *IntermediateBuffer, FRHIResourceReplaceBatcher &Batcher)
Definition SkeletalMeshVertexClothBuffer.cpp:83
uint32 GetNumVertices() const
Definition SkeletalMeshVertexClothBuffer.h:96
void CleanUp()
Definition SkeletalMeshVertexClothBuffer.cpp:66
FMeshToMeshVertData & MappingData(uint32 VertexIndex)
Definition SkeletalMeshVertexClothBuffer.h:82
void SerializeMetaData(FArchive &Ar)
Definition SkeletalMeshVertexClothBuffer.cpp:167
FBufferRHIRef CreateRHIBuffer(FRHICommandListBase &RHICmdList)
Definition SkeletalMeshVertexClothBuffer.cpp:78
virtual FString GetFriendlyName() const override
Definition SkeletalMeshVertexClothBuffer.cpp:58
void ClearMetaData()
Definition SkeletalMeshVertexClothBuffer.cpp:72
virtual void InitRHI(FRHICommandListBase &RHICmdList) override
Definition SkeletalMeshVertexClothBuffer.cpp:110
virtual void ReleaseRHI() override
Definition SkeletalMeshVertexClothBuffer.cpp:128
ENGINE_API friend FArchive & operator<<(FArchive &Ar, FSkeletalMeshVertexClothBuffer &VertexBuffer)
Definition SkeletalMeshVertexClothBuffer.cpp:140
Definition SkeletalMeshVertexBuffer.h:106
Definition RenderResource.h:474
Definition SkeletalMeshTypes.h:94