首页 > 代码库 > 读书笔记

读书笔记

Here‘s a new data type called an SDL Surface. An SDL surface is just an image data type that contains the pixels of an image along with all data needed to render it. SDL surfaces use software rendering which means it uses the CPU to render. It is possible to render hardware images but it‘s a bit more difficult so we‘re going to learn it the easy way first. In future tutorials we‘ll cover how to render GPU accelerated images.

 

可以用Surface存储一张图

读书笔记