Sprite(精灵)

The term sprite refers to a 2D bitmap image that can be moved around the screen independently of everything else.  


On some of these early home computers, programmers assigned a bitmap image to ahardware sprite, which was then rendered on top of everything else drawn on screen.The sprite’s position could then be changed by simply updating the location within a CPU register. No other drawing code was needed.These hardware based sprites allowed early home computers to perform functions that would just not have been possible with the limited hardware resources of the day. Sprites were most often used in games to represent the player ship, missiles, bullets, and the enemies you were fighting.

  

The iPhone is many times more powerful than the home computers we had back in the1980s. Its GPU, particularly in the iPhone 3GS, iPhone 4, and iPad, allows it to achievesome impressive visual effects, thanks to their support for OpenGL ES 2.0. 


What Is OpenGL ES?

OpenGL ES is a subset of the OpenGL graphics language for mobile devices (ES stands forEmbedded Systems).The first-generation iPhone and the second-generation iPhone 3G onlysupported OpenGL ES 1.1, and the iPhone 3GS, iPhone 4 and iPad support both OpenGL ES1.1 and 2.0. The main benefit of OpenGL ES 2.0 is its support of shader language. This allows the programmer to define how the GPU should process data rather than only being able to use functions that have been predefined. 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值