書名: 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
推薦閱讀
- Learning ROS for Robotics Programming(Second Edition)
- C# Programming Cookbook
- Getting Started with CreateJS
- C#程序設計教程
- Raspberry Pi 2 Server Essentials
- Python算法從菜鳥到達人
- Flutter跨平臺開發入門與實戰
- Mastering JavaScript High Performance
- 西門子S7-200 SMART PLC編程從入門到實踐
- Tableau 10 Bootcamp
- TMS320LF240x芯片原理、設計及應用
- C/C++數據結構與算法速學速用大辭典
- Python Interviews
- 監控的藝術:云原生時代的監控框架
- Learning ECMAScript 6