fake-bpy-module 20250627__py3-none-any.whl → 20250629__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.

@@ -31,7 +31,7 @@ class BlockHeader:
31
31
  size: typing.Any
32
32
 
33
33
  class BlockHeaderStruct:
34
- """BlockHeaderStruct(struct: _struct.Struct, type: Type[Union[blendfile_header.BHead4, blendfile_header.SmallBHead8, blendfile_header.LargeBHead8]])"""
34
+ """BlockHeaderStruct(struct: _struct.Struct, type: Type[Union[_blendfile_header.BHead4, _blendfile_header.SmallBHead8, _blendfile_header.LargeBHead8]])"""
35
35
 
36
36
  size: typing.Any
37
37
 
@@ -92,6 +92,31 @@ class DOPESHEET_MT_action(bpy.types.Menu):
92
92
  :param context:
93
93
  """
94
94
 
95
+ class DOPESHEET_MT_cache(bpy.types.Menu):
96
+ bl_label: typing.Any
97
+ bl_rna: typing.Any
98
+ id_data: typing.Any
99
+
100
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
101
+ """
102
+
103
+ :return: The RNA type or default when not found.
104
+ :rtype: bpy.types.Struct
105
+ """
106
+
107
+ def bl_rna_get_subclass_py(self) -> typing.Any:
108
+ """
109
+
110
+ :return: The class or default when not found.
111
+ :rtype: typing.Any
112
+ """
113
+
114
+ def draw(self, context) -> None:
115
+ """
116
+
117
+ :param context:
118
+ """
119
+
95
120
  class DOPESHEET_MT_channel(bpy.types.Menu):
96
121
  bl_label: typing.Any
97
122
  bl_rna: typing.Any
@@ -4,31 +4,6 @@ import typing_extensions
4
4
  import numpy.typing as npt
5
5
  import bpy.types
6
6
 
7
- class TIME_MT_cache(bpy.types.Menu):
8
- bl_label: typing.Any
9
- bl_rna: typing.Any
10
- id_data: typing.Any
11
-
12
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
13
- """
14
-
15
- :return: The RNA type or default when not found.
16
- :rtype: bpy.types.Struct
17
- """
18
-
19
- def bl_rna_get_subclass_py(self) -> typing.Any:
20
- """
21
-
22
- :return: The class or default when not found.
23
- :rtype: typing.Any
24
- """
25
-
26
- def draw(self, context) -> None:
27
- """
28
-
29
- :param context:
30
- """
31
-
32
7
  class TIME_MT_editor_menus(bpy.types.Menu):
33
8
  bl_idname: typing.Any
34
9
  bl_label: typing.Any
@@ -13,6 +13,21 @@ def delete(
13
13
  :type undo: bool | None
14
14
  """
15
15
 
16
+ def drop_scene_asset(
17
+ execution_context: int | str | None = None,
18
+ undo: bool | None = None,
19
+ /,
20
+ *,
21
+ session_uid: int | None = 0,
22
+ ) -> None:
23
+ """Import scene and set it as the active one in the window
24
+
25
+ :type execution_context: int | str | None
26
+ :type undo: bool | None
27
+ :param session_uid: Session UID, Session UID of the data-block to use by the operator
28
+ :type session_uid: int | None
29
+ """
30
+
16
31
  def freestyle_add_edge_marks_to_keying_set(
17
32
  execution_context: int | str | None = None, undo: bool | None = None
18
33
  ) -> None:
