Trait crispy::egl_ext::KhrImageBaseInstance

source ·
pub trait KhrImageBaseInstance {
    // Required method
    unsafe fn create_image_khr(
        &self,
        display: Display,
        ctx: Context,
        target: Enum,
        buffer: ClientBuffer,
        attrib_list: &[Int],
    ) -> Result<Image, Error>;
}
Expand description

Implements the EGL_KHR_image_base extension relevant for an egl::Instance.

https://registry.khronos.org/EGL/extensions/KHR/EGL_KHR_image_base.txt

Required Methods§

source

unsafe fn create_image_khr( &self, display: Display, ctx: Context, target: Enum, buffer: ClientBuffer, attrib_list: &[Int], ) -> Result<Image, Error>

Implementations on Foreign Types§

source§

impl<T: EGL1_2> KhrImageBaseInstance for Instance<T>

source§

unsafe fn create_image_khr( &self, display: Display, ctx: Context, target: Enum, buffer: ClientBuffer, attrib_list: &[Int], ) -> Result<Image, Error>

Implementors§