DXImage Methods |
The DXImage type exposes the following members.
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
InitializeDXScene | InitializeDXScene method must be called to connect the DXImage control to the DXScene that will render the DirectX scene. The method must be called after the DXScene is initialized and before the scene is rendered. | |
InvalidateD3DImage | Refresh method updates the underlying D3D11ImageSource with marking it dirty so WPF will update it. | |
RecreateD3DImageSource | RecreateD3DImageSource disposes the current D3DImageSource and creates a new instance of D3DImageSource. This method is internally called when the primary monitor is changed. This prevents crashes of WPF rendering thread. User may also manually call this method to prevent some similar problems (please also contact support@ab4d.com in such cases). | |
SetDpiScale | Sets the Dpi scale that will be used by this DXImage |