LiteFX::Rendering::Backends::DirectX12GraphicsAdapter::create¶
Creates a new DirectX12 graphics adapter.
Synopsis¶
Declared in <litefx/backends/dx12_api.hpp>
[[dllimport, dllexport]] static auto create(ComPtr<IDXGIAdapter4> adapter);
Return Value¶
A shared pointer to the graphics adapter instance.
Parameters¶
| Name | Description |
|---|---|
| adapter | The DXGI adapter interface pointer. |