mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Add WebGL2 renderer
This commit is contained in:
6
src/types/index.d.ts
vendored
6
src/types/index.d.ts
vendored
@@ -37,7 +37,7 @@ type BxStates = {
|
||||
productId: string;
|
||||
titleInfo: XcloudTitleInfo;
|
||||
|
||||
$video: HTMLVideoElement | null;
|
||||
streamPlayer: StreamPlayer | null;
|
||||
|
||||
peerConnection: RTCPeerConnection;
|
||||
audioContext: AudioContext | null;
|
||||
@@ -62,6 +62,7 @@ type XcloudTitleInfo = {
|
||||
productId: string;
|
||||
supportedInputTypes: InputType[];
|
||||
supportedTabs: any[];
|
||||
hasNativeTouchSupport: boolean;
|
||||
hasTouchSupport: boolean;
|
||||
hasFakeTouchSupport: boolean;
|
||||
hasMkbSupport: boolean;
|
||||
@@ -78,6 +79,9 @@ declare module '*.js';
|
||||
declare module '*.svg';
|
||||
declare module '*.styl';
|
||||
|
||||
declare module '*.fs';
|
||||
declare module '*.vert';
|
||||
|
||||
type MkbMouseMove = {
|
||||
movementX: number;
|
||||
movementY: number;
|
||||
|
Reference in New Issue
Block a user