pub unsafe trait MDLSubmeshSCNModelIO:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn submeshWithSCNGeometryElement(
scn_geometry_element: &SCNGeometryElement,
) -> Retained<Self> { ... }
unsafe fn submeshWithSCNGeometryElement_bufferAllocator(
scn_geometry_element: &SCNGeometryElement,
buffer_allocator: Option<&ProtocolObject<dyn MDLMeshBufferAllocator>>,
) -> Retained<Self> { ... }
}Available on crate feature
ModelIO only.Expand description
Category “SCNModelIO” on MDLSubmesh.
Provided Methods§
unsafe fn submeshWithSCNGeometryElement( scn_geometry_element: &SCNGeometryElement, ) -> Retained<Self>
Available on crate feature
SCNGeometry only.unsafe fn submeshWithSCNGeometryElement_bufferAllocator( scn_geometry_element: &SCNGeometryElement, buffer_allocator: Option<&ProtocolObject<dyn MDLMeshBufferAllocator>>, ) -> Retained<Self>
Available on crate feature
SCNGeometry 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 MDLSubmeshSCNModelIO for MDLSubmesh
Available on crate feature
objc2-model-io and non-watchOS only.