ó
    š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 EXT.texture_sRGB_decode

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

Overview (from the spec)
        
        The EXT_texture_sRGB extension (promoted to core in OpenGL 2.1)
        provides a texture format stored in the sRGB color space. Sampling one
        of these textures will always return the color value decoded into a
        linear color space. However, an application may wish to sample and
        retrieve the undecoded sRGB data from the texture and manipulate
        that directly.
        
        This extension adds a Texture Parameter and Sampler Object parameter to
        allow sRGB textures to be read directly, without decoding.
        
        The new parameter, TEXTURE_SRGB_DECODE_EXT controls whether the
        decoding happens at sample time. It only applies to textures with an
        internal format that is sRGB and is ignored for all other textures.
        This value defaults to DECODE_EXT, which indicates the texture
        should be decoded to linear color space.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/texture_sRGB_decode.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/EXT/texture_sRGB_decode.pyÚglInitTextureSrgbDecodeEXTr   #   s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLES2r   r	   Ú(OpenGL.raw.GLES2.EXT.texture_sRGB_decoder   r   © r   r   Ú<module>r      s&   ðñ÷6 .Ñ -ß &Û ß ,Ü 6Ý Dó8r   