fake-bpy-module 20250916__py3-none-any.whl → 20250918__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.
- bl_ui/generic_ui_list/__init__.pyi +2 -2
- bl_ui/space_sequencer/__init__.pyi +25 -0
- bl_ui/space_view3d/__init__.pyi +25 -0
- bmesh/types/__init__.pyi +6 -7
- bpy/types/__init__.pyi +5 -1
- {fake_bpy_module-20250916.dist-info → fake_bpy_module-20250918.dist-info}/METADATA +1 -1
- {fake_bpy_module-20250916.dist-info → fake_bpy_module-20250918.dist-info}/RECORD +11 -11
- gpu/types/__init__.pyi +95 -95
- mathutils/bvhtree/__init__.pyi +2 -3
- {fake_bpy_module-20250916.dist-info → fake_bpy_module-20250918.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20250916.dist-info → fake_bpy_module-20250918.dist-info}/top_level.txt +0 -0
|
@@ -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:
|
|
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:
|
|
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.
|
|
@@ -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
|
):
|
bl_ui/space_view3d/__init__.pyi
CHANGED
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
1679
|
+
:type mesh: bpy.types.Mesh
|
|
1681
1680
|
"""
|
|
1682
1681
|
|
|
1683
1682
|
def transform(
|
bpy/types/__init__.pyi
CHANGED
|
@@ -127722,7 +127722,7 @@ class AssetShelf(bpy_struct):
|
|
|
127722
127722
|
""" Options for this asset shelf type"""
|
|
127723
127723
|
|
|
127724
127724
|
bl_space_type: bpy.stub_internal.rna_enums.SpaceTypeItems
|
|
127725
|
-
""" The space where the asset shelf
|
|
127725
|
+
""" The space where the asset shelf will show up in. Ignored for popup asset shelves which can be displayed in any space.
|
|
127726
127726
|
|
|
127727
127727
|
:type: bpy.stub_internal.rna_enums.SpaceTypeItems
|
|
127728
127728
|
"""
|
|
@@ -263275,6 +263275,8 @@ SEQUENCER_MT_view: bl_ui.space_sequencer.SEQUENCER_MT_view
|
|
|
263275
263275
|
|
|
263276
263276
|
SEQUENCER_MT_view_pie: bl_ui.space_sequencer.SEQUENCER_MT_view_pie
|
|
263277
263277
|
|
|
263278
|
+
SEQUENCER_MT_view_render: bl_ui.space_sequencer.SEQUENCER_MT_view_render
|
|
263279
|
+
|
|
263278
263280
|
SEQUENCER_PT_active_tool: bl_ui.space_sequencer.SEQUENCER_PT_active_tool
|
|
263279
263281
|
|
|
263280
263282
|
SEQUENCER_PT_adjust_color: bl_ui.space_sequencer.SEQUENCER_PT_adjust_color
|
|
@@ -264131,6 +264133,8 @@ VIEW3D_MT_view_pie: bl_ui.space_view3d.VIEW3D_MT_view_pie
|
|
|
264131
264133
|
|
|
264132
264134
|
VIEW3D_MT_view_regions: bl_ui.space_view3d.VIEW3D_MT_view_regions
|
|
264133
264135
|
|
|
264136
|
+
VIEW3D_MT_view_render: bl_ui.space_view3d.VIEW3D_MT_view_render
|
|
264137
|
+
|
|
264134
264138
|
VIEW3D_MT_view_viewpoint: bl_ui.space_view3d.VIEW3D_MT_view_viewpoint
|
|
264135
264139
|
|
|
264136
264140
|
VIEW3D_MT_volume_add: bl_ui.space_view3d.VIEW3D_MT_volume_add
|
|
@@ -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=
|
|
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
|
|
@@ -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=
|
|
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
|
|
@@ -178,7 +178,7 @@ bl_ui/space_toolsystem_common/__init__.pyi,sha256=0wapsLJDJuc7K6B5kjWvB9_dWN5e3_
|
|
|
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
180
|
bl_ui/space_userpref/__init__.pyi,sha256=AL6A0yOmAtQg3VfFQRUEoeUADyg19JDqPmSUpGCsqS8,81644
|
|
181
|
-
bl_ui/space_view3d/__init__.pyi,sha256=
|
|
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=
|
|
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
|
|
@@ -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=
|
|
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
|
|
@@ -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=
|
|
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=
|
|
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-
|
|
368
|
-
fake_bpy_module-
|
|
369
|
-
fake_bpy_module-
|
|
370
|
-
fake_bpy_module-
|
|
367
|
+
fake_bpy_module-20250918.dist-info/METADATA,sha256=fOIqza9oQ2JzUXmTXGRVMEkgYbKdbKP7Q7OShS2_Nb0,7429
|
|
368
|
+
fake_bpy_module-20250918.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
369
|
+
fake_bpy_module-20250918.dist-info/top_level.txt,sha256=E_sehFLnpWSq252JjlyGL1A-1xsWTYcqyOIlHfuOh28,515
|
|
370
|
+
fake_bpy_module-20250918.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
|
+
"""
|
mathutils/bvhtree/__init__.pyi
CHANGED
|
@@ -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:
|
|
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:
|
|
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.
|
|
File without changes
|
|
File without changes
|