The IPluginDXMesh type exposes the following members.
Methods
Name | Description | |
---|---|---|
DestroyResource |
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()
(Inherited from IPluginDXResource.) | |
GetMesh |
Called by the PluginHost everytime a mesh is accessed via a pin on the plugin.
This is called from the PluginHost from within DirectX BeginScene/EndScene,
therefore the plugin shouldn't be doing much here other than handing back the right mesh.
| |
UpdateResource |
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.
(Inherited from IPluginDXResource.) |