Create options
Creates a WGPU adapter
Creates a WGPU context
Creates a WGPU device
Creates a WGPU swapchain
Called in case of an device error
The error message
Resolves the texture format of the swapchain
Update the swapchain texture
Create the renderer
Destroy this Object
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Flushes all pending operations such as buffer copies
The WGPU adapter
The rendering surface to render into TODO: allow other targets such as FBOs
The WGPU canvas context
The WGPU device
The height of the rendering surface
The queue commander
The WGPU swapchain
The texture format of the swapchain
The swapchain texture
The width of the rendering surface
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Add a listener for a given event.
Add a one-time listener for a given event.
Process the uniform update queue
The uniform queue to process
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
Render a frame
The frame to render
Resize the renderer
The destination width after resize
The destination height after resize
Generated using TypeDoc