FSkeletalMeshVertexClothBuffer

A vertex buffer for holding skeletal mesh clothing information only.

Windows
MacOS
Linux

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

Name Description

Public function

FSkeletalMeshVertexClothBuffer()

Constructor

Public function

FSkeletalMeshVertexClothBuffer

(
    const FSkeletalMeshVertexClothBuffe...
)

Constructor (copy)

Copy Constructor

Destructors

Name Description

Public function Virtual

~FSkeletalMeshVertexClothBuffer()

Destructor

Functions

Name Description

Public function

void

 

CleanUp()

Delete existing resources

Public function

void

 

ClearMetaData()

Public function

FVertexBuffe...

 

CreateRHIBuffer_Async()

Public function

FVertexBuffe...

 

CreateRHIBuffer_RenderThread()

Create an RHI vertex buffer with CPU data.

Public function Const

const TArray...

 

GetClothIndexMapping()

Public function Const

uint32

 

GetNumVertices()

Public function Const

FShaderResou...

 

GetSRV()

Public function Const

uint32

 

GetStride()

Public function Const

uint32

 

GetVertexDataSize()

Public function

void

 

Init

(
    const TArray< FMeshToMeshVertData >...,
    const TArray< uint64 >& InClothInd...
)

Initializes the buffer with the given vertices. Initializes the buffer with the given vertices.

Public function

void

 

InitRHIForStreaming

(
    FRHIVertexBuffer* Intermediate...,
    TRHIResourceUpdateBatcher< MaxNumUp...
)

Similar to Init/ReleaseRHI but only update existing SRV so references to the SRV stays valid

Public function

FMeshToMeshV...

 

MappingData

(
    uint32 VertexIndex
)

Public function Const

const FMeshT...

 

MappingData

(
    uint32 VertexIndex
)

Public function

void

 

ReleaseRHIForStreaming

(
    TRHIResourceUpdateBatcher< MaxNumUp...
)

Public function

void

 

SerializeMetaData

(
    FArchive& Ar
)

Overridden from FRenderResource

Name Description

Public function Virtual Const

FString

 

GetFriendlyName()

Public function Virtual

void

 

InitRHI()

Initialize the RHI resource for this vertex buffer

Public function Virtual

void

 

ReleaseRHI()

Release the RHI resource for this vertex buffer

Operators

Name Description

Public function

FSkeletalMes...

 

operator=

(
    const FSkeletalMeshVertexClothBuffe...
)

  1. Assumes that vertex buffer will be rebuilt

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss