Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Rendering
Inheritance Hierarchy
- FRenderResource
- FVertexBuffer
- FSkeletalMeshVertexClothBuffer
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Rendering/SkeletalMeshVertexClothBuffer.h |
| Include | #include "Rendering/SkeletalMeshVertexClothBuffer.h" |
Syntax
class FSkeletalMeshVertexClothBuffer : public FVertexBuffer
Remarks
A vertex buffer for holding skeletal mesh clothing information only. This buffer sits along side the other skeletal mesh buffers per LOD
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor | |||
FSkeletalMeshVertexClothBuffer
(
const FSkeletalMeshVertexClothBuffer& Other |
Constructor (copy)Copy Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CleanUp () |
Delete existing resources | |
| void | |||
| FBufferRHIRef | |||
| FBufferRHIRef | Create an RHI vertex buffer with CPU data. | ||
| const TArray< FClothBufferIndexMapping > & | |||
| uint32 | |||
| FShaderResourceViewRHIRef | GetSRV () |
||
| uint32 | GetStride () |
||
| uint32 | |||
| void | Init
(
const TArray< FMeshToMeshVertData >& InMappingData, |
Initializes the buffer with the given vertices. Initializes the buffer with the given vertices. | |
| void | InitRHIForStreaming
(
FRHIBuffer* IntermediateBuffer, |
Similar to Init/ReleaseRHI but only update existing SRV so references to the SRV stays valid | |
| FMeshToMeshVertData & | MappingData
(
uint32 VertexIndex |
||
| const FMeshToMeshVertData & | MappingData
(
uint32 VertexIndex |
||
| void | ReleaseRHIForStreaming
(
FRHIResourceUpdateBatcher& Batcher |
||
| void | SerializeMetaData
(
FArchive& Ar |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| FString | |||
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initialize the RHI resource for this vertex buffer | |
| void | ReleaseRHI () |
Release the RHI resource for this vertex buffer |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FSkeletalMeshVertexClothBuffer & | operator=
(
const FSkeletalMeshVertexClothBuffer& Other |
Assignment. Assumes that vertex buffer will be rebuilt |