KDGpu::AdapterAndDevice¶
Module: Public API
Convenience struct holding an adapter pointer and its created device. More...
#include <KDGpu/instance.h>
Public Attributes¶
| Name | |
|---|---|
| Adapter * | adapter Pointer to the selected adapter (owned by Instance) |
| Device | device Created device (move this into your application state) |
Detailed Description¶
1 | |
Convenience struct holding an adapter pointer and its created device.
See: Instance::createDefaultDevice()
Returned by Instance::createDefaultDevice() to provide both the chosen adapter and the created device in one operation.
Public Attributes Documentation¶
variable adapter¶
1 | |
Pointer to the selected adapter (owned by Instance)
variable device¶
1 | |
Created device (move this into your application state)
Updated on 2026-03-31 at 00:02:07 +0000