
    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 ARB.multi_draw_indirect

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

Overview (from the spec)
        
        The ARB_draw_indirect extension (included in OpenGL 4.0) 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/ARB/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/GL/ARB/multi_draw_indirect.pyglInitMultiDrawIndirectARBr      s    !$$o77    indirect)__doc__r   r   r   r   r   r   ctypesOpenGL.raw.GLr   r	   %OpenGL.raw.GL.ARB.multi_draw_indirectr   r   glMultiDrawArraysIndirectsetInputArraySizeglMultiDrawElementsIndirect r   r   <module>r      sj   . . - &  ) 3 A8 "//*CDVV  $OO,GHZZ r   