ó
    š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 AMD.occlusion_query_event

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

Overview (from the spec)
        
        Occlusion queries provide a means to count the number of fragments that
        pass the depth and stencil tests and that may contribute to a rendered
        image. In unextended OpenGL, an occlusion query increments its
        samples-passed count whenever a sample passes both the stencil test and
        the depth test (if enabled). However, there is no way to count fragments
        that fail the stencil test, or pass the stencil test and then subsequently
        fail the depth test.
        
        This extension introduces the concept of occlusion query events and changes
        the concept of an occlusion query from counting passed fragments to counting
        fragments that generate any of a user-selectable set of events. Provided
        events include passing the depth test, and passing or failing the stencil
        test. For a given occlusion query object, counting of these events may be
        enabled or disabled, allowing any combination to be counted.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/AMD/occlusion_query_event.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/AMD/occlusion_query_event.pyÚglInitOcclusionQueryEventAMDr   "   s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú'OpenGL.raw.GL.AMD.occlusion_query_eventr   r   © r   r   Ú<module>r      s&   ðñ÷4 .Ñ -ß &Û ß )Ü 5Ý Có8r   