Torna al Blog

    How to make Silverlight 3D applications more user-friendly by activating EnableGPUAcceleration

    12 settembre 2014

    Silverlight 3D applications can be sluggish because, by default, they render without hardware acceleration. Enabling GPU acceleration in the project settings makes them much more responsive.

    1. Open your project in Visual Studio.
    2. Right click on the main project folder and click Properties.
    3. Check Enable running application out of the browser.
    4. Check Require elevated trust when running in-browser.
    5. Click the Out-of-Browser Settings… button.
    6. Check Use GPU acceleration.
    7. Check Require elevated trust when running outside the browser.
    8. Click OK and run the application again.

    The setting adds the EnableGPUAcceleration parameter to the Silverlight object, which is required for the 3D API to use the graphics card.