
    3j                         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.fog_function

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

Overview (from the spec)
        
        This extension allows to define application-specific fog blend-factor
        function.  Function is defined by the set of the "control" points and
        should be monotonic. Each control point represented as a pair of the
        eye-space distance value and corresponding value of the fog blending 
        factor. The minimum number of control points is one. The maximum 
        number is implementation dependent.
        

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/SGIS/fog_function.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    U/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/SGIS/fog_function.pyglInitFogFunctionSGISr      s    !$$o77    points T)sizepnameArgorPassIn)__doc__r   r   r   r   r   r   ctypesOpenGL.raw.GLr   r	   OpenGL.raw.GL.SGIS.fog_functionr   r   glFogFuncSGISsetInputArraySizeglGetFogFuncSGIS	setOutput_glget_size_mapping r   r   <module>r"      sw   & . - &  ) - ;8 oom,>>d !12<<'--r4 =  r   