IMFDXGIBuffer interface

Represents a buffer that contains a Microsoft DirectX Graphics Infrastructure (DXGI)surface.

Methods

The IMFDXGIBuffer interface has these methods.

Method Description
IMFDXGIBuffer::GetResource Queries the Microsoft DirectX Graphics Infrastructure (DXGI)surface for an interface.
IMFDXGIBuffer::GetSubresourceIndex Gets the index of the subresource that is associated with this media buffer.
IMFDXGIBuffer::GetUnknown Gets an IUnknown pointer that was previously stored in the media buffer object.
IMFDXGIBuffer::SetUnknown Stores an arbitrary IUnknown pointer in the media buffer object.

Remarks

To create a DXGImedia buffer, first create the DXGIsurface. Then call MFCreateDXGISurfaceBuffer.

Requirements

   
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfobjects.h (include Mfidl.h)

See Also

Media Foundation Interfaces