ó
    š3jm  ã                   ó`   • 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.multisampled_render_to_texture

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

Overview (from the spec)
        
        This extension introduces functionality to perform multisampled 
        rendering to a color renderable texture, without requiring an 
        explicit resolve of multisample data. 
        
        Some GPU architectures - such as tile-based renderers - are
        capable of performing multisampled rendering by storing
        multisample data in internal high-speed memory and downsampling the
        data when writing out to external memory after rendering has
        finished. Since per-sample data is never written out to external
        memory, this approach saves bandwidth and storage space. In this
        case multisample data gets discarded, however this is acceptable
        in most cases.
        
        The extension provides a new command, FramebufferTexture2DMultisampleEXT,
        which attaches a texture level to a framebuffer and enables
        multisampled rendering to that texture level.
        
        When the texture level is flushed or used as a source or destination
        for any operation other than drawing to it, an implicit resolve of
        multisampled color data may be performed. After such a resolve, the
        multisampled color data is discarded.
        
        In order to allow the use of multisampled depth and stencil buffers 
        when performing multisampled rendering to a texture, the extension 
        also adds the command RenderbufferStorageMultisampleEXT.

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