CVMetalTextureGetTexture

Function CVMetalTextureGetTexture 

Source
pub extern "C-unwind" fn CVMetalTextureGetTexture(
    image: &CVMetalTexture,
) -> Option<Retained<ProtocolObject<dyn MTLTexture>>>
Available on crate feature CVBuffer and crate feature CVImageBuffer and crate feature CVMetalTexture and crate feature objc2 and crate feature objc2-metal and non-watchOS only.
Expand description

Returns the Metal MTLTexture object of the CVMetalTextureRef

Parameter image: Target CVMetalTexture

Returns: Metal texture