iron-oxide provides unsafe Metal
bindings for Rust.
The Metal documentation for most structs, traits, methods, and functions can be found by googling their names (adjusted from snake_case to camelCase).
Not all of Metal's functionality is added. The pointer underlying a MTL(something) can
be accessed with
get_ptr, and messages can be sent to it with
necessary functionality isn't yet implemented. This is very unsafe.
It is the responsibility of the user to not use methods or functions which do not exist in OS versions below what they support.
See the examples directory for examples.
This crate is licensed under the MIT license.
Reexports important macros for sending messages from the
Provides an implementation of
Represents an Objective C object.
If the provided display id is not the valid id of a monitor on this device, the program will stall.
Does not function exactly as the
Takes an implementor of
Aliased exclusively so that, should the watchOS target be added to Rust, CGFloat can conform to watchOS' 32-bit architecture.
Aliased exclusively so that, should the watchOS target be added to Rust, NSInteger can conform to watchOS' 32-bit architecture.
Aliased exclusively so that, should the watchOS target be added to Rust, NSUInteger can conform to watchOS' 32-bit architecture.
A Rust range of NSUIntegers.