官术网_书友最值得收藏!

Chapter 3. Creating Your First OSG Program

This chapter demonstrates a common method to create your own OSG applications. The CMake build system, which has already been discussed in the last chapter, will be used for quickly generating solutions and makefiles on different platforms. The native memory management mechanism of OSG is also explained in detail, which is designed to avoid memory leaks at run-time, OSG also supports a refined argument parser and a debugging message notifier, both of which will be introduced.

In this chapter, we will:

  • Show how to build and run your first OSG program with the CMake tool
  • Discuss the utilization of OSG native smart pointers for automatic garbage collection and memory deallocation
  • Introduce the argument parser that will read arguments from the command line
  • Work with the message notifier tool to trace and debug OSG programs
主站蜘蛛池模板: 陈巴尔虎旗| 拜泉县| 抚顺市| 无锡市| 鸡西市| 嫩江县| 泌阳县| 昭通市| 巴马| 五大连池市| 邛崃市| 灵宝市| 合水县| 伊宁市| 资源县| 化隆| 湛江市| 广西| 遂宁市| 新巴尔虎左旗| 克什克腾旗| 濉溪县| 奉新县| 广西| 木里| 鄂伦春自治旗| 临洮县| 长白| 建瓯市| 高安市| 吐鲁番市| 前郭尔| 科尔| 河北省| 北辰区| 灌阳县| 北京市| 长治市| 德州市| 新沂市| 合阳县|