Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/GPUSkinCache.h |
| Include | #include "GPUSkinCache.h" |
Syntax
class FGPUSkinCache
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FRWBuffersAllocation * > | Allocations | ||
| TArray< FDispatchEntry > | BatchDispatches | ||
| bool | bRequiresMemoryLimit | ||
| bool | bShouldBatchDispatches | ||
| int32 | CurrentStagingBufferIndex | ||
| int32 | DispatchCounter | ||
| TArray< FGPUSkinCacheEntry * > | Entries | ||
| uint64 | ExtraRequiredMemory | ||
| ERHIFeatureLevel::Type | FeatureLevel | ||
| int32 | FlushCounter | ||
| TSet< FGPUSkinCacheEntry * > | PendingProcessRTGeometryEntries | ||
| TArray< FSkinCacheRWBuffer > | StagingBuffers | For recompute tangents, holds the data required between compute shaders. | |
| uint64 | UsedMemoryInBytes | ||
| UWorld * | World |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FGPUSkinCache
(
ERHIFeatureLevel::Type InFeatureLevel, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginBatchDispatch
(
FRHICommandListImmediate& RHICmdList |
||
| void | Cleanup () |
||
| void | |||
| void | DispatchUpdateSkinning
(
FRHICommandListImmediate& RHICmdList, |
||
| void | DispatchUpdateSkinTangents
(
FRHICommandListImmediate& RHICmdList, |
||
| void | DoDispatch
(
FRHICommandListImmediate& RHICmdList, |
||
| void | DoDispatch
(
FRHICommandListImmediate& RHICmdList |
||
| void | DrawVisualizationInfoText
(
const FName& GPUSkinCacheVisualizationMode, |
||
| void | EndBatchDispatch
(
FRHICommandListImmediate& RHICmdList |
||
| void | GetBufferUAVs
(
const TArray< FSkinCacheRWBuffer* >& InBuffers, |
||
| uint64 | |||
| ERHIFeatureLevel::Type | |||
| FRWBuffer * | GetPositionBuffer
(
FGPUSkinCacheEntry const* Entry, |
||
| FRWBuffer * | GetPreviousPositionBuffer
(
FGPUSkinCacheEntry const* Entry, |
||
| void | GetShaderVertexStreams
(
const FGPUSkinCacheEntry* Entry, |
||
| FString | GetSkeletalMeshObjectName
(
const FSkeletalMeshObjectGPUSkin* GPUSkin |
||
| FGPUSkinCacheEntry const * | GetSkinCacheEntry
(
uint32 ComponentId |
||
| uint32 | GetUpdatedFrame
(
FGPUSkinCacheEntry const* Entry, |
||
| const FSkinBatchVertexFactoryUserData * | GetVertexFactoryUserData
(
FGPUSkinCacheEntry* Entry, |
||
| FColor | GetVisualizationDebugColor
(
const FName& GPUSkinCacheVisualizationMode, |
||
| void | IncrementDispatchCounter
(
FRHICommandListImmediate& RHICmdList |
||
| void | |||
| bool | IsEntryValid
(
FGPUSkinCacheEntry* SkinCacheEntry, |
||
| bool | |||
| void | MakeBufferTransitions
(
FRHICommandListImmediate& RHICmdList, |
||
| void | PrepareUpdateSkinning
(
FGPUSkinCacheEntry* Entry, |
||
| void | |||
| bool | ProcessEntry
(
EGPUSkinCacheEntryMode Mode, |
||
| void | Release
(
FGPUSkinCacheEntry*& SkinCacheEntry |
||
| void | ReleaseSkinCacheEntry
(
FGPUSkinCacheEntry* SkinCacheEntry |
||
| void | TransitionAllToReadable
(
FRHICommandList& RHICmdList, |
||
| FRWBuffersAllocation * | TryAllocBuffer
(
uint32 NumVertices, |
||
| void | UpdateSkinWeightBuffer
(
FGPUSkinCacheEntry* Entry |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDispatchEntry | |||
| FRWBuffersAllocation | |||
| FRWBufferTracker | |||
| FSkinCacheRWBuffer | |||
| FSortedDispatchEntry |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ESkinCacheInitSettings |
Constants
| Name | Description |
|---|---|
| CVarSink | |
| NUM_BUFFERS |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FCachedGeometry::Section | GetCachedGeometry
(
FGPUSkinCacheEntry* InOutEntry, |
Use GetPositionBuffer() or similar instead. |