#include <device.h>
|
| static void __stdcall | OnDebugMessage (D3D12_MESSAGE_CATEGORY category, D3D12_MESSAGE_SEVERITY severity, D3D12_MESSAGE_ID id, LPCSTR description, void *context) |
| static std::unique_ptr< MessageSink > | AttachMessageSink (ID3D12Device5 *device) |
Definition at line 42 of file device.h.
◆ Device()
| bicameral::gpu::Device::Device |
( |
| ) |
|
|
privatedefault |
◆ AttachMessageSink()
| std::unique_ptr< Device::MessageSink > bicameral::gpu::Device::AttachMessageSink |
( |
ID3D12Device5 * | device | ) |
|
|
staticnodiscardprivate |
◆ Create()
Definition at line 313 of file device.cpp.
References AttachMessageSink(), bicameral::gpu::DeviceOptions::debugLayer, bicameral::DescribeHresult(), Device(), Get(), bicameral::gpu::DeviceOptions::gpuBasedValidation, m_device, m_factory, m_messageSink, m_options, bicameral::gpu::DeviceOptions::presentMonitor, and bicameral::gpu::Warp.
Referenced by bicameral::frame::anonymous_namespace{frame_loop.cpp}::CreateParts().
◆ Factory()
| IDXGIFactory6 * bicameral::gpu::Device::Factory |
( |
| ) |
const |
|
inlinenodiscard |
◆ Get()
| ID3D12Device5 * bicameral::gpu::Device::Get |
( |
| ) |
const |
|
inlinenodiscard |
◆ OnDebugMessage()
| void __stdcall bicameral::gpu::Device::OnDebugMessage |
( |
D3D12_MESSAGE_CATEGORY | category, |
|
|
D3D12_MESSAGE_SEVERITY | severity, |
|
|
D3D12_MESSAGE_ID | id, |
|
|
LPCSTR | description, |
|
|
void * | context ) |
|
staticprivate |
◆ Options()
◆ ValidationErrorCount()
| uint32_t bicameral::gpu::Device::ValidationErrorCount |
( |
| ) |
const |
|
nodiscard |
◆ ValidationWarningCount()
| uint32_t bicameral::gpu::Device::ValidationWarningCount |
( |
| ) |
const |
|
nodiscard |
◆ m_device
| ComPtr<ID3D12Device5> bicameral::gpu::Device::m_device |
|
private |
◆ m_factory
| ComPtr<IDXGIFactory6> bicameral::gpu::Device::m_factory |
|
private |
◆ m_messageSink
| std::unique_ptr<MessageSink> bicameral::gpu::Device::m_messageSink |
|
private |
◆ m_options
The documentation for this class was generated from the following files: