fake-bpy-module 20241211__py3-none-any.whl → 20241213__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20241211
3
+ Version: 20241213
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
@@ -160,7 +160,7 @@ bl_ui/space_graph/__init__.pyi,sha256=7XFWtjx8rwzqzsIpnXcZbVgHHp1Xa6gr-GSxy5f7Mh
160
160
  bl_ui/space_image/__init__.pyi,sha256=HO1Je2i9wtBtwirMt8LvXsj3uiMGjHLI8ML2S1zCLqY,44587
161
161
  bl_ui/space_info/__init__.pyi,sha256=u0Bz7_HxRJrOKh0Ae7M0PvcA_H0_qI9dkcN_MW2SJa0,3285
162
162
  bl_ui/space_nla/__init__.pyi,sha256=uT7nGRBlJlDS-wYZGGGuMs17DK-_XsYoa1qkop7ZVyM,9535
163
- bl_ui/space_node/__init__.pyi,sha256=OnpafsiQblbl9V6zaxCO7H0i-i9BsSH_XmtjvS84nUA,18798
163
+ bl_ui/space_node/__init__.pyi,sha256=Xt9bLUvCW9iWdm7PI972n2pUebqYNkN8UfcPdsaonpI,18027
164
164
  bl_ui/space_outliner/__init__.pyi,sha256=o_7H2lQtpKIncGyBU2lL7SHOp-emrqicrRoOBkjwMIg,8090
165
165
  bl_ui/space_properties/__init__.pyi,sha256=U4lQ2UupgDfM0RBCSQrI-MlmNG2pOtBxwn5gED-7jzU,2708
166
166
  bl_ui/space_sequencer/__init__.pyi,sha256=DQWB0VpyjH7tdTM4-OBpVUgUXPZYqspBzPLEwd85H94,54686
@@ -219,7 +219,7 @@ bpy/ops/ed/__init__.pyi,sha256=ecIB_NEWEa6uMONdtJ7k7w6ZjWh4WZlOAMTYxEmsNY8,6870
219
219
  bpy/ops/export_anim/__init__.pyi,sha256=wyCP8IO0cjr0ixNFGfFblD8ASLG4tQ-l2v3a9UnHAlw,2027
220
220
  bpy/ops/export_scene/__init__.pyi,sha256=fJHt3qDJexzN2SeBPtsKcdNe-Hsu1FkvlJPCY3_lG2o,38888
221
221
  bpy/ops/extensions/__init__.pyi,sha256=GtWfFBmoeA2PoRiMqdgYu7cuSXJuVRnLgFpOa-B3M5E,12748
222
- bpy/ops/file/__init__.pyi,sha256=PN22Dw-BXJjKVsic6gFhA3_GxYuYRz7gWB2bYyd1hL0,19270
222
+ bpy/ops/file/__init__.pyi,sha256=EwxedztM5v4x6oQd7FV0VbAHAtRKChgHTMuhkHUDDQ8,19260
223
223
  bpy/ops/fluid/__init__.pyi,sha256=toNBTcKttDwaWx21Nzf2HNBWKT7vZh8IDcIR2nG_ad4,3191
224
224
  bpy/ops/font/__init__.pyi,sha256=7fLdMjcgT0AZb_pvWl59RXn5fuhqkrll7pKYPmYZD8w,15509
225
225
  bpy/ops/geometry/__init__.pyi,sha256=vdyhoH2IMzQoryHYxNDxCbSqUJe5PpdakV79koEqJ3g,7444
@@ -270,12 +270,12 @@ bpy/ops/uilist/__init__.pyi,sha256=1Vu7qHRYL-MOM5kdcHJLmJwucvveh10t1wbmL_98GEM,1
270
270
  bpy/ops/uv/__init__.pyi,sha256=e6ilriSD-iJymqq1PjEw-DWy218-OeCTTeAiJm4NfGc,45187
271
271
  bpy/ops/view2d/__init__.pyi,sha256=bw6xoLUDUWQGk36g4T8THDWpNSH_VX8Pyg_mlGB9Dik,6986
272
272
  bpy/ops/view3d/__init__.pyi,sha256=MGiNsaGKtQPLFiSQgEdKlULq2a0Rp6W3vGTub0Hb3p4,30689
273
- bpy/ops/wm/__init__.pyi,sha256=hc6iEbXOoGCx_Rg-3zBpQWYzvh2iiaK2LBFIRpHjmnQ,214217
273
+ bpy/ops/wm/__init__.pyi,sha256=hKfEGg5ZP1ydNAkhidsg-KN0yT_p28pgR_g2Vns_bq4,214261
274
274
  bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHCU,1983
275
275
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
276
276
  bpy/path/__init__.pyi,sha256=N-QNSw3piTmrzrydYRyWab7GFGOh3BsdaS91x4Kf-Cc,5403
277
277
  bpy/props/__init__.pyi,sha256=eHzPsDSyDTa92O5TvPpi1yflmxv7vVGW_ZocCqudgw4,31027
278
- bpy/types/__init__.pyi,sha256=cbltnFqblm5Iu-LRf7a_rZ7XDNU54GiuQOR6rpVwvR4,5388301
278
+ bpy/types/__init__.pyi,sha256=OB5kLFQgd8UKiuj5s8HbY877o9ffsLvyXdN1fySUCJs,5400892
279
279
  bpy/typing/__init__.pyi,sha256=u2XKjd6ZB1Wjt7JwabxexZdswEZLYR2jQpxzzp6AThg,138679
280
280
  bpy/utils/__init__.pyi,sha256=wvjdEDEtBn5bR5pZG7HnW1ZdL_J-IQYvmB7e4AwTW0s,13537
281
281
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
@@ -322,10 +322,10 @@ gpu/select/__init__.pyi,sha256=piRQyAtE8YnDjLSqF8S_SSttxzZTickDlbHRONYYdV8,207
322
322
  gpu/shader/__init__.pyi,sha256=JsSm0Zagw7GAVxeaLK4cUAa1oyjSckfNwpweWfepUQg,2138
323
323
  gpu/state/__init__.pyi,sha256=AimAU8NQNaZqYSgKtg7aMS76dzxNuK7m1vTA2ZwMnCQ,4310
324
324
  gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
325
- gpu/types/__init__.pyi,sha256=o04T9r5Qy_GE5taf3nZvaONLn0ZeP15_nnQSE8qFdzQ,26919
325
+ gpu/types/__init__.pyi,sha256=3irdUxznJA1-vvflQGps24-pxPBxopb_eOtUkiiw25I,26846
326
326
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
327
327
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
328
- gpu_extras/batch/__init__.pyi,sha256=tgSLHYF1sb3LZuu6iJ6l6tNmLCknXid9wy3_L7xp2j8,855
328
+ gpu_extras/batch/__init__.pyi,sha256=WiNyGZ_ivr5sKh_DePTwqR4ue9QHd8YjBdJwUHHXMkk,856
329
329
  gpu_extras/presets/__init__.pyi,sha256=XARWkuQ0koiQPC3Cjh2l7D2f9n3IgHRf5Ymd9xKkjBg,1435
330
330
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
331
331
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -358,7 +358,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
358
358
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
359
359
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
360
360
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
361
- fake_bpy_module-20241211.dist-info/METADATA,sha256=WWU3hpygd5NdugXpVAaeDRwlSfS3-4PBKo-85M0GS5U,7289
362
- fake_bpy_module-20241211.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
- fake_bpy_module-20241211.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
- fake_bpy_module-20241211.dist-info/RECORD,,
361
+ fake_bpy_module-20241213.dist-info/METADATA,sha256=M3JhO2oBPoKt1ezv6l7PZN6weOi0xnukWHZiCB3bfaE,7289
362
+ fake_bpy_module-20241213.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
+ fake_bpy_module-20241213.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20241213.dist-info/RECORD,,
gpu/types/__init__.pyi CHANGED
@@ -13,12 +13,11 @@ class Buffer:
13
13
  class GPUBatch:
14
14
  """Reusable container for drawable geometry."""
15
15
 
16
- def draw(self, program: GPUShader | None = None):
17
- """Run the drawing program with the parameters assigned to the batch.
16
+ def draw(self, shader=None):
17
+ """Run the drawing shader with the parameters assigned to the batch.
18
18
 
19
- :param program: Program that performs the drawing operations.
20
- If None is passed, the last program set to this batch will run.
21
- :type program: GPUShader | None
19
+ :param shader: Shader that performs the drawing operations.
20
+ If None is passed, the last shader set to this batch will run.
22
21
  """
23
22
 
24
23
  def draw_instanced(
@@ -1,13 +1,12 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
- import bgl
5
4
  import gpu.types
6
5
 
7
6
  def batch_for_shader(
8
7
  shader: gpu.types.GPUShader,
9
8
  type: str,
10
- content: dict[str, bgl.Buffer],
9
+ content: dict[str, gpu.types.Buffer],
11
10
  *,
12
11
  indices=None,
13
12
  ) -> gpu.types.GPUBatch:
@@ -19,7 +18,7 @@ def batch_for_shader(
19
18
  :type type: str
20
19
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
21
20
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
22
- :type content: dict[str, bgl.Buffer]
21
+ :type content: dict[str, gpu.types.Buffer]
23
22
  :return: compatible batch
24
23
  :rtype: gpu.types.GPUBatch
25
24
  """