pub trait MacosIoSurfaceVideoFrameExt {
    // Required method
    fn get_iosurface(&self) -> Result<IoSurface, GetIoSurfaceError>;
}
Expand description

A video frame which can inter-operate with any MacOS GPU API using IOSurfaces

Required Methods§

source

fn get_iosurface(&self) -> Result<IoSurface, GetIoSurfaceError>

Get the IOSurface representing the video frame’s texture

Implementors§