+
    õäûjé  ã                   ó0  € R t ^ RIt^ RIHtHtHtHtHtHt ^ RI	H
t
  ! R R]4      t ! R R]4      t ! R R	]]4      t]]Jd    ! R
 R]]4      tM]t ! R R]]4      t ! R R]]4      t]R8X  d¤   ]! R^4      t]! RR4      t]! RR4      t^ RIt]]]3 Fy  t]P4                  ! ]P6                  ! ]4      4      t]]8X  g   Q ]! ]4      ]! ]4      34       h]P<                  ]P<                  8X  d   K^  Q ]P<                  ]P<                  34       h	  R# R# )z)Implementation of OpenGL constant objectsN)ÚbytesÚunicodeÚas_8_bitÚlongÚinteger_typesÚmaxsize)Ú_configflagsc                   óL   a a€ ] tR t^t oRtRV 3R lltR tV 3R ltRtVt	V ;t
# )ÚConstanta4  OpenGL constant that displays itself as a name rather than a value

The purpose of this class is to make debugging OpenGL code easier,
as you recieve messages that say what value you passed in in a
human-readable form, rather than as a bald number that requires
lookup and disambiguation in the header file.
c                óT  <€ \        V\        4      '       g½   \        V\        4      '       d   V \        Jd   \        W4      # \        V\        4      '       d   V \
        Jd   \        W4      # \        V\        4      '       d   V \        Jd   \        W4      # \        V\        \        34      '       d    V \        Jd   \        V\        V4      4      # \        V\        4      '       d   V\        8”  d   V\        ,          ) p\        \        V `?  W4      pWn        \"        P$                  '       dw   \&        P(                  ! 4       P*                  pV'       dP   VP*                  '       d>   RVP*                  P,                  9   d#   VP*                  P,                  R,          Vn        V# )z5Initialise the constant with the given name and valueÚ__name__)Ú
isinstancer
   ÚfloatÚFloatConstantÚintÚIntConstantr   ÚLongConstantr   r   ÚStringConstantr   r   r   ÚsuperÚ__new__Únamer   ÚMODULE_ANNOTATIONSÚsysÚ	_getframeÚf_backÚ	f_globalsÚ
__module__)Úclsr   ÚvalueÚbaseÚframeÚ	__class__s   &&&  €ÚKC:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\OpenGL\constant.pyr   ÚConstant.__new__   s   ø€ ä˜5¤(×,Ò,Ü˜5¤%×)Ò)¨c¼Ó.FÜ$ dÓ3Ð3Ü˜U¤C×)Ò)¨c¼Ó.DÜ" DÓ1Ð1Ü˜U¤D×*Ò*¨s¼,Ó/FÜ# TÓ2Ð2Ü˜U¤U¬7 O×5Ò5¸#Ä^Ó:SÜ% t¬X°e«_Ó>Ð>Ü�uœm×-Ò-Ø”wŒØ ¤7�?Ð+�Ü”X˜cÑ*¨CÓ8ˆØŒ	Ü×*×*Ð*Ü—M’M“O×*Ñ*ˆEß˜ŸŸ˜¨*¸¿¹×8NÑ8NÔ*NØ"'§,¡,×"8Ñ"8¸Õ"D�”Øˆó    c                ó   € V P                   # )z+Return the name, rather than the bald value©r   ©Úselfs   &r"   Ú__repr__ÚConstant.__repr__#   ó   € à�y‰yÐr$   c                óL   <€ V P                   3\        \        V `  4       ,           # )z5Produce the new arguments for recreating the instance)r   r   r
   Ú__getnewargs__©r(   r!   s   &€r"   r-   ÚConstant.__getnewargs__&   s   ø€ à—	‘	ˆ|œe¤X¨tÑDÓFÕFÐFr$   © ©N)r   r   Ú__qualname__Ú__firstlineno__Ú__doc__r   r)   r-   Ú__static_attributes__Ú__classdictcell__Ú__classcell__©r!   Ú__classdict__s   @@r"   r
   r
      s    ù‡ € ñ÷ò*÷Gõ Gr$   r
   c                   óB   a a€ ] tR t^*t oRtV 3R ltR tR tRtVt	V ;t
# )ÚNumericConstantz&Base class for numeric-value constantsc                óL   <€ V P                   : R\        \        V `  4       : R2# ©z+Return the value as a human-friendly stringz (Ú)©r   r   r
   Ú__str__r.   s   &€r"   r@   ÚNumericConstant.__str__,   ó   ø€ àŸ)œ)¤E¬(°4Ñ$@Ö$BÐCÐCr$   c                ó   € V P                   # )z&Retrieve state for pickle and the liker&   r'   s   &r"   Ú__getstate__ÚNumericConstant.__getstate__/   r+   r$   c                ó   € Wn         R # r1   r&   )r(   Ústates   &&r"   Ú__setstate__ÚNumericConstant.__setstate__2   s   € ØŽ	r$   r&   )r   r   r2   r3   r4   r@   rD   rH   r5   r6   r7   r8   s   @@r"   r;   r;   *   s   ù‡ € Ù0õDò÷ò r$   r;   c                   ó   € ] tR t^5tRtRtR# )r   zInteger constantr0   N©r   r   r2   r3   r4   r5   r0   r$   r"   r   r   5   s   † Ýr$   r   c                   ó   € ] tR t^8tRtRtR# )r   zLong integer constantr0   NrK   r0   r$   r"   r   r   8   s   † Ý#r$   r   c                   ó   € ] tR t^<tRtRtR# )r   zFloat constantr0   NrK   r0   r$   r"   r   r   <   s   † Ýr$   r   c                   ó6   a a€ ] tR t^?t oRtV 3R ltRtVtV ;t# )r   zString constantsc                óL   <€ V P                   : R\        \        V `  4       : R2# r=   r?   r.   s   &€r"   r)   ÚStringConstant.__repr__A   rB   r$   r0   )	r   r   r2   r3   r4   r)   r5   r6   r7   r8   s   @@r"   r   r   ?   s   ù‡ € Ù÷Dõ Dr$   r   Ú__main__ÚtestintÚ	testfloatg      @Úteststrzsome testing string)r4   r   ÚOpenGL._bytesr   r   r   r   r   r   ÚOpenGLr   Úobjectr
   r;   r   r   r   r   r   r   r   ÚxÚyÚzÚpickleÚvalÚloadsÚdumpsÚrestoredÚstrr   r0   r$   r"   Ú<module>ra      s  ðÙ /Û 
ß N× NÝ ô"G�ô "GôH	�xô 	ô�? Cô àˆdƒ?ô$˜¨õ $ð €Lô�_ eô ôD�h ô Dð ˆzÔÙ�Y Ó#€AÙ�{ CÓ)€AÙ˜	Ð#8Ó:€AãØ��1‹uˆØ—<’< §¢¨sÓ!4Ó5ˆØ˜3ŒÐ8¡ X£©s°3«xÐ 8Ó8ˆØ�}‰} §¡Ö(ÐB¨8¯=©=¸¿¹Ð*BÓBÐ(ó ñ r$   