IVirtualSurfaceImageSourceNative interface
Provides the implementation of a large (greater than the screen size) shared surface for DirectX drawing.
Members
The IVirtualSurfaceImageSourceNative interface inherits from ISurfaceImageSourceNative. IVirtualSurfaceImageSourceNative also has these types of members:
Methods
The IVirtualSurfaceImageSourceNative interface has these methods.
| Method | Description |
|---|---|
| GetUpdateRectCount |
Gets the total number of regions of the surface that must be updated. |
| GetUpdateRects |
Gets the set of regions that must be updated on the shared surface. |
| GetVisibleBounds |
Gets the boundaries of the visible region of the shared surface. |
| Invalidate |
Invalidates a specific region of the shared surface for drawing. |
| RegisterForUpdatesNeeded |
Registers for the callback that will perform the drawing when an update to the shared surface is requested. |
| Resize |
Resizes the surface. |
Remarks
This interface provides the native implementation of the Windows::UI::Xaml::Media::Imaging::VirtualSurfaceImageSource Windows runtime type. To obtain a pointer to IVirtualSurfaceImageSourceNative, you must cast a VirtualSurfaceImageSource instance to IInspectable or IUnknown, and call QueryInterface.
Microsoft::WRL::ComPtr<IVirtualSurfaceImageSourceNative> m_vsisNative; // ... IInspectable* vsisInspectable = (IInspectable*) reinterpret_cast<IInspectable*>(virtualSurfaceImageSource); vsisInspectable->QueryInterface(__uuidof(IVirtualSurfaceImageSourceNative), (void **)&m_vsisNative)
See also
Build date: 11/28/2012