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

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

Overview (from the spec)
        
        This extension provides a mechanism for supplying the arguments to a 
        DrawArraysInstanced or DrawElementsInstancedBaseVertex from buffer object
        memory. This is not particularly useful for applications where the CPU 
        knows the values of the arguments beforehand, but is helpful when the 
        values will be generated on the GPU through any mechanism that can write
        to a buffer object including image stores, atomic counters, or compute
        interop. This allows the GPU to consume these arguments without a round-
        trip to the CPU or the expensive synchronization that would involve. This
        is similar to the DrawTransformFeedbackEXT command from 
        EXT_transform_feedback2, but offers much more flexibility in both 
        generating the arguments and in the type of Draws that can be accomplished.

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