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dS )
a’  OpenGL extension ARB.transform_feedback_instanced

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

Overview (from the spec)
	
	Multiple instances of geometry may be specified to the GL by calling
	functions such as DrawArraysInstanced and DrawElementsInstanced. Further,
	the results of a transform feedback operation may be returned to the GL
	by calling DrawTransformFeedback, or DrawTransformFeedbackStream. However,
	it is not presently possible to draw multiple instances of data
	transform feedback without using a query and the resulting round trip from
	server to client.
	
	This extension adds functionality to draw multiple instances of the result
	of a transform feedback operation.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/transform_feedback_instanced.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   úh/home/ghrups/robot-bench/.venv/lib/python3.9/site-packages/OpenGL/GL/ARB/transform_feedback_instanced.pyÚ#glInitTransformFeedbackInstancedARB   s    r   )Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLr   r   Z.OpenGL.raw.GL.ARB.transform_feedback_instancedr
   r   r   r   r   r   Ú<module>   s   