Class NullEngineOptions
Index
Constructors
constructor
-
Returns NullEngineOptions
Properties
deterministic Lockstep
If delta time between frames should be constant
Optionalenable Multiview
Enables headless multiview render-target support for CPU-side render-state tests. Does NOT emulate GPU multiview rendering.
Enabling this also makes NullEngine.supportsUniformBuffers report true. The coupling is
intentional and intrinsic, not an incidental side effect: the per-eye viewProjectionR matrix
is carried ONLY by the multiview scene UBO, and Scene writes it only while that UBO is active
(useUbo, which requires uniform-buffer support). It also mirrors real engines — multiview is
an OVR_multiview2 / WebGL2 feature and WebGL2 always provides uniform buffers — so
enableMultiview without uniform-buffer support is not a coherent state.
lockstep Max Steps
Maximum about of steps between frames (Default: 4)
render Height
Render height (Default: 256)
Optionalrendering Canvas
If supplied, the HTMLCanvasElement to use (e.g. as the inputElement)
render Width
Render width (Default: 512)
texture Size
Texture size (Default: 512)
Optionaltime Step
Defines the seconds between each deterministic lock step
Optionaluse High Precision Matrix
Make the matrix computations to be performed in 64 bits instead of 32 bits. False by default
Options to create the null engine