Trait objc2_metal::MTLDrawable
source · pub unsafe trait MTLDrawable: NSObjectProtocol + IsRetainable {
// Provided methods
fn present(&self)
where Self: Sized + Message { ... }
unsafe fn presentAtTime(&self, presentation_time: c_double)
where Self: Sized + Message { ... }
unsafe fn presentAfterMinimumDuration(&self, duration: c_double)
where Self: Sized + Message { ... }
unsafe fn addPresentedHandler(&self, block: MTLDrawablePresentedHandler)
where Self: Sized + Message { ... }
unsafe fn presentedTime(&self) -> c_double
where Self: Sized + Message { ... }
fn drawableID(&self) -> NSUInteger
where Self: Sized + Message { ... }
}Available on crate feature
MTLDrawable only.Provided Methods§
fn present(&self)
unsafe fn presentAtTime(&self, presentation_time: c_double)
unsafe fn presentAfterMinimumDuration(&self, duration: c_double)
unsafe fn addPresentedHandler(&self, block: MTLDrawablePresentedHandler)
Available on crate feature
block2 only.