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

  • SDL Game Development
  • Shaun Mitchell
  • 78字
  • 2021-08-20 16:44:51

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
主站蜘蛛池模板: 拉萨市| 普兰店市| 井研县| 观塘区| 鄂托克旗| 渝北区| 越西县| 玉山县| 安徽省| 定兴县| 武鸣县| 闽侯县| 东光县| 宜章县| 绥芬河市| 定结县| 塔河县| 吉水县| 三原县| 安阳市| 五常市| 马关县| 金塔县| 开原市| 美姑县| 丘北县| 泸州市| 阿拉尔市| 凤翔县| 咸宁市| 青神县| 涞源县| 沙雅县| 木里| 平定县| 青田县| 托里县| 伊宁县| 宜都市| 翼城县| 林西县|