Skip to content

LiteFX::Rendering::Backends::DirectX12Device::adapter

Returns the graphics adapter, the device uses for drawing.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] virtual DirectX12GraphicsAdapter const& adapter() const noexcept override;

Return Value

A reference of the graphics adapter, the device uses for drawing.