ó
    š3j)  ã                   óJ  • 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
 SSS9r\R                  " \5      R#                  S	SS jS\R$                  SS9rg)aÂ  OpenGL extension ARB.vertex_array_object

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

Overview (from the spec)
        
        This extension introduces named vertex array objects which encapsulate
        vertex array state on the client side.  These objects allow applications
        to rapidly switch between large sets of array state.  In addition, layered
        libraries can return to the default array state by simply creating and
        binding a new vertex array object.
        
        This extension differs from GL_APPLE_vertex_array_object in that client
        memory cannot be accessed through a non-zero vertex array object.  It also
        differs in that vertex array objects are explicitly not sharable between
        contexts.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/vertex_array_object.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/vertex_array_object.pyÚglInitVertexArrayObjectARBr      s   € å!Ø×$Ò$¤oÓ7Ð7ó    r   c                 ó   • U 4$ ©N© )Úxs    r   Ú<lambda>r   (   s   € ˜A™4r   ÚnT)ÚsizeÚpnameArgÚorPassInc                 ó   • U 4$ r   r   )r   Úarrays     r   r   r   -   s   €  Q¡Dr   )Ú	arrayTyper   r   )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú%OpenGL.raw.GL.ARB.vertex_array_objectr   r   ÚglDeleteVertexArraysÚsetInputArraySizeÚglGenVertexArraysÚ	setOutputÚGLuintArrayr   r   r   Ú<module>r(      s©   ðñ÷, .Ñ -ß &Û ß )Ü 3Ý Aò8ð —_’_Ð%9Ó:×LÑLØˆdóÐ ð —/’/Ð"3Ó4×>Ñ>Ø‘-¨°dð ?ð Ð ð
 —O’OÐ$5Ó6×@Ñ@ØÓ(¨#¸6×;MÑ;MØð Að Ñ r   