-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
area: apiIssues related to API surfaceIssues related to API surfacebackend: webgpuIssues with direct interface with WebGPUIssues with direct interface with WebGPUtype: enhancementNew feature or requestNew feature or request
Description
Related to #4128
Is there a way for write_texture to take a js_sys::ArrayBuffer instead of an &[u8] as input? Usage case: I'm getting a js_sys::ArrayBuffer from another webworker's post_message.
https://rustwasm.github.io/wasm-bindgen/api/js_sys/struct.ArrayBuffer.html
https://docs.rs/wgpu/latest/wgpu/struct.Queue.html#method.write_texture
Metadata
Metadata
Assignees
Labels
area: apiIssues related to API surfaceIssues related to API surfacebackend: webgpuIssues with direct interface with WebGPUIssues with direct interface with WebGPUtype: enhancementNew feature or requestNew feature or request