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
SCNLayer only.impl SCNTechniqueSupport for SCNLight
Available on crate feature
SceneKitDeprecated only.impl SCNTechniqueSupport for SCNRenderer
Available on crate feature
SCNRenderer only.impl SCNTechniqueSupport for SCNView
Available on crate feature
SCNView only.