Create a new abstract renderer.
Protected
_cameraProtected
_sceneA canvas where the renderer draws its output.
If true, the renderer will not render any new frames.
Protected
_checkCheck if the provided arguments are valid. Assume that they are not!
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
Render a single frame.
Use this inside the requestAnimationFrame
.
Set the camera to be used by this renderer.
New camera to be used.
Resizes the output canvas to (width, height), and also sets the viewport to fit that size, starting in (0, 0).
Optional
_updateStyle: booleanE2E test method.
This method should return true
if the test passes, and false
if it fails.
Check the method itself for more information.
An abstract renderer.