MetalRenderContext
struct · ferroui-media-metal · v0.5.0
struct MetalRenderContext<'a>
Borrowed handles valid only during encode. The client must end its encoders and must not commit or retain this command buffer. The framework submits it once, retains all input/output leases and signals actual native completion.
Members
device
fn device(self: &Self) -> *mut c_void
command_buffer
fn command_buffer(self: &Self) -> *mut c_void
output_texture
fn output_texture(self: &Self) -> *mut c_void
input_texture
fn input_texture(self: &Self, frame: &FrameLease) -> Result<MetalTextureView, MediaError>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.