
    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	S5      rSS
KJr  \R$                  R(                  R+                  S/ 5      R-                  \R.                  R0                  \S4\R.                  R0                  \S4/5        g)ao  OpenGL extension SGIS.texture4D

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

Overview (from the spec)
        
        This extension defines 4-dimensional texture mapping.  If EXT_subtexture
        is supported, this extension also defines a mechanism to redefine a
        portion of an existing 4-dimensional texture image.  Because
        EXT_texture3D is required, this extension utilizes the 3-dimensional
        image support defined in by EXT_texture3D as a base for 4-dimensional
        image manipulation.
        
        The 4th dimension has an abstract, rather than physical, reference
        and will be called "extent", since the definition of extent is "that which
        specifies the range or magnitude of an area or volume."
        
        Four-dimensional texture mapping is more constrained than its one, two,
        and three-dimensional counterparts.  Mipmapping is not supported, so
        only the level-zero 4-dimensional texture image can be defined.  Cubic
        filtering is not supported, so the border width must be either zero or
        one.
        
        Four-dimensional textures are used primarily as color lookup tables for
        color conversion.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/SGIS/texture4D.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    R/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/SGIS/texture4D.pyglInitTexture4DSGISr   '   s    !$$o77    pixels)images   )__doc__r   r   r   r   r   r   ctypesOpenGL.raw.GLr   r	   OpenGL.raw.GL.SGIS.texture4Dr   r   glTexImage4DSGISsetInputArraySizeglTexSubImage4DSGIS	OpenGL.GLr   _iRANK_PACKINGS
setdefaultextendGL_1_1glPixelStoreiGL_PACK_SKIP_VOLUMES_SGISGL_PACK_IMAGE_DEPTH_SGIS r   r   <module>r'      s   > . - &  ) * 88 !12DDd  OO$78JJd 
 # 		   " "1R ( / /YY6:YY5q91 r   