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

#include <GPUSkinVertexFactory.h>

+ Inheritance diagram for FSharedPoolPolicyData:

Public Types

enum  { NumSafeFrames = 4 , NumPoolBucketSizes = 18 , NumToDrainPerFrame = 10 , CullAfterFramesNum = 30 }
 
typedef uint32 CreationArguments
 

Public Member Functions

uint32 GetPoolBucketIndex (uint32 Size)
 
uint32 GetPoolBucketSize (uint32 Bucket)
 

Detailed Description

Shared data & implementation for the different types of pool

Member Typedef Documentation

◆ CreationArguments

Buffers are created with a simple byte size

Member Enumeration Documentation

◆ anonymous enum

Enumerator
NumSafeFrames 
NumPoolBucketSizes 

Number of frames to leaves buffers before reclaiming/reusing

NumToDrainPerFrame 

Number of pool buckets

CullAfterFramesNum 

Max. number of resources to cull in a single frame

Member Function Documentation

◆ GetPoolBucketIndex()

uint32 FSharedPoolPolicyData::GetPoolBucketIndex ( uint32  Size)

Get the pool bucket index from the size

Parameters
Sizethe number of bytes for the resource
Returns
The bucket index.

◆ GetPoolBucketSize()

uint32 FSharedPoolPolicyData::GetPoolBucketSize ( uint32  Bucket)

Get the pool bucket size from the index

Parameters
Bucketthe bucket index
Returns
The bucket size.

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