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

This module customises the behaviour of the 
OpenGL.raw.GLES2.MESA.sampler_objects to provide a more 
Python-friendly API

Overview (from the spec)
        
        This extension makes the sampler object subset of OpenGL ES 3.0 available
        in OpenGL ES 2.0 contexts. As the intent is to allow access to the API
        without necessarily requiring additional renderer functionality, some
        sampler state that would be mandatory in GLES 3 is dependent on the
        presence of additional extensions. Under GLES 3.0 or above this extension's
        name string may be exposed for compatibility, but it is otherwise without
        effect.
        
        Refer to the OpenGL ES 3.0 specification for API details not covered here.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/MESA/sampler_objects.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/GLES2/MESA/sampler_objects.pyglInitSamplerObjectsMESAr      s    !$$o77    samplersc                     U 4$ )N )xs    r   <lambda>r   #   s    aTr   countT)sizepnameArgorPassInparamparamspname)__doc__r   r   r   r   r   r   ctypesOpenGL.raw.GLES2r   r	   %OpenGL.raw.GLES2.MESA.sampler_objectsr   r   glGenSamplers	setOutputglDeleteSamplerssetInputArraySizeglSamplerParameterivglSamplerParameterfvglGetSamplerParameteriv_glget_size_mappingglGetSamplerParameterfvr   r   r   <module>r,      s  * . - &  , 3 A8
 oom,66M7D 7  !12DD  __%9:LLT  __%9:LLT   (?@JJ'--w K    (?@JJ'--w K  r   