a
    i‚j-  ã                   @   sr   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dS )aï  OpenGL extension OES.mapbuffer

This module customises the behaviour of the 
OpenGL.raw.GLES1.OES.mapbuffer to provide a more 
Python-friendly API

Overview (from the spec)
	
	This extension adds to the vertex buffer object functionality supported
	by OpenGL ES 1.1 or ES 2.0 by allowing the entire data storage of a
	buffer object to be mapped into the client's address space.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/OES/mapbuffer.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   úX/home/ghrups/robot-bench/.venv/lib/python3.9/site-packages/OpenGL/GLES1/OES/mapbuffer.pyÚglInitMapbufferOES   s    r   Úparamsé   )Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLES1r   r   ZOpenGL.raw.GLES1.OES.mapbufferr
   r   ZglGetBufferPointervOESZsetInputArraySizer   r   r   r   Ú<module>   s   
ÿ