a
    ij                     @   sz   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eejd
e
jdddZdS )ag  OpenGL extension ARB.texture_multisample

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

Overview (from the spec)
	
	This extension provides support for two new types of "multisample
	textures" - two-dimensional and two-dimensional array - as well as
	mechanisms to fetch a specific sample from such a texture in a shader,
	and to attach such textures to FBOs for rendering.
	
	This extension also includes the following functionality, first described
	in NV_explicit_multisample:
	
	 * A query in the API to query the location of samples within the pixel
	
	 * An explicit control for the multisample sample mask to augment the
	   control provided by SampleCoverage

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/texture_multisample.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/ARB/texture_multisample.pyglInitTextureMultisampleARB    s    r   valZpnameT)sizeZpnameArgZorPassIn)__doc__r   r   r   r   r   r   ctypesZOpenGL.raw.GLr   r   Z%OpenGL.raw.GL.ARB.texture_multisampler
   r   ZglGetMultisamplefvZ	setOutputZ_glget_size_mappingr   r   r   r   <module>   s   

