ó
    š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_view

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

Overview (from the spec)
        
        This extension allows a texture's data store to be "viewed" in multiple
        ways, either reinterpreting the data format/type as a different format/
        type with the same element size, or by clamping the mipmap level range
        or array slice range.
        
        The goals of this extension are to avoid having these alternate views
        become shared mutable containers of shared mutable objects, and to add
        the views to the API in a minimally invasive way.
        
        No new object types are added. Conceptually, a texture object is split
        into the following parts:
        
            - A data store holding texel data.
            - State describing which portions of the data store to use, and how
              to interpret the data elements.
            - An embedded sampler object.
            - Various other texture parameters.
        
        With this extension, multiple textures can share a data store and have
        different state describing which portions of the data store to use and
        how to interpret the data elements. The data store is refcounted and not
        destroyed until the last texture sharing it is deleted.
        
        This extension leverages the concept of an "immutable texture".
        Views can only be created of textures created with TexStorage*.
        

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/texture_view.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    ÚW/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GLES2/EXT/texture_view.pyÚglInitTextureViewEXTr   .   s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLES2r   r	   Ú!OpenGL.raw.GLES2.EXT.texture_viewr   r   © r   r   Ú<module>r      s'   ðñ%÷L .Ñ -ß &Û ß ,Ü /Ý =ó8r   