objc2-open-gl-es 0.3.2

Bindings to the OpenGLES framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-io-surface")]
use objc2_io_surface::*;

use crate::*;

/// IOSurface.
#[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;
    );
}