bpy/ops/ui/__init__.pyi CHANGED
@@ -417,6 +417,15 @@ def view_item_rename(
417
417
  :type undo: bool | None
418
418
  """
419
419
 
420
+ def view_item_select(
421
+ execution_context: int | str | None = None, undo: bool | None = None
422
+ ) -> None:
423
+ """Activate selected view item
424
+
425
+ :type execution_context: int | str | None
426
+ :type undo: bool | None
427
+ """
428
+
420
429
  def view_scroll(
421
430
  execution_context: int | str | None = None, undo: bool | None = None
422
431
  ) -> None:
bpy/types/__init__.pyi CHANGED
@@ -42502,50 +42502,6 @@ at its creation, all editing in the original image's buffer is 'lost' in its cop
42502
42502
  :columns: 2
42503
42503
 
42504
42504
 
42505
- --------------------
42506
-
42507
- * bpy_struct.id_data
42508
- * FileHandler.bl_idname
42509
- * FileHandler.bl_import_operator
42510
- * FileHandler.bl_export_operator
42511
- * FileHandler.bl_label
42512
- * FileHandler.bl_file_extensions
42513
-
42514
- :columns: 2
42515
-
42516
-
42517
- --------------------
42518
-
42519
- * bpy_struct.as_pointer
42520
- * bpy_struct.driver_add
42521
- * bpy_struct.driver_remove
42522
- * bpy_struct.get
42523
- * bpy_struct.id_properties_clear
42524
- * bpy_struct.id_properties_ensure
42525
- * bpy_struct.id_properties_ui
42526
- * bpy_struct.is_property_hidden
42527
- * bpy_struct.is_property_overridable_library
42528
- * bpy_struct.is_property_readonly
42529
- * bpy_struct.is_property_set
42530
- * bpy_struct.items
42531
- * bpy_struct.keyframe_delete
42532
- * bpy_struct.keyframe_insert
42533
- * bpy_struct.keys
42534
- * bpy_struct.path_from_id
42535
- * bpy_struct.path_resolve
42536
- * bpy_struct.pop
42537
- * bpy_struct.property_overridable_library_set
42538
- * bpy_struct.property_unset
42539
- * bpy_struct.rna_ancestors
42540
- * bpy_struct.type_recast
42541
- * bpy_struct.values
42542
- * FileHandler.poll_drop
42543
- * FileHandler.bl_rna_get_subclass
42544
- * FileHandler.bl_rna_get_subclass_py
42545
-
42546
- :columns: 2
42547
-
42548
-
42549
42505
  --------------------
42550
42506
 
42551
42507
  * bpy_struct.id_data
@@ -145959,12 +145915,6 @@ class FileAssetSelectIDFilter(bpy_struct):
145959
145915
  :type: bool
145960
145916
  """
145961
145917
 
145962
- experimental_filter_scene: bool
145963
- """ Show Scene data-blocks
145964
-
145965
- :type: bool
145966
- """
145967
-
145968
145918
  experimental_filter_sound: bool
145969
145919
  """ Show Sound data-blocks
145970
145920
 
@@ -146037,6 +145987,12 @@ class FileAssetSelectIDFilter(bpy_struct):
146037
145987
  :type: bool
146038
145988
  """
146039
145989
 
145990
+ filter_scene: bool
145991
+ """ Show Scene data-blocks
145992
+
145993
+ :type: bool
145994
+ """
145995
+
146040
145996
  filter_world: bool
146041
145997
  """ Show World data-blocks
146042
145998
 
@@ -173122,29 +173078,6 @@ class IMAGE_UL_udim_tiles(UIList, bpy_struct):
173122
173078
  :rtype: typing.Any
173123
173079
  """
173124
173080
 
173125
- class IO_FH_fbx(FileHandler, bpy_struct):
173126
- @classmethod
173127
- def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
173128
- """
173129
-
173130
- :param id: The RNA type identifier.
173131
- :type id: str | None
173132
- :param default:
173133
- :return: The RNA type or default when not found.
173134
- :rtype: Struct
173135
- """
173136
-
173137
- @classmethod
173138
- def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
173139
- """
173140
-
173141
- :param id: The RNA type identifier.
173142
- :type id: str | None
173143
- :param default:
173144
- :return: The class or default when not found.
173145
- :rtype: typing.Any
173146
- """
173147
-
173148
173081
  class IO_FH_gltf2(FileHandler, bpy_struct):
173149
173082
  @classmethod
173150
173083
  def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
@@ -245039,6 +244972,8 @@ DOPESHEET_HT_playback_controls: bl_ui.space_dopesheet.DOPESHEET_HT_playback_cont
245039
244972
 
245040
244973
  DOPESHEET_MT_action: bl_ui.space_dopesheet.DOPESHEET_MT_action
245041
244974
 
244975
+ DOPESHEET_MT_cache: bl_ui.space_dopesheet.DOPESHEET_MT_cache
244976
+
245042
244977
  DOPESHEET_MT_channel: bl_ui.space_dopesheet.DOPESHEET_MT_channel
245043
244978
 
245044
244979
  DOPESHEET_MT_channel_context_menu: bl_ui.space_dopesheet.DOPESHEET_MT_channel_context_menu
@@ -246823,8 +246758,6 @@ TEXT_PT_find: bl_ui.space_text.TEXT_PT_find
246823
246758
 
246824
246759
  TEXT_PT_properties: bl_ui.space_text.TEXT_PT_properties
246825
246760
 
246826
- TIME_MT_cache: bl_ui.space_time.TIME_MT_cache
246827
-
246828
246761
  TIME_MT_editor_menus: bl_ui.space_time.TIME_MT_editor_menus
246829
246762
 
246830
246763
  TIME_MT_marker: bl_ui.space_time.TIME_MT_marker
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fake-bpy-module
3
- Version: 20250627
3
+ Version: 20250629
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
@@ -1,3 +1,5 @@
1
+ _blendfile_header/__init__.pyi,sha256=KNh8jqVO-nkop6SCeeSsVlsXn8ZrlLQyjmeJZvqyDes,1503
2
+ _blendfile_header/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1
3
  _bpy_internal/__init__.pyi,sha256=QbfFsdiNbwZZgz5ssUsRQBZWnc5fjAcKLDuDRmugLu0,286
2
4
  _bpy_internal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
5
  _bpy_internal/addons/__init__.pyi,sha256=s4opQQDWvCt1h0JSU6xojviEDXk-b4zoOUGizdrg-3A,114
@@ -153,7 +155,7 @@ bl_ui/properties_workspace/__init__.pyi,sha256=bR6ctayOId2fcQkyXASYPN_o9I6z6QDff
153
155
  bl_ui/properties_world/__init__.pyi,sha256=A4jwr9ae3qEgSDM1d7t5149VslXs671_xBTzoa59n64,9316
154
156
  bl_ui/space_clip/__init__.pyi,sha256=_zYgFWqqzBUblDLfw_LWH4mvbsduSyeVIiEQRwZGEkM,46934
155
157
  bl_ui/space_console/__init__.pyi,sha256=tlpCTfyc9QKOpzOGJl8ciNyBysT4zmKI7G9bIlg1pdk,3348
156
- bl_ui/space_dopesheet/__init__.pyi,sha256=2-k2uSH_1KKqdcBftinLqxtXy4aTux8jm3vHKqX3noA,19514
158
+ bl_ui/space_dopesheet/__init__.pyi,sha256=8IQLi8us6JfbB68Lq9__UHN6EKOBewHcS1goMf6Yogk,20046
157
159
  bl_ui/space_filebrowser/__init__.pyi,sha256=aoCk7dZHGrCAI2rLv4wqhf7_Yot4GiSs6aSNm-HP7gA,20583
158
160
  bl_ui/space_graph/__init__.pyi,sha256=OU4HyQzHXxRjxUzr0j4uCCRY-3Jlx3q0iVNLn_7yIYs,12978
159
161
  bl_ui/space_image/__init__.pyi,sha256=uxDKv7bNzbhy2DpaDIhFKQeEzFb-k8DdRD3UdiaUi9A,46486
@@ -166,7 +168,7 @@ bl_ui/space_sequencer/__init__.pyi,sha256=UQPT2CXo-M5hrUzPsMkWtECyq0AmBdW_du4480
166
168
  bl_ui/space_spreadsheet/__init__.pyi,sha256=CSQqmepKHsZh9u-KW3bQQlPEeyfpNxfs0sPmV-4OqoI,1748
167
169
  bl_ui/space_statusbar/__init__.pyi,sha256=ZLHcv_gG9G4ThS5zTIdHQeXR-Q861FTtwkOzHCRX_tU,648
168
170
  bl_ui/space_text/__init__.pyi,sha256=txnacT-bjKQBplDecXoKT03eXHeo6UnMghh3XMxnrQE,8962
169
- bl_ui/space_time/__init__.pyi,sha256=dnepakWl1dIUMyFLLN7pcwulU38-95pUNs4ofwNpGLg,4418
171
+ bl_ui/space_time/__init__.pyi,sha256=9FFWlFktn_ohGSN-MXudaHlD9sZxzRwt0ubj89G7wD4,3891
170
172
  bl_ui/space_toolsystem_common/__init__.pyi,sha256=UfZHyyto9eWn3sKyFKwJ2saPEzzO_xwb_zidelgz0nc,3434
171
173
  bl_ui/space_toolsystem_toolbar/__init__.pyi,sha256=nzudS0Iwt12ZTNaM-xtK32_MKx2HYfEPdz4lBNhdhQk,10261
172
174
  bl_ui/space_topbar/__init__.pyi,sha256=aryAsIhT2BCJXXIN6M-Y5HopZFTq9C7C9X7p5HRoh0M,15599
@@ -179,8 +181,6 @@ bl_ui_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
179
181
  bl_ui_utils/layout/__init__.pyi,sha256=diIx4fYNx0-cCb582pWqI4VWUb1zl5--IG-OXvtCdd0,215
180
182
  blend_render_info/__init__.pyi,sha256=mdPgQFMMMkjN3bsG1AMGkWuD97Opj0DOQGH2vszfR88,343
181
183
  blend_render_info/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
182
- blendfile_header/__init__.pyi,sha256=j4xen9hMiUmPKcjIYFOslRaZv8R7YdNIYpSDKw3EMB4,1500
183
- blendfile_header/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
184
184
  blf/__init__.pyi,sha256=WkLSjAmo9wVyI9FtBiikZRW9H14IZOVzxPg8L09Z9Xk,6768
185
185
  blf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
186
186
  bmesh/__init__.pyi,sha256=iTN-KWLUPvCvBenvW7AdM-KO3eTOXXs0K3OcYf0rqJg,1535
@@ -254,7 +254,7 @@ bpy/ops/preferences/__init__.pyi,sha256=Tu_E26FNEuIDzS_04uwif6LnTzV6wD_LDCqUoyYi
254
254
  bpy/ops/ptcache/__init__.pyi,sha256=-qMOGU94fA12k5TXQr_CDHiEBcbbMvKQ3xnu8Acvxl0,1768
255
255
  bpy/ops/render/__init__.pyi,sha256=Cx4bCTJX0epUyErJjOpBtR2n-AqiKUYE1Jynr6idvaY,7568
256
256
  bpy/ops/rigidbody/__init__.pyi,sha256=uViY72iMg3008iNGhBZJYRBxlROgDo28buX_UKvblXY,6901
257
- bpy/ops/scene/__init__.pyi,sha256=M3a_Rmi2ez2OIPcx6eE19FsTL45mTWVJq0RNTKfm54M,14127
257
+ bpy/ops/scene/__init__.pyi,sha256=_nxF7WlEAo7YRKQETk4i1GabY_aeleGkCbNw1QRK748,14556
258
258
  bpy/ops/screen/__init__.pyi,sha256=Mk6-GLeoykrHHmXC65KTF3dS7E2bZ_Ifl8ipC9xfjOo,20135
259
259
  bpy/ops/script/__init__.pyi,sha256=YWxHV2LJI-Ee5Ni85ajm6Qkgh5kOmmx2EEcbYjCuDF0,1035
260
260
  bpy/ops/sculpt/__init__.pyi,sha256=KcNf3o1J8CLrJL9oo0auhA7yaT8kqrv79dB9RJWCiLk,51430
@@ -267,7 +267,7 @@ bpy/ops/text/__init__.pyi,sha256=h0eTFcUCz8HSXPN_T9iVIFALXcsV_yh-M25kS6IF25c,214
267
267
  bpy/ops/text_editor/__init__.pyi,sha256=y7zrfyEfEIXybjnIDKjhMnMcezg66-hWeiG6ixZakJI,670
268
268
  bpy/ops/texture/__init__.pyi,sha256=WhveglZyHGCg6E6CldYnNSrKTK7LYF30mHWTpnfB_3I,1114
269
269
  bpy/ops/transform/__init__.pyi,sha256=ft5LUb8BjCbE77YcO1wlKPkIQR4R2XU1fBxa6maIakg,59656
270
- bpy/ops/ui/__init__.pyi,sha256=tZbM_PX9Xx_vLO6gQ8AJlHyJWBL-4WDTsqCzQBVOUT8,12833
270
+ bpy/ops/ui/__init__.pyi,sha256=Ic_k_vllD9WuatzXRSpLE6CeC7pjbOnTBbmzYvLhVbE,13058
271
271
  bpy/ops/uilist/__init__.pyi,sha256=CSwrFuqez9Ia24-_yFa5gAudByRrRqmaQVKrfExyRYc,1669
272
272
  bpy/ops/uv/__init__.pyi,sha256=BgVkNR-fiGak2mhmcGAl_xA5uoTdkE-BqP5wLU9EwzU,45903
273
273
  bpy/ops/view2d/__init__.pyi,sha256=gQsYxJCGhbPnizT0-jaT6G6O29M94CvdjBdgc84dloY,7125
@@ -279,7 +279,7 @@ bpy/path/__init__.pyi,sha256=yGX45MUnn9fJYw32UWTsBQ646iN5DbbxfvnoDkREWvI,5537
279
279
  bpy/props/__init__.pyi,sha256=-nYTsIHy-F58ADNh2IDPlVA0C0G7N4k7F4xWz6ap7wM,35841
280
280
  bpy/stub_internal/__init__.pyi,sha256=h3K2LGZ8lcLY-Oo9ym-HEopjGScc4iTfpT1MU_6smTI,126
281
281
  bpy/stub_internal/rna_enums/__init__.pyi,sha256=aL-h4hNstMrYklATc7i8t55R5WHftmpIgjaBLlVzebY,141413
282
- bpy/types/__init__.pyi,sha256=xkuROq2JGbU0QMaXQq6PoiLPgnD8pPjxgDf1d4eZWnE,5770059
282
+ bpy/types/__init__.pyi,sha256=ex10h3zR7o3OZ2VnsFqBiilULnDVJQ2Pgq8g--Fr4Rc,5768448
283
283
  bpy/utils/__init__.pyi,sha256=eLZQI2EHAXaZQlYunovDoRa8QtR4CT8yPgygZhBYajk,15535
284
284
  bpy/utils/previews/__init__.pyi,sha256=6tju9gKfoTYwJjnSZ54lys2MYRaKPnihHe5Vs6agoKA,2366
285
285
  bpy/utils/units/__init__.pyi,sha256=zULS_4qRrtzpHLtSU-jfO2761J4WeYBZyK-BTlL4KG0,2671
@@ -322,10 +322,10 @@ gpu/capabilities/__init__.pyi,sha256=2a4oXV5xWpWlcaVqBNBGGfzVXKXXt4PwgRo33vj0iZY
322
322
  gpu/matrix/__init__.pyi,sha256=AZB7M_bz632BlWL0qPdQ-0IpNySQ9uZ6GkEoCw3G0DM,2887
323
323
  gpu/platform/__init__.pyi,sha256=m0KIDkB44YCRGmOzO1OQzd385xB1Suea9jPSuTd8d2w,830
324
324
  gpu/select/__init__.pyi,sha256=u7L8-mg3F6PD60rvGcJ1CUehZTDaPSGtmXzs1LNKK7g,242
325
- gpu/shader/__init__.pyi,sha256=Aoei9iUPACMDqBSqKG9cPAmZj_U3cwipQP08mxKCEKk,2347
325
+ gpu/shader/__init__.pyi,sha256=aalPgXNj-STGMSt2zKznXXssSVXpk_YoVChhmzPdi7I,2431
326
326
  gpu/state/__init__.pyi,sha256=STSK6tjpWGd_U8vWOLN1s9itbUQxh4gcPwrPIH2RxfY,4489
327
327
  gpu/texture/__init__.pyi,sha256=eXL-ZQU-gsMFo_Yv6ShF_YjBQ-yPDLRZno-T3P59nhE,668
328
- gpu/types/__init__.pyi,sha256=QYW7cdSWsLpiBX2EXbwsHJv0u_rqwuIG2NZHSNDROe4,29047
328
+ gpu/types/__init__.pyi,sha256=x1SUayhLkIrg46GuA6BL9IxX7fhFaZhpu_UdAaP4RH0,29219
329
329
  gpu_extras/__init__.pyi,sha256=XscwC-5DTPC0yc2HB_XMgvX61rT5Qs5RaImqNwR6c40,240
330
330
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
331
331
  gpu_extras/batch/__init__.pyi,sha256=0z8rIEm4SFuC-rUGyoOMU0L6i_TsaW5nJN9cGR6u40Y,1306
@@ -361,7 +361,7 @@ rna_prop_ui/__init__.pyi,sha256=E7Xr1GyLCWDiDnB_VSldrUVM6AzWKDvGGoWj3Hj7SZ8,1404
361
361
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
362
  rna_xml/__init__.pyi,sha256=E0_ajcifhpiiQJVaNKnAa2ju-w5Tg9-lk7IqhsPjrw4,652
363
363
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
364
- fake_bpy_module-20250627.dist-info/METADATA,sha256=FnKfCx-5ak7GB35DVKKI4lrN2BXc9muflAR6ovhJfE8,7429
365
- fake_bpy_module-20250627.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
366
- fake_bpy_module-20250627.dist-info/top_level.txt,sha256=OjPz1F02bDLN4ge2_pHvRoglSrzuEWYmjAX6WK922TE,513
367
- fake_bpy_module-20250627.dist-info/RECORD,,
364
+ fake_bpy_module-20250629.dist-info/METADATA,sha256=lhRfsfBztuJqwhH_v5dIpc798-cT_m6LR_2WfaQ3258,7429
365
+ fake_bpy_module-20250629.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
366
+ fake_bpy_module-20250629.dist-info/top_level.txt,sha256=QYJ2Jp9Qn8wYVRwdoQVWmruwmY7PXY18UsdSCuyEhNM,514
367
+ fake_bpy_module-20250629.dist-info/RECORD,,
@@ -1,3 +1,4 @@
1
+ _blendfile_header
1
2
  _bpy_internal
2
3
  addon_utils
3
4
  animsys_refactor
@@ -15,7 +16,6 @@ bl_text_utils
15
16
  bl_ui
16
17
  bl_ui_utils
17
18
  blend_render_info
18
- blendfile_header
19
19
  blf
20
20
  bmesh
21
21
  bpy
gpu/shader/__init__.pyi CHANGED
@@ -97,10 +97,11 @@ import typing_extensions
97
97
  import numpy.typing as npt
98
98
  import gpu.types
99
99
 
100
- def create_from_info(shader_info) -> gpu.types.GPUShader:
100
+ def create_from_info(shader_info: gpu.types.GPUShaderCreateInfo) -> gpu.types.GPUShader:
101
101
  """Create shader from a GPUShaderCreateInfo.
102
102
 
103
103
  :param shader_info: GPUShaderCreateInfo
104
+ :type shader_info: gpu.types.GPUShaderCreateInfo
104
105
  :return: Shader object corresponding to the given name.
105
106
  :rtype: gpu.types.GPUShader
106
107
  """
gpu/types/__init__.pyi CHANGED
@@ -405,11 +405,13 @@ class GPUShaderCreateInfo:
405
405
  :type source: str
406
406
  """
407
407
 
408
- def define(self, name, value) -> None:
408
+ def define(self, name: str, value: str) -> None:
409
409
  """Add a preprocessing define directive. In GLSL it would be something like:
410
410
 
411
- :param name:
412
- :param value:
411
+ :param name: Token name.
412
+ :type name: str
413
+ :param value: Text that replaces token occurrences.
414
+ :type value: str
413
415
  """
414
416
 
415
417
  def depth_write(self, value) -> None:
@@ -778,10 +780,11 @@ class GPUShaderCreateInfo:
778
780
  :type name: str
779
781
  """
780
782
 
781
- def typedef_source(self, source) -> None:
783
+ def typedef_source(self, source: str) -> None:
782
784
  """Source code included before resource declaration. Useful for defining structs used by Uniform Buffers.Example:
783
785
 
784
- :param source:
786
+ :param source: The source code defining types.
787
+ :type source: str
785
788
  """
786
789
 
787
790
  def uniform_buf(self, slot: int, type_name: str, name: str) -> None:
File without changes