ó
    š3jK  ã                   ó`   • S r SSKJrJrJr  SSKJrJr  SSKrSSKJ	r	J
r
  SSK7  SSKJr  S rg)	a«  OpenGL extension OES.EGL_image_external

This module customises the behaviour of the 
OpenGL.raw.GLES2.OES.EGL_image_external to provide a more 
Python-friendly API

Overview (from the spec)
        
        This extension provides a mechanism for creating EGLImage texture targets
        from EGLImages.  This extension defines a new texture target,
        TEXTURE_EXTERNAL_OES.  This texture target can only be specified using an
        EGLImage.  There is no support for most of the functions that manipulate
        other texture targets (e.g. you cannot use gl*Tex*Image*() functions with
        TEXTURE_EXTERNAL_OES).  Also, TEXTURE_EXTERNAL_OES targets never have more
        than a single LOD level.  Because of these restrictions, it is possible to
        bind EGLImages which have internal formats not otherwise supported by
        OpenGL ES.  For example some implementations may allow EGLImages with
        planar or interleaved YUV data to be GLES texture target siblings.  It is
        up to the implementation exactly what formats are accepted.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/OES/EGL_image_external.txt
é    )ÚplatformÚconstantÚarrays)Ú
extensionsÚwrapperN)Ú_typesÚ_glgets)Ú*)Ú_EXTENSION_NAMEc                  ó:   • SSK Jn   U R                  " [        5      $ )z=Return boolean indicating whether this extension is availabler   ©r   )ÚOpenGLr   ÚhasGLExtensionr   r   s    Ú]/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GLES2/OES/EGL_image_external.pyÚglInitEglImageExternalOESr      s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLES2r   r	   Ú'OpenGL.raw.GLES2.OES.EGL_image_externalr   r   © r   r   Ú<module>r      s&   ðñ÷. .Ñ -ß &Û ß ,Ü 5Ý Có8r   