MediaTranscoder.HardwareAccelerationEnabled 属性

定义

指定是否启用硬件加速。

public:
 property bool HardwareAccelerationEnabled { bool get(); void set(bool value); };
bool HardwareAccelerationEnabled();

void HardwareAccelerationEnabled(bool value);
public bool HardwareAccelerationEnabled { get; set; }
var boolean = mediaTranscoder.hardwareAccelerationEnabled;
mediaTranscoder.hardwareAccelerationEnabled = boolean;
Public Property HardwareAccelerationEnabled As Boolean

属性值

Boolean

bool

如果启用,则设置为 true ,否则 为 false

适用于