Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::anonymous_namespace{hresult.cpp} Namespace Reference

Classes

struct  NamedResult

Functions

std::string_view NameOf (HRESULT result)
std::string SystemMessageOf (HRESULT result)

Variables

constexpr std::array NAMED_RESULTS

Function Documentation

◆ NameOf()

std::string_view bicameral::anonymous_namespace{hresult.cpp}::NameOf ( HRESULT result)

Definition at line 57 of file hresult.cpp.

References NAMED_RESULTS, and NameOf().

Referenced by NameOf().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SystemMessageOf()

std::string bicameral::anonymous_namespace{hresult.cpp}::SystemMessageOf ( HRESULT result)

Definition at line 67 of file hresult.cpp.

References SystemMessageOf(), and bicameral::ToUtf8().

Referenced by SystemMessageOf().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ NAMED_RESULTS

std::array bicameral::anonymous_namespace{hresult.cpp}::NAMED_RESULTS
constexpr
Initial value:
= {
BICAMERAL_NAMED_RESULT(E_INVALIDARG),
BICAMERAL_NAMED_RESULT(E_OUTOFMEMORY),
BICAMERAL_NAMED_RESULT(E_NOINTERFACE),
BICAMERAL_NAMED_RESULT(E_ACCESSDENIED),
BICAMERAL_NAMED_RESULT(E_UNEXPECTED),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_ACCESS_LOST),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_DEVICE_HUNG),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_DEVICE_REMOVED),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_DEVICE_RESET),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_DRIVER_INTERNAL_ERROR),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_INVALID_CALL),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_MORE_DATA),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_NOT_CURRENTLY_AVAILABLE),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_NOT_FOUND),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_SDK_COMPONENT_MISSING),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_UNSUPPORTED),
BICAMERAL_NAMED_RESULT(DXGI_ERROR_WAS_STILL_DRAWING),
BICAMERAL_NAMED_RESULT(D3D12_ERROR_ADAPTER_NOT_FOUND),
BICAMERAL_NAMED_RESULT(D3D12_ERROR_DRIVER_VERSION_MISMATCH),
}
#define BICAMERAL_NAMED_RESULT(code)
Definition hresult.cpp:23

Definition at line 27 of file hresult.cpp.

Referenced by NameOf().