a
    i‚jr  ã                   @   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dS )
aŒ  OpenGL extension NV.memory_attachment

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

Overview (from the spec)
	
	This extension extends the memory objects introduced with EXT_memory_object
	to allow existing textures and buffers to be migrated to an imported memory
	allocation.  The primary use-case of this extension is plug-in development
	where resource management (creation, deletion, sizing etc.) is handled by
	inaccessible host application code.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/NV/memory_attachment.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   ú\/home/ghrups/robot-bench/.venv/lib/python3.9/site-packages/OpenGL/GL/NV/memory_attachment.pyÚglInitMemoryAttachmentNV   s    r   )Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLr   r   Z"OpenGL.raw.GL.NV.memory_attachmentr
   r   r   r   r   r   Ú<module>   s   