- 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
推薦閱讀
- Java程序設(shè)計(jì)與開發(fā)
- What's New in TensorFlow 2.0
- Learning Selenium Testing Tools with Python
- Python自動(dòng)化運(yùn)維快速入門
- Flash CS6中文版應(yīng)用教程(第三版)
- Building Microservices with .NET Core
- Windows Embedded CE 6.0程序設(shè)計(jì)實(shí)戰(zhàn)
- C++從入門到精通(第6版)
- Greenplum構(gòu)建實(shí)時(shí)數(shù)據(jù)倉庫實(shí)踐
- Building a Media Center with Raspberry Pi
- 軟技能2:軟件開發(fā)者職業(yè)生涯指南
- Android開發(fā)進(jìn)階實(shí)戰(zhàn):拓展與提升
- 第五空間戰(zhàn)略:大國間的網(wǎng)絡(luò)博弈
- Python Django Web從入門到項(xiàng)目實(shí)戰(zhàn)(視頻版)
- Android開發(fā)權(quán)威指南(第二版)