a
    i‚jî  ă                   @   s"  d Z ddlmZmZmZ ddlmZmZ ddlZddlm	Z	m
Z
 ddlT ddlmZ dd	„ Ze eˇ d
dˇZe eˇjde
jdddŤ ddˇZe eˇ ddˇZe eˇjddddŤjddd„ dddŤZe eˇ ddˇZe eˇjddddŤjddd„ dddŤZe eˇjde
jdddŤZdS )a  OpenGL extension VERSION.GL_3_1

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

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/VERSION/GL_3_1.txt
é    )ÚplatformÚconstantÚarrays)Ú
extensionsÚwrapperN)Ú_typesÚ_glgets)Ú*)Ú_EXTENSION_NAMEc                  C   s   ddl m}  |  tˇS )z=Return boolean indicating whether this extension is availabler   ©r   )ÚOpenGLr   ZhasGLExtensionr
   r   © r   úV/home/ghrups/robot-bench/.venv/lib/python3.9/site-packages/OpenGL/GL/VERSION/GL_3_1.pyÚglInitGl31VERSION   s    r   ÚindicesZuniformIndicesZuniformCountT)ÚsizeZpnameArgÚorPassInZuniformNamesÚlength)é   )r   r   ZuniformNamec                 C   s   | fS ©Nr   ©Úxr   r   r   Ú<lambda>(   ó    r   ZbufSizeZuniformBlockNamec                 C   s   | fS r   r   r   r   r   r   r   2   r   ÚdataÚtarget)Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLr   r   ZOpenGL.raw.GL.VERSION.GL_3_1r
   r   ZglDrawElementsInstancedZsetInputArraySizeZglGetUniformIndicesZ	setOutputZ_glget_size_mappingZglGetActiveUniformsivZglGetActiveUniformNameZglGetUniformBlockIndexZglGetActiveUniformBlockNameZglGetIntegeri_vr   r   r   r   Ú<module>   sD   	
˙

˙ý
˙
˙ý
˙
˙ý

˙