Skip to content

LiteFX::Rendering::Backends::DX12PlatformException::DX12PlatformException

Initializes a new exception.

Synopsis

Declared in <litefx/backends/dx12_api.hpp>

template<typename... TArgs>
explicit DX12PlatformException(
    HRESULT result,
    std::format_string<TArgs...> format,
    TArgs&&... args);

Parameters

NameDescription
formatThe format string for the error message.
resultThe error code returned by the operation.
argsThe arguments passed to the error message format string.