ó
    š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g)	a	  OpenGL extension ARB.shading_language_420pack

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

Overview (from the spec)
        
        This is a language feature only extension formed from changes made
        to version 4.20 of GLSL.  It includes:
        
        * Add line-continuation using '\', as in C++.
        
        * Change from ASCII to UTF-8 for the language character set and also 
          allow any characters inside comments.
        
        * Allow implicit conversions of return values to the declared type of 
          the function.
        
        * The *const* keyword can be used to declare variables within a function 
          body with initializer expressions that are not constant expressions.
        
        * Qualifiers on variable declarations no longer have to follow a strict 
          order. The layout qualifier can be used multiple times, and multiple 
          parameter qualifiers can be used.  However, this is not as
          straightforward as saying declarations have arbitrary lists of 
          initializers.  Typically, one qualifier from each class of qualifiers
          is allowed, so care is now taken to classify them and say so.  Then, 
          of these, order restrictions are removed.
        
        * Add layout qualifier identifier "binding" to bind the location of a
          uniform block.  This requires version 1.4 of GLSL.  If this extension
          is used with an earlier version than 1.4, this feature is not present.
        
        * Add layout qualifier identifier "binding" to bind units to sampler 
          and image variable declarations.
        
        * Add C-style curly brace initializer lists syntax for initializers. 
          Full initialization of aggregates is required when these are used.
        
        * Allow ".length()" to be applied to vectors and matrices, returning 
          the number of components or columns.
        
        * Allow swizzle operations on scalars.
        
        * Built-in constants for gl_MinProgramTexelOffset and 
          gl_MaxProgramTexelOffset.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/shading_language_420pack.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    Ú`/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/ARB/shading_language_420pack.pyÚglInitShadingLanguage420PackARBr   ;   s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú*OpenGL.raw.GL.ARB.shading_language_420packr   r   © r   r   Ú<module>r      s'   ðñ2÷f .Ñ -ß &Û ß )Ü 8Ý Fó8r   