
    3jt                         S r SSKJrJrJr  SSKJrJr  SSKrSSKJ	r	J
r
  SSK7  SSKJr  S r\R                  " \5      R                  S	S5      r\R                  " \5      R#                  S	\
R$                  S
SS9rg)ar  OpenGL extension SGIS.sharpen_texture

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

Overview (from the spec)
        
        This extension introduces texture magnification filters that sharpen
        the resulting image by extrapolating from the level 1 image to the
        level 0 image.  Sharpening can be enabled for all color channels, for
        the alpha channel only, or for the red, green, and blue channels only.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/SGIS/sharpen_texture.txt
    )platformconstantarrays)
extensionswrapperN)_types_glgets)*)_EXTENSION_NAMEc                  :    SSK Jn   U R                  " [        5      $ )z=Return boolean indicating whether this extension is availabler   r   )OpenGLr   hasGLExtensionr   r   s    X/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/SGIS/sharpen_texture.pyglInitSharpenTextureSGISr      s    !$$o77    pointstargetT)sizepnameArgorPassIn)__doc__r   r   r   r   r   r   ctypesOpenGL.raw.GLr   r	   "OpenGL.raw.GL.SGIS.sharpen_texturer   r   glSharpenTexFuncSGISsetInputArraySizeglGetSharpenTexFuncSGIS	setOutput_glget_size_mapping r   r   <module>r"      sz     . - &  ) 0 >8 __%9:LLd   (?@JJ'--x K  r   