ó
    š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)
aF  OpenGL extension EXT.draw_instanced

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

Overview (from the spec)
        
        This extension provides the means to render multiple instances of
        an object with a single draw call, and an "instance ID" variable
        which can be used by the vertex program to compute per-instance
        values, typically an object's transform.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/draw_instanced.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    ÚY/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GLES2/EXT/draw_instanced.pyÚglInitDrawInstancedEXTr      s   € å!Ø×$Ò$¤oÓ7Ð7ó    Úindices)Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLES2r   r	   Ú#OpenGL.raw.GLES2.EXT.draw_instancedr   r   ÚglDrawElementsInstancedEXTÚsetInputArraySize© r   r   Ú<module>r      sH   ðñ÷  .Ñ -ß &Û ß ,Ü 1Ý ?ò8ð #Ÿ?š?Ð+EÓF×XÑXØˆtóÑ r   