WebGPU Headers
The WebGPU C API
 
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
Loading...
Searching...
No Matches
WGPUAdapter methods

Functions whose first argument has type WGPUAdapter. More...

Functions

void wgpuAdapterGetFeatures (WGPUAdapter adapter, WGPUSupportedFeatures *features)
 
WGPUStatus wgpuAdapterGetInfo (WGPUAdapter adapter, WGPUAdapterInfo *info)
 
WGPUStatus wgpuAdapterGetLimits (WGPUAdapter adapter, WGPULimits *limits)
 
WGPUBool wgpuAdapterHasFeature (WGPUAdapter adapter, WGPUFeatureName feature)
 
WGPUFuture wgpuAdapterRequestDevice (WGPUAdapter adapter, WGPUDeviceDescriptor const *descriptor, WGPURequestDeviceCallbackInfo callbackInfo)
 
void wgpuAdapterAddRef (WGPUAdapter adapter)
 
void wgpuAdapterRelease (WGPUAdapter adapter)
 

Detailed Description

Functions whose first argument has type WGPUAdapter.

Function Documentation

◆ wgpuAdapterGetFeatures()

void wgpuAdapterGetFeatures ( WGPUAdapter adapter,
WGPUSupportedFeatures * features )

Get the list of WGPUFeatureName values supported by the adapter.

Parameters
featuresThis parameter is Returned with Ownership.

◆ wgpuAdapterGetInfo()

WGPUStatus wgpuAdapterGetInfo ( WGPUAdapter adapter,
WGPUAdapterInfo * info )
Parameters
infoThis parameter is Returned with Ownership.
Returns
Indicates if there was an Out-Struct-Chain Error.

◆ wgpuAdapterGetLimits()

WGPUStatus wgpuAdapterGetLimits ( WGPUAdapter adapter,
WGPULimits * limits )
Returns
Indicates if there was an Out-Struct-Chain Error.

◆ wgpuAdapterHasFeature()

WGPUBool wgpuAdapterHasFeature ( WGPUAdapter adapter,
WGPUFeatureName feature )

◆ wgpuAdapterRequestDevice()

WGPUFuture wgpuAdapterRequestDevice ( WGPUAdapter adapter,
WGPUDeviceDescriptor const * descriptor,
WGPURequestDeviceCallbackInfo callbackInfo )

◆ wgpuAdapterAddRef()

void wgpuAdapterAddRef ( WGPUAdapter adapter)

◆ wgpuAdapterRelease()

void wgpuAdapterRelease ( WGPUAdapter adapter)