Navigation
API > API/Runtime > API/Runtime/RHICore
References
| Module | RHICore |
| Header | /Engine/Source/Runtime/RHICore/Public/RHIDiagnosticBuffer.h |
| Include | #include "RHIDiagnosticBuffer.h" |
Syntax
class FRHIDiagnosticBuffer
Remarks
Common base for platform-specific implementations of GPU diagnostic buffer. The diagnostic buffer contains GPU messages (debug logs, shader asserts, etc.) and GPU progress breadcrumbs. This buffer is persistently mapped and can be accessed on CPU at any point, including after a GPU crash has been detected. Platform-specific code is responsible for allocating the actual underlying resource and binding it to shaders that need it. Diagnostic buffer functionality may be used independently of GPU breadcrumbs.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FQueue * | Data | Persistently mapped diagnostic buffer data, initialized by platform-specific code. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | GetShaderDiagnosticMessages
(
uint32 DeviceIndex, |
Log the GPU progress of the given queue to the Error log if breadcrumb data is available. |
Classes
Constants
| Name | Description |
|---|---|
| SizeInBytes |