WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUAdapterInfo Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUStringView vendor
 
WGPUStringView architecture
 
WGPUStringView device
 
WGPUStringView description
 
WGPUBackendType backendType
 
WGPUAdapterType adapterType
 
uint32_t vendorID
 
uint32_t deviceID
 

Detailed Description

Default values can be set using WGPU_ADAPTER_INFO_INIT as initializer.

Definition at line 1675 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUAdapterInfo::nextInChain

Definition at line 1676 of file webgpu.h.

◆ vendor

WGPUStringView WGPUAdapterInfo::vendor

This is an Output String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 1682 of file webgpu.h.

◆ architecture

WGPUStringView WGPUAdapterInfo::architecture

This is an Output String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 1688 of file webgpu.h.

◆ device

WGPUStringView WGPUAdapterInfo::device

This is an Output String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 1694 of file webgpu.h.

◆ description

WGPUStringView WGPUAdapterInfo::description

This is an Output String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 1700 of file webgpu.h.

◆ backendType

WGPUBackendType WGPUAdapterInfo::backendType

The INIT macro sets this to WGPUBackendType_Undefined.

Definition at line 1704 of file webgpu.h.

◆ adapterType

WGPUAdapterType WGPUAdapterInfo::adapterType

The INIT macro sets this to (WGPUAdapterType)0.

Definition at line 1708 of file webgpu.h.

◆ vendorID

uint32_t WGPUAdapterInfo::vendorID

The INIT macro sets this to 0.

Definition at line 1712 of file webgpu.h.

◆ deviceID

uint32_t WGPUAdapterInfo::deviceID

The INIT macro sets this to 0.

Definition at line 1716 of file webgpu.h.