You want to prepare the most exciting game using as much GPU acceleration as possible. However, is the game going to take advantage of GPU acceleration in Silverlight 3? As previously explained, that depends on the operations performed over the UI elements. If you have any doubts, it is possible to change a parameter and check whether Silverlight is sending the cache bitmap to the GPU for certain UI elements:
1. Stay in the
SilverlightMonster
project.2. Open the ASPX code for
SilverlightMonsterTestPage.aspx
(double-click on it in the Solution Explorer, found under theSilverlightMonster.Web
project).3. Move to the section beginning with the following line of code:
<object data="data:application/x-silverlight-2,"
4. Insert the following line of code after the line that begins with
<param name="source"
. (We are setting theEnableCacheVisualization
boolean parameter totrue
for the Silverlight plugin instance.)<param name="EnableCacheVisualization...