gpu: add RequestDeviceCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3f3f647b99
commit
cd4021fa56
2 changed files with 8 additions and 2 deletions
|
|
@ -1,5 +1,3 @@
|
|||
typedef void (*WGPURequestDeviceCallback)(WGPURequestDeviceStatus status, WGPUDevice device, char const * message, void * userdata);
|
||||
|
||||
// Methods of Adapter
|
||||
// WGPU_EXPORT bool wgpuAdapterHasFeature(WGPUAdapter adapter, WGPUFeatureName feature);
|
||||
export fn wgpuAdapterHasFeature(adapter: gpu.Adapter, feature: gpu.FeatureName) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue