mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Updated BGFX_PCI_ID docs to reflect GPU priority & added missing enums (#2888)
* Add new BGFX_PCI_ID enums * Updated BGFX_PCI_ID docs to reflect GPU priority & added missing enums * Updated bgx.idl; minor corrections; ran GENie
This commit is contained in:
@@ -793,16 +793,18 @@ struct.Init { ctor }
|
||||
--- a default rendering backend will be selected appropriate to the platform.
|
||||
--- See: `bgfx::RendererType`
|
||||
|
||||
.vendorId "uint16_t" --- Vendor PCI id. If set to `BGFX_PCI_ID_NONE` it will select the first
|
||||
--- device.
|
||||
.vendorId "uint16_t" --- Vendor PCI ID. If set to `BGFX_PCI_ID_NONE`, discrete and integrated
|
||||
--- GPUs will be prioritised.
|
||||
--- - `BGFX_PCI_ID_NONE` - Autoselect adapter.
|
||||
--- - `BGFX_PCI_ID_SOFTWARE_RASTERIZER` - Software rasterizer.
|
||||
--- - `BGFX_PCI_ID_AMD` - AMD adapter.
|
||||
--- - `BGFX_PCI_ID_APPLE` - Apple adapter.
|
||||
--- - `BGFX_PCI_ID_INTEL` - Intel adapter.
|
||||
--- - `BGFX_PCI_ID_NVIDIA` - nVidia adapter.
|
||||
--- - `BGFX_PCI_ID_NVIDIA` - NVIDIA adapter.
|
||||
--- - `BGFX_PCI_ID_MICROSOFT` - Microsoft adapter.
|
||||
|
||||
.deviceId "uint16_t" --- Device id. If set to 0 it will select first device, or device with
|
||||
--- matching id.
|
||||
.deviceId "uint16_t" --- Device ID. If set to 0 it will select first device, or device with
|
||||
--- matching ID.
|
||||
.capabilities "uint64_t" --- Capabilities initialization mask (default: UINT64_MAX).
|
||||
.debug "bool" --- Enable device for debugging.
|
||||
.profile "bool" --- Enable device for profiling.
|
||||
|
||||
Reference in New Issue
Block a user