MCPcopy Create free account
hub / github.com/DjDeveloperr/deno_desktop / init

Function init

src/surface.rs:182–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180}
181
182pub fn init() -> Extension {
183 Extension::builder()
184 .ops(vec![
185 ("op_webgpu_create_surface", op_sync(op_webgpu_create_surface)),
186 ("op_webgpu_configure_surface", op_sync(op_webgpu_configure_surface)),
187 ("op_webgpu_surface_get_preferred_format", op_sync(op_webgpu_surface_get_preferred_format)),
188 ("op_webgpu_surface_get_current_texture", op_sync(op_webgpu_surface_get_current_texture)),
189 ("op_webgpu_surface_present", op_sync(op_webgpu_surface_present)),
190 ("op_webgpu_surface_drop", op_sync(op_webgpu_surface_drop)),
191 ])
192 .build()
193}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected