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

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

Overview (from the spec)
        
        Buffer objects are fundamental to the operation of OpenGL. Buffers are used
        as a source of data for vertices and indices, read through buffer textures
        in shaders, used to transfer texture and image data into and out of
        textures and framebuffers, and may be written to by operations such as
        transform feedback. OpenGL contains mechanisms to copy sections of buffers
        from one to another, but it has no mechanism to initialize the content
        of a buffer to a known value. In effect, it has memcpy, but not memset.
        
        This extension adds such a mechanism and has several use cases. Examples
        include clearing a pixel unpack buffer before transferring data to
        a texture or resetting buffer data to a known value before sparse updates
        through shader image stores or transform feedback.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/clear_buffer_object.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/clear_buffer_object.pyÚglInitClearBufferObjectARBr       s   € å!Ø×$Ò$¤oÓ7Ð7ó    Údata)Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú%OpenGL.raw.GL.ARB.clear_buffer_objectr   r   ÚglClearBufferDataÚsetInputArraySizeÚglClearBufferSubData© r   r   Ú<module>r      sj   ðñ÷0 .Ñ -ß &Û ß )Ü 3Ý Aò8ð —/’/Ð"3Ó4×FÑFØ
ˆDóÐ ð —_’_Ð%9Ó:×LÑLØ
ˆDóÑ r   