ISDKWorldInstanceBase addon SDK interface
The ISDKWorldInstanceBase
interface is used as a runtime base class for world instances in the addon SDK. It derives from both ISDKInstanceBase and IWorldInstance.
ISDKWorldInstanceBase APIs
- _handleRendererContextLoss()
- Utility method to enable calling of the
_onRendererContextLost()
and _onRendererContextRestored()
methods.
- _onRendererContextLost()
- _onRendererContextRestored()
- Optional overrides for handling renderer context loss. This is only necessary if your addon creates any renderer resources. These overrides are only called if your instance first calls
_handleRendererContextLoss()
(normally in the constructor to enable these callbacks for the lifetime of the instance). In a context loss event, all renderer resources have been released, so any references to them must be dropped. In a context restored event the resources may be recreated again if necessary. Alternatively they can be left released if a lazy-loading approach is used.
Construct 3 Manual
Construct.net
2024-05-15
2024-05-16
You are here:
Search this manual:
This manual entry was last updated on 16 May, 2024 at 09:17