ó
    š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)a  OpenGL extension IMG.bindless_texture

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

Overview (from the spec)
        
        This extension allows OpenGL ES applications to access texture objects in
        shaders without first binding each texture to one of a limited number of
        texture image units.  Using this extension, an application can query a
        64-bit unsigned integer texture handle for each texture that it wants to
        access and then use that handle directly in GLSL ES. This extensions
        significantly reduces the amount of API and internal GL driver overhead
        needed to manage resource bindings.
        
        This extension adds no new data types to GLSL.  Instead, it uses existing
        sampler data types and allows them to be populated with texture handles.
        This extension also permits sampler types to be used as uniform block
        members as well as default uniforms. Additionally, new APIs are provided to
        load values for sampler uniforms with 64-bit handle inputs.  The use of
        existing integer-based Uniform* APIs is still permitted, in which case the
        integer specified will identify a texture image.  For samplers with values
        specified as texture image units, the GL implementation will translate the
        unit number to an internal handle as required.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/IMG/bindless_texture.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/IMG/bindless_texture.pyÚglInitBindlessTextureIMGr   %   s   € å!Ø×$Ò$¤oÓ7Ð7ó    ÚvalueÚvalues)Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLES2r   r	   Ú%OpenGL.raw.GLES2.IMG.bindless_texturer   r   ÚglUniformHandleui64vIMGÚsetInputArraySizeÚglProgramUniformHandleui64vIMG© r   r   Ú<module>r      sj   ðñ÷: .Ñ -ß &Û ß ,Ü 3Ý Aò8ð  ŸšÐ(?Ó@×RÑRØˆTóÐ ð  'ŸšÐ/MÓN×`Ñ`Øˆdó Ñ r   