objc2_open_gl_es/generated/
EAGLIOSurface.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5#[cfg(feature = "objc2-io-surface")]
6use objc2_io_surface::*;
7
8use crate::*;
9
10#[cfg(feature = "EAGL")]
12impl EAGLContext {
13 extern_methods!(
14 #[cfg(feature = "objc2-io-surface")]
15 #[unsafe(method(texImageIOSurface:target:internalFormat:width:height:format:type:plane:))]
16 #[unsafe(method_family = none)]
17 pub unsafe fn texImageIOSurface_target_internalFormat_width_height_format_type_plane(
18 &self,
19 io_surface: &IOSurfaceRef,
20 target: NSUInteger,
21 internal_format: NSUInteger,
22 width: u32,
23 height: u32,
24 format: NSUInteger,
25 r#type: NSUInteger,
26 plane: u32,
27 ) -> bool;
28 );
29}