
    3jQ                         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)a  OpenGL extension SGIS.detail_texture

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

Overview (from the spec)
        
            This extension introduces texture magnification filters that blend
            between the level 0 image and a separately defined "detail" image.
            The detail image represents the characteristics of the high frequency
            subband image above the band-limited level 0 image.  The detail image is
            typically a rectangular portion of the subband image which is modified
            so that it can be repeated without discontinuities along its edges.
            Detail blending can be enabled for all color channels, for the alpha
            channel only, or for the red, green, and blue channels only.  It is
            available only for 2D textures.
        
            WARNING - Silicon Graphics has filed for patent protection for some
                      of the techniques described in this extension document.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/SGIS/detail_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    W/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/SGIS/detail_texture.pyglInitDetailTextureSGISr       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.detail_texturer   r   glDetailTexFuncSGISsetInputArraySizeglGetDetailTexFuncSGIS	setOutput_glget_size_mapping r   r   <module>r"      sz   0 . - &  ) / =8 OO$78JJd  '=>HH'--x I  r   