ó
    š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g)
ay  OpenGL extension EXT.instanced_arrays

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

Overview (from the spec)
        
        A common use case in GL for some applications is to be able to
        draw the same object, or groups of similar objects that share
        vertex data, primitive count and type, multiple times.  This 
        extension provides a means of accelerating such use cases while 
        reducing the number of API calls, and keeping the amount of 
        duplicate data to a minimum.
        
        This extension introduces an array "divisor" for generic
        vertex array attributes, which when non-zero specifies that the
        attribute is "instanced."  An instanced attribute does not
        advance per-vertex as usual, but rather after every <divisor>
        conceptual draw calls.
        
        (Attributes which aren't instanced are repeated in their entirety
        for every conceptual draw call.)
        
        By specifying transform data in an instanced attribute or series
        of instanced attributes, vertex shaders can, in concert with the 
        instancing draw calls, draw multiple instances of an object with 
        one draw call.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/instanced_arrays.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/instanced_arrays.pyÚglInitInstancedArraysEXTr   (   s   € å!Ø×$Ò$¤oÓ7Ð7ó    Úindices)Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLES2r   r	   Ú%OpenGL.raw.GLES2.EXT.instanced_arraysr   r   ÚglDrawElementsInstancedEXTÚsetInputArraySize© r   r   Ú<module>r      sI   ðñ÷@ .Ñ -ß &Û ß ,Ü 3Ý Aò8ð #Ÿ?š?Ð+EÓF×XÑXØˆtóÑ r   