ó
    š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g)
af  OpenGL extension EXT.blend_func_extended

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

Overview (from the spec)
        
        This extension provides an ES version of the ARB_blend_func_extended
        functionality.
        
        Traditional OpenGL includes fixed-function blending that combines
        source colors with the existing content of a render buffer in
        a variety of ways.  A number of extensions have enhanced this
        functionality by adding further sources of blending weights and
        methods to combine them. However, the inputs to the fixed-function
        blending units are constrained to a source color (as output from
        fragment shading), destination color (as the current content of the
        frame buffer) or constants that may be used in their place.
        
        This extension adds new blending functions whereby a fragment
        shader may output two colors, one of which is treated as the
        source color, and the other used as a blending factor for either
        source or destination colors.  Furthermore, this extension increases
        orthogonality by allowing the SRC_ALPHA_SATURATE function to be used
        as the destination weight.
        
        Because of the limitations of the OpenGL ES 2.0 shading language,
        new built-in variables (gl_SecondaryFragColorEXT,
        gl_SecondaryFragDataEXT) are added to the ES 1.00 shading language
        rather than introduce more complex features for user-defined fragment
        outputs.  Because such built-in variable are deprecated in ES 3.0,
        these variables are NOT available in the OpenGL ES 3.xx shading
        language verisons.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/blend_func_extended.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/blend_func_extended.pyÚglInitBlendFuncExtendedEXTr   .   s   € å!Ø×$Ò$¤oÓ7Ð7ó    Úname)Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLES2r   r	   Ú(OpenGL.raw.GLES2.EXT.blend_func_extendedr   r   ÚglBindFragDataLocationEXTÚsetInputArraySizeÚ$glGetProgramResourceLocationIndexEXT© r   r   Ú<module>r      sk   ðñ%÷L .Ñ -ß &Û ß ,Ü 6Ý Dò8ð "Ÿ/š/Ð*CÓD×VÑVØ
ˆDóÐ ð &-§_¢_Ð5YÓ%Z×%lÑ%lØ
ˆDó&Ñ $r   