
    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                  S
S5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  SS5      R                  SS5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S	S5      R)                  S
S SSS9R)                  SSSS9r\R                  " \5      R                  S	S5      R)                  S\
R,                  SSS9rg)a  OpenGL extension ARB.shading_language_include

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

Overview (from the spec)
        
        This extension introduces a #include GLSL directive to allow reusing
        the same shader text in multiple shaders and defines the semantics
        and syntax of the names allowed in #include directives. It also
        defines API mechanisms to define the named string backing a
        #include.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/shading_language_include.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_include.pyglInitShadingLanguageIncludeARBr      s    !$$o77    namestringlengthpathc                     U 4$ )N )xs    r   <lambda>r   8   s    A4r   bufSizeT)sizepnameArgorPassIn	stringlen)   )r   r   paramspname)__doc__r   r   r   r   r   r   ctypesOpenGL.raw.GLr   r	   *OpenGL.raw.GL.ARB.shading_language_includer   r   glNamedStringARBsetInputArraySizeglDeleteNamedStringARBglCompileShaderIncludeARBglIsNamedStringARBglGetNamedStringARB	setOutputglGetNamedStringivARB_glget_size_mappingr   r   r   <module>r0      sf  " . - &  ) 8 F8 !12DD
Dd  '=>PP
D 
 "//*CDVVd
D  ??#56HH
D  OO$78JJ
D)-D  )T4  	  oo&;<NN
D)'--w   r   