use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-io-surface")]
use objc2_io_surface::*;
use crate::*;
#[cfg(feature = "EAGL")]
impl EAGLContext {
extern_methods!(
#[cfg(feature = "objc2-io-surface")]
#[unsafe(method(texImageIOSurface:target:internalFormat:width:height:format:type:plane:))]
#[unsafe(method_family = none)]
pub unsafe fn texImageIOSurface_target_internalFormat_width_height_format_type_plane(
&self,
io_surface: &IOSurfaceRef,
target: NSUInteger,
internal_format: NSUInteger,
width: u32,
height: u32,
format: NSUInteger,
r#type: NSUInteger,
plane: u32,
) -> bool;
);
}