Home -> IRenderer -> Delete

Description

The Delete method destroys this renderer. Note that unlike all created objects from the IRenderer interface, deleting the renderer does not perform deferred destruction, and fully destroys the object before it returns. It is the responsibility of the application to ensure that all objects created through the IRenderer interface are destroyed prior to destroying the renderer itself. Allocated objects alive after the destruction of the renderer may lead to runtime failures.

WarningWarning

Under normal circumstances, this method should never need to be called directly. The unique_ptr which is returned when this object is constructed will call this method itself when the pointer is released. You must not call this method if the object lifetime is still being managed by the unique_ptr object, otherwise the method will be called more than once. If this occurs the behaviour is undefined, and it may result in runtime errors.

Usage

void Delete();

See also