Functions that are not specific to an object. More...
Functions | |
WGPUInstance | wgpuCreateInstance (WGPUInstanceDescriptor const *descriptor) |
void | wgpuGetInstanceFeatures (WGPUSupportedInstanceFeatures *features) |
WGPUStatus | wgpuGetInstanceLimits (WGPUInstanceLimits *limits) |
WGPUBool | wgpuHasInstanceFeature (WGPUInstanceFeatureName feature) |
WGPUProc | wgpuGetProcAddress (WGPUStringView procName) |
Functions that are not specific to an object.
WGPUInstance wgpuCreateInstance | ( | WGPUInstanceDescriptor const * | descriptor | ) |
Create a WGPUInstance
void wgpuGetInstanceFeatures | ( | WGPUSupportedInstanceFeatures * | features | ) |
Get the list of WGPUInstanceFeatureName values supported by the instance.
features | This parameter is Returned with Ownership. |
WGPUStatus wgpuGetInstanceLimits | ( | WGPUInstanceLimits * | limits | ) |
Get the limits supported by the instance.
WGPUBool wgpuHasInstanceFeature | ( | WGPUInstanceFeatureName | feature | ) |
Check whether a particular WGPUInstanceFeatureName is supported by the instance.
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.