Functions whose first argument has type WGPUInstance. More...
Functions | |
WGPUSurface | wgpuInstanceCreateSurface (WGPUInstance instance, WGPUSurfaceDescriptor const *descriptor) |
WGPUStatus | wgpuInstanceGetWGSLLanguageFeatures (WGPUInstance instance, WGPUSupportedWGSLLanguageFeatures *features) |
WGPUBool | wgpuInstanceHasWGSLLanguageFeature (WGPUInstance instance, WGPUWGSLLanguageFeatureName feature) |
void | wgpuInstanceProcessEvents (WGPUInstance instance) |
WGPUFuture | wgpuInstanceRequestAdapter (WGPUInstance instance, WGPURequestAdapterOptions const *options, WGPURequestAdapterCallbackInfo callbackInfo) |
WGPUWaitStatus | wgpuInstanceWaitAny (WGPUInstance instance, size_t futureCount, WGPUFutureWaitInfo *futures, uint64_t timeoutNS) |
void | wgpuInstanceAddRef (WGPUInstance instance) |
void | wgpuInstanceRelease (WGPUInstance instance) |
Functions whose first argument has type WGPUInstance.
WGPUSurface wgpuInstanceCreateSurface | ( | WGPUInstance | instance, |
WGPUSurfaceDescriptor const * | descriptor ) |
Creates a WGPUSurface, see Surface Creation for more details.
descriptor | The description of the WGPUSurface to create. |
WGPUStatus wgpuInstanceGetWGSLLanguageFeatures | ( | WGPUInstance | instance, |
WGPUSupportedWGSLLanguageFeatures * | features ) |
Get the list of WGPUWGSLLanguageFeatureName values supported by the instance.
void wgpuInstanceProcessEvents | ( | WGPUInstance | instance | ) |
Processes asynchronous events on this WGPUInstance
, calling any callbacks for asynchronous operations created with WGPUCallbackMode_AllowProcessEvents
.
See wgpuInstanceProcessEvents for more information.
WGPUWaitStatus wgpuInstanceWaitAny | ( | WGPUInstance | instance, |
size_t | futureCount, | ||
WGPUFutureWaitInfo * | futures, | ||
uint64_t | timeoutNS ) |
Wait for at least one WGPUFuture in futures
to complete, and call callbacks of the respective completed asynchronous operations.
See wgpuInstanceWaitAny for more information.