IVirtualSurfaceImageSourceNative interface (windows.ui.xaml.media.dxinterop.h)

Provides the implementation of a large (greater than the screen size) shared surface for DirectX drawing.

Inheritance

The IVirtualSurfaceImageSourceNative interface inherits from ISurfaceImageSourceNative. IVirtualSurfaceImageSourceNative also has these types of members:

Methods

The IVirtualSurfaceImageSourceNative interface has these methods.

 
IVirtualSurfaceImageSourceNative::GetUpdateRectCount

Gets the total number of regions of the surface that must be updated.
IVirtualSurfaceImageSourceNative::GetUpdateRects

Gets the set of regions that must be updated on the shared surface.
IVirtualSurfaceImageSourceNative::GetVisibleBounds

Gets the boundaries of the visible region of the shared surface.
IVirtualSurfaceImageSourceNative::Invalidate

Invalidates a specific region of the shared surface for drawing.
IVirtualSurfaceImageSourceNative::RegisterForUpdatesNeeded

Registers for the callback that will perform the drawing when an update to the shared surface is requested.
IVirtualSurfaceImageSourceNative::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)
	

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header windows.ui.xaml.media.dxinterop.h

See also

DirectX and XAML interop

ISurfaceImageSourceNative