ó
    š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
 SSS9rg)aÎ  OpenGL extension ARB.internalformat_query

This module customises the behaviour of the 
OpenGL.raw.GL.ARB.internalformat_query to provide a more 
Python-friendly API

Overview (from the spec)
        
        OpenGL 4.1 has a number of queries to indicate the maximum number of
        samples available for different formats. These give a coarse-grained
        query mechanism e.g. an implementation can expose different sample
        counts for integer and floating-point formats, but not for different
        floating-point formats. There is also no convenient way for the user
        to determine the granularity of sample counts available, only the
        maximum.
        
        This extension adds a query mechanism that allows the user to
        determine which sample counts are available for a specific internal
        format.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/internalformat_query.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/GL/ARB/internalformat_query.pyÚglInitInternalformatQueryARBr      s   € å!Ø×$Ò$¤oÓ7Ð7ó    Úparamsc                 ó   • U 4$ )N© )Úxs    r   Ú<lambda>r   %   s   € ˜A™4r   ÚcountT)ÚsizeÚpnameArgÚorPassIn)Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú&OpenGL.raw.GL.ARB.internalformat_queryr   r   ÚglGetInternalformativÚ	setOutputr   r   r   Ú<module>r"      sR   ðñ÷. .Ñ -ß &Û ß )Ü 4Ý Bò8ð
 —o’oÐ&;Ó<×FÑFØ‘-¨¸$ð Gð Ñ r   