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 )
a3  OpenGL extension OES.texture_float

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

Overview (from the spec)
	
	These extensions add texture formats with 16- (aka half float) and 32-bit
	floating-point components.  The 32-bit floating-point components
	are in the standard IEEE float format.  The 16-bit floating-point
	components have 1 sign bit, 5 exponent bits, and 10 mantissa bits.
	Floating-point components are clamped to the limits of the range
	representable by their format.
	
	The OES_texture_half_float extension string indicates that the
	implementation supports 16-bit floating pt texture formats.
	
	The OES_texture_float extension string indicates that the 
	implementation supports 32-bit floating pt texture formats.
	
	Both these extensions only require NEAREST magnification filter and 
	NEAREST, and NEAREST_MIPMAP_NEAREST minification filters to be supported.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/OES/texture_float.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/OES/texture_float.pyÚglInitTextureFloatOES#   s    r   )Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLES2r   r   Z"OpenGL.raw.GLES2.OES.texture_floatr
   r   r   r   r   r   Ú<module>   s   