@overwolf/ow-electron-packages-types 1.1.14-beta.2 → 1.1.14-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types.d.ts +16 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overwolf/ow-electron-packages-types",
|
|
3
|
-
"version": "1.1.14-beta.
|
|
3
|
+
"version": "1.1.14-beta.3",
|
|
4
4
|
"description": "Type definition file for autocompletion and documentation purposes for ow-electron packages",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"types": "types.d.ts",
|
package/types.d.ts
CHANGED
|
@@ -1020,8 +1020,8 @@ interface VideoEncoderInfo extends EncoderInfoBase {
|
|
|
1020
1020
|
/**
|
|
1021
1021
|
* Information about a GPU adapter (graphics device).
|
|
1022
1022
|
*
|
|
1023
|
-
* This structure provides metadata such as adapter name, driver,
|
|
1024
|
-
* hardware-accelerated GPU scheduling (HAGS) support.
|
|
1023
|
+
* This structure provides metadata such as adapter name, driver,
|
|
1024
|
+
* hardware-accelerated GPU scheduling (HAGS) support, and PCI vendor/device IDs.
|
|
1025
1025
|
*
|
|
1026
1026
|
* @example
|
|
1027
1027
|
* const adapter: AdapterInfo = {
|
|
@@ -1029,7 +1029,9 @@ interface VideoEncoderInfo extends EncoderInfoBase {
|
|
|
1029
1029
|
* name: 'NVIDIA GeForce RTX 3080',
|
|
1030
1030
|
* driver: '546.33',
|
|
1031
1031
|
* hagsEnabled: true,
|
|
1032
|
-
* hagsEnabledByDefault: false
|
|
1032
|
+
* hagsEnabledByDefault: false,
|
|
1033
|
+
* vendorId: 0x10DE,
|
|
1034
|
+
* deviceId: 0x2206
|
|
1033
1035
|
* };
|
|
1034
1036
|
*/
|
|
1035
1037
|
interface AdapterInfo {
|
|
@@ -1057,6 +1059,17 @@ interface AdapterInfo {
|
|
|
1057
1059
|
* Indicates whether HAGS is enabled by default on this adapter.
|
|
1058
1060
|
*/
|
|
1059
1061
|
readonly hagsEnabledByDefault: boolean;
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* The PCI vendor ID of the adapter.
|
|
1065
|
+
* Common values: 0x10DE (NVIDIA), 0x1002 (AMD), 0x8086 (Intel).
|
|
1066
|
+
*/
|
|
1067
|
+
readonly vendorId: number;
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* The PCI device ID of the adapter, identifying the GPU model within its vendor.
|
|
1071
|
+
*/
|
|
1072
|
+
readonly deviceId: number;
|
|
1060
1073
|
}
|
|
1061
1074
|
|
|
1062
1075
|
|