ó
    š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\R                  " \5      R                  S	S5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S
S5      r\R                  " \5      R                  S
S5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S	S5      rg)a€  OpenGL extension OES.texture_border_clamp

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

Overview (from the spec)
        
        OpenGL ES provides only a single clamping wrap mode: CLAMP_TO_EDGE.
        However, the ability to clamp to a constant border color can be
        useful to quickly detect texture coordinates that exceed their
        expected limits or to dummy out any such accesses with transparency
        or a neutral color in tiling or light maps.
        
        This extension defines an additional texture clamping algorithm.
        CLAMP_TO_BORDER_OES clamps texture coordinates at all mipmap levels
        such that NEAREST and LINEAR filters of clamped coordinates return
        only the constant border color. This does not add the ability for
        textures to specify borders using glTexImage2D, but only to clamp
        to a constant border value set using glTexParameter and
        glSamplerParameter.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/OES/texture_border_clamp.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/texture_border_clamp.pyÚglInitTextureBorderClampOESr   !   s   € å!Ø×$Ò$¤oÓ7Ð7ó    ÚparamsÚparam)Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLES2r   r	   Ú)OpenGL.raw.GLES2.OES.texture_border_clampr   r   ÚglTexParameterIivOESÚsetInputArraySizeÚglTexParameterIuivOESÚglGetTexParameterIivOESÚglGetTexParameterIuivOESÚglSamplerParameterIivOESÚglSamplerParameterIuivOESÚglGetSamplerParameterIivOESÚglGetSamplerParameterIuivOES© r   r   Ú<module>r#      s6  ðñ÷2 .Ñ -ß &Û ß ,Ü 7Ý Eò8ð —_’_Ð%9Ó:×LÑLØˆdóÐ ð —o’oÐ&;Ó<×NÑNØˆdóÐ ð  ŸšÐ(?Ó@×RÑRØˆdóÐ ð !ŸšÐ)AÓB×TÑTØˆdóÐ ð !ŸšÐ)AÓB×TÑTØˆTóÐ ð "Ÿ/š/Ð*CÓD×VÑVØˆTóÐ ð $ŸOšOÐ,GÓH×ZÑZØˆdóÐ ð %Ÿ_š_Ð-IÓJ×\Ñ\ØˆdóÑ r   