Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Rendering
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Rendering/SkinWeightVertexBuffer.h |
| Include | #include "Rendering/SkinWeightVertexBuffer.h" |
Syntax
class FSkinWeightVertexBuffer
Remarks
A container for skin weights data vertex buffer and lookup vertex buffer.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. | |||
FSkinWeightVertexBuffer
(
const FSkinWeightVertexBuffer& Other |
Constructor (copy) |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| void | CleanUp () |
Delete existing resources | |
| void | CopyMetaData
(
const FSkinWeightVertexBuffer& Other |
||
| void | CopySkinWeightRawDataFromBuffer
(
const uint8* InSkinWeightData, |
||
| FSkinWeightRHIInfo | |||
| FSkinWeightRHIInfo | |||
| uint32 | GetBoneIndex
(
uint32 VertexIndex, |
||
| uint32 | |||
| uint32 | |||
| GPUSkinBoneInfluenceType | |||
| uint16 | GetBoneWeight
(
uint32 VertexIndex, |
||
| uint32 | |||
| uint32 | |||
| uint32 | |||
| const FSkinWeightDataVertexBuffer * | |||
| FSkinWeightDataVertexBuffer * | |||
| const FSkinWeightLookupVertexBuffer * | |||
| uint32 | |||
| bool | |||
| uint32 | |||
| bool | GetRigidWeightBone
(
uint32 VertexIndex, |
||
| void | GetSkinWeights
(
TArray< FSkinWeightInfo >& OutVertices |
||
| bool | |||
| uint32 | |||
| void | GetVertexInfluenceOffsetCount
(
uint32 VertexIndex, |
||
| FSkinWeightInfo | GetVertexSkinWeights
(
uint32 VertexIndex |
||
| void | Init
(
const TArray< FSoftSkinVertex >& InVertices |
Init from another skin weight buffer | |
| void | InitRHIForStreaming
(
const FSkinWeightRHIInfo& RHIInfo, |
Similar to Init/ReleaseRHI but only update existing SRV so references to the SRV stays valid | |
| void | Should only be called for legacy meshes or meshes that don't really have a LookupVertexBuffer, for example created in realtime. | ||
| void | |||
| void | ReleaseRHIForStreaming
(
FRHIResourceUpdateBatcher& Batcher |
||
| void | ResetVertexBoneWeights
(
uint32 VertexIndex |
||
| void | SerializeMetaData
(
FArchive& Ar |
||
| void | SetBoneIndex
(
uint32 VertexIndex, |
||
| void | SetBoneWeight
(
uint32 VertexIndex, |
||
| void | SetMaxBoneInfluences
(
uint32 InMaxBoneInfluences |
||
| void | SetNeedsCPUAccess
(
bool bInNeedsCPUAccess |
||
| void | SetOwnerName
(
const FName& OwnerName |
SetOwnerName should be called before BeginInitResources for the owner name to be successfully tracked. | |
| void | SetUse16BitBoneIndex
(
bool bInUse16BitBoneIndex |
||
| void | SetUse16BitBoneWeight
(
bool bInUse16BitBoneWeight |
||
| bool | |||
| bool |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FSkinWeightVertexBuffer & | operator=
(
const TArray< FSkinWeightInfo >& InWeights |
Assignment operator for assigning array of weights to this buffer | |
| FSkinWeightVertexBuffer & | operator=
(
const FSkinWeightVertexBuffer& Other |
Assignment. Assumes that vertex buffer will be rebuilt |