WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
Global Functions

Functions that are not specific to an object. More...

Functions

WGPUInstance wgpuCreateInstance (WGPUInstanceDescriptor const *descriptor)
 
WGPUStatus wgpuGetInstanceCapabilities (WGPUInstanceCapabilities *capabilities)
 
WGPUProc wgpuGetProcAddress (WGPUStringView procName)
 

Detailed Description

Functions that are not specific to an object.

Function Documentation

◆ wgpuCreateInstance()

WGPUInstance wgpuCreateInstance ( WGPUInstanceDescriptor const * descriptor)

Create a WGPUInstance

◆ wgpuGetInstanceCapabilities()

WGPUStatus wgpuGetInstanceCapabilities ( WGPUInstanceCapabilities * capabilities)

Query the supported instance capabilities.

Parameters
capabilitiesThe supported instance capabilities
Returns
Indicates if there was an Out-Struct-Chain Error.

◆ wgpuGetProcAddress()

WGPUProc wgpuGetProcAddress ( WGPUStringView procName)

Returns the "procedure address" (function pointer) of the named function. The result must be cast to the appropriate proc pointer type.