Object Pool Manager Plugin

The object pool pattern is a software creational design pattern that uses a set of initialized objects kept ready to use – a "pool" – rather than allocating and destroying them on demand.

  • 지원 플랫폼
  • 지원 엔진 버전
    4.26 - 4.27
  • 다운로드 유형
    엔진 플러그인
    이 제품은 코드 플러그인과 함께 미리 빌드한 바이너리와 언리얼 엔진에 통합되는 모든 소스 코드를 포함하고 있으며 원하시는 엔진 버전에 설치하여 프로젝트에 따라 활성화할 수 있습니다.
IS NOT UPDATED
Links for videos:

Practical usage of Blueprint: https://youtu.be/cCQhsnOKCnE



Benefits

Object pooling can offer a significant performance boost in situations where the cost of initializing a class instance is high and the rate of instantiation and destruction of a class is high – in this case objects can frequently be reused, and each reuse saves a significant amount of time. Object pooling requires resources – memory and possibly other resources, such as network sockets, and thus it is preferable that the number of instances in use at any one time is low, but this is not required.

The pooled object is obtained in predictable time when creation of the new objects (especially over network) may take variable time. These benefits are mostly true for objects that are expensive with respect to time, such as database connections, socket connections, threads and large graphic objects like fonts or bitmaps.

In other situations, simple object pooling (that hold no external resources, but only occupy memory) may not be efficient and could decrease performance. In case of simple memory pooling, the slab allocation memory management technique is more suited, as the only goal is to minimize the cost of memory allocation and deallocation by reducing fragmentation.

기술적 세부사항

Features:

  •  Easy to use in C++ and BP
  • Uses a set of initialized objects kept ready to use – a "pool" – rather than allocating and destroying them on demand
  •  World pools settings
  •  Performance
  • Easy implemented in any project


Code Module:

  •  "Name": "ObjectPool", "Type": "Runtime", "LoadingPhase": "PreDefault"


Number of Blueprints: 0

Number of C++ Classes: 5

Network Replicated: Yes

Supported Development Platforms: Win64, Win32, MacOS, Linux, PS4, XB-ONE, iOS, Android, Steam VR, Gear VR, Oculus, HoloLens

Supported Target Build Platforms: Win64, Win32, MacOS, Linux, PS4, XB-ONE, iOS, Android, Steam VR, Gear VR, Oculus, HoloLens

Documentation/usage: https://youtu.be/cCQhsnOKCnE

Discord: https://discord.gg/XVpxaKbJgV