ó
    š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
 SSS9rg)a?  OpenGL extension APPLE.vertex_array_object

This module customises the behaviour of the 
OpenGL.raw.GL.APPLE.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. The main purpose of these 
        objects is to keep pointers to static vertex data and provide a name 
        for different sets of static vertex data.  
        
        By extending vertex array range functionality this extension allows multiple
        vertex array ranges to exist at one time, including their complete sets of
        state, in manner analogous to texture objects. 
        
        GenVertexArraysAPPLE creates a list of n number of vertex array object
        names.  After creating a name, BindVertexArrayAPPLE associates the name with
        a vertex array object and selects this vertex array and its associated
        state as current.  To get back to the default vertex array and its
        associated state the client should bind to vertex array named 0.
        
        Once a client is done using a vertex array object it can be deleted with
        DeleteVertexArraysAPPLE.  The client is responsible for allocating and
        deallocating the memory used by the vertex array data, while the
        DeleteVertexArraysAPPLE command deletes vertex array object names and
        associated state only.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/APPLE/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/APPLE/vertex_array_object.pyÚglInitVertexArrayObjectAPPLEr   (   s   € å!Ø×$Ò$¤oÓ7Ð7ó    r   c                 ó   • U 4$ )N© )Úxs    r   Ú<lambda>r   2   s   € ˜A™4r   ÚnT)ÚsizeÚpnameArgÚorPassIn)Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú'OpenGL.raw.GL.APPLE.vertex_array_objectr   r   ÚglDeleteVertexArraysAPPLEÚsetInputArraySizeÚglGenVertexArraysAPPLEÚ	setOutputr   r   r   Ú<module>r#      su   ðñ÷@ .Ñ -ß &Û ß )Ü 5Ý Cò8ð "Ÿ/š/Ð*CÓD×VÑVØˆdóÐ ð —’Ð'=Ó>×HÑHØ‘-¨°dð Ið Ñ r   