wgpu/wgpu-rs
Seivan Heidari d63d367ec0
Allow creating a surface by passing a metal layer.
This is useful if you're using `SDL2`
```rust
    let canvas = window.into_canvas().build().unwrap();
    let metal_layer = unsafe { sdl2::sys::SDL_RenderGetMetalLayer(canvas.raw()) }; 
    let surface = instance.create_surface_with_metal_layer(metal_layer);
```
2019-02-21 21:30:41 +01:00
..
src Allow creating a surface by passing a metal layer. 2019-02-21 21:30:41 +01:00
Cargo.toml Separate object identity from storage 2019-02-14 14:28:55 -05:00