Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_protocol!(
pub unsafe trait MTLCommandQueue: NSObjectProtocol + IsRetainable {
#[method_id(@__retain_semantics Other label)]
fn label(&self) -> Option<Retained<NSString>>;
#[method(setLabel:)]
fn setLabel(&self, label: Option<&NSString>);
#[cfg(feature = "MTLDevice")]
#[method_id(@__retain_semantics Other device)]
fn device(&self) -> Retained<ProtocolObject<dyn MTLDevice>>;
#[cfg(feature = "MTLCommandBuffer")]
#[method_id(@__retain_semantics Other commandBuffer)]
fn commandBuffer(&self) -> Option<Retained<ProtocolObject<dyn MTLCommandBuffer>>>;
#[cfg(feature = "MTLCommandBuffer")]
#[method_id(@__retain_semantics Other commandBufferWithDescriptor:)]
unsafe fn commandBufferWithDescriptor(
&self,
descriptor: &MTLCommandBufferDescriptor,
) -> Option<Retained<ProtocolObject<dyn MTLCommandBuffer>>>;
#[cfg(feature = "MTLCommandBuffer")]
#[method_id(@__retain_semantics Other commandBufferWithUnretainedReferences)]
unsafe fn commandBufferWithUnretainedReferences(
&self,
) -> Option<Retained<ProtocolObject<dyn MTLCommandBuffer>>>;
#[deprecated = "Use MTLCaptureScope instead"]
#[method(insertDebugCaptureBoundary)]
unsafe fn insertDebugCaptureBoundary(&self);
}
unsafe impl ProtocolType for dyn MTLCommandQueue {}
);