Trait objc2_metal::MTLCommandEncoder
source · pub unsafe trait MTLCommandEncoder: NSObjectProtocol + IsRetainable {
// Provided methods
unsafe fn device(&self) -> Retained<ProtocolObject<dyn MTLDevice>>
where Self: Sized + Message { ... }
fn label(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn setLabel(&self, label: Option<&NSString>)
where Self: Sized + Message { ... }
fn endEncoding(&self)
where Self: Sized + Message { ... }
fn insertDebugSignpost(&self, string: &NSString)
where Self: Sized + Message { ... }
fn pushDebugGroup(&self, string: &NSString)
where Self: Sized + Message { ... }
fn popDebugGroup(&self)
where Self: Sized + Message { ... }
}Available on crate feature
MTLCommandEncoder only.Provided Methods§
unsafe fn device(&self) -> Retained<ProtocolObject<dyn MTLDevice>>
Available on crate feature
MTLDevice only.