Skip to content

@simversus/yjvisDocs


@simversus/yjvis / SwapchainInfo

Class: SwapchainInfo

交换链信息

Constructors

new SwapchainInfo()

new SwapchainInfo(windowId, windowHandle, vsyncMode, width, height): SwapchainInfo

Parameters

windowId: number = 0

windowHandle: HTMLCanvasElement = ...

vsyncMode: VsyncMode = VsyncMode.ON

width: number = 0

height: number = 0

Returns

SwapchainInfo

Defined in

gfx/base/types.ts:1108

Properties

height

height: number = 0

Defined in

gfx/base/types.ts:1113


vsyncMode

vsyncMode: VsyncMode = VsyncMode.ON

Defined in

gfx/base/types.ts:1111


width

width: number = 0

Defined in

gfx/base/types.ts:1112


windowHandle

windowHandle: HTMLCanvasElement

Defined in

gfx/base/types.ts:1110


windowId

windowId: number = 0

Defined in

gfx/base/types.ts:1109