![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SkeletalMeshVertexClothBuffer.h>
Inheritance diagram for FSkeletalMeshVertexClothBuffer:Friends | |
| ENGINE_API friend FArchive & | operator<< (FArchive &Ar, FSkeletalMeshVertexClothBuffer &VertexBuffer) |
A vertex buffer for holding skeletal mesh clothing information only. This buffer sits along side the other skeletal mesh buffers per LOD
| FSkeletalMeshVertexClothBuffer::FSkeletalMeshVertexClothBuffer | ( | ) |
Constructor
|
virtual |
Destructor
| FSkeletalMeshVertexClothBuffer::FSkeletalMeshVertexClothBuffer | ( | const FSkeletalMeshVertexClothBuffer & | Other | ) |
Constructor (copy)
Copy Constructor
| void FSkeletalMeshVertexClothBuffer::CleanUp | ( | ) |
Delete existing resources
| void FSkeletalMeshVertexClothBuffer::ClearMetaData | ( | ) |
| FBufferRHIRef FSkeletalMeshVertexClothBuffer::CreateRHIBuffer | ( | FRHICommandListBase & | RHICmdList | ) |
Create an RHI vertex buffer with CPU data. CPU data may be discarded after creation (see TResourceArray::Discard)
|
inline |
|
overridevirtual |
Reimplemented from FVertexBuffer.
|
inline |
|
inline |
|
inline |
|
inline |
| void FSkeletalMeshVertexClothBuffer::Init | ( | const TArray< FMeshToMeshVertData > & | InMappingData, |
| const TArray< FClothBufferIndexMapping > & | InClothIndexMapping | ||
| ) |
Initializes the buffer with the given vertices.
| InVertices | - The vertices to initialize the buffer with. |
| InClothIndexMapping | - The cloth deformer mapping data offset for a specific section/LODBias. |
Initializes the buffer with the given vertices.
| InVertices | - The vertices to initialize the buffer with. |
|
overridevirtual |
Initialize the RHI resource for this vertex buffer
Reimplemented from FRenderResource.
| void FSkeletalMeshVertexClothBuffer::InitRHIForStreaming | ( | FRHIBuffer * | IntermediateBuffer, |
| FRHIResourceReplaceBatcher & | Batcher | ||
| ) |
Similar to Init/ReleaseRHI but only update existing SRV so references to the SRV stays valid
|
inline |
|
inline |
| FSkeletalMeshVertexClothBuffer & FSkeletalMeshVertexClothBuffer::operator= | ( | const FSkeletalMeshVertexClothBuffer & | Other | ) |
Assignment. Assumes that vertex buffer will be rebuilt
|
overridevirtual |
Release the RHI resource for this vertex buffer
Reimplemented from FVertexBuffer.
| void FSkeletalMeshVertexClothBuffer::ReleaseRHIForStreaming | ( | FRHIResourceReplaceBatcher & | Batcher | ) |
| void FSkeletalMeshVertexClothBuffer::SetMetadata | ( | const TArray< FClothBufferIndexMapping > & | ClothIndexMapping, |
| uint32 | Stride, | ||
| uint32 | NumVertices | ||
| ) |
|
friend |
Serializer for this class
| Ar | - archive to serialize to |
| B | - data to serialize |