
    3jY                        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\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	S5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S	S5      r\R                  " \5      R                  S
S5      rg)a  OpenGL extension ARB.vertex_blend

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

Overview (from the spec)
        
        This extension provides the ability to replace the single
        modelview transformation with a set of n vertex units. (Where
        n is constrained to an implementation defined maximum.) Each
        unit has its own modelview transform matrix. For each unit,
        there is a current weight associated with the vertex. When
        this extension is enabled the vertices are transformed by
        the modelview matrices of all of the enabled units. Afterward,
        these results are scaled by the weights for the respective
        units and then summed to create the eye-space vertex. A
        similar procedure is followed for the normals, except they
        are transformed by the inverse transpose of the modelview
        matrices.
        
        This extension is an orthoganalized version of functionality
        already provided by other 3D graphics API's.
        

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/vertex_blend.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    T/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/ARB/vertex_blend.pyglInitVertexBlendARBr   $   s    !$$o77    weightspointer)__doc__r   r   r   r   r   r   ctypesOpenGL.raw.GLr   r	   OpenGL.raw.GL.ARB.vertex_blendr   r   glWeightbvARBsetInputArraySizeglWeightsvARBglWeightivARBglWeightfvARBglWeightdvARBglWeightubvARBglWeightusvARBglWeightuivARBglWeightPointerARB r   r   <module>r$      sH  8 . - &  ) , :8 oom,>>t oom,>>t oom,>>t oom,>>t oom,>>t ~.@@t ~.@@t ~.@@t ??#56HHt r   