Skip to content

Documentation / device / DeviceOptions

Interface: DeviceOptions

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

Creation options for device

Properties

msaa?

optional msaa?: boolean

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

True if the device must have a MSAA back buffer


dpr?

optional dpr?: number

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

The device pixel ratio

Released under the MIT License.