FSkinWeightVertexBuffer

A vertex buffer for skin weights.

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FVertexBuffer

FSkinWeightVertexBuffer

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Rendering/SkinWeightVertexBuffer.h

Include

#include "Rendering/SkinWeightVertexBuffer.h"

Syntax

class FSkinWeightVertexBuffer : public FVertexBuffer

Remarks

A vertex buffer for skin weights.

Variables

Name Description

Protected variable

FShaderResource...

 

SRVValue

Guaranteed only to be valid if the vertex buffer is valid

Constructors

Name Description

Public function

FSkinWeightVertexBuffer()

Default constructor.

Public function

FSkinWeightVertexBuffer

(
    const FSkinWeightVertexBuffer& Oth...
)

Constructor (copy)

Destructors

Name Description

Public function

~FSkinWeightVertexBuffer()

Destructor.

Functions

Name Description

Public function

void

 

CleanUp()

Delete existing resources

Public function Const

bool

 

GetNeedsCPUAccess()

Public function Const

uint32

 

GetNumVertices()

Public function

TSkinWeightI...

 

GetSkinWeightPtr

(
    uint32 VertexIndex
)

Non-const access to entry in weight data

Public function Const

const TSkinW...

 

GetSkinWeightPtr

(
    uint32 VertexIndex
)

Const access to entry in weight data

Public function Const

FRHIShaderRe...

 

GetSRV()

Public function Const

uint32

 

GetStride()

Public function Const

uint32

 

GetVertexDataSize()

Public function Const

bool

 

HasExtraBoneInfluences()

Public function

void

 

Init

(
    const TArray< FSoftSkinVertex >& I...
)

Init from another skin weight buffer

Public function Const

bool

 

IsWeightDataValid()

Public function

void

 

SetHasExtraBoneInfluences

(
    bool bInHasExtraBoneInfluences
)

Set if this will have extra streams for bone indices & weights.

Public function

void

 

SetNeedsCPUAccess

(
    bool bInNeedsCPUAccess
)

Set if the CPU needs access to this vertex buffer

Overridden from FRenderResource

Name Description

Public function Virtual Const

FString

 

GetFriendlyName()

Public function Virtual

void

 

InitRHI()

Initializes the RHI resources used by this resource.

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

Operators

Name Description

Public function

FSkinWeightV...

 

operator=

(
    const FSkinWeightVertexBuffer& Oth...
)

Assignment. Assumes that vertex buffer will be rebuilt

Public function

FSkinWeightV...

 

operator=

(
    const TArray< TSkinWeightInfo< bExt...
)

Assignment operator for assigning array of weights to this buffer

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback