ExcaliburGraphicsContextWebGLOptions
Hierarchy
- ExcaliburGraphicsContextOptions
- ExcaliburGraphicsContextWebGLOptions
Index
Properties
optionalinheritedantialiasing
optionalinheritedbackgroundColor
Current clearing color of the context
inheritedcanvasElement
Target existing html canvas element
optionalcontext
optionalinheritedenableTransparency
Enable canvas transparency
optionalgarbageCollector
Type declaration
collectionInterval: number
garbageCollector: GarbageCollector
optionalhandleContextLost
Type declaration
Parameters
e: Event
Returns void
optionalhandleContextRestored
Type declaration
Parameters
e: Event
Returns void
optionalinheritedmultiSampleAntialiasing
Enable or disable multi-sample antialiasing in the internal render buffer.
If true the max number of samples will be used
By default enabled
optionalinheritedpixelArtSampler
Enable the sub pixel antialiasing pixel art sampler for nice looking pixel art
optionalinheritedpowerPreference
Hint the power preference to the graphics context
optionalinheritedsnapToPixel
Snaps the pixel to an integer value (floor)
optionalinheriteduseDrawSorting
Feature flag that enables draw sorting will removed in v0.29
optionalinheriteduvPadding
UV padding in pixels to use in the internal image rendering
Recommended .25 - .5 of a pixel
Enables antialiasing on the canvas context (smooths pixels with default canvas sampling)