Called by the PluginHost whenever a resource for a specific pin needs to be destroyed on a specific device.
This is also called when the plugin is destroyed, so don't dispose dxresources in the plugins destructor/Dispose()
Namespace: VVVV.PluginInterfaces.V1Assembly: VVVV.PluginInterfaces (in VVVV.PluginInterfaces.dll) Version: 2.0.4694.10872
Syntax
C# |
---|
void DestroyResource( IPluginOut ForPin, Device OnDevice, bool OnlyUnManaged ) |
Parameters
- ForPin
- Type: VVVV.PluginInterfaces.V1..::..IPluginOut
Interface to the pin for which the function is called.
- OnDevice
- Type: Device
Pointer to the device on which the resources is to be destroyed.
- OnlyUnManaged
- Type: System..::..Boolean
If True only unmanaged DirectX resources need to be destroyed.