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 ARM.shader_framebuffer_fetch

This module customises the behaviour of the 
OpenGL.raw.GLES2.ARM.shader_framebuffer_fetch to provide a more 
Python-friendly API

Overview (from the spec)
	
	This extension enables fragment shaders to read existing framebuffer
	data as input. This permits use-cases such as programmable blending,
	and other operations that may not be possible to implement with
	fixed-function blending.
	
	This extension also adds the ability to indicate that a shader should
	be run once per sample instead of once per pixel.
	
	Reading framebuffer data as input in combination with multiple render
	targets (MRT) may not be supported by all implementations. This
	extension allows applications to query for this capability.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARM/shader_framebuffer_fetch.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   g/home/ghrups/robot-bench/.venv/lib/python3.9/site-packages/OpenGL/GLES2/ARM/shader_framebuffer_fetch.pyglInitShaderFramebufferFetchARM   s    r   )__doc__r   r   r   r   r   r   ctypesZOpenGL.raw.GLES2r   r   Z-OpenGL.raw.GLES2.ARM.shader_framebuffer_fetchr
   r   r   r   r   r   <module>   s   