gpu: begin plotting how to wrap a WGPUInstance
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
5f7fe4d7e2
commit
5656d3252a
3 changed files with 9 additions and 14 deletions
|
|
@ -1,9 +1,11 @@
|
|||
//! A native webgpu.h implementation of the gpu.Interface
|
||||
const c = @import("c.zig").c;
|
||||
const Interface = @import("Interface.zig");
|
||||
|
||||
/// Returns a native webgpu.h implementation of the gpu.Interface
|
||||
pub fn native() Interface {
|
||||
/// Returns a native webgpu.h implementation of the gpu.Interface, wrapping the given WGPUInstance.
|
||||
pub fn native(instance: c.WGPUInstance) Interface {
|
||||
// TODO: implement Interface
|
||||
_ = instance;
|
||||
@panic("not implemented");
|
||||
|
||||
// TODO: implement Device interface
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue