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

Chapter 2. Drawing in SDL

Graphics are very important to games and they can also be one of the main performance bottlenecks if not handled correctly. With SDL 2.0 we can really take advantage of the GPU when rendering, which gives us a real boost in terms of the speed of rendering.

In this chapter we will cover:

  • The basics of drawing with SDL
  • Source and destination rectangles
  • Loading and displaying textures
  • Using the SDL_image extension
主站蜘蛛池模板: 四会市| 荆州市| 丹棱县| 阳东县| 东丰县| 从江县| 鄂伦春自治旗| 肥西县| 中卫市| 宣汉县| 阳泉市| 吉水县| 成都市| 崇信县| 吐鲁番市| 通化市| 许昌县| 临泽县| 富蕴县| 哈巴河县| 淮安市| 建湖县| 黑龙江省| 元朗区| 临夏县| 安西县| 红原县| 喜德县| 桃源县| 磐安县| 南靖县| 太仆寺旗| 镇宁| 沾化县| 兴隆县| 忻城县| 清水河县| 定西市| 卓尼县| 沾化县| 三原县|