Share via


SmoothStreamingMediaElement.EnableGPUAcceleration Property

Gets or sets a value that indicates whether Global Processing Unit (GPU) acceleration is enabled

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Syntax

'Declaration

Public Property EnableGPUAcceleration As Boolean
    Get
    Set
'Usage

Dim instance As SmoothStreamingMediaElement
Dim value As Boolean

value = instance.EnableGPUAcceleration

instance.EnableGPUAcceleration = value
public bool EnableGPUAcceleration { get; set; }
public:
property bool EnableGPUAcceleration {
    bool get ();
    void set (bool value);
}
member EnableGPUAcceleration : bool with get, set
function get EnableGPUAcceleration () : boolean
function set EnableGPUAcceleration (value : boolean)

Property Value

Type: System.Boolean
true if Global Processing Unit (GPU) acceleration is enabled; otherwise, false.

Version Information

Silverlight

Supported in: 5

Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

See Also

Reference

SmoothStreamingMediaElement Class

Microsoft.Web.Media.SmoothStreaming Namespace