ó
    š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 ARB.conservative_depth

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

Overview (from the spec)
        
        There is a common optimization for hardware accelerated implementation of
        OpenGL which relies on an early depth test to be run before the fragment
        shader so that the shader evaluation can be skipped if the fragment ends
        up being discarded because it is occluded.
        
        This optimization does not affect the final rendering, and is typically
        possible when the fragment does not change the depth programmatically.
        (i.e.: it does not write to the built-in gl_FragDepth output). There are,
        however a class of operations on the depth in the shader which could
        still be performed while allowing the early depth test to operate.
        
        This extension allows the application to pass enough information to the
        GL implementation to activate such optimizations safely.

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