- Unreal Engine 4 Scripting with C++ Cookbook
- William Sherif Stephen Whittle
- 87字
- 2021-07-08 10:50:49
Chapter 3. Memory Management and Smart Pointers
In this chapter, we are going to cover the following topics:
- Unmanaged memory – using
malloc()
/free()
- Unmanaged memory – using
new
/delete
- Managed memory – using
NewObject< >
andConstructObject< >
- Managed memory – deallocating memory
- Managed memory – smart pointers (
TSharedPtr
,TWeakPtr
,TAutoPtr
) to track an object - Using
TScopedPointer
to track an object - Unreal's garbage collection system and
UPROPERTY()
- Forcing garbage collection
- Breakpoints and stepping through code
- Finding bugs and using call stacks
- Using the Profiler to identify hot spots
推薦閱讀
- 計算機圖形學編程(使用OpenGL和C++)(第2版)
- Learning RabbitMQ
- Building Mapping Applications with QGIS
- Spring實戰(第5版)
- 用Flutter極速構建原生應用
- Hands-On RESTful Web Services with Go
- Interactive Applications Using Matplotlib
- C程序設計案例教程
- PhpStorm Cookbook
- Visual FoxPro程序設計
- 軟件測試技術指南
- Getting Started with Laravel 4
- QGIS Python Programming Cookbook(Second Edition)
- Spring Boot+MVC實戰指南
- 算法設計與分析:基于C++編程語言的描述