ó
    š3jy  ã            
       ó²   • 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SS	KJr  \R                   R#                  \S
\S
\S\S05        g)aŸ  OpenGL extension EXT.texture_rg

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

Overview (from the spec)
        
        Historically one- and two-component textures have been specified in OpenGL
        ES using the luminance or luminance-alpha (L/LA) formats. With the advent
        of programmable shaders and render-to-texture capabilities these legacy
        formats carry some historical artifacts which are no longer useful.
        
        For example, when sampling from such textures, the luminance values are
        replicated across the color components. This is no longer necessary with
        programmable shaders.
        
        It is also desirable to be able to render to one- and two-component format
        textures using capabilities such as framebuffer objects (FBO), but
        rendering to L/LA formats is under-specified (specifically how to map
        R/G/B/A values to L/A texture channels).
        
        This extension adds new base internal formats for one-component RED and
        two-component RG (red green) textures as well as sized RED and RG internal
        formats for renderbuffers. The RED and RG texture formats can be used for
        both texturing and rendering into with framebuffer objects.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/texture_rg.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    ÚU/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GLES2/EXT/texture_rg.pyÚglInitTextureRgEXTr   &   s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Úimagesé   é   )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLES2r   r	   ÚOpenGL.raw.GLES2.EXT.texture_rgr   r   r   Ú_imagesÚCOMPONENT_COUNTSÚupdateÚ	GL_R8_EXTÚ
GL_RED_EXTÚ
GL_RG8_EXTÚ	GL_RG_EXT© r   r   Ú<module>r"      sX   ðñ÷< .Ñ -ß &Û ß ,Ü -Ý ;ò8õ %Ø × Ñ × Ñ Ø 	ˆ!Ø 
ˆ1Ø 
ˆ1Ø 	ˆ!ð	"õ r   