The IPluginDXResource type exposes the following members.

Methods

  NameDescription
Public methodDestroyResource
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()
Public methodUpdateResource
Called by the PluginHost every frame for every device. Therefore a plugin should only do device specific operations here and still keep node specific calculations in the Evaluate call.

See Also