| acceleration_structure_types.rs |
|
1372 |
| capture.rs |
|
1325 |
| counters.rs |
|
175 |
| device.rs |
|
1886 |
| generated |
|
|
| lib.rs |
# Bindings to the `Metal` framework
See [Apple's docs][apple-doc] and [the general docs on framework crates][framework-crates] for more information.
[apple-doc]: https://developer.apple.com/documentation/metal/
[framework-crates]: https://docs.rs/objc2/latest/objc2/topics/about_generated/index.html
Metal has tools for validating that you're using it correctly, using these
is highly recommended! See [Apple's documentation on it][apple-doc], or
run `man MetalValidation` to get information on environment variables.
[apple-doc]: https://developer.apple.com/documentation/xcode/validating-your-apps-metal-api-usage/.
NOTE: To use [`MTLCreateSystemDefaultDevice`] you need to link to
`CoreGraphics`, this can be done by using `objc2-core-graphics`, or by
doing:
```rust
#[link(name = "CoreGraphics", kind = "framework")]
extern "C" {}
```
|
4668 |
| private.rs |
Private functionality.
The credit for finding these belong to the [metal-rs] project.
[metal-rs]: https://github.com/gfx-rs/metal-rs |
2154 |
| rasterization_rate.rs |
|
1948 |
| resource.rs |
|
515 |
| slice.rs |
|
1098 |
| texture.rs |
|
339 |
| types.rs |
|
974 |