a
    ij~                     @   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.GLES2.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/GLES2/NV/memory_attachment.pyglInitMemoryAttachmentNV   s    r   )__doc__r   r   r   r   r   r   ctypesZOpenGL.raw.GLES2r   r   Z%OpenGL.raw.GLES2.NV.memory_attachmentr
   r   r   r   r   r   <module>   s   