The IPluginDXTexture2 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.) | |
GetTexture |
Called by the PluginHost everytime a texture 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 texture.
| |
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.) |