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§
sourcefn get_iosurface(&self) -> Result<IoSurface, GetIoSurfaceError>
fn get_iosurface(&self) -> Result<IoSurface, GetIoSurfaceError>
Get the IOSurface representing the video frame’s texture