pub unsafe trait SCNTechniqueSupport: NSObjectProtocol {
// Provided methods
unsafe fn technique(&self) -> Option<Retained<SCNTechnique>>
where Self: Sized + Message { ... }
unsafe fn setTechnique(&self, technique: Option<&SCNTechnique>)
where Self: Sized + Message { ... }
}Available on crate feature
SCNTechnique only.Expand description
The SCNTechniqueSupport protocol describes an object that supports single or multi-pass techniques
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn technique(&self) -> Option<Retained<SCNTechnique>>
unsafe fn technique(&self) -> Option<Retained<SCNTechnique>>
Specifies the technique of the receiver. Defaults to nil.
Sourceunsafe fn setTechnique(&self, technique: Option<&SCNTechnique>)
unsafe fn setTechnique(&self, technique: Option<&SCNTechnique>)
Setter for technique.
Trait Implementations§
Source§impl ProtocolType for dyn SCNTechniqueSupport
impl ProtocolType for dyn SCNTechniqueSupport
impl<T> ImplementedBy<T> for dyn SCNTechniqueSupport
Implementations on Foreign Types§
impl<T> SCNTechniqueSupport for ProtocolObject<T>where
T: ?Sized + SCNTechniqueSupport,
Implementors§
impl SCNTechniqueSupport for SCNCamera
Available on crate feature
SCNCamera only.impl SCNTechniqueSupport for SCNLayer
Available on crate feature
objc2-quartz-core and crate feature SCNLayer and non-watchOS only.impl SCNTechniqueSupport for SCNLight
Available on crate features
SCNLight and SceneKitDeprecated only.impl SCNTechniqueSupport for SCNRenderer
Available on crate feature
SCNRenderer only.impl SCNTechniqueSupport for SCNView
Available on crate feature
objc2-app-kit and crate feature SCNView and macOS only.