UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FGPUSkinCacheEntry Class Reference

Classes

struct  FRecomputeTangentSection
 
struct  FSectionDispatchData
 

Public Member Functions

 FGPUSkinCacheEntry (FGPUSkinCache *InSkinCache, FSkeletalMeshObject *InGPUSkin, FGPUSkinCache::FRWBuffersAllocation *InPositionAllocation, int32 InLOD, EGPUSkinCacheEntryMode InMode)
 
 ~FGPUSkinCacheEntry ()
 
void UpdateVertexFactoryDeclaration (FRHICommandListBase &RHICmdList, int32 Section)
 
FCachedGeometry::Section GetCachedGeometry (int32 SectionIndex) const
 
bool IsSectionValid (int32 Section) const
 
bool IsTargetVertexFactoryValid (const FGPUSkinPassthroughVertexFactory *InTargetVertexFactory) const
 
bool IsValid (FSkeletalMeshObject *InSkin, int32 InLOD) const
 
void UpdateSkinWeightBuffer ()
 
void SetupSection (int32 SectionIndex, const FSkelMeshRenderSection *Section, const FGPUBaseSkinVertexFactory *InSourceVertexFactory, FRecomputeTangentSection InRecomputeTangentSection, int32 DynamicBoundsOffset)
 
TArray< FSectionDispatchData > & GetDispatchData ()
 
TArray< FSectionDispatchData > const & GetDispatchData () const
 

Protected Attributes

EGPUSkinCacheEntryMode Mode
 
FGPUSkinCache::FRWBuffersAllocationPositionAllocation
 
FGPUSkinCacheSkinCache
 
TArray< FSectionDispatchDataDispatchData
 
FSkeletalMeshObjectGPUSkin
 
FGPUSkinPassthroughVertexFactoryTargetVertexFactory = nullptr
 
EGPUSkinBoneInfluenceType BoneInfluenceType = EGPUSkinBoneInfluenceType::Default
 
bool bUse16BitBoneIndex
 
bool bUse16BitBoneWeight
 
bool bQueuedForDispatch = false
 
uint32 InputWeightIndexSize
 
uint32 InputWeightStride
 
FShaderResourceViewRHIRef InputWeightStreamSRV
 
FShaderResourceViewRHIRef InputWeightLookupStreamSRV
 
FRHIShaderResourceViewMorphBuffer = nullptr
 
FShaderResourceViewRHIRef ClothBuffer = nullptr
 
int32 LOD
 

Friends

class FGPUSkinCache
 
class FBaseRecomputeTangentsPerTriangleShader
 

Constructor & Destructor Documentation

◆ FGPUSkinCacheEntry()

FGPUSkinCacheEntry::FGPUSkinCacheEntry ( FGPUSkinCache InSkinCache,
FSkeletalMeshObject InGPUSkin,
FGPUSkinCache::FRWBuffersAllocation InPositionAllocation,
int32  InLOD,
EGPUSkinCacheEntryMode  InMode 
)
inline

◆ ~FGPUSkinCacheEntry()

FGPUSkinCacheEntry::~FGPUSkinCacheEntry ( )
inline

Member Function Documentation

◆ GetCachedGeometry()

FCachedGeometry::Section FGPUSkinCacheEntry::GetCachedGeometry ( int32  SectionIndex) const
inline

◆ GetDispatchData() [1/2]

TArray< FSectionDispatchData > & FGPUSkinCacheEntry::GetDispatchData ( )
inline

◆ GetDispatchData() [2/2]

TArray< FSectionDispatchData > const & FGPUSkinCacheEntry::GetDispatchData ( ) const
inline

◆ IsSectionValid()

bool FGPUSkinCacheEntry::IsSectionValid ( int32  Section) const
inline

◆ IsTargetVertexFactoryValid()

bool FGPUSkinCacheEntry::IsTargetVertexFactoryValid ( const FGPUSkinPassthroughVertexFactory InTargetVertexFactory) const
inline

◆ IsValid()

bool FGPUSkinCacheEntry::IsValid ( FSkeletalMeshObject InSkin,
int32  InLOD 
) const
inline

◆ SetupSection()

void FGPUSkinCacheEntry::SetupSection ( int32  SectionIndex,
const FSkelMeshRenderSection Section,
const FGPUBaseSkinVertexFactory InSourceVertexFactory,
FRecomputeTangentSection  InRecomputeTangentSection,
int32  DynamicBoundsOffset 
)
inline

◆ UpdateSkinWeightBuffer()

void FGPUSkinCacheEntry::UpdateSkinWeightBuffer ( )
inline

◆ UpdateVertexFactoryDeclaration()

void FGPUSkinCacheEntry::UpdateVertexFactoryDeclaration ( FRHICommandListBase RHICmdList,
int32  Section 
)
inline

Friends And Related Symbol Documentation

◆ FBaseRecomputeTangentsPerTriangleShader

friend class FBaseRecomputeTangentsPerTriangleShader
friend

◆ FGPUSkinCache

friend class FGPUSkinCache
friend

Member Data Documentation

◆ BoneInfluenceType

EGPUSkinBoneInfluenceType FGPUSkinCacheEntry::BoneInfluenceType = EGPUSkinBoneInfluenceType::Default
protected

◆ bQueuedForDispatch

bool FGPUSkinCacheEntry::bQueuedForDispatch = false
protected

◆ bUse16BitBoneIndex

bool FGPUSkinCacheEntry::bUse16BitBoneIndex
protected

◆ bUse16BitBoneWeight

bool FGPUSkinCacheEntry::bUse16BitBoneWeight
protected

◆ ClothBuffer

FShaderResourceViewRHIRef FGPUSkinCacheEntry::ClothBuffer = nullptr
protected

◆ DispatchData

TArray<FSectionDispatchData> FGPUSkinCacheEntry::DispatchData
protected

◆ GPUSkin

FSkeletalMeshObject* FGPUSkinCacheEntry::GPUSkin
protected

◆ InputWeightIndexSize

uint32 FGPUSkinCacheEntry::InputWeightIndexSize
protected

◆ InputWeightLookupStreamSRV

FShaderResourceViewRHIRef FGPUSkinCacheEntry::InputWeightLookupStreamSRV
protected

◆ InputWeightStreamSRV

FShaderResourceViewRHIRef FGPUSkinCacheEntry::InputWeightStreamSRV
protected

◆ InputWeightStride

uint32 FGPUSkinCacheEntry::InputWeightStride
protected

◆ LOD

int32 FGPUSkinCacheEntry::LOD
protected

◆ Mode

EGPUSkinCacheEntryMode FGPUSkinCacheEntry::Mode
protected

◆ MorphBuffer

FRHIShaderResourceView* FGPUSkinCacheEntry::MorphBuffer = nullptr
protected

◆ PositionAllocation

FGPUSkinCache::FRWBuffersAllocation* FGPUSkinCacheEntry::PositionAllocation
protected

◆ SkinCache

FGPUSkinCache* FGPUSkinCacheEntry::SkinCache
protected

◆ TargetVertexFactory

FGPUSkinPassthroughVertexFactory* FGPUSkinCacheEntry::TargetVertexFactory = nullptr
protected

The documentation for this class was generated from the following file: