fake-bpy-module 20250328__py3-none-any.whl → 20250408__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

bpy/utils/__init__.pyi CHANGED
@@ -231,6 +231,8 @@ def register_cli_command(id: str, execute: collections.abc.Callable):
231
231
  The return value should be 0 for success, 1 on failure (specific error codes from the os module can also be used).
232
232
  :type execute: collections.abc.Callable
233
233
  :return: The command handle which can be passed to `unregister_cli_command`.
234
+
235
+ This uses Python's capsule type however the result should be considered an opaque handle only used for unregistering.
234
236
  """
235
237
 
236
238
  def register_manual_map(manual_hook): ...
@@ -19,7 +19,7 @@ import typing_extensions
19
19
  import numpy.typing as npt
20
20
  import bpy.types
21
21
 
22
- class ImagePreviewCollection:
22
+ class ImagePreviewCollection(dict):
23
23
  """Dictionary-like class of previews.This is a subclass of Python's built-in dict type,
24
24
  used to store multiple image previews.
25
25
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fake-bpy-module
3
- Version: 20250328
3
+ Version: 20250408
4
4
  Summary: Collection of the fake Blender Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -54,7 +54,7 @@ bl_math/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  bl_operators/__init__.pyi,sha256=0HaqkYLlDVduCNE97qwELROjXE6ZbZUH1o_1B5IX_rc,1553
55
55
  bl_operators/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  bl_operators/add_mesh_torus/__init__.pyi,sha256=3VlF9vHTDOkiGr1Uxe5F2eUWkyjYc_LVXzoBRvaslJM,1185
57
- bl_operators/anim/__init__.pyi,sha256=tyGajhZTsGrc8HaIDxgohjGNwyoHh9NX8AjKAloah6k,10289
57
+ bl_operators/anim/__init__.pyi,sha256=w7XkQvZtLpVGPxtyUYdf1ACfTAtGNvh366R9sDY1Rz4,10515
58
58
  bl_operators/assets/__init__.pyi,sha256=yuDNMXaP1EssBJBCFbY59DVe4bXNHzJArJMSUeZbdPo,2720
59
59
  bl_operators/bmesh/__init__.pyi,sha256=xhgZcx4fJyNE_cbXB-d3TFNHw2Y2k9IYMD3Af8WPt4M,134
60
60
  bl_operators/bmesh/find_adjacent/__init__.pyi,sha256=tNsq8p4miV7GV8t1j0gtss0JO2oT5mCteJochNj2htw,617
@@ -70,7 +70,7 @@ bl_operators/grease_pencil/__init__.pyi,sha256=fUiQmkLd1ovbPvBlb1fwdoZoiOBxcs5aT
70
70
  bl_operators/image/__init__.pyi,sha256=WsudrMr0Ef4hRlUDWhGx3l-gaPK0PiyHOnXhPrJJ8qg,3463
71
71
  bl_operators/image_as_planes/__init__.pyi,sha256=dEZy-rwdFkyX8VRVww_GDcU_ofN4uLgnlKQ_oEAvcMs,4583
72
72
  bl_operators/mesh/__init__.pyi,sha256=dB9wyEAXjEZGZ7ZMRR5A3cwQz98h0KTuw1whsNpiXX0,2439
73
- bl_operators/node/__init__.pyi,sha256=tHA8yhEy4MdOV6fNtrmo6ycd2wEPH8686ZOTS02RmI0,12044
73
+ bl_operators/node/__init__.pyi,sha256=L86J7evRPZTFkdSe2HQ-HsQnNdPC1lN8aTv_5DTph9Y,12710
74
74
  bl_operators/node_editor/__init__.pyi,sha256=nXKuGcFgA7viFPwVoXogOT1iClUnXhtrK_rZTTXJ2Go,136
75
75
  bl_operators/node_editor/node_functions/__init__.pyi,sha256=uzcBbSwlb5DW9oIq02bfJBH9_kFPmX4IndfpSjtCDak,554
76
76
  bl_operators/object/__init__.pyi,sha256=7YgHs6s-gQpnjD007N0zCO3-kF2hOb_pEax5RbMisU4,11543
@@ -104,9 +104,9 @@ bl_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
104
104
  bl_ui/anim/__init__.pyi,sha256=bxUenrjpr8B1Xz25D9sLo2XuR-pYbvkpgFwnsnBv4So,903
105
105
  bl_ui/asset_shelf/__init__.pyi,sha256=a1Luz9261xl7H_T1atH9oWX_wkAvoWAhuy3l43vrpME,790
106
106
  bl_ui/generic_ui_list/__init__.pyi,sha256=wPk6voYuY-Reey45ueRE36_vABh9g8SbMS7JNIVtPUw,4232
107
- bl_ui/node_add_menu/__init__.pyi,sha256=PJkKJHijLR0debXhk69hD1dYqR6Reu5070xX92n3xLc,1175
107
+ bl_ui/node_add_menu/__init__.pyi,sha256=bsog9RCp8brWzDm8myb7fncDaOg8w--EoXd13Bs2U3E,1216
108
108
  bl_ui/node_add_menu_compositor/__init__.pyi,sha256=kUXJiHat5Vx-AAzd_vk83IPZBXOqm8qoMua4buGHqIY,10389
109
- bl_ui/node_add_menu_geometry/__init__.pyi,sha256=rTr7qm5R5j-NjlyD6BHVIsx8Hd2odCKOQp1eu-vvG28,30302
109
+ bl_ui/node_add_menu_geometry/__init__.pyi,sha256=74FoDxvN_KBqyRs_TAcZ_1Uh5wsP-V0-hEdGSHG83E8,30881
110
110
  bl_ui/node_add_menu_shader/__init__.pyi,sha256=Qwqrc5VmIsiOJK1cAcH42nvjhNBqhLi56Zl_RtBQRI8,6014
111
111
  bl_ui/node_add_menu_texture/__init__.pyi,sha256=31td-iGV1FsDFcF3No2aq0YlYKEGXypd2Y0dCt1mPdc,5267
112
112
  bl_ui/properties_animviz/__init__.pyi,sha256=hLQAP2Pwl9da7V7GwBjLgWwLbkaF86rgwagt_cj-_Pg,689
@@ -135,7 +135,7 @@ bl_ui/properties_mask_common/__init__.pyi,sha256=oMn0LdyCRRwK3g8sjbfLbnF7hTYq_zm
135
135
  bl_ui/properties_material/__init__.pyi,sha256=jTSBYWl-Kg_p2eaCAPWFzASLJi8ab6kHBILiH9GFnso,13526
136
136
  bl_ui/properties_material_gpencil/__init__.pyi,sha256=N8MEHV4nTtOW6qRh250xSn8idhJ_c4f1KOVHLV_JdlQ,8617
137
137
  bl_ui/properties_object/__init__.pyi,sha256=QVQ1uSQ55wkBvNNWluCHDAtkjfGAmSY_r7sJvY9J3nY,14707
138
- bl_ui/properties_output/__init__.pyi,sha256=hIRY5TNh-ICmyafTKfmdNjhLhoOojEm-X2NyKuXup88,13787
138
+ bl_ui/properties_output/__init__.pyi,sha256=cyH3ZgV4Ee6-H_TsLAkCMqV4Sb27Qzi7rNWn0Zm8dIM,15169
139
139
  bl_ui/properties_paint_common/__init__.pyi,sha256=CciqrCaz3Srp48LQdCZBKEWy0x3xbyGPzZO1jES0aCM,8019
140
140
  bl_ui/properties_particle/__init__.pyi,sha256=9kn1doBcLG0uY1N78WcyGDSi9B89KZsMk2koc8a17sU,43441
141
141
  bl_ui/properties_physics_cloth/__init__.pyi,sha256=BpJZ509z2FjXRyxKmJAqbGRgRLp9EBbC2PQ9v71Hs1Q,10674
@@ -147,7 +147,7 @@ bl_ui/properties_physics_geometry_nodes/__init__.pyi,sha256=PF3xmmBOR8ZMT6poX3D_
147
147
  bl_ui/properties_physics_rigidbody/__init__.pyi,sha256=9nK7NkJDJ0-FLP9t_nS02Chj0GilMfVCXvogjyihE9Q,6996
148
148
  bl_ui/properties_physics_rigidbody_constraint/__init__.pyi,sha256=-imxs4yLNckg2NZJaFcGZK3UISL_naadrF2e0O6HbrA,11369
149
149
  bl_ui/properties_physics_softbody/__init__.pyi,sha256=KzaElnFPJul0_LoInE6pkl_1QUudrmHLF7ZNDUJFSQ0,11617
150
- bl_ui/properties_render/__init__.pyi,sha256=xtGe7rGH-FYLdIxmc8WMBbkF0RzdAOKJ8IufzEMzkVU,33905
150
+ bl_ui/properties_render/__init__.pyi,sha256=OBafcyYIQe3u3771f2giXLcnbidRV3-fJZpsA8E1-9I,35466
151
151
  bl_ui/properties_scene/__init__.pyi,sha256=RWvNYOO6_xdt2LuYn4aff-MKzOhNH-tt0EqUOKq1Gq4,12614
152
152
  bl_ui/properties_texture/__init__.pyi,sha256=yPi5Cyo_6IDsSkWGlJbZgE9eg6UXto4XR2P00m5maKk,21087
153
153
  bl_ui/properties_view_layer/__init__.pyi,sha256=Zdh1q7_n4IGNJnH6eU4p0p81GWx90jcoZ345SWfNSe8,9270
@@ -158,7 +158,7 @@ bl_ui/space_console/__init__.pyi,sha256=X_JBBHl7cwwDVYQlTAE4H5T6HkqSzQVNYGtnyBtv
158
158
  bl_ui/space_dopesheet/__init__.pyi,sha256=p5RHcM6ISy5-iEKeNEZ1cf0EMEbVBpK6MhcZHkHvuX8,18097
159
159
  bl_ui/space_filebrowser/__init__.pyi,sha256=ErbWCbLKrVSMnf8J2Ae-_H-0vAao-5Wz3J3FYVptAb8,20223
160
160
  bl_ui/space_graph/__init__.pyi,sha256=1oqUbvSNboHycXYH0DBPz4Lib6JsgkCTXfDcamabzFM,11014
161
- bl_ui/space_image/__init__.pyi,sha256=13zst-dxO43epREh_rOTL3I5FDKxB9IrgaBteFnE2NE,45235
161
+ bl_ui/space_image/__init__.pyi,sha256=dt24hDX6d62SH7MDYEt4JBrS_Q4M_KTqvv9rAvug1hs,45232
162
162
  bl_ui/space_info/__init__.pyi,sha256=ukwr4M_jVQH2U1wo4jTie5RK8kf3wfEBHnTIV8dvKxM,3312
163
163
  bl_ui/space_nla/__init__.pyi,sha256=rHI5YccrddEIyXIv7ojfdoS5H5-8W3t9CD86W0DZWTw,9562
164
164
  bl_ui/space_node/__init__.pyi,sha256=ifKNLaAQtFwsoOvJGSfXu1jdjM78PQjKZWGpIBuFzN8,18764
@@ -176,7 +176,7 @@ bl_ui/space_userpref/__init__.pyi,sha256=SwWBb-YWDose1At4BoXvs9YUtkz3YwyjazkkmkG
176
176
  bl_ui/space_view3d/__init__.pyi,sha256=6_aPtQrQKLM_80hPPmYXl7i6--RPSfPnHbboexsmVhs,156472
177
177
  bl_ui/space_view3d_toolbar/__init__.pyi,sha256=Ustue-nkysid6xip9XciEHWqCROHnUVF_FTFaXryQjw,76322
178
178
  bl_ui/utils/__init__.pyi,sha256=wzUQN8iooBJnE-iFedHD1cTNBwFUmwZN6d2jwfRIK5Y,510
179
- bl_ui_utils/__init__.pyi,sha256=GgZb9niDfUxlR9mI7JiLFWD5YjDONJ0UIexq_dnVPDY,120
179
+ bl_ui_utils/__init__.pyi,sha256=6yinHCNictVwPqgqerb5zXorsqM0cqPLmz_r8ms1XeE,89
180
180
  bl_ui_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
181
181
  bl_ui_utils/layout/__init__.pyi,sha256=BBW6hJ_J1_hBrSDcrww6oYTdEul1J9R-gzdNI9t8wF4,207
182
182
  blend_render_info/__init__.pyi,sha256=LzefxbLWZq-zkqKQc0YkjzXU8jppuStiPS7yJbA9nrQ,266
@@ -192,8 +192,8 @@ bmesh/utils/__init__.pyi,sha256=B2MEUdWjhoPVN_86ZJnKBouszuYlmox83fs_eMy_XSQ,6262
192
192
  bpy/__init__.pyi,sha256=xqYSQA60ItjGIlcKmU1c67ClE1dzY3IA0l7SeDDfFFg,491
193
193
  bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
194
194
  bpy/_typing/__init__.pyi,sha256=h3K2LGZ8lcLY-Oo9ym-HEopjGScc4iTfpT1MU_6smTI,126
195
- bpy/_typing/rna_enums/__init__.pyi,sha256=k78GM1fpvjYY8ockGmwtvZYWDyURIMmzxhaQFEq3G98,139823
196
- bpy/app/__init__.pyi,sha256=rDLfx3HzxNGIixHun4sUA-1fuNUq6bxyQswbTvYeJ9M,8766
195
+ bpy/_typing/rna_enums/__init__.pyi,sha256=VKThSlFBmsuSYFSljXRW0Bs1WrYTafZGzF-6bQb3hNQ,140027
196
+ bpy/app/__init__.pyi,sha256=_BN9nKm01GHXoy9Jsob_PYxhLD86gGYKPRFYUeVSHZw,8767
197
197
  bpy/app/handlers/__init__.pyi,sha256=A9IS2EmBskYtGy2aMCX5vxAmTKB3YCuz1hUPZvah8S4,6938
198
198
  bpy/app/icons/__init__.pyi,sha256=IxxJA0uPQaBAogv-iZ2jEG-5f6i3X9M-gRjw8jJnL8A,955
199
199
  bpy/app/timers/__init__.pyi,sha256=z2vm07XNdNRr9Hi7N82BILPmiLXCzhaml-BrR1orBIo,2153
@@ -242,8 +242,8 @@ bpy/ops/material/__init__.pyi,sha256=4Xm8cTXZ8L1NkYiLaYrwWA0p_paciXXBCk9MNnxsgJg
242
242
  bpy/ops/mball/__init__.pyi,sha256=vKET4S-NZrDAf4r1XUXjyyW8Ry5bdna9EeQlV3HMo5Y,4182
243
243
  bpy/ops/mesh/__init__.pyi,sha256=JxF40_1aTup030iKyTdKOMajm67wsEOKcmKc4XcQCdQ,132623
244
244
  bpy/ops/nla/__init__.pyi,sha256=6C8Gm7ZOBATflqUymRCXljSEKN_oE1MvqVMpR05eVIM,18172
245
- bpy/ops/node/__init__.pyi,sha256=k_GkYykebQX0QmwziHznIknKEorwuZgwo8c8b9Nl1U4,54953
246
- bpy/ops/object/__init__.pyi,sha256=Zt3MscJ8NCH9UeZkZOu69GWI2C0y_iYNfGNYOhfWTBw,168316
245
+ bpy/ops/node/__init__.pyi,sha256=UbpL5w6cW39x9qSrdZHRDIINR3QuGOKE1omADsGhFxw,60877
246
+ bpy/ops/object/__init__.pyi,sha256=VAiI6_RRph_OHcWtrjpbhEvMMc2qPB8waE5eB2XwV_o,168533
247
247
  bpy/ops/outliner/__init__.pyi,sha256=MnOyASVckw3cVMUICszbNrPEfchfFB1Ny2drSnrScvI,27770
248
248
  bpy/ops/paint/__init__.pyi,sha256=U-uMYTkGLmcnkI9RsWRnsbqDLJuLaWPk-5ue5rnoQwg,37692
249
249
  bpy/ops/paintcurve/__init__.pyi,sha256=3V3HI5tmtyehUcJyiNj8NO4uj-Q7B9xIvBgnAn3BlmU,3007
@@ -273,15 +273,15 @@ bpy/ops/ui/__init__.pyi,sha256=CVX3Wa57AZ4sJBFmFmBvxc4USfYfN4tgsSrYPD1nl8Q,12537
273
273
  bpy/ops/uilist/__init__.pyi,sha256=CvereEDgN2sNfwlFl55E3sGeLTcaUcTCowuL1XVlclE,1645
274
274
  bpy/ops/uv/__init__.pyi,sha256=nVZbRNLymiV8kXoRxWWNRSq72QkPBHTtwifjBxyVINY,45463
275
275
  bpy/ops/view2d/__init__.pyi,sha256=-ofLmKQJ0PqTP5b_mT2JHGo-Jf7aa3qeEf1nsmJQf50,7013
276
- bpy/ops/view3d/__init__.pyi,sha256=e9lPztt21KmW5WQOvzZBYO5WXLmQE16BHjLA83rwbOI,30716
276
+ bpy/ops/view3d/__init__.pyi,sha256=aXMqdXx6xsF4xVyb_R86Q_7Xbup6GhCBIwW5UydHUfg,30881
277
277
  bpy/ops/wm/__init__.pyi,sha256=26kfx7ZbStGqXaXB2Vj-2lkv7rvp-xfl_jS60y-Doek,216197
278
278
  bpy/ops/workspace/__init__.pyi,sha256=hXSSQZl7IwVFrxMveYrlSKGWY7BjrsV-cKagPzhuT0w,2010
279
279
  bpy/ops/world/__init__.pyi,sha256=9OhY87-WRRLor-4GQJhDiDJG3M9W5s9yFo9x45Iiycs,628
280
- bpy/path/__init__.pyi,sha256=7-_wXRbyGJSoalxgAiuGAPvcM988qoM5DdQ2A8p1kpk,5507
280
+ bpy/path/__init__.pyi,sha256=yGX45MUnn9fJYw32UWTsBQ646iN5DbbxfvnoDkREWvI,5537
281
281
  bpy/props/__init__.pyi,sha256=4SYl5qfPLRwe3zGyHowQy_i_mU-gjImdiqidFOHP6Tc,35264
282
- bpy/types/__init__.pyi,sha256=BmFTWoqbrMn1cxhqhPGY6bJuvIGh_j4_7R4rsM7CetU,5492874
283
- bpy/utils/__init__.pyi,sha256=eZ-9QlKUFqSE24VSBKRV8QwpQrwgXqjPbr8sdePUmpI,15228
284
- bpy/utils/previews/__init__.pyi,sha256=RF4ii5Rs-FetM_ZmC0GCpMSiin5evppVj62-CmKK76s,2307
282
+ bpy/types/__init__.pyi,sha256=snBbv-cwvAfTR2M2ABb7clPmdAcf72ZzBlK86XSL31M,5568641
283
+ bpy/utils/__init__.pyi,sha256=NwKl40t0SfvM2Lce9VmXS9zh6T-ZE1JxleSh9te_d5E,15351
284
+ bpy/utils/previews/__init__.pyi,sha256=kgH-eG4DeJ9HRPdzOQOBmITEN2czD7lQ0JhBoWtrRgw,2313
285
285
  bpy/utils/units/__init__.pyi,sha256=dc9ZViPAqOap5ZsFfWoI0d6bHdri3pWWiVeRxAaZr-U,2672
286
286
  bpy_extras/__init__.pyi,sha256=Vish0mn6IfEYsdv9gWh6VDSpzvOwYavpgAC_PleMtFE,995
287
287
  bpy_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -314,9 +314,9 @@ freestyle/functions/__init__.pyi,sha256=RGdlJWbBctqKBR3p81MsXBk9OWdTuvEoOfBXvxjf
314
314
  freestyle/predicates/__init__.pyi,sha256=Liq_1krkT25RfeNPeEgvKWkLnWtHCuO9-7vXX3lE71E,13488
315
315
  freestyle/shaders/__init__.pyi,sha256=imuo4jXkwaN4dazDARvErEGdn9XuMGlWIKGpnqd3Po0,24041
316
316
  freestyle/types/__init__.pyi,sha256=zCVqLakrYPiSTlYVHLg-455C9aPCEo-eeO-0A1fYFYs,100227
317
- freestyle/utils/__init__.pyi,sha256=k2JFp4C3DUpnkVgR1B32ZDux08pAcsceSuWBnIEHD9A,5135
317
+ freestyle/utils/__init__.pyi,sha256=ub0HsAFKN7jMbNu3fuP9OpaOSHywBpSckuXSexz0Bos,5135
318
318
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=YvDLJXMxKbbqBS0so4MnfuSN1g4wNAFOXbpW7_g4AR0,3472
319
- gpu/__init__.pyi,sha256=80Udrv8AAvblVeWgcU709t4PmsX3ShvU2TaWj7qv0uk,8026
319
+ gpu/__init__.pyi,sha256=zVeZ4mRNYZyEgbp-j6uZ6ZQTpWFGh7j3R8UT9JOZ_0w,8026
320
320
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
321
321
  gpu/capabilities/__init__.pyi,sha256=2a4oXV5xWpWlcaVqBNBGGfzVXKXXt4PwgRo33vj0iZY,3783
322
322
  gpu/matrix/__init__.pyi,sha256=RBEacARfkmUrXNF3GrYVsl4ImrEi1kZd77-h3QnCpJ4,2775
@@ -325,10 +325,10 @@ gpu/select/__init__.pyi,sha256=tKp1EqUYhORtYt3m5Z8BURkyU_t-TU7uFTVMXVPKYOo,234
325
325
  gpu/shader/__init__.pyi,sha256=zGsnG9bi8YaqxYXcO2bRVVJS4oqo8vs16pri2ttziiI,2165
326
326
  gpu/state/__init__.pyi,sha256=t2sqS4bEmL-FtQmZOOd7jCKaeQxmcSMQ0gtY5et57g4,4337
327
327
  gpu/texture/__init__.pyi,sha256=eXL-ZQU-gsMFo_Yv6ShF_YjBQ-yPDLRZno-T3P59nhE,668
328
- gpu/types/__init__.pyi,sha256=wv4qnmZ16QT1VUYeF2EMYiRPI_xIa2yCqrzrA_Ukac4,27950
328
+ gpu/types/__init__.pyi,sha256=9wnXX8CdoIPTRMxWLEEiwmDi8Xj0-_lovIxRZ5BEKaM,29330
329
329
  gpu_extras/__init__.pyi,sha256=XscwC-5DTPC0yc2HB_XMgvX61rT5Qs5RaImqNwR6c40,240
330
330
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
331
- gpu_extras/batch/__init__.pyi,sha256=P0KwOXu_4yBZvCupG7WJ08TQ6yvocr5NZLAhJK_qLtQ,1305
331
+ gpu_extras/batch/__init__.pyi,sha256=0z8rIEm4SFuC-rUGyoOMU0L6i_TsaW5nJN9cGR6u40Y,1306
332
332
  gpu_extras/presets/__init__.pyi,sha256=9MrG1r0CUOxBYWyp_vZSYxs47oElIxca1uMyuFPLKdw,1674
333
333
  graphviz_export/__init__.pyi,sha256=_breciGLRC6qTh-HOor-Ufn_fI5HXnoQego6mmvTAIQ,242
334
334
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -361,7 +361,7 @@ rna_prop_ui/__init__.pyi,sha256=o3yE2C_BSi2O_ZJM_Jao06i6seWMRNQcZaI6keKjpFE,1308
361
361
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
362
  rna_xml/__init__.pyi,sha256=EBP-inpL9KRsjGftcoza9_G_Do5UjXw62eAvuEMoaO0,604
363
363
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
364
- fake_bpy_module-20250328.dist-info/METADATA,sha256=yJtWYGwqoEhBLhcopBj_lx6mDlGJ0rs3A9vaA18cSJw,7429
365
- fake_bpy_module-20250328.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
366
- fake_bpy_module-20250328.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
- fake_bpy_module-20250328.dist-info/RECORD,,
364
+ fake_bpy_module-20250408.dist-info/METADATA,sha256=en3E88x88vXc7fPUwAcaqwUEZTYVtn8mGGrXtdW-xas,7429
365
+ fake_bpy_module-20250408.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
366
+ fake_bpy_module-20250408.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
+ fake_bpy_module-20250408.dist-info/RECORD,,
@@ -125,7 +125,7 @@ def material_from_fedge(fe):
125
125
  """get the diffuse RGBA color from an FEdge"""
126
126
 
127
127
  def normal_at_I0D(it): ...
128
- def pairwise(iterable, types={StrokeVertexIterator, Stroke}):
128
+ def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
129
129
  """Yields a tuple containing the previous and current object"""
130
130
 
131
131
  def rgb_to_bw(r, g, b):
gpu/__init__.pyi CHANGED
@@ -229,8 +229,10 @@ Based on the result a decision is made on whether the fragment should be drawn o
229
229
 
230
230
  --------------------
231
231
 
232
- This is an example of how to use a custom compute shader to write to a texture and then use that texture in a vertex/fragment shader.
233
- The expected result is a 2x2 plane (size of the default cube), which changes color from a green-black gradient to a green-red gradient,
232
+ This is an example of how to use a custom compute shader
233
+ to write to a texture and then use that texture in a vertex/fragment shader.
234
+ The expected result is a 2x2 plane (size of the default cube),
235
+ which changes color from a green-black gradient to a green-red gradient,
234
236
  based on current time.
235
237
 
236
238
  ```../examples/gpu.11.py```
gpu/types/__init__.pyi CHANGED
@@ -264,6 +264,7 @@ class GPUShader:
264
264
 
265
265
  program: int
266
266
  """ The name of the program object for use by the OpenGL API (read-only).
267
+ This is deprecated and will always return -1.
267
268
 
268
269
  :type: int
269
270
  """
@@ -422,6 +423,22 @@ class GPUShaderCreateInfo:
422
423
  :param value:
423
424
  """
424
425
 
426
+ def depth_write(self, value):
427
+ """Specify a depth write behavior when modifying gl_FragDepth.There is a common optimization for GPUs that relies on an early depth
428
+ test to be run before the fragment shader so that the shader evaluation
429
+ can be skipped if the fragment ends up being discarded because it is occluded.This optimization does not affect the final rendering, and is typically
430
+ possible when the fragment does not change the depth programmatically.
431
+ There are, however a class of operations on the depth in the shader which
432
+ could still be performed while allowing the early depth test to operate.This function alters the behavior of the optimization to allow those operations
433
+ to be performed.
434
+
435
+ :param value: Depth write value. It can be 'UNCHANGED' (default), 'ANY', 'GREATER' or 'LESS'.
436
+ :UNCHANGED: disables depth write in a fragment shader and execution of thefragments can be optimized away.
437
+ :ANY: enables depth write in a fragment shader for any fragments
438
+ :GREATER: enables depth write in a fragment shader for depth values thatare greater than the depth value in the output buffer.
439
+ :LESS: enables depth write in a fragment shader for depth values thatare less than the depth value in the output buffer.
440
+ """
441
+
425
442
  def fragment_out(self, slot: int, type: str, name: str, blend: str = "NONE"):
426
443
  """Specify a fragment output corresponding to a framebuffer target slot.
427
444
 
@@ -2,7 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
- import bgl
6
5
  import gpu.types
7
6
 
8
7
  def batch_for_shader(
@@ -10,7 +9,7 @@ def batch_for_shader(
10
9
  type: str,
11
10
  content: dict[
12
11
  str,
13
- bgl.Buffer
12
+ gpu.types.Buffer
14
13
  | collections.abc.Sequence[float]
15
14
  | collections.abc.Sequence[int]
16
15
  | collections.abc.Sequence[collections.abc.Sequence[float]]
@@ -27,7 +26,7 @@ def batch_for_shader(
27
26
  :type type: str
28
27
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
29
28
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
30
- :type content: dict[str, bgl.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
29
+ :type content: dict[str, gpu.types.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
31
30
  :return: compatible batch
32
31
  :rtype: gpu.types.GPUBatch
33
32
  """