fake-bpy-module 20241204__py3-none-any.whl → 20241205__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.
bpy/types/__init__.pyi CHANGED
@@ -14738,6 +14738,99 @@ The USDHookExample
14738
14738
  :columns: 2
14739
14739
 
14740
14740
 
14741
+ --------------------
14742
+
14743
+ * bpy_struct.id_data
14744
+ * Node.type
14745
+ * Node.location
14746
+ * Node.width
14747
+ * Node.height
14748
+ * Node.dimensions
14749
+ * Node.name
14750
+ * Node.label
14751
+ * Node.inputs
14752
+ * Node.outputs
14753
+ * Node.internal_links
14754
+ * Node.parent
14755
+ * Node.warning_propagation
14756
+ * Node.use_custom_color
14757
+ * Node.color
14758
+ * Node.select
14759
+ * Node.show_options
14760
+ * Node.show_preview
14761
+ * Node.hide
14762
+ * Node.mute
14763
+ * Node.show_texture
14764
+ * Node.bl_idname
14765
+ * Node.bl_label
14766
+ * Node.bl_description
14767
+ * Node.bl_icon
14768
+ * Node.bl_static_type
14769
+ * Node.bl_width_default
14770
+ * Node.bl_width_min
14771
+ * Node.bl_width_max
14772
+ * Node.bl_height_default
14773
+ * Node.bl_height_min
14774
+ * Node.bl_height_max
14775
+
14776
+ :columns: 2
14777
+
14778
+
14779
+ --------------------
14780
+
14781
+ * bpy_struct.as_pointer
14782
+ * bpy_struct.driver_add
14783
+ * bpy_struct.driver_remove
14784
+ * bpy_struct.get
14785
+ * bpy_struct.id_properties_clear
14786
+ * bpy_struct.id_properties_ensure
14787
+ * bpy_struct.id_properties_ui
14788
+ * bpy_struct.is_property_hidden
14789
+ * bpy_struct.is_property_overridable_library
14790
+ * bpy_struct.is_property_readonly
14791
+ * bpy_struct.is_property_set
14792
+ * bpy_struct.items
14793
+ * bpy_struct.keyframe_delete
14794
+ * bpy_struct.keyframe_insert
14795
+ * bpy_struct.keys
14796
+ * bpy_struct.path_from_id
14797
+ * bpy_struct.path_resolve
14798
+ * bpy_struct.pop
14799
+ * bpy_struct.property_overridable_library_set
14800
+ * bpy_struct.property_unset
14801
+ * bpy_struct.type_recast
14802
+ * bpy_struct.values
14803
+ * Node.socket_value_update
14804
+ * Node.is_registered_node_type
14805
+ * Node.poll
14806
+ * Node.poll_instance
14807
+ * Node.update
14808
+ * Node.insert_link
14809
+ * Node.init
14810
+ * Node.copy
14811
+ * Node.free
14812
+ * Node.draw_buttons
14813
+ * Node.draw_buttons_ext
14814
+ * Node.draw_label
14815
+ * Node.debug_zone_body_lazy_function_graph
14816
+ * Node.debug_zone_lazy_function_graph
14817
+ * Node.poll
14818
+ * Node.bl_rna_get_subclass
14819
+ * Node.bl_rna_get_subclass_py
14820
+ * NodeInternal.poll
14821
+ * NodeInternal.poll_instance
14822
+ * NodeInternal.update
14823
+ * NodeInternal.draw_buttons
14824
+ * NodeInternal.draw_buttons_ext
14825
+ * NodeInternal.bl_rna_get_subclass
14826
+ * NodeInternal.bl_rna_get_subclass_py
14827
+ * GeometryNode.poll
14828
+ * GeometryNode.bl_rna_get_subclass
14829
+ * GeometryNode.bl_rna_get_subclass_py
14830
+
14831
+ :columns: 2
14832
+
14833
+
14741
14834
  --------------------
14742
14835
 
14743
14836
  * bpy_struct.id_data
@@ -31305,6 +31398,7 @@ object, placing it into a view layer, selecting it and making it active.
31305
31398
  * FollowTrackConstraint.camera
31306
31399
  * FollowTrackConstraint.depth_object
31307
31400
  * GPencilSculptGuide.reference_object
31401
+ * GeometryNodeInputObject.object
31308
31402
  * GreasePencilArmatureModifier.object
31309
31403
  * GreasePencilArrayModifier.offset_object
31310
31404
  * GreasePencilBuildModifier.object
