#![allow(unused_imports)] usecrate::*; use objc2::runtime::{AnyObject, ProtocolObject};
// SAFETY: The documentation for captureObject specifies that the object // may be one of these three: // <https://developer.apple.com/documentation/metal/mtlcapturedescriptor/3237248-captureobject?language=objc> impl MTLCaptureDescriptor { #[doc(alias = "setCaptureObject")] #[cfg(feature = "MTLDevice")] pubfn set_capture_device(&self, device: &ProtocolObject<dyn MTLDevice>) { let device: *const _ = device; let device: *const AnyObject = device.cast(); unsafe { self.setCaptureObject(Some(&*device)) }
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.