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

@@ -120,7 +120,7 @@ class UILIST_OT_entry_remove(GenericUIListOperator, _bpy_types.Operator):
120
120
 
121
121
  def draw_ui_list(
122
122
  layout: bpy.types.UILayout,
123
- context: _bpy_types.Context,
123
+ context: bpy.types.Context,
124
124
  class_name: str = "UI_UL_list",
125
125
  *,
126
126
  unique_id: str,
@@ -136,7 +136,7 @@ def draw_ui_list(
136
136
  :param layout: UILayout to draw the list in.
137
137
  :type layout: bpy.types.UILayout
138
138
  :param context: Blender context to get the list data from.
139
- :type context: _bpy_types.Context
139
+ :type context: bpy.types.Context
140
140
  :param class_name: Name of the UIList class to draw. The default is the UIList class that ships with Blender.
141
141
  :type class_name: str
142
142
  :param unique_id: Unique identifier to differentiate this from other UI lists.
@@ -95,6 +95,7 @@ class UnifiedPaintPanel:
95
95
  unified_paint_settings_override=None,
96
96
  unified_name=None,
97
97
  pressure_name=None,
98
+ curve_visibility_name=None,
98
99
  icon="NONE",
99
100
  text=None,
100
101
  slider=False,
@@ -111,6 +112,7 @@ class UnifiedPaintPanel:
111
112
  :param unified_paint_settings_override:
112
113
  :param unified_name:
113
114
  :param pressure_name:
115
+ :param curve_visibility_name:
114
116
  :param icon:
115
117
  :param text:
116
118
  :param slider:
@@ -1147,6 +1147,31 @@ class SEQUENCER_MT_view_pie(_bpy_types.Menu):
1147
1147
  :param context:
1148
1148
  """
1149
1149
 
1150
+ class SEQUENCER_MT_view_render(_bpy_types.Menu):
1151
+ bl_label: typing.Any
1152
+ bl_rna: typing.Any
1153
+ id_data: typing.Any
1154
+
1155
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
1156
+ """
1157
+
1158
+ :return: The RNA type or default when not found.
1159
+ :rtype: bpy.types.Struct
1160
+ """
1161
+
1162
+ def bl_rna_get_subclass_py(self) -> typing.Any:
1163
+ """
1164
+
1165
+ :return: The class or default when not found.
1166
+ :rtype: typing.Any
1167
+ """
1168
+
1169
+ def draw(self, _context) -> None:
1170
+ """
1171
+
1172
+ :param _context:
1173
+ """
1174
+
1150
1175
  class SEQUENCER_PT_active_tool(
1151
1176
  bl_ui.space_toolsystem_common.ToolActivePanelHelper, _bpy_types.Panel
1152
1177
  ):
@@ -383,10 +383,10 @@ class USERPREF_MT_view(_bpy_types.Menu):
383
383
  :rtype: typing.Any
384
384
  """
385
385
 
386
- def draw(self, _context) -> None:
386
+ def draw(self, context) -> None:
387
387
  """
388
388
 
389
- :param _context:
389
+ :param context:
390
390
  """
391
391
 
392
392
  class USERPREF_PT_addons(AddOnPanel, _bpy_types.Panel):
@@ -4926,6 +4926,31 @@ class VIEW3D_MT_view_regions(_bpy_types.Menu):
4926
4926
  :param _context:
4927
4927
  """
4928
4928
 
4929
+ class VIEW3D_MT_view_render(_bpy_types.Menu):
4930
+ bl_label: typing.Any
4931
+ bl_rna: typing.Any
4932
+ id_data: typing.Any
4933
+
4934
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
4935
+ """
4936
+
4937
+ :return: The RNA type or default when not found.
4938
+ :rtype: bpy.types.Struct
4939
+ """
4940
+
4941
+ def bl_rna_get_subclass_py(self) -> typing.Any:
4942
+ """
4943
+
4944
+ :return: The class or default when not found.
4945
+ :rtype: typing.Any
4946
+ """
4947
+
4948
+ def draw(self, _context) -> None:
4949
+ """
4950
+
4951
+ :param _context:
4952
+ """
4953
+
4929
4954
  class VIEW3D_MT_view_viewpoint(_bpy_types.Menu):
4930
4955
  bl_label: typing.Any
4931
4956
  bl_rna: typing.Any
bmesh/types/__init__.pyi CHANGED
@@ -23,7 +23,6 @@ import typing
23
23
  import collections.abc
24
24
  import typing_extensions
25
25
  import numpy.typing as npt
26
- import _bpy_types
27
26
  import bpy.types
28
27
  import mathutils
29
28
 
@@ -1616,7 +1615,7 @@ class BMesh:
1616
1615
 
1617
1616
  def from_mesh(
1618
1617
  self,
1619
- mesh: _bpy_types.Mesh,
1618
+ mesh: bpy.types.Mesh,
1620
1619
  *,
1621
1620
  face_normals: bool = True,
1622
1621
  vertex_normals: bool = True,
@@ -1626,7 +1625,7 @@ class BMesh:
1626
1625
  """Initialize this bmesh from existing mesh data-block.
1627
1626
 
1628
1627
  :param mesh: The mesh data to load.
1629
- :type mesh: _bpy_types.Mesh
1628
+ :type mesh: bpy.types.Mesh
1630
1629
  :param face_normals:
1631
1630
  :type face_normals: bool
1632
1631
  :param vertex_normals:
@@ -1639,7 +1638,7 @@ class BMesh:
1639
1638
 
1640
1639
  def from_object(
1641
1640
  self,
1642
- object: _bpy_types.Object,
1641
+ object: bpy.types.Object,
1643
1642
  depsgraph: bpy.types.Depsgraph,
1644
1643
  *,
1645
1644
  cage: bool = False,
@@ -1649,7 +1648,7 @@ class BMesh:
1649
1648
  """Initialize this bmesh from existing object data-block (only meshes are currently supported).
1650
1649
 
1651
1650
  :param object: The object data to load.
1652
- :type object: _bpy_types.Object
1651
+ :type object: bpy.types.Object
1653
1652
  :param depsgraph:
1654
1653
  :type depsgraph: bpy.types.Depsgraph
1655
1654
  :param cage: Get the mesh as a deformed cage.
@@ -1673,11 +1672,11 @@ class BMesh:
1673
1672
  def select_flush_mode(self) -> None:
1674
1673
  """flush selection based on the current mode current `BMesh.select_mode`."""
1675
1674
 
1676
- def to_mesh(self, mesh: _bpy_types.Mesh) -> None:
1675
+ def to_mesh(self, mesh: bpy.types.Mesh) -> None:
1677
1676
  """Writes this BMesh data into an existing Mesh data-block.
1678
1677
 
1679
1678
  :param mesh: The mesh data to write into.
1680
- :type mesh: _bpy_types.Mesh
1679
+ :type mesh: bpy.types.Mesh
1681
1680
  """
1682
1681
 
1683
1682
  def transform(
@@ -47,7 +47,7 @@ def use_shading_nodes(
47
47
  undo: bool | None = None,
48
48
  /,
49
49
  ) -> None:
50
- """Enable nodes on a material or light
50
+ """Enable nodes on a light
51
51
 
52
52
  :type execution_context: int | str | None
53
53
  :type undo: bool | None
bpy/ops/uv/__init__.pyi CHANGED
@@ -248,6 +248,33 @@ def cursor_set(
248
248
  :type location: collections.abc.Sequence[float] | mathutils.Vector | None
249
249
  """
250
250
 
251
+ def custom_region_set(
252
+ execution_context: int | str | None = None,
253
+ undo: bool | None = None,
254
+ /,
255
+ *,
256
+ xmin: int | None = 0,
257
+ xmax: int | None = 0,
258
+ ymin: int | None = 0,
259
+ ymax: int | None = 0,
260
+ wait_for_input: bool | None = True,
261
+ ) -> None:
262
+ """Set the boundaries of the user region
263
+
264
+ :type execution_context: int | str | None
265
+ :type undo: bool | None
266
+ :param xmin: X Min
267
+ :type xmin: int | None
268
+ :param xmax: X Max
269
+ :type xmax: int | None
270
+ :param ymin: Y Min
271
+ :type ymin: int | None
272
+ :param ymax: Y Max
273
+ :type ymax: int | None
274
+ :param wait_for_input: Wait for Input
275
+ :type wait_for_input: bool | None
276
+ """
277
+
251
278
  def cylinder_project(
252
279
  execution_context: int | str | None = None,
253
280
  undo: bool | None = None,
@@ -473,7 +500,9 @@ def pack_islands(
473
500
  undo: bool | None = None,
474
501
  /,
475
502
  *,
476
- udim_source: typing.Literal["CLOSEST_UDIM", "ACTIVE_UDIM", "ORIGINAL_AABB"]
503
+ udim_source: typing.Literal[
504
+ "CLOSEST_UDIM", "ACTIVE_UDIM", "ORIGINAL_AABB", "CUSTOM_REGION"
505
+ ]
477
506
  | None = "CLOSEST_UDIM",
478
507
  rotate: bool | None = True,
479
508
  rotate_method: typing.Literal[
@@ -503,7 +532,10 @@ def pack_islands(
503
532
 
504
533
  ORIGINAL_AABB
505
534
  Original bounding box -- Pack to starting bounding box of islands.
506
- :type udim_source: typing.Literal['CLOSEST_UDIM','ACTIVE_UDIM','ORIGINAL_AABB'] | None
535
+
536
+ CUSTOM_REGION
537
+ Custom Region -- Pack islands to custom region.
538
+ :type udim_source: typing.Literal['CLOSEST_UDIM','ACTIVE_UDIM','ORIGINAL_AABB','CUSTOM_REGION'] | None
507
539
  :param rotate: Rotate, Rotate islands to improve layout
508
540
  :type rotate: bool | None
509
541
  :param rotate_method: Rotation Method
bpy/types/__init__.pyi CHANGED
@@ -6357,6 +6357,9 @@ The USDHookExample
6357
6357
  * Paint.tile_x
6358
6358
  * Paint.tile_y
6359
6359
  * Paint.tile_z
6360
+ * Paint.show_strength_curve
6361
+ * Paint.show_size_curve
6362
+ * Paint.show_jitter_curve
6360
6363
  * Paint.unified_paint_settings
6361
6364
 
6362
6365
  :columns: 2
@@ -29938,6 +29941,9 @@ from a search field, this can be done using bpy.types.Operator.invoke_search_pop
29938
29941
  * Paint.tile_x
29939
29942
  * Paint.tile_y
29940
29943
  * Paint.tile_z
29944
+ * Paint.show_strength_curve
29945
+ * Paint.show_size_curve
29946
+ * Paint.show_jitter_curve
29941
29947
  * Paint.unified_paint_settings
29942
29948
 
29943
29949
  :columns: 2
@@ -37307,6 +37313,9 @@ of the scene and only show nodes of the renderer they are designed for.
37307
37313
  * Paint.tile_x
37308
37314
  * Paint.tile_y
37309
37315
  * Paint.tile_z
37316
+ * Paint.show_strength_curve
37317
+ * Paint.show_size_curve
37318
+ * Paint.show_jitter_curve
37310
37319
  * Paint.unified_paint_settings
37311
37320
 
37312
37321
  :columns: 2
@@ -40448,6 +40457,9 @@ of the scene and only show nodes of the renderer they are designed for.
40448
40457
  * Paint.tile_x
40449
40458
  * Paint.tile_y
40450
40459
  * Paint.tile_z
40460
+ * Paint.show_strength_curve
40461
+ * Paint.show_size_curve
40462
+ * Paint.show_jitter_curve
40451
40463
  * Paint.unified_paint_settings
40452
40464
 
40453
40465
  :columns: 2
@@ -41666,6 +41678,9 @@ of the scene and only show nodes of the renderer they are designed for.
41666
41678
  * Paint.tile_x
41667
41679
  * Paint.tile_y
41668
41680
  * Paint.tile_z
41681
+ * Paint.show_strength_curve
41682
+ * Paint.show_size_curve
41683
+ * Paint.show_jitter_curve
41669
41684
  * Paint.unified_paint_settings
41670
41685
 
41671
41686
  :columns: 2
@@ -60325,6 +60340,9 @@ at its creation, all editing in the original image's buffer is 'lost' in its cop
60325
60340
  * Paint.tile_x
60326
60341
  * Paint.tile_y
60327
60342
  * Paint.tile_z
60343
+ * Paint.show_strength_curve
60344
+ * Paint.show_size_curve
60345
+ * Paint.show_jitter_curve
60328
60346
  * Paint.unified_paint_settings
60329
60347
 
60330
60348
  :columns: 2
@@ -71566,6 +71584,9 @@ example of how to create/use filtering/reordering callbacks.
71566
71584
  * Paint.tile_x
71567
71585
  * Paint.tile_y
71568
71586
  * Paint.tile_z
71587
+ * Paint.show_strength_curve
71588
+ * Paint.show_size_curve
71589
+ * Paint.show_jitter_curve
71569
71590
  * Paint.unified_paint_settings
71570
71591
 
71571
71592
  :columns: 2
@@ -103342,6 +103363,9 @@ Operator.draw method for layout and display.
103342
103363
  * Paint.tile_x
103343
103364
  * Paint.tile_y
103344
103365
  * Paint.tile_z
103366
+ * Paint.show_strength_curve
103367
+ * Paint.show_size_curve
103368
+ * Paint.show_jitter_curve
103345
103369
  * Paint.unified_paint_settings
103346
103370
 
103347
103371
  :columns: 2
@@ -127698,7 +127722,7 @@ class AssetShelf(bpy_struct):
127698
127722
  """ Options for this asset shelf type"""
127699
127723
 
127700
127724
  bl_space_type: bpy.stub_internal.rna_enums.SpaceTypeItems
127701
- """ The space where the asset shelf is going to be used in
127725
+ """ The space where the asset shelf will show up in. Ignored for popup asset shelves which can be displayed in any space.
127702
127726
 
127703
127727
  :type: bpy.stub_internal.rna_enums.SpaceTypeItems
127704
127728
  """
@@ -136953,12 +136977,6 @@ class CompositorNode(NodeInternal, Node, bpy_struct):
136953
136977
  class CompositorNodeAlphaOver(CompositorNode, NodeInternal, Node, bpy_struct):
136954
136978
  """Overlay a foreground image onto a background image"""
136955
136979
 
136956
- operation_type: typing.Literal["OVER", "DISJOINT_OVER", "CONJOINT_OVER"]
136957
- """ The type of alpha over operation
136958
-
136959
- :type: typing.Literal['OVER','DISJOINT_OVER','CONJOINT_OVER']
136960
- """
136961
-
136962
136980
  @classmethod
136963
136981
  def is_registered_node_type(cls) -> bool:
136964
136982
  """True if a registered node type
@@ -137471,30 +137489,6 @@ class CompositorNodeBrightContrast(CompositorNode, NodeInternal, Node, bpy_struc
137471
137489
  class CompositorNodeChannelMatte(CompositorNode, NodeInternal, Node, bpy_struct):
137472
137490
  """Create matte based on differences in color channels"""
137473
137491
 
137474
- color_space: typing.Literal["RGB", "HSV", "YUV", "YCC"]
137475
- """
137476
-
137477
- :type: typing.Literal['RGB','HSV','YUV','YCC']
137478
- """
137479
-
137480
- limit_channel: typing.Literal["R", "G", "B"]
137481
- """ Limit by this channel's value
137482
-
137483
- :type: typing.Literal['R','G','B']
137484
- """
137485
-
137486
- limit_method: typing.Literal["SINGLE", "MAX"]
137487
- """ Algorithm to use to limit channel
137488
-
137489
- :type: typing.Literal['SINGLE','MAX']
137490
- """
137491
-
137492
- matte_channel: typing.Literal["R", "G", "B"]
137493
- """ Channel used to determine matte
137494
-
137495
- :type: typing.Literal['R','G','B']
137496
- """
137497
-
137498
137492
  @classmethod
137499
137493
  def is_registered_node_type(cls) -> bool:
137500
137494
  """True if a registered node type
@@ -137623,14 +137617,6 @@ class CompositorNodeChromaMatte(CompositorNode, NodeInternal, Node, bpy_struct):
137623
137617
  class CompositorNodeColorBalance(CompositorNode, NodeInternal, Node, bpy_struct):
137624
137618
  """Adjust color and values"""
137625
137619
 
137626
- correction_method: typing.Literal[
137627
- "LIFT_GAMMA_GAIN", "OFFSET_POWER_SLOPE", "WHITEPOINT"
137628
- ]
137629
- """
137630
-
137631
- :type: typing.Literal['LIFT_GAMMA_GAIN','OFFSET_POWER_SLOPE','WHITEPOINT']
137632
- """
137633
-
137634
137620
  input_whitepoint: mathutils.Color
137635
137621
  """ The color which gets mapped to white (automatically converted to/from temperature and tint)
137636
137622
 
@@ -137835,24 +137821,6 @@ class CompositorNodeColorMatte(CompositorNode, NodeInternal, Node, bpy_struct):
137835
137821
  class CompositorNodeColorSpill(CompositorNode, NodeInternal, Node, bpy_struct):
137836
137822
  """Remove colors from a blue or green screen, by reducing one RGB channel compared to the others"""
137837
137823
 
137838
- channel: typing.Literal["R", "G", "B"]
137839
- """
137840
-
137841
- :type: typing.Literal['R','G','B']
137842
- """
137843
-
137844
- limit_channel: typing.Literal["R", "G", "B"]
137845
- """
137846
-
137847
- :type: typing.Literal['R','G','B']
137848
- """
137849
-
137850
- limit_method: typing.Literal["SIMPLE", "AVERAGE"]
137851
- """
137852
-
137853
- :type: typing.Literal['SIMPLE','AVERAGE']
137854
- """
137855
-
137856
137824
  @classmethod
137857
137825
  def is_registered_node_type(cls) -> bool:
137858
137826
  """True if a registered node type
@@ -139443,12 +139411,6 @@ class CompositorNodeDisplace(CompositorNode, NodeInternal, Node, bpy_struct):
139443
139411
  class CompositorNodeDistanceMatte(CompositorNode, NodeInternal, Node, bpy_struct):
139444
139412
  """Create matte based on 3D distance between colors"""
139445
139413
 
139446
- channel: typing.Literal["RGB", "YCC"]
139447
- """
139448
-
139449
- :type: typing.Literal['RGB','YCC']
139450
- """
139451
-
139452
139414
  @classmethod
139453
139415
  def is_registered_node_type(cls) -> bool:
139454
139416
  """True if a registered node type
@@ -139513,18 +139475,6 @@ class CompositorNodeDistanceMatte(CompositorNode, NodeInternal, Node, bpy_struct
139513
139475
  class CompositorNodeDoubleEdgeMask(CompositorNode, NodeInternal, Node, bpy_struct):
139514
139476
  """Create a gradient between two masks"""
139515
139477
 
139516
- edge_mode: typing.Literal["BLEED_OUT", "KEEP_IN"]
139517
- """
139518
-
139519
- :type: typing.Literal['BLEED_OUT','KEEP_IN']
139520
- """
139521
-
139522
- inner_mode: typing.Literal["ALL", "ADJACENT_ONLY"]
139523
- """
139524
-
139525
- :type: typing.Literal['ALL','ADJACENT_ONLY']
139526
- """
139527
-
139528
139478
  @classmethod
139529
139479
  def is_registered_node_type(cls) -> bool:
139530
139480
  """True if a registered node type
@@ -141722,12 +141672,6 @@ class CompositorNodePosterize(CompositorNode, NodeInternal, Node, bpy_struct):
141722
141672
  class CompositorNodePremulKey(CompositorNode, NodeInternal, Node, bpy_struct):
141723
141673
  """Convert to and from premultiplied (associated) alpha"""
141724
141674
 
141725
- mapping: typing.Literal["STRAIGHT_TO_PREMUL", "PREMUL_TO_STRAIGHT"]
141726
- """ Conversion between premultiplied alpha and key alpha
141727
-
141728
- :type: typing.Literal['STRAIGHT_TO_PREMUL','PREMUL_TO_STRAIGHT']
141729
- """
141730
-
141731
141675
  @classmethod
141732
141676
  def is_registered_node_type(cls) -> bool:
141733
141677
  """True if a registered node type
@@ -142596,12 +142540,6 @@ class CompositorNodeSeparateColor(CompositorNode, NodeInternal, Node, bpy_struct
142596
142540
  class CompositorNodeSetAlpha(CompositorNode, NodeInternal, Node, bpy_struct):
142597
142541
  """Add an alpha channel to an image"""
142598
142542
 
142599
- mode: typing.Literal["APPLY", "REPLACE_ALPHA"]
142600
- """
142601
-
142602
- :type: typing.Literal['APPLY','REPLACE_ALPHA']
142603
- """
142604
-
142605
142543
  @classmethod
142606
142544
  def is_registered_node_type(cls) -> bool:
142607
142545
  """True if a registered node type
@@ -192062,7 +192000,7 @@ class Material(ID, bpy_struct):
192062
192000
  """
192063
192001
 
192064
192002
  use_nodes: bool
192065
- """ Use shader nodes to render the material
192003
+ """ Use shader nodes to render the materialUnused5.0 removal planned in version 6.0
192066
192004
 
192067
192005
  :type: bool
192068
192006
  """
@@ -211943,12 +211881,30 @@ class Paint(bpy_struct):
211943
211881
  :type: bool
211944
211882
  """
211945
211883
 
211884
+ show_jitter_curve: bool
211885
+ """ Show jitter curve
211886
+
211887
+ :type: bool
211888
+ """
211889
+
211946
211890
  show_low_resolution: bool
211947
211891
  """ For multires, show low resolution while navigating the view
211948
211892
 
211949
211893
  :type: bool
211950
211894
  """
211951
211895
 
211896
+ show_size_curve: bool
211897
+ """ Show size curve
211898
+
211899
+ :type: bool
211900
+ """
211901
+
211902
+ show_strength_curve: bool
211903
+ """ Show strength curve
211904
+
211905
+ :type: bool
211906
+ """
211907
+
211952
211908
  tile_offset: mathutils.Vector
211953
211909
  """ Stride at which tiled strokes are copied
211954
211910
 
@@ -231042,11 +230998,16 @@ class ShaderNodeTexNoise(ShaderNode, NodeInternal, Node, bpy_struct):
231042
230998
  class ShaderNodeTexSky(ShaderNode, NodeInternal, Node, bpy_struct):
231043
230999
  """Generate a procedural sky texture"""
231044
231000
 
231001
+ aerosol_density: float
231002
+ """ Density of dust, pollution and water droplets.
231003
+ 0 means no aerosols, 1 means urban city aerosols
231004
+
231005
+ :type: float
231006
+ """
231007
+
231045
231008
  air_density: float
231046
231009
  """ Density of air molecules.
231047
- 0 - No air.
231048
- • 1 - Clear day atmosphere.
231049
- • 2 - Highly polluted day
231010
+ 0 means no air, 1 means urban city air
231050
231011
 
231051
231012
  :type: float
231052
231013
  """
@@ -231063,29 +231024,17 @@ class ShaderNodeTexSky(ShaderNode, NodeInternal, Node, bpy_struct):
231063
231024
  :type: ColorMapping
231064
231025
  """
231065
231026
 
231066
- dust_density: float
231067
- """ Density of dust molecules and water droplets.
231068
- • 0 - No dust.
231069
- • 1 - Clear day atmosphere.
231070
- • 5 - City like atmosphere.
231071
- • 10 - Hazy day
231072
-
231073
- :type: float
231074
- """
231075
-
231076
231027
  ozone_density: float
231077
231028
  """ Density of ozone layer.
231078
- 0 - No ozone.
231079
- • 1 - Clear day atmosphere.
231080
- • 2 - City like atmosphere
231029
+ 0 means no ozone, 1 means urban city ozone
231081
231030
 
231082
231031
  :type: float
231083
231032
  """
231084
231033
 
231085
- sky_type: typing.Literal["NISHITA"]
231034
+ sky_type: typing.Literal["SINGLE_SCATTERING", "MULTIPLE_SCATTERING"]
231086
231035
  """ Which sky model should be used
231087
231036
 
231088
- :type: typing.Literal['NISHITA']
231037
+ :type: typing.Literal['SINGLE_SCATTERING','MULTIPLE_SCATTERING']
231089
231038
  """
231090
231039
 
231091
231040
  sun_disc: bool
@@ -231101,7 +231050,7 @@ class ShaderNodeTexSky(ShaderNode, NodeInternal, Node, bpy_struct):
231101
231050
  """
231102
231051
 
231103
231052
  sun_intensity: float
231104
- """ Strength of sun
231053
+ """ Strength of Sun
231105
231054
 
231106
231055
  :type: float
231107
231056
  """
@@ -236784,6 +236733,12 @@ class SpacePreferences(Space, bpy_struct):
236784
236733
  :type: typing.Literal['NAME','KEY']
236785
236734
  """
236786
236735
 
236736
+ show_region_ui: bool
236737
+ """
236738
+
236739
+ :type: bool
236740
+ """
236741
+
236787
236742
  @classmethod
236788
236743
  def bl_rna_get_subclass(
236789
236744
  cls,
@@ -249844,6 +249799,12 @@ class ToolSettings(bpy_struct):
249844
249799
  :type: bool
249845
249800
  """
249846
249801
 
249802
+ use_uv_custom_region: bool
249803
+ """ Custom defined region
249804
+
249805
+ :type: bool
249806
+ """
249807
+
249847
249808
  use_uv_select_island: bool
249848
249809
  """ Island selection
249849
249810
 
@@ -263314,6 +263275,8 @@ SEQUENCER_MT_view: bl_ui.space_sequencer.SEQUENCER_MT_view
263314
263275
 
263315
263276
  SEQUENCER_MT_view_pie: bl_ui.space_sequencer.SEQUENCER_MT_view_pie
263316
263277
 
263278
+ SEQUENCER_MT_view_render: bl_ui.space_sequencer.SEQUENCER_MT_view_render
263279
+
263317
263280
  SEQUENCER_PT_active_tool: bl_ui.space_sequencer.SEQUENCER_PT_active_tool
263318
263281
 
263319
263282
  SEQUENCER_PT_adjust_color: bl_ui.space_sequencer.SEQUENCER_PT_adjust_color
@@ -264170,6 +264133,8 @@ VIEW3D_MT_view_pie: bl_ui.space_view3d.VIEW3D_MT_view_pie
264170
264133
 
264171
264134
  VIEW3D_MT_view_regions: bl_ui.space_view3d.VIEW3D_MT_view_regions
264172
264135
 
264136
+ VIEW3D_MT_view_render: bl_ui.space_view3d.VIEW3D_MT_view_render
264137
+
264173
264138
  VIEW3D_MT_view_viewpoint: bl_ui.space_view3d.VIEW3D_MT_view_viewpoint
264174
264139
 
264175
264140
  VIEW3D_MT_volume_add: bl_ui.space_view3d.VIEW3D_MT_volume_add
@@ -11,16 +11,9 @@ class ShaderWrapper:
11
11
  material: typing.Any
12
12
  node_out: typing.Any
13
13
  node_texcoords: typing.Any
14
- use_nodes: typing.Any
15
14
 
16
15
  def node_texcoords_get(self) -> None: ...
17
16
  def update(self) -> None: ...
18
- def use_nodes_get(self) -> None: ...
19
- def use_nodes_set(self, val) -> None:
20
- """
21
-
22
- :param val:
23
- """
24
17
 
25
18
  class ShaderImageTextureWrapper:
26
19
  """Generic image texture-like wrapper, handling image node, some mapping (texture coordinates transformations),
@@ -145,7 +138,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
145
138
  specular_tint_texture: typing.Any
146
139
  transmission: typing.Any
147
140
  transmission_texture: typing.Any
148
- use_nodes: typing.Any
149
141
 
150
142
  def alpha_get(self) -> None: ...
151
143
  def alpha_set(self, value) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fake-bpy-module
3
- Version: 20250915
3
+ Version: 20250917
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
@@ -108,7 +108,7 @@ bl_ui/__init__.pyi,sha256=bzjd8FHTafNzS5V6jK2sf7aIflWXIIAAOj2u3CG5Q8s,7004
108
108
  bl_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
109
109
  bl_ui/anim/__init__.pyi,sha256=aUUQB5sqG7wizgoB77tVmFLfhOWMyuHcEUY06w1FW5k,938
110
110
  bl_ui/asset_shelf/__init__.pyi,sha256=zy0z1qh-gQXQufHFrEggbXWlihKF9l2OihuhN-iS4NE,825
111
- bl_ui/generic_ui_list/__init__.pyi,sha256=wKDC1TOAxmPZ4kY86_96aBa-DTcNHrGXNucUNp1UzpY,4303
111
+ bl_ui/generic_ui_list/__init__.pyi,sha256=S-2mXV_eFY1UGkO3gL3V1PIoCuNrSCgH572PiLDF8Bg,4301
112
112
  bl_ui/node_add_menu/__init__.pyi,sha256=lPXeqXuLmc_dFV2GWoxfbqY3DNpetsqkI1f3i7lHY-k,1812
113
113
  bl_ui/node_add_menu_compositor/__init__.pyi,sha256=Hn5-YC2cCeK7hHi5QgR6OKzyxdHl8S3EiDJpqB4mMQo,10559
114
114
  bl_ui/node_add_menu_geometry/__init__.pyi,sha256=fuv_3IdbsrXx4uXgrJLM9lIVEIhNVlDnEXWe5tYbbYg,33084
@@ -141,7 +141,7 @@ bl_ui/properties_material/__init__.pyi,sha256=umksBehoHZj_Jkn6xWX0WQH1sCwyqSpCA9
141
141
  bl_ui/properties_material_gpencil/__init__.pyi,sha256=MPq6SsAQKqz8jJbpcmGK6zF0cbAUKB2rcsG2TIoGDMo,8744
142
142
  bl_ui/properties_object/__init__.pyi,sha256=CzGxZhQxo1rcRb58UdawZd9xAXZ8OcoD_L9xb-jhPF8,15771
143
143
  bl_ui/properties_output/__init__.pyi,sha256=5GXVxRcb0hPK_VmFnkZy_PqohxLlPPBwwDYzhI6UUUk,15439
144
- bl_ui/properties_paint_common/__init__.pyi,sha256=av7mueFF2VWSj4OGRucFAa4YVXBwFaHNdQJoI1EDVIY,8428
144
+ bl_ui/properties_paint_common/__init__.pyi,sha256=ay_2b_CZhG023FMFOr28gIDnHdCj_3yy_P8XvEUDsh4,8510
145
145
  bl_ui/properties_particle/__init__.pyi,sha256=PP0aeNih2eDjO-j5UgyyCmuySLPKPAyKb6wERtdUJUM,44322
146
146
  bl_ui/properties_physics_cloth/__init__.pyi,sha256=1d62dy9gKmAnfiSUO-4EfBYoSMAmmoT3G6dI-WMd0ww,10866
147
147
  bl_ui/properties_physics_common/__init__.pyi,sha256=nwBOYs0jv2XSayR_PYRyDUxO2Lf-4BQh0jCluVBpm6A,1448
@@ -169,7 +169,7 @@ bl_ui/space_nla/__init__.pyi,sha256=qogAgjcs_TFfi4eoTjkVsPi8GkXRA7s4cO9xip2N-Ss,
169
169
  bl_ui/space_node/__init__.pyi,sha256=tLdl7p5j7C08r_07WCOfmyx2-yLYPKF-lweXPJm1GVI,21996
170
170
  bl_ui/space_outliner/__init__.pyi,sha256=1N93UIu-iU2UkqM7tQxeaxob3PRnnUjqY6rKdnT_sAE,8938
171
171
  bl_ui/space_properties/__init__.pyi,sha256=KJdc80dXfvxv5XYmO8CRmheQxff_jLYiS_6zzRG_xwg,2802
172
- bl_ui/space_sequencer/__init__.pyi,sha256=2RHKNOOQ3o7ze3COE8ereDG9wktCIwSKhl_J9huhPnQ,59983
172
+ bl_ui/space_sequencer/__init__.pyi,sha256=RMFIghUfN79m2LoOSL_g2qg_9HWoe0k5n2t-zAl9m8g,60524
173
173
  bl_ui/space_spreadsheet/__init__.pyi,sha256=qoO65GoJn8WObsqXqRzdEq2Zq1AZQEDWVpli-4lXOow,1769
174
174
  bl_ui/space_statusbar/__init__.pyi,sha256=V-oUoxSsgIpi-jzqct_gz2vjFYkIqOffmuI4W7xlsbw,667
175
175
  bl_ui/space_text/__init__.pyi,sha256=k864SRJgY7mgqqsu8KAhNGilMHMgMzjew1aeEHTtiYo,8996
@@ -177,8 +177,8 @@ bl_ui/space_time/__init__.pyi,sha256=8X_nL7ELI6i44TF4T6ONWMvBgpGbqHJV-By_XHBiv10
177
177
  bl_ui/space_toolsystem_common/__init__.pyi,sha256=0wapsLJDJuc7K6B5kjWvB9_dWN5e3_6WNWf_ZEChlmk,3436
178
178
  bl_ui/space_toolsystem_toolbar/__init__.pyi,sha256=1NzcfTRSQBrrTgvP5Ny3GxkCCKay-oKOA-8po5_TYsE,10803
179
179
  bl_ui/space_topbar/__init__.pyi,sha256=9MO703ewWr9Av2UGhd_tTQK8Okq8N3qw2SXOhZodeTk,15642
180
- bl_ui/space_userpref/__init__.pyi,sha256=0KaFatJyPGuZnZTfDwdMwPChmOV492LGjk9oUih0y-0,81646
181
- bl_ui/space_view3d/__init__.pyi,sha256=sBby33ozbCunGLmCtaroL-zOGOzesPuAmQjmhkAOT8U,159488
180
+ bl_ui/space_userpref/__init__.pyi,sha256=AL6A0yOmAtQg3VfFQRUEoeUADyg19JDqPmSUpGCsqS8,81644
181
+ bl_ui/space_view3d/__init__.pyi,sha256=bLVPoGwnsGcBhwAQmsAZ6O3KGKv02Q8HQ49m62KzBhQ,160026
182
182
  bl_ui/space_view3d_toolbar/__init__.pyi,sha256=_4A3FtNYgOPG05oIXOSasqu-n5tXNkisyx-6PehSjHI,64540
183
183
  bl_ui/utils/__init__.pyi,sha256=ljnA9UEJuHjOECvmj0JrqHBYqtd8GGy7IaBhwV_pIns,534
184
184
  bl_ui_utils/__init__.pyi,sha256=6yinHCNictVwPqgqerb5zXorsqM0cqPLmz_r8ms1XeE,89
@@ -192,7 +192,7 @@ bmesh/__init__.pyi,sha256=nhi3aUMSLycSJTzr1Txhjt_NU0y_82NN0NBe8pZYTkE,1541
192
192
  bmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
193
193
  bmesh/geometry/__init__.pyi,sha256=MZzpN0T12x1QweeZUui1LVTrnWyqyBgWsF6tPs1Pe9g,682
194
194
  bmesh/ops/__init__.pyi,sha256=YEPcOajMh_dL5zFoV8hj7rVywdb1oO-rF2mjlqqE3Xs,76307
195
- bmesh/types/__init__.pyi,sha256=OiOz0ufAQcm3t5rD0LpjN_ov32gFWeCIfjVlG5iqdsU,44328
195
+ bmesh/types/__init__.pyi,sha256=al5a-jZjnQovKYc9JmGyLBrCtdt8AYeZvQtA-87CHl4,44304
196
196
  bmesh/utils/__init__.pyi,sha256=N2mRD0u1ipJkw2nokIb-FCL858ikNQrOM_mqJPiCEXY,6285
197
197
  bpy/__init__.pyi,sha256=2c24IZe013Q0UbFSvpU9JKRYusCUwGYTXbNDx17dK5g,490
198
198
  bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -219,7 +219,7 @@ bpy/ops/console/__init__.pyi,sha256=J0C91N5SOZJyqgdsP4cRVsi0VWB4WsicmB7f3o7nBtc,
219
219
  bpy/ops/constraint/__init__.pyi,sha256=xXAGzEua07ldnVtUs1sFkCmSR01qStTdMZ0z4E-IXl0,12048
220
220
  bpy/ops/curve/__init__.pyi,sha256=lSHR_PQ9PxJUcqwJYxvY2gKi_6sgkc05U91bJD--7-0,29421
221
221
  bpy/ops/curves/__init__.pyi,sha256=WhuUjpiSfvNLwrCciPwxCdDzuTumABZmgQhwy9tRuN4,18970
222
- bpy/ops/cycles/__init__.pyi,sha256=ltPk5-40G7apmbFuKiDbeRxCwg3FsKP-Hk3Y5XtwYQ8,1795
222
+ bpy/ops/cycles/__init__.pyi,sha256=qpNWoCctFFwjP7-rYtDl2UakzIcet3-dPtWt1nPI0lg,1783
223
223
  bpy/ops/dpaint/__init__.pyi,sha256=GhrndgrnnljHoo5StXuwo2ulGG8B3yLWx-1bsJiEKCE,1682
224
224
  bpy/ops/ed/__init__.pyi,sha256=wLtlE0feDn7m_M5HetFeyY0ZgsFPlkFW6TSUt1leKjM,7248
225
225
  bpy/ops/export_anim/__init__.pyi,sha256=kNdfqrFTIfZukBZCSarUKL9LJa4T0w99gtn04UL7cCY,2062
@@ -274,7 +274,7 @@ bpy/ops/texture/__init__.pyi,sha256=w1weHfSnhrJmGqpPs2KkjZNH4X8GDy-NFKfPXvy_rwQ,
274
274
  bpy/ops/transform/__init__.pyi,sha256=Xon_BEEVgLXk1u6wbaPg2YSfK4AaN4bPgPS4znfc3Kg,59679
275
275
  bpy/ops/ui/__init__.pyi,sha256=s_AC2AYmdkc3vPCCIeDVrS3zojkNuV8CTIRFjl56voo,13174
276
276
  bpy/ops/uilist/__init__.pyi,sha256=CSwrFuqez9Ia24-_yFa5gAudByRrRqmaQVKrfExyRYc,1669
277
- bpy/ops/uv/__init__.pyi,sha256=nEYY8GyYV4k9X_LkKskrkE0IiucYxG-PwmEqPO2UCMA,49724
277
+ bpy/ops/uv/__init__.pyi,sha256=-HFJUhetMGqVrIwFfL5Mo12wvtDXhcgVWghbET6XW68,50521
278
278
  bpy/ops/view2d/__init__.pyi,sha256=bXpaqKJa4WVVOib1-e_jWpSirho63ignV5z0LPxfLCs,7173
279
279
  bpy/ops/view3d/__init__.pyi,sha256=JET9fsqbX7Yqaf1IYsV2tvT4FwhYMklB_rOnEbG2OK8,31946
280
280
  bpy/ops/wm/__init__.pyi,sha256=1o58PXNIpKFQh_mzlZhgog191pDJB_10KHkBv2DWJtQ,210439
@@ -284,7 +284,7 @@ bpy/path/__init__.pyi,sha256=Phd8a6fB3496L7_LUhdwPNwkh3qy_4O-MS5br9RMfO0,5536
284
284
  bpy/props/__init__.pyi,sha256=_gmJ54eKwSmNZHQyDK1CiQn9fSy_L9K3jfSeX9nhCK4,51038
285
285
  bpy/stub_internal/__init__.pyi,sha256=h3K2LGZ8lcLY-Oo9ym-HEopjGScc4iTfpT1MU_6smTI,126
286
286
  bpy/stub_internal/rna_enums/__init__.pyi,sha256=3Rf86PTxdaPkXJm3c0DewwdrYElayqXNfuh4qIzhMZQ,143521
287
- bpy/types/__init__.pyi,sha256=YE8zEyHE9WcY_4d_rqnHxs1biZ8SNzQF8rpLy8nwzGI,5914273
287
+ bpy/types/__init__.pyi,sha256=rVotmtlFogVdotyYpFvUiX8BLgZ1fAtIoIV08R45mpA,5913528
288
288
  bpy/utils/__init__.pyi,sha256=GGYp2g381aOdE7tWXvRGVbmhijbfgt4wGAtJGgbvyJg,15526
289
289
  bpy/utils/previews/__init__.pyi,sha256=iSZemSCPu1S2BjAQO83Z-FqEo1nGHRCEIEduXB6hQhc,2357
290
290
  bpy/utils/units/__init__.pyi,sha256=cpE9IZPkYPBexru7R9HQ_c0931d7R7Dvib2Uf7V0JJs,2645
@@ -298,7 +298,7 @@ bpy_extras/image_utils/__init__.pyi,sha256=ipjyDTKT1rNz_tp4nJ38mALa1_ZnDEURWHw1m
298
298
  bpy_extras/io_utils/__init__.pyi,sha256=snQWnl6HRl9KsgNQz-bZbjjX08_QKw95Z_6_Ax1v9OU,5534
299
299
  bpy_extras/keyconfig_utils/__init__.pyi,sha256=30atSCQ_wUkCLsOQJNkK4Ehw7tI4nm4O8bdmJHScI0g,410
300
300
  bpy_extras/mesh_utils/__init__.pyi,sha256=QgIaoOkOsjdJblEhN7CNcjchpge89dcFpHGLVLv0KQE,3019
301
- bpy_extras/node_shader_utils/__init__.pyi,sha256=dME51tPlshdP9Smk7Be18UY4hCEk8mCeOWf_AP5eThY,6131
301
+ bpy_extras/node_shader_utils/__init__.pyi,sha256=xsE6hL3eHv4iuBrkGhLSyV_tPi7ge537EnIUXKO_NMY,5951
302
302
  bpy_extras/node_utils/__init__.pyi,sha256=rH-hi_Hyz0akCIKMWYIqIgg17diDFt6ky38sz4zs0os,681
303
303
  bpy_extras/object_utils/__init__.pyi,sha256=RzhapY8FgW7LszWth3YRkwLSjDqhKiKNBVuu4bgiVM4,3379
304
304
  bpy_extras/view3d_utils/__init__.pyi,sha256=hG5V2VDwvCx7VuX_QPV9ctQUct0Fg1J0NtDQto0luuo,3797
@@ -328,7 +328,7 @@ gpu/select/__init__.pyi,sha256=u7L8-mg3F6PD60rvGcJ1CUehZTDaPSGtmXzs1LNKK7g,242
328
328
  gpu/shader/__init__.pyi,sha256=vTyHoiXVvNiPyXwCNy1EEN4TGlzqFjQKfD3ySHBaM7A,2443
329
329
  gpu/state/__init__.pyi,sha256=XC4KxVmSTDPNQP57tfsP5gqDwuhlwjLiVGTedL_KN7U,4487
330
330
  gpu/texture/__init__.pyi,sha256=TzwOXJ7KCVQrBiujMTZ0AWx_IF4yNe2vWmhkkvnHuKg,674
331
- gpu/types/__init__.pyi,sha256=XJvDX4l4Pekl_gG5OzGECBR1yyZam8d_4xFjZFIJwLs,29302
331
+ gpu/types/__init__.pyi,sha256=jibv0AvUnNx5FWs3M57Fz5Upx9mymqHqhehwttK3jUw,29291
332
332
  gpu_extras/__init__.pyi,sha256=XscwC-5DTPC0yc2HB_XMgvX61rT5Qs5RaImqNwR6c40,240
333
333
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
334
334
  gpu_extras/batch/__init__.pyi,sha256=inV4OR_YJrG76oiq-8PZW2dDyx8pzf4jp818hX9alqw,1298
@@ -347,7 +347,7 @@ keyingsets_utils/__init__.pyi,sha256=LYwQPxGFL9s9daviMo2DyVIUmjyNRFT1S9cvMGBZ6to
347
347
  keyingsets_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
348
348
  mathutils/__init__.pyi,sha256=QBvmsVe5brYs9KpGoF1DdHKze2iRn5i3pGapskxYzRU,91364
349
349
  mathutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
350
- mathutils/bvhtree/__init__.pyi,sha256=rjuZMGm2Jxi0bnaU60v18BuJyO2JWdfRdr5Mp0bYUuk,5138
350
+ mathutils/bvhtree/__init__.pyi,sha256=dwPbU667m_oVBEu4aEcWns2sWl8oSNEII-O0GXxwsDA,5118
351
351
  mathutils/geometry/__init__.pyi,sha256=N3LtfyhHPnBim_PgIa5likQdcVxOMDvUC-eTqv70ruY,23817
352
352
  mathutils/interpolate/__init__.pyi,sha256=ndZoeTg3JKLj5Uskd-TU2BmCEAe8k_-MY-jGzzNj0O4,575
353
353
  mathutils/kdtree/__init__.pyi,sha256=99pXd0pG1J4JBPexQBa87d-DAg-3KZ1lmDL3ZLiVA-Q,2309
@@ -364,7 +364,7 @@ rna_prop_ui/__init__.pyi,sha256=Gn7kc9WhI3qPObIz8QiFbjeVIP7GCeF6liywBzIEcnE,1402
364
364
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
365
365
  rna_xml/__init__.pyi,sha256=E0_ajcifhpiiQJVaNKnAa2ju-w5Tg9-lk7IqhsPjrw4,652
366
366
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
367
- fake_bpy_module-20250915.dist-info/METADATA,sha256=HKGrjBmuVJZsw1y5WM_uf1bplZQTCTj86VgVQj-8FPs,7429
368
- fake_bpy_module-20250915.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
369
- fake_bpy_module-20250915.dist-info/top_level.txt,sha256=E_sehFLnpWSq252JjlyGL1A-1xsWTYcqyOIlHfuOh28,515
370
- fake_bpy_module-20250915.dist-info/RECORD,,
367
+ fake_bpy_module-20250917.dist-info/METADATA,sha256=Ty79VqumMPVHo8lOayGMH5la34Frgooe3riGk4fSgvE,7429
368
+ fake_bpy_module-20250917.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
369
+ fake_bpy_module-20250917.dist-info/top_level.txt,sha256=E_sehFLnpWSq252JjlyGL1A-1xsWTYcqyOIlHfuOh28,515
370
+ fake_bpy_module-20250917.dist-info/RECORD,,
gpu/types/__init__.pyi CHANGED
@@ -76,101 +76,6 @@ class GPUBatch:
76
76
  :type buf: GPUVertBuf
77
77
  """
78
78
 
79
- class GPUFrameBuffer:
80
- """This object gives access to framebuffer functionalities.
81
- When a layer is specified in a argument, a single layer of a 3D or array texture is attached to the frame-buffer.
82
- For cube map textures, layer is translated into a cube map face.
83
- """
84
-
85
- is_bound: typing.Any
86
- """ Checks if this is the active frame-buffer in the context."""
87
-
88
- def bind(self) -> None:
89
- """Context manager to ensure balanced bind calls, even in the case of an error."""
90
-
91
- def clear(
92
- self,
93
- *,
94
- color: collections.abc.Sequence[float] | None = None,
95
- depth: float | None = None,
96
- stencil: int | None = None,
97
- ) -> None:
98
- """Fill color, depth and stencil textures with specific value.
99
- Common values: color=(0.0, 0.0, 0.0, 1.0), depth=1.0, stencil=0.
100
-
101
- :param color: Sequence of 3 or 4 floats representing (r, g, b, a).
102
- :type color: collections.abc.Sequence[float] | None
103
- :param depth: depth value.
104
- :type depth: float | None
105
- :param stencil: stencil value.
106
- :type stencil: int | None
107
- """
108
-
109
- def read_color(
110
- self,
111
- x: int,
112
- y,
113
- xsize,
114
- ysize,
115
- channels: int,
116
- slot: int,
117
- format: str,
118
- *,
119
- data: Buffer = data,
120
- ) -> Buffer:
121
- """Read a block of pixels from the frame buffer.
122
-
123
- :param x: Lower left corner of a rectangular block of pixels.
124
- :type x: int
125
- :param y:
126
- :param xsize: Dimensions of the pixel rectangle.
127
- :param ysize:
128
- :param channels: Number of components to read.
129
- :type channels: int
130
- :param slot: The framebuffer slot to read data from.
131
- :type slot: int
132
- :param format: The format that describes the content of a single channel.
133
- Possible values are FLOAT, INT, UINT, UBYTE, UINT_24_8 & 10_11_11_REV.
134
- UINT_24_8 is deprecated, use FLOAT instead.
135
- :type format: str
136
- :param data: Optional Buffer object to fill with the pixels values.
137
- :type data: Buffer
138
- :return: The Buffer with the read pixels.
139
- :rtype: Buffer
140
- """
141
-
142
- def read_depth(
143
- self, x: int, y, xsize: int, ysize, *, data: Buffer = data
144
- ) -> Buffer:
145
- """Read a pixel depth block from the frame buffer.
146
-
147
- :param x: Lower left corner of a rectangular block of pixels.
148
- :type x: int
149
- :param y:
150
- :param xsize: Dimensions of the pixel rectangle.
151
- :type xsize: int
152
- :param ysize:
153
- :param data: Optional Buffer object to fill with the pixels values.
154
- :type data: Buffer
155
- :return: The Buffer with the read pixels.
156
- :rtype: Buffer
157
- """
158
-
159
- def viewport_get(self) -> None:
160
- """Returns position and dimension to current viewport."""
161
-
162
- def viewport_set(self, x: int, y, xsize: int, ysize) -> None:
163
- """Set the viewport for this framebuffer object.
164
- Note: The viewport state is not saved upon framebuffer rebind.
165
-
166
- :param x: lower left corner of the viewport_set rectangle, in pixels.
167
- :type x: int
168
- :param y:
169
- :param xsize: width and height of the viewport_set.
170
- :type xsize: int
171
- :param ysize:
172
- """
173
-
174
79
  class GPUIndexBuf:
175
80
  """Contains an index buffer."""
176
81
 
@@ -1079,3 +984,98 @@ class GPUVertFormat:
1079
984
  Possible values are FLOAT, INT or INT_TO_FLOAT_UNIT.
1080
985
  :type fetch_mode: str
1081
986
  """
987
+
988
+ class gpu:
989
+ """This object gives access to framebuffer functionalities.
990
+ When a layer is specified in a argument, a single layer of a 3D or array texture is attached to the frame-buffer.
991
+ For cube map textures, layer is translated into a cube map face.
992
+ """
993
+
994
+ is_bound: typing.Any
995
+ """ Checks if this is the active frame-buffer in the context."""
996
+
997
+ def bind(self) -> None:
998
+ """Context manager to ensure balanced bind calls, even in the case of an error."""
999
+
1000
+ def clear(
1001
+ self,
1002
+ *,
1003
+ color: collections.abc.Sequence[float] | None = None,
1004
+ depth: float | None = None,
1005
+ stencil: int | None = None,
1006
+ ) -> None:
1007
+ """Fill color, depth and stencil textures with specific value.
1008
+ Common values: color=(0.0, 0.0, 0.0, 1.0), depth=1.0, stencil=0.
1009
+
1010
+ :param color: Sequence of 3 or 4 floats representing (r, g, b, a).
1011
+ :type color: collections.abc.Sequence[float] | None
1012
+ :param depth: depth value.
1013
+ :type depth: float | None
1014
+ :param stencil: stencil value.
1015
+ :type stencil: int | None
1016
+ """
1017
+
1018
+ def read_color(
1019
+ self,
1020
+ x: int,
1021
+ y,
1022
+ xsize,
1023
+ ysize,
1024
+ channels: int,
1025
+ slot: int,
1026
+ format: str,
1027
+ *,
1028
+ data: Buffer = data,
1029
+ ) -> Buffer:
1030
+ """Read a block of pixels from the frame buffer.
1031
+
1032
+ :param x: Lower left corner of a rectangular block of pixels.
1033
+ :type x: int
1034
+ :param y:
1035
+ :param xsize: Dimensions of the pixel rectangle.
1036
+ :param ysize:
1037
+ :param channels: Number of components to read.
1038
+ :type channels: int
1039
+ :param slot: The framebuffer slot to read data from.
1040
+ :type slot: int
1041
+ :param format: The format that describes the content of a single channel.
1042
+ Possible values are FLOAT, INT, UINT, UBYTE, UINT_24_8 & 10_11_11_REV.
1043
+ UINT_24_8 is deprecated, use FLOAT instead.
1044
+ :type format: str
1045
+ :param data: Optional Buffer object to fill with the pixels values.
1046
+ :type data: Buffer
1047
+ :return: The Buffer with the read pixels.
1048
+ :rtype: Buffer
1049
+ """
1050
+
1051
+ def read_depth(
1052
+ self, x: int, y, xsize: int, ysize, *, data: Buffer = data
1053
+ ) -> Buffer:
1054
+ """Read a pixel depth block from the frame buffer.
1055
+
1056
+ :param x: Lower left corner of a rectangular block of pixels.
1057
+ :type x: int
1058
+ :param y:
1059
+ :param xsize: Dimensions of the pixel rectangle.
1060
+ :type xsize: int
1061
+ :param ysize:
1062
+ :param data: Optional Buffer object to fill with the pixels values.
1063
+ :type data: Buffer
1064
+ :return: The Buffer with the read pixels.
1065
+ :rtype: Buffer
1066
+ """
1067
+
1068
+ def viewport_get(self) -> None:
1069
+ """Returns position and dimension to current viewport."""
1070
+
1071
+ def viewport_set(self, x: int, y, xsize: int, ysize) -> None:
1072
+ """Set the viewport for this framebuffer object.
1073
+ Note: The viewport state is not saved upon framebuffer rebind.
1074
+
1075
+ :param x: lower left corner of the viewport_set rectangle, in pixels.
1076
+ :type x: int
1077
+ :param y:
1078
+ :param xsize: width and height of the viewport_set.
1079
+ :type xsize: int
1080
+ :param ysize:
1081
+ """
@@ -7,7 +7,6 @@ import typing
7
7
  import collections.abc
8
8
  import typing_extensions
9
9
  import numpy.typing as npt
10
- import _bpy_types
11
10
  import bmesh.types
12
11
  import bpy.types
13
12
  import mathutils
@@ -26,7 +25,7 @@ class BVHTree:
26
25
  @classmethod
27
26
  def FromObject(
28
27
  cls,
29
- object: _bpy_types.Object,
28
+ object: bpy.types.Object,
30
29
  depsgraph: bpy.types.Depsgraph,
31
30
  *,
32
31
  deform: bool = True,
@@ -37,7 +36,7 @@ class BVHTree:
37
36
  """BVH tree based on `Object` data.
38
37
 
39
38
  :param object: Object data.
40
- :type object: _bpy_types.Object
39
+ :type object: bpy.types.Object
41
40
  :param depsgraph: Depsgraph to use for evaluating the mesh.
42
41
  :type depsgraph: bpy.types.Depsgraph
43
42
  :param deform: Use mesh with deformations.