a
    i‚jW  ã                   @   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 )
aC  OpenGL extension AMD.shader_explicit_vertex_parameter

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

Overview (from the spec)
	
	Unextended GLSL provides a set of fixed function interpolation modes and
	even those are limited to certain types of interpolants (for example,
	interpolation of integer and double isn't supported).
	
	This extension introduces new built-in functions allowing access to vertex
	parameters explicitly in  the fragment shader. It also exposes barycentric
	coordinates as new built-in variables, which can be used to implement
	custom interpolation algorithms using shader code.

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