ó
    š3j  ã                   ó`   • 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.read_format

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

Overview (from the spec)
        
        This extension provides the capability to query an OpenGL
        implementation for a preferred type and format combination
        for use with reading the color buffer with the ReadPixels
        command.  The purpose is to enable embedded implementations
        to support a greatly reduced set of type/format combinations
        and provide a mechanism for applications to determine which
        implementation-specific combination is supported.
        
        The preferred type and format combination returned may depend
        on the read surface bound to the current GL context.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/OES/read_format.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    ÚS/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/OES/read_format.pyÚglInitReadFormatOESr      s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   ÚOpenGL.raw.GL.OES.read_formatr   r   © r   r   Ú<module>r      s&   ðñ÷, .Ñ -ß &Û ß )Ü +Ý 9ó8r   