@@ -58068,6 +58162,99 @@ Base class for integrating USD Hydra based renderers.
58068
58162
  :columns: 2
58069
58163
 
58070
58164
 
58165
+ --------------------
58166
+
58167
+ * bpy_struct.id_data
58168
+ * Node.type
58169
+ * Node.location
58170
+ * Node.width
58171
+ * Node.height
58172
+ * Node.dimensions
58173
+ * Node.name
58174
+ * Node.label
58175
+ * Node.inputs
58176
+ * Node.outputs
58177
+ * Node.internal_links
58178
+ * Node.parent
58179
+ * Node.warning_propagation
58180
+ * Node.use_custom_color
58181
+ * Node.color
58182
+ * Node.select
58183
+ * Node.show_options
58184
+ * Node.show_preview
58185
+ * Node.hide
58186
+ * Node.mute
58187
+ * Node.show_texture
58188
+ * Node.bl_idname
58189
+ * Node.bl_label
58190
+ * Node.bl_description
58191
+ * Node.bl_icon
58192
+ * Node.bl_static_type
58193
+ * Node.bl_width_default
58194
+ * Node.bl_width_min
58195
+ * Node.bl_width_max
58196
+ * Node.bl_height_default
58197
+ * Node.bl_height_min
58198
+ * Node.bl_height_max
58199
+
58200
+ :columns: 2
58201
+
58202
+
58203
+ --------------------
58204
+
58205
+ * bpy_struct.as_pointer
58206
+ * bpy_struct.driver_add
58207
+ * bpy_struct.driver_remove
58208
+ * bpy_struct.get
58209
+ * bpy_struct.id_properties_clear
58210
+ * bpy_struct.id_properties_ensure
58211
+ * bpy_struct.id_properties_ui
58212
+ * bpy_struct.is_property_hidden
58213
+ * bpy_struct.is_property_overridable_library
58214
+ * bpy_struct.is_property_readonly
58215
+ * bpy_struct.is_property_set
58216
+ * bpy_struct.items
58217
+ * bpy_struct.keyframe_delete
58218
+ * bpy_struct.keyframe_insert
58219
+ * bpy_struct.keys
58220
+ * bpy_struct.path_from_id
58221
+ * bpy_struct.path_resolve
58222
+ * bpy_struct.pop
58223
+ * bpy_struct.property_overridable_library_set
58224
+ * bpy_struct.property_unset
58225
+ * bpy_struct.type_recast
58226
+ * bpy_struct.values
58227
+ * Node.socket_value_update
58228
+ * Node.is_registered_node_type
58229
+ * Node.poll
58230
+ * Node.poll_instance
58231
+ * Node.update
58232
+ * Node.insert_link
58233
+ * Node.init
58234
+ * Node.copy
58235
+ * Node.free
58236
+ * Node.draw_buttons
58237
+ * Node.draw_buttons_ext
58238
+ * Node.draw_label
58239
+ * Node.debug_zone_body_lazy_function_graph
58240
+ * Node.debug_zone_lazy_function_graph
58241
+ * Node.poll
58242
+ * Node.bl_rna_get_subclass
58243
+ * Node.bl_rna_get_subclass_py
58244
+ * NodeInternal.poll
58245
+ * NodeInternal.poll_instance
58246
+ * NodeInternal.update
58247
+ * NodeInternal.draw_buttons
58248
+ * NodeInternal.draw_buttons_ext
58249
+ * NodeInternal.bl_rna_get_subclass
58250
+ * NodeInternal.bl_rna_get_subclass_py
58251
+ * GeometryNode.poll
58252
+ * GeometryNode.bl_rna_get_subclass
58253
+ * GeometryNode.bl_rna_get_subclass_py
58254
+
58255
+ :columns: 2
58256
+
58257
+
58071
58258
  --------------------
58072
58259
 
58073
58260
  * bpy_struct.id_data
@@ -85544,6 +85731,7 @@ example of how to create/use filtering/reordering callbacks.
85544
85731
  * FluidDomainSettings.fluid_group
85545
85732
  * FluidDomainSettings.force_collection
85546
85733
  * FreestyleLineSet.collection
85734
+ * GeometryNodeInputCollection.collection
85547
85735
  * GreasePencilLineartModifier.source_collection
85548
85736
  * IDOverrideLibrary.resync
85549
85737
  * LayerCollection.collection
@@ -91313,6 +91501,8 @@ example of how to create/use filtering/reordering callbacks.
91313
91501
  * GeometryNodeIndexSwitch.output_template
91314
91502
  * GeometryNodeInputActiveCamera.input_template
91315
91503
  * GeometryNodeInputActiveCamera.output_template
91504
+ * GeometryNodeInputCollection.input_template
91505
+ * GeometryNodeInputCollection.output_template
91316
91506
  * GeometryNodeInputCurveHandlePositions.input_template
91317
91507
  * GeometryNodeInputCurveHandlePositions.output_template
91318
91508
  * GeometryNodeInputCurveTilt.input_template
@@ -91355,6 +91545,8 @@ example of how to create/use filtering/reordering callbacks.
91355
91545
  * GeometryNodeInputNamedLayerSelection.output_template
91356
91546
  * GeometryNodeInputNormal.input_template
91357
91547
  * GeometryNodeInputNormal.output_template
91548
+ * GeometryNodeInputObject.input_template
91549
+ * GeometryNodeInputObject.output_template
91358
91550
  * GeometryNodeInputPosition.input_template
91359
91551
  * GeometryNodeInputPosition.output_template
91360
91552
  * GeometryNodeInputRadius.input_template
@@ -148315,6 +148507,65 @@ class GeometryNodeInputActiveCamera(GeometryNode, NodeInternal, Node, bpy_struct
148315
148507
  :rtype: typing.Any
148316
148508
  """
148317
148509
 
148510
+ class GeometryNodeInputCollection(GeometryNode, NodeInternal, Node, bpy_struct):
148511
+ """Output a single collection"""
148512
+
148513
+ collection: Collection | None
148514
+ """
148515
+
148516
+ :type: Collection | None
148517
+ """
148518
+
148519
+ @classmethod
148520
+ def is_registered_node_type(cls) -> bool:
148521
+ """True if a registered node type
148522
+
148523
+ :return: Result
148524
+ :rtype: bool
148525
+ """
148526
+
148527
+ @classmethod
148528
+ def input_template(cls, index: int | None) -> NodeInternalSocketTemplate:
148529
+ """Input socket template
148530
+
148531
+ :param index: Index
148532
+ :type index: int | None
148533
+ :return: result
148534
+ :rtype: NodeInternalSocketTemplate
148535
+ """
148536
+
148537
+ @classmethod
148538
+ def output_template(cls, index: int | None) -> NodeInternalSocketTemplate:
148539
+ """Output socket template
148540
+
148541
+ :param index: Index
148542
+ :type index: int | None
148543
+ :return: result
148544
+ :rtype: NodeInternalSocketTemplate
148545
+ """
148546
+
148547
+ @classmethod
148548
+ def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
148549
+ """
148550
+
148551
+ :param id: The RNA type identifier.
148552
+ :type id: str | None
148553
+ :param default:
148554
+ :return: The RNA type or default when not found.
148555
+ :rtype: Struct
148556
+ """
148557
+
148558
+ @classmethod
148559
+ def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
148560
+ """
148561
+
148562
+ :param id: The RNA type identifier.
148563
+ :type id: str | None
148564
+ :param default:
148565
+ :return: The class or default when not found.
148566
+ :rtype: typing.Any
148567
+ """
148568
+
148318
148569
  class GeometryNodeInputCurveHandlePositions(
148319
148570
  GeometryNode, NodeInternal, Node, bpy_struct
148320
148571
  ):
@@ -149452,6 +149703,65 @@ class GeometryNodeInputNormal(GeometryNode, NodeInternal, Node, bpy_struct):
149452
149703
  :rtype: typing.Any
149453
149704
  """
149454
149705
 
149706
+ class GeometryNodeInputObject(GeometryNode, NodeInternal, Node, bpy_struct):
149707
+ """Output a single object"""
149708
+
149709
+ object: Object | None
149710
+ """
149711
+
149712
+ :type: Object | None
149713
+ """
149714
+
149715
+ @classmethod
149716
+ def is_registered_node_type(cls) -> bool:
149717
+ """True if a registered node type
149718
+
149719
+ :return: Result
149720
+ :rtype: bool
149721
+ """
149722
+
149723
+ @classmethod
149724
+ def input_template(cls, index: int | None) -> NodeInternalSocketTemplate:
149725
+ """Input socket template
149726
+
149727
+ :param index: Index
149728
+ :type index: int | None
149729
+ :return: result
149730
+ :rtype: NodeInternalSocketTemplate
149731
+ """
149732
+
149733
+ @classmethod
149734
+ def output_template(cls, index: int | None) -> NodeInternalSocketTemplate:
149735
+ """Output socket template
149736
+
149737
+ :param index: Index
149738
+ :type index: int | None
149739
+ :return: result
149740
+ :rtype: NodeInternalSocketTemplate
149741
+ """
149742
+
149743
+ @classmethod
149744
+ def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
149745
+ """
149746
+
149747
+ :param id: The RNA type identifier.
149748
+ :type id: str | None
149749
+ :param default:
149750
+ :return: The RNA type or default when not found.
149751
+ :rtype: Struct
149752
+ """
149753
+
149754
+ @classmethod
149755
+ def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
149756
+ """
149757
+
149758
+ :param id: The RNA type identifier.
149759
+ :type id: str | None
149760
+ :param default:
149761
+ :return: The class or default when not found.
149762
+ :rtype: typing.Any
149763
+ """
149764
+
149455
149765
  class GeometryNodeInputPosition(GeometryNode, NodeInternal, Node, bpy_struct):
149456
149766
  """Retrieve a vector indicating the location of each element"""
149457
149767
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20241204
3
+ Version: 20241205
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
@@ -275,7 +275,7 @@ bpy/ops/workspace/__init__.pyi,sha256=4qG0-HkVfaGfdBe9QvBCKUox03nb1ZfeV1fz-0b3KJ
275
275
  bpy/ops/world/__init__.pyi,sha256=ytaDhwJ-K4SbWylChL1za6lvMNM2-RX1S0BR7892Afg,946
276
276
  bpy/path/__init__.pyi,sha256=XexWcsHek4S2exWHw2eiJvEkKEyWXE3E34hjXf-Od1g,5329
277
277
  bpy/props/__init__.pyi,sha256=eHzPsDSyDTa92O5TvPpi1yflmxv7vVGW_ZocCqudgw4,31027
278
- bpy/types/__init__.pyi,sha256=jEzNSFi1UxU4PG-4BhFYipQjjdJybbfoslrZnCRawxk,5368581
278
+ bpy/types/__init__.pyi,sha256=JoZjGz7h9FKl46TkiaDf9OKePbZKKCeGlGDSlPC0CHk,5375659
279
279
  bpy/typing/__init__.pyi,sha256=u2XKjd6ZB1Wjt7JwabxexZdswEZLYR2jQpxzzp6AThg,138679
280
280
  bpy/utils/__init__.pyi,sha256=fNpt-kiiVP9XWNCXbG1LPnq0TRjMWrDUZInAzrc2hUk,13239
281
281
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
@@ -325,7 +325,7 @@ gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
325
325
  gpu/types/__init__.pyi,sha256=VLRILy5hoGUiVYoRyplS8B_fo08s5UZ6nsXqNwu1FEg,26871
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=AUcLCHedxFZIY0swMU0pQK2WfPeShEh0ZzuwAAMJ7Hc,817
328
+ gpu_extras/batch/__init__.pyi,sha256=XdMBpoKtUtV_HiwzFDQ50LVbLcmDzllEAVnXXkOEmfQ,816
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-20241204.dist-info/METADATA,sha256=RuaW4yBpkFwq2RJylahZjNNb-6qJ1V9c_lGuggWZsRs,7289
362
- fake_bpy_module-20241204.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
- fake_bpy_module-20241204.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
- fake_bpy_module-20241204.dist-info/RECORD,,
361
+ fake_bpy_module-20241205.dist-info/METADATA,sha256=4pjZYJd4d6vD_ALevK5RP63r6NxMKtiIyh7iz2wzfNE,7289
362
+ fake_bpy_module-20241205.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
+ fake_bpy_module-20241205.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20241205.dist-info/RECORD,,
@@ -1,10 +1,11 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import bgl
4
5
  import gpu.types
5
6
 
6
7
  def batch_for_shader(
7
- shader: gpu.types.GPUShader, type: str, content: gpu.types.Buffer, *, indices=None
8
+ shader: gpu.types.GPUShader, type: str, content: bgl.Buffer, *, indices=None
8
9
  ) -> gpu.types.GPUBatch:
9
10
  """Return a batch already configured and compatible with the shader.
10
11
 
@@ -14,7 +15,7 @@ def batch_for_shader(
14
15
  :type type: str
15
16
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
16
17
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
17
- :type content: gpu.types.Buffer
18
+ :type content: bgl.Buffer
18
19
  :return: compatible batch
19
20
  :rtype: gpu.types.GPUBatch
20
21
  """