[]
        
(Showing Draft Content)

C1.Util.DX.DXGI.Factory

Factory Class

IDXGIFactory

Implements
Namespace: C1.Util.DX.DXGI
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("7b7166ec-21c7-44ae-b21a-c9ae321ae369")]
public class Factory : DXGIObject, IDisposable, IUnknown

Constructors

Name Description
Factory(IntPtr)

Initializes a new instance of the Factory class.

Properties

Name Description
Adapters

Return an array of Adapter available from this factory.

Methods

Name Description
CreateSoftwareAdapter(IntPtr)

HRESULT IDXGIFactory::CreateSoftwareAdapter([In] HINSTANCE Module,[Out] IDXGIAdapter** ppAdapter)

CreateSwapChain(ComObject, ref SwapChainDescription)

HRESULT IDXGIFactory::CreateSwapChain([In] IUnknown* pDevice,[In] DXGI_SWAP_CHAIN_DESC* pDesc,[Out, Fast] IDXGISwapChain** ppSwapChain)

GetAdapter(int)

Gets both adapters (video cards) with or without outputs.

GetAdapter(int, out Adapter)

HRESULT IDXGIFactory::EnumAdapters([In] unsigned int Adapter,[Out] IDXGIAdapter** ppAdapter)

GetAdapterCount()

Return the number of available adapters from this factory.

GetWindowAssociation()

HRESULT IDXGIFactory::GetWindowAssociation([Out] HWND* pWindowHandle)

MakeWindowAssociation(IntPtr, WindowAssociationFlags)

HRESULT IDXGIFactory::MakeWindowAssociation([In] HWND WindowHandle,[In] DXGI_MWA_FLAGS Flags)

Operators

Name Description
explicit operator Factory(IntPtr)

Performs an explicit conversion from IntPtr to Factory.