This interface`s methods are called when the render context gets initialized/uninitialized. This may happen at any point (when the browser loses context of the device/context).
Initialize any rendering resources associated with this handler. E.g., compile shaders, create textures.
Rendering will only continue when all handler's initialize promises have resolved.
initialize
Uninitialize any rendering resources associated with this handler. E.g., delete shaders.
This interface`s methods are called when the render context gets initialized/uninitialized. This may happen at any point (when the browser loses context of the device/context).