ó
    š3j÷  ã                   óp  • 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5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S
S5      r\R                  " \5      R                  S
S5      rg)aß  OpenGL extension EXT.occlusion_query_boolean

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

Overview (from the spec)
        
        This extension defines a mechanism whereby an application can
        query whether any pixels (or, more precisely, samples) are drawn
        by a primitive or group of primitives.
        
        The primary purpose of such a query (hereafter referred to as an
        "occlusion query") is to determine the visibility of an object.
        Typically, the application will render the major occluders in the
        scene, then perform an occlusion query for each detail object in
        the scene. On subsequent frames, the previous results of the
        occlusion queries can be used to decide whether to draw an object
        or not.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/occlusion_query_boolean.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    Úb/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GLES2/EXT/occlusion_query_boolean.pyÚglInitOcclusionQueryBooleanEXTr      s   € å!Ø×$Ò$¤oÓ7Ð7ó    ÚidsÚparams)Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLES2r   r	   Ú,OpenGL.raw.GLES2.EXT.occlusion_query_booleanr   r   ÚglGenQueriesEXTÚsetInputArraySizeÚglDeleteQueriesEXTÚglGetQueryivEXTÚglGetQueryObjectuivEXT© r   r   Ú<module>r      sª   ðñ÷. .Ñ -ß &Û ß ,Ü :Ý Hò8ð —’ Ó0×BÑBØ	ˆ4ó€ð —?’?Ð#5Ó6×HÑHØ	ˆ4óÐ ð —’ Ó0×BÑBØˆdó€ð —’Ð'=Ó>×PÑPØˆdóÑ r   