
    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5      r\R                  " \5      R                  S	S5      rg)
a{  OpenGL extension EXT.multi_draw_indirect

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

Overview (from the spec)
        
        The ARB_draw_indirect extension (included in OpenGL 4.0 and OpenGL ES 3.1)
        introduced mechanisms whereby the parameters for a draw function may be
        provided in a structure contained in a buffer object rather than as
        parameters to the drawing procedure. This is known as an indirect draw and
        is exposed as two new functions, glDrawArraysIndirect and
        glDrawElementsIndirect. Each of these functions generates a single batch
        of primitives.
        
        This extension builds on this functionality by providing procedures to
        invoke multiple draws from a single procedure call. This allows large
        batches of drawing commands to be assembled in server memory (via a buffer
        object) which may then be dispatched through a single function call.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/multi_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    ^/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GLES2/EXT/multi_draw_indirect.pyglInitMultiDrawIndirectEXTr       s    !$$o77    indirect)__doc__r   r   r   r   r   r   ctypesOpenGL.raw.GLES2r   r	   (OpenGL.raw.GLES2.EXT.multi_draw_indirectr   r   glMultiDrawArraysIndirectEXTsetInputArraySizeglMultiDrawElementsIndirectEXT r   r   <module>r      sj   0 . - &  , 6 D8 %__-IJ\\   '/MN``  r   