Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LayerInfo

Hierarchy

Index

Properties

alpha?: boolean

default is false.

antialias?: boolean

default is false.

aspectSetting: AspectSetting
canvas?: HTMLCanvasElement
context?: WebGLRenderingContext

A WebGL Rendering Context. (https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext) Default is null

depth?: boolean

default is true.

failIfMajorPerformanceCaveat?: boolean

default is false.

logarithmicDepthBuffer?: boolean

default is false.

name: string
pixelRatio?: number
powerPreference?: string

Can be "high-performance", "low-power" or "default"

precision?: string

shader precision. Can be "highp", "mediump" or "lowp".

premultipliedAlpha?: boolean

default is true.

preserveDrawingBuffer?: boolean

default is false.

size: LayerSize
stencil?: boolean

default is true.

wrapperElement?: null | HTMLElement
wrapperElementRect?: null | DOMRect

Generated using TypeDoc