docs: update RHI API docs
This commit is contained in:
@@ -15,7 +15,7 @@ virtual const RHIDeviceInfo& GetDeviceInfo() const = 0;
|
||||
```cpp
|
||||
const RHIDeviceInfo& info = device->GetDeviceInfo();
|
||||
|
||||
printf("GPU: %ls\n", info.description.c_str());
|
||||
printf("GPU: %ls\n", info.renderer.c_str());
|
||||
printf("Vendor: %ls\n", info.vendor.c_str());
|
||||
printf("Driver: %ls\n", info.version.c_str());
|
||||
printf("VRAM: %llu MB\n", info.dedicatedVideoMemory / 1024 / 1024);
|
||||
|
||||
Reference in New Issue
Block a user