Navigation
API > API/Runtime > API/Runtime/Engine
Runtime structure for keeping track of skin weight profile(s) and the associated buffer
| Name | FSkinWeightProfilesData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/SkinWeightProfile.h |
| Include Path | #include "Rendering/SkinWeightProfile.h" |
Syntax
struct FSkinWeightProfilesData
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSkinWeightProfilesData() |
Rendering/SkinWeightProfile.h |
Enums
Public
| Name | Remarks |
|---|---|
| EReadbackStatus |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnPickOverrideSkinWeightProfile | TBaseDelegate_ThreeParams< int32, const USkeletalMesh *, const TArrayView< const FSkinWeightProfileInfo >, int32 > | Rendering/SkinWeightProfile.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OnPickOverrideSkinWeightProfile | FOnPickOverrideSkinWeightProfile | Rendering/SkinWeightProfile.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BaseBuffer | FSkinWeightVertexBuffer * | Rendering/SkinWeightProfile.h | ||
| bDefaultOverridden | bool | Rendering/SkinWeightProfile.h | ||
| bEmittedOverrideWarning | bool | Rendering/SkinWeightProfile.h | ||
| bStaticOverridden | bool | Rendering/SkinWeightProfile.h | ||
| DefaultOverrideSkinWeightBuffer | FSkinWeightVertexBuffer * | Rendering/SkinWeightProfile.h | ||
| DefaultProfileStack | FSkinWeightProfileStack | Rendering/SkinWeightProfile.h | ||
| OverrideData | TMap< FName, FRuntimeSkinWeightProfileData > | Rendering/SkinWeightProfile.h | ||
| OverrideDataLock | FCriticalSection | Rendering/SkinWeightProfile.h | ||
| PendingProfileStack | FSkinWeightProfileStack | Rendering/SkinWeightProfile.h | ||
| ProfileBufferMapLock | UE::FRWSpinLock | Guards both the ProfileStackToBuffer map structure AND the contents of the FSkinWeightVertexBuffer values stored in it (WeightData, Data, NumBoneWeights, VertexBufferRHI). | Rendering/SkinWeightProfile.h | |
| ProfileStackToBuffer | TMap< FSkinWeightProfileStack, FSkinWeightVertexBuffer * > | Rendering/SkinWeightProfile.h | ||
| ReadbackData | FSkinWeightReadbackData | Rendering/SkinWeightProfile.h | ||
| ReadbackStatus | TAtomic< uint32 > | Atomic GPU readback status as this can be modified from within the render thread | Rendering/SkinWeightProfile.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRuntimeSkinWeightProfileData & AddOverrideData
(
const FName& ProfileName |
Rendering/SkinWeightProfile.h | ||
void ClearDynamicDefaultSkinWeightProfile
(
USkeletalMesh* Mesh, |
Rendering/SkinWeightProfile.h | ||
bool ContainsOverrideBuffer
(
const FSkinWeightProfileStack& InProfileStack |
Rendering/SkinWeightProfile.h | ||
bool ContainsProfile
(
const FName& ProfileName |
Lookups for individual profiles. | Rendering/SkinWeightProfile.h | |
void CreateRHIBuffers
(
FRHICommandListBase& RHICmdList, |
Rendering/SkinWeightProfile.h | ||
bool DoReadbackIfNeeded
(
const FSkinWeightProfileStack& InProfileStack |
Rendering/SkinWeightProfile.h | ||
SIZE_T GetCPUAccessMemoryOverhead() |
Rendering/SkinWeightProfile.h | ||
FSkinWeightVertexBuffer * GetDefaultOverrideBuffer() |
Rendering/SkinWeightProfile.h | ||
FSkinWeightProfileStack GetDefaultProfileStack() |
Rendering/SkinWeightProfile.h | ||
FSkinWeightVertexBuffer * GetOverrideBuffer
(
const FSkinWeightProfileStack& InProfileStack |
Buffer lookup for layered profiles. | Rendering/SkinWeightProfile.h | |
const FRuntimeSkinWeightProfileData * GetOverrideData
(
const FName& ProfileName |
Rendering/SkinWeightProfile.h | ||
const FSkinWeightProfileStack & GetPendingProfileStack() |
Rendering/SkinWeightProfile.h | ||
EReadbackStatus GetReadbackStatus() |
Rendering/SkinWeightProfile.h | ||
SIZE_T GetResourcesSize() |
Rendering/SkinWeightProfile.h | ||
void Init
(
FSkinWeightVertexBuffer* InBaseBuffer |
Rendering/SkinWeightProfile.h | ||
void InitRHIForStreaming
(
const TArray< TPair< FSkinWeightProfileStack, FSkinWeightRHIInfo > >& IntermediateBuffers, |
Rendering/SkinWeightProfile.h | ||
bool IsDefaultOverridden() |
Rendering/SkinWeightProfile.h | ||
bool IsStaticOverridden() |
Rendering/SkinWeightProfile.h | ||
void PumpGPUReadback() |
Rendering/SkinWeightProfile.h | ||
void ReleaseCPUResources() |
Rendering/SkinWeightProfile.h | ||
void ReleaseResources() |
Rendering/SkinWeightProfile.h | ||
void ReleaseRHIForStreaming
(
FRHIResourceReplaceBatcher& Batcher |
Rendering/SkinWeightProfile.h | ||
void SerializeMetaData
(
FArchive& Ar |
Rendering/SkinWeightProfile.h | ||
void SetDynamicDefaultSkinWeightProfile
(
USkeletalMesh* Mesh, |
Rendering/SkinWeightProfile.h | ||
void SetPendingProfileStack
(
FSkinWeightProfileStack InProfileStack |
Rendering/SkinWeightProfile.h | ||
void SetupDynamicDefaultSkinWeightProfile() |
Rendering/SkinWeightProfile.h | ||
bool ShouldEnqueueGPUReadback() |
Rendering/SkinWeightProfile.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AllowCPU() |
Rendering/SkinWeightProfile.h | ||
static bool HandleDelayedLoads() |
Rendering/SkinWeightProfile.h |