GFX with SDL Lesson 1: Getting started with SDL(翻译)[16]

[入库:2005年8月19日] [更新:2007年3月24日]

本文简介:选择自 heroboy2000 的 blog

sdl_anyformat - 一般地,如果给与的像素位数(bits-per-pixelbpp)不可用的话,sdl回使用影子surfaceshadow surface)模拟。sdl_anyformat会阻止这么做,而忽略参数中的像素位数。
sdl_hwpalette
给予sdl 独立的调色板访问(exclusive palette access)。没有这个选项,你不能通过sdl_setcolorssdl_setpalette来获取颜色。

本文关键:GFX with SDL Lesson 1: Getting started with SDL(翻译)
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top