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

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

Overview (from the spec)
        
        The texture image specification commands in OpenGL allow each level
        to be separately specified with different sizes, formats, types and
        so on, and only imposes consistency checks at draw time. This adds
        overhead for implementations.
        
        This extension provides a mechanism for specifying the entire
        structure of a texture in a single call, allowing certain
        consistency checks and memory allocations to be done up front. Once
        specified, the format and dimensions of the image array become
        immutable, to simplify completeness checks in the implementation.
        
        When using this extension, it is no longer possible to supply texture
        data using TexImage*. Instead, data can be uploaded using TexSubImage*,
        or produced by other means (such as render-to-texture, mipmap generation,
        or rendering to a sibling EGLImage).
        
        This extension has complicated interactions with other extensions.
        The goal of most of these interactions is to ensure that a texture
        is always mipmap complete (and cube complete for cubemap textures).

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