pub unsafe trait MDLAssetSCNModelIO:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn assetWithSCNScene(scn_scene: &SCNScene) -> Retained<Self> { ... }
unsafe fn assetWithSCNScene_bufferAllocator(
scn_scene: &SCNScene,
buffer_allocator: Option<&ProtocolObject<dyn MDLMeshBufferAllocator>>,
) -> Retained<Self> { ... }
}Available on crate feature
ModelIO only.Expand description
Category “SCNModelIO” on MDLAsset.
Provided Methods§
unsafe fn assetWithSCNScene(scn_scene: &SCNScene) -> Retained<Self>
Available on crate feature
SCNScene only.unsafe fn assetWithSCNScene_bufferAllocator( scn_scene: &SCNScene, buffer_allocator: Option<&ProtocolObject<dyn MDLMeshBufferAllocator>>, ) -> Retained<Self>
Available on crate feature
SCNScene and crate feature objc2-model-io and non-watchOS only.Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
impl MDLAssetSCNModelIO for MDLAsset
Available on crate feature
objc2-model-io and non-watchOS only.