gfx-rs / metal-rs

Rust bindings for Metal
Apache License 2.0
591 stars 112 forks source link

Various missing bits and bobs #189

Closed bsekura closed 3 years ago

bsekura commented 3 years ago

Sorry for dubious description. This MR is result of me working with metal-rs on some rendering code and adding missing API elements as I needed them. I will continue this as I find the time, and in the meantime would appreciate considering merging what I got so far.

Feel free to ask me to cleanup some things (I ran into merge conflicts, as some of the functionality was being added by your team at the same time). I noticed some inconsistencies with enum naming and was not sure whether to follow Apple's or yours.

Thanks

kvark commented 3 years ago

Please squash the commits before landing :)

bsekura commented 3 years ago

This is probably a wrong place to ask, but I will be adding the new raytracing API and perhaps a small example. Just wanted to confirm if you guys also plan working on this, to avoid duplicating effort. If not, I'll proceed and prepare PR in the future.

kvark commented 3 years ago

Yeah, that sounds awesome!