IMFDXGIBuffer interface (mfobjects.h)
Represents a buffer that contains a Microsoft DirectX Graphics Infrastructure (DXGI)surface.
Inheritance
The IMFDXGIBuffer interface inherits from the IUnknown interface. IMFDXGIBuffer also has these types of members:
Methods
The IMFDXGIBuffer interface has these methods.
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
Requirement | Value |
---|---|
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) |