Regenerated doc + final submit for now

This commit is contained in:
2026-07-22 17:37:01 -04:00
parent c436639ddd
commit c0d40ef3e4
101 changed files with 869 additions and 781 deletions
@@ -5,7 +5,7 @@
- Source: `Juliet\src\Graphics\D3D12\D3D12Utils.cpp`
## AI Description
This C++ component provides utility functions for DirectX 12 error reporting within the Juliet project. Its primary responsibility is logging detailed Windows system and GPU device errors to developers using formatted HRESULT codes and human-readable messages, specifically handling `DXGI_ERROR_DEVICE_REMOVED` scenarios by retrieving specific removal reasons.
The `D3D12Utils.h` header file defines a utility class for handling DirectX 12 errors in C++. It includes functions to log error messages and retrieve the device removed reason when the device is removed. The `LogError` function takes an `ID3D12Device5` pointer, an error message, and an HRESULT result as parameters. It uses the Windows API's `FormatMessageA` function to convert the HRESULT into a human-readable string and logs it using the `LogManager`. If no error message can be retrieved from the system errors, it posts the code instead. The `D3D12Utils.cpp` source file provides the implementation of the `LogError` function, which uses SDLGPU's `FormatMessageA` function to convert the HRESULT into a human-readable string and logs it using the `LogManager`.
## Symbols