SCNTechniqueSupport

Trait SCNTechniqueSupport 

Source
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§

Source

unsafe fn technique(&self) -> Option<Retained<SCNTechnique>>
where Self: Sized + Message,

Specifies the technique of the receiver. Defaults to nil.

Source

unsafe fn setTechnique(&self, technique: Option<&SCNTechnique>)
where Self: Sized + Message,

Setter for technique.

Trait Implementations§

Source§

impl ProtocolType for dyn SCNTechniqueSupport

Source§

const NAME: &'static str = "SCNTechniqueSupport"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn SCNTechniqueSupport

Implementations on Foreign Types§

Source§

impl<T> SCNTechniqueSupport for ProtocolObject<T>

Implementors§

Source§

impl SCNTechniqueSupport for SCNCamera

Available on crate feature SCNCamera only.
Source§

impl SCNTechniqueSupport for SCNLayer

Available on crate feature SCNLayer only.
Source§

impl SCNTechniqueSupport for SCNLight

Available on crate feature SceneKitDeprecated only.
Source§

impl SCNTechniqueSupport for SCNRenderer

Available on crate feature SCNRenderer only.
Source§

impl SCNTechniqueSupport for SCNView

Available on crate feature SCNView only.