Interface ThinEngineOptions
Hierarchy
- ThinEngineOptions
Index
Properties
Optional adapt To Device RatioSearch playground for adaptToDeviceRatio
Defines whether to adapt to the device's viewport characteristics (default: false)
Optional antialiasSearch playground for antialias
Defines whether MSAA is enabled on the canvas.
Optional audio EngineSearch playground for audioEngine
Defines if webaudio should be initialized as well
Optional audio Engine OptionsSearch playground for audioEngineOptions
Specifies options for the audio engine
Optional deterministic LockstepSearch playground for deterministicLockstep
Defines if animations should run using a deterministic lock step
Optional do Not Handle Context LostSearch playground for doNotHandleContextLost
Defines that engine should ignore context lost events If this event happens when this parameter is true, you will have to reload the page to restore rendering
Optional do Not Handle Touch ActionSearch playground for doNotHandleTouchAction
Defines that engine should ignore modifying touch action attribute and style If not handle, you might need to set it up on your side for expected touch devices behavior.
Optional limit Device RatioSearch playground for limitDeviceRatio
Defines if the engine should no exceed a specified device ratio
Optional lockstep Max StepsSearch playground for lockstepMaxSteps
Defines the maximum steps to use with deterministic lock step mode
Optional premultiplied AlphaSearch playground for premultipliedAlpha
Defines whether the canvas should be created in "premultiplied" mode (if false, the canvas is created in the "opaque" mode) (true by default)
Optional stencilSearch playground for stencil
Defines whether the stencil buffer should be enabled.
Optional time StepSearch playground for timeStep
Defines the seconds between each deterministic lock step
Optional use Exact Srgb ConversionsSearch playground for useExactSrgbConversions
True if the more expensive but exact conversions should be used for transforming colors to and from linear space within shaders. Otherwise, the default is to use a cheaper approximation.
Optional use High Precision MatrixSearch playground for useHighPrecisionMatrix
Make the matrix computations to be performed in 64 bits instead of 32 bits. False by default
Interface defining initialization parameters for ThinEngine class