Skip to content

LiteFX::Rendering::Backends::DirectX12Backend::DirectX12Backend

Creates a new DirectX 12 graphics backend instance.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] explicit DirectX12Backend(
    App const& app,
    bool advancedSoftwareRasterizer = false);

Parameters

NameDescription
appA reference to the underlying app instance.
advancedSoftwareRasterizerIf set to true, the backend uses the WARP software rasterizer.