Skip to content

Documentation / device / DeviceOptions

Interface: DeviceOptions

Defined in: libs/device/src/base_types.ts:2423

Creation options for device

Properties

msaa?

optional msaa?: boolean

Defined in: libs/device/src/base_types.ts:2425

True if the device must have a MSAA back buffer


dpr?

optional dpr?: number

Defined in: libs/device/src/base_types.ts:2427

The device pixel ratio

Released under the MIT License.