fake-bpy-module-latest 20260113__py3-none-any.whl → 20260114__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.
Files changed (251) hide show
  1. _bl_console_utils/autocomplete/complete_calltip/__init__.pyi +0 -13
  2. _bl_console_utils/autocomplete/complete_import/__init__.pyi +0 -5
  3. _bl_console_utils/autocomplete/complete_namespace/__init__.pyi +0 -11
  4. _bl_console_utils/autocomplete/intellisense/__init__.pyi +0 -10
  5. _bpy_types/__init__.pyi +1 -122
  6. _rna_info/__init__.pyi +0 -1
  7. addon_utils/__init__.pyi +0 -13
  8. aud/__init__.pyi +0 -146
  9. bl_math/__init__.pyi +0 -12
  10. bl_operators/add_mesh_torus/__init__.pyi +0 -2
  11. bl_operators/anim/__init__.pyi +0 -26
  12. bl_operators/assets/__init__.pyi +0 -6
  13. bl_operators/bone_selection_sets/__init__.pyi +0 -28
  14. bl_operators/clip/__init__.pyi +0 -20
  15. bl_operators/connect_to_output/__init__.pyi +0 -2
  16. bl_operators/console/__init__.pyi +0 -10
  17. bl_operators/constraint/__init__.pyi +0 -8
  18. bl_operators/copy_global_transform/__init__.pyi +0 -10
  19. bl_operators/file/__init__.pyi +0 -6
  20. bl_operators/freestyle/__init__.pyi +0 -8
  21. bl_operators/geometry_nodes/__init__.pyi +0 -8
  22. bl_operators/grease_pencil/__init__.pyi +0 -2
  23. bl_operators/image/__init__.pyi +0 -10
  24. bl_operators/image_as_planes/__init__.pyi +0 -4
  25. bl_operators/mesh/__init__.pyi +0 -4
  26. bl_operators/node/__init__.pyi +0 -44
  27. bl_operators/object/__init__.pyi +0 -30
  28. bl_operators/object_align/__init__.pyi +0 -2
  29. bl_operators/object_quick_effects/__init__.pyi +0 -8
  30. bl_operators/object_randomize_transform/__init__.pyi +0 -2
  31. bl_operators/presets/__init__.pyi +0 -50
  32. bl_operators/rigidbody/__init__.pyi +0 -6
  33. bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
  34. bl_operators/sequencer/__init__.pyi +0 -16
  35. bl_operators/spreadsheet/__init__.pyi +0 -2
  36. bl_operators/userpref/__init__.pyi +0 -50
  37. bl_operators/uvcalc_follow_active/__init__.pyi +0 -2
  38. bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
  39. bl_operators/uvcalc_transform/__init__.pyi +0 -4
  40. bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
  41. bl_operators/view3d/__init__.pyi +0 -16
  42. bl_operators/wm/__init__.pyi +0 -92
  43. bl_operators/world/__init__.pyi +0 -2
  44. bl_ui/__init__.pyi +0 -4
  45. bl_ui/anim/__init__.pyi +0 -2
  46. bl_ui/asset_shelf/__init__.pyi +0 -2
  47. bl_ui/generic_ui_list/__init__.pyi +1 -17
  48. bl_ui/node_add_menu/__init__.pyi +0 -10
  49. bl_ui/node_add_menu_compositor/__init__.pyi +0 -38
  50. bl_ui/node_add_menu_geometry/__init__.pyi +0 -112
  51. bl_ui/node_add_menu_shader/__init__.pyi +0 -20
  52. bl_ui/node_add_menu_texture/__init__.pyi +0 -16
  53. bl_ui/properties_collection/__init__.pyi +0 -14
  54. bl_ui/properties_constraint/__init__.pyi +0 -154
  55. bl_ui/properties_data_armature/__init__.pyi +0 -36
  56. bl_ui/properties_data_bone/__init__.pyi +0 -20
  57. bl_ui/properties_data_camera/__init__.pyi +0 -30
  58. bl_ui/properties_data_curve/__init__.pyi +0 -30
  59. bl_ui/properties_data_curves/__init__.pyi +0 -16
  60. bl_ui/properties_data_empty/__init__.pyi +0 -4
  61. bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
  62. bl_ui/properties_data_lattice/__init__.pyi +0 -8
  63. bl_ui/properties_data_light/__init__.pyi +0 -20
  64. bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
  65. bl_ui/properties_data_mesh/__init__.pyi +0 -42
  66. bl_ui/properties_data_metaball/__init__.pyi +0 -12
  67. bl_ui/properties_data_modifier/__init__.pyi +0 -18
  68. bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
  69. bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
  70. bl_ui/properties_data_speaker/__init__.pyi +0 -12
  71. bl_ui/properties_data_volume/__init__.pyi +0 -18
  72. bl_ui/properties_freestyle/__init__.pyi +0 -50
  73. bl_ui/properties_grease_pencil_common/__init__.pyi +0 -14
  74. bl_ui/properties_mask_common/__init__.pyi +0 -14
  75. bl_ui/properties_material/__init__.pyi +0 -32
  76. bl_ui/properties_material_gpencil/__init__.pyi +0 -22
  77. bl_ui/properties_object/__init__.pyi +0 -44
  78. bl_ui/properties_output/__init__.pyi +0 -40
  79. bl_ui/properties_paint_common/__init__.pyi +0 -4
  80. bl_ui/properties_particle/__init__.pyi +0 -106
  81. bl_ui/properties_physics_cloth/__init__.pyi +0 -28
  82. bl_ui/properties_physics_common/__init__.pyi +0 -2
  83. bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
  84. bl_ui/properties_physics_field/__init__.pyi +0 -20
  85. bl_ui/properties_physics_fluid/__init__.pyi +0 -56
  86. bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
  87. bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
  88. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
  89. bl_ui/properties_physics_softbody/__init__.pyi +0 -30
  90. bl_ui/properties_render/__init__.pyi +0 -90
  91. bl_ui/properties_scene/__init__.pyi +0 -34
  92. bl_ui/properties_strip/__init__.pyi +0 -42
  93. bl_ui/properties_strip_modifier/__init__.pyi +0 -2
  94. bl_ui/properties_texture/__init__.pyi +0 -54
  95. bl_ui/properties_view_layer/__init__.pyi +0 -28
  96. bl_ui/properties_workspace/__init__.pyi +0 -8
  97. bl_ui/properties_world/__init__.pyi +0 -22
  98. bl_ui/space_clip/__init__.pyi +0 -150
  99. bl_ui/space_console/__init__.pyi +0 -12
  100. bl_ui/space_dopesheet/__init__.pyi +0 -64
  101. bl_ui/space_filebrowser/__init__.pyi +0 -60
  102. bl_ui/space_graph/__init__.pyi +0 -44
  103. bl_ui/space_image/__init__.pyi +0 -142
  104. bl_ui/space_info/__init__.pyi +0 -12
  105. bl_ui/space_nla/__init__.pyi +0 -36
  106. bl_ui/space_node/__init__.pyi +0 -66
  107. bl_ui/space_outliner/__init__.pyi +0 -30
  108. bl_ui/space_properties/__init__.pyi +0 -8
  109. bl_ui/space_sequencer/__init__.pyi +0 -136
  110. bl_ui/space_spreadsheet/__init__.pyi +0 -6
  111. bl_ui/space_statusbar/__init__.pyi +0 -2
  112. bl_ui/space_text/__init__.pyi +0 -32
  113. bl_ui/space_time/__init__.pyi +0 -12
  114. bl_ui/space_topbar/__init__.pyi +0 -52
  115. bl_ui/space_userpref/__init__.pyi +0 -186
  116. bl_ui/space_view3d/__init__.pyi +0 -536
  117. bl_ui/space_view3d_sidebar/__init__.pyi +0 -8
  118. bl_ui/space_view3d_toolbar/__init__.pyi +0 -162
  119. blf/__init__.pyi +0 -47
  120. bmesh/__init__.pyi +0 -7
  121. bmesh/geometry/__init__.pyi +0 -3
  122. bmesh/ops/__init__.pyi +0 -451
  123. bmesh/types/__init__.pyi +65 -427
  124. bmesh/utils/__init__.pyi +0 -44
  125. bpy/app/__init__.pyi +0 -5
  126. bpy/app/icons/__init__.pyi +0 -6
  127. bpy/app/timers/__init__.pyi +0 -6
  128. bpy/app/translations/__init__.pyi +0 -15
  129. bpy/msgbus/__init__.pyi +1 -4
  130. bpy/ops/action/__init__.pyi +15 -165
  131. bpy/ops/anim/__init__.pyi +27 -274
  132. bpy/ops/armature/__init__.pyi +17 -191
  133. bpy/ops/asset/__init__.pyi +11 -97
  134. bpy/ops/boid/__init__.pyi +7 -38
  135. bpy/ops/brush/__init__.pyi +3 -72
  136. bpy/ops/buttons/__init__.pyi +4 -71
  137. bpy/ops/cachefile/__init__.pyi +2 -63
  138. bpy/ops/camera/__init__.pyi +0 -11
  139. bpy/ops/clip/__init__.pyi +43 -427
  140. bpy/ops/cloth/__init__.pyi +0 -5
  141. bpy/ops/collection/__init__.pyi +2 -34
  142. bpy/ops/console/__init__.pyi +10 -88
  143. bpy/ops/constraint/__init__.pyi +3 -80
  144. bpy/ops/curve/__init__.pyi +23 -254
  145. bpy/ops/curves/__init__.pyi +15 -164
  146. bpy/ops/cycles/__init__.pyi +1 -14
  147. bpy/ops/dpaint/__init__.pyi +3 -21
  148. bpy/ops/ed/__init__.pyi +10 -82
  149. bpy/ops/export_anim/__init__.pyi +0 -11
  150. bpy/ops/export_scene/__init__.pyi +0 -154
  151. bpy/ops/extensions/__init__.pyi +15 -150
  152. bpy/ops/file/__init__.pyi +27 -217
  153. bpy/ops/fluid/__init__.pyi +13 -70
  154. bpy/ops/font/__init__.pyi +10 -134
  155. bpy/ops/geometry/__init__.pyi +3 -41
  156. bpy/ops/gizmogroup/__init__.pyi +1 -12
  157. bpy/ops/gpencil/__init__.pyi +5 -38
  158. bpy/ops/graph/__init__.pyi +18 -316
  159. bpy/ops/grease_pencil/__init__.pyi +27 -522
  160. bpy/ops/image/__init__.pyi +19 -379
  161. bpy/ops/import_anim/__init__.pyi +0 -14
  162. bpy/ops/import_curve/__init__.pyi +0 -6
  163. bpy/ops/import_scene/__init__.pyi +0 -50
  164. bpy/ops/info/__init__.pyi +4 -35
  165. bpy/ops/lattice/__init__.pyi +3 -33
  166. bpy/ops/marker/__init__.pyi +2 -50
  167. bpy/ops/mask/__init__.pyi +17 -176
  168. bpy/ops/material/__init__.pyi +3 -15
  169. bpy/ops/mball/__init__.pyi +1 -30
  170. bpy/ops/mesh/__init__.pyi +30 -913
  171. bpy/ops/nla/__init__.pyi +19 -183
  172. bpy/ops/node/__init__.pyi +53 -745
  173. bpy/ops/object/__init__.pyi +75 -1285
  174. bpy/ops/outliner/__init__.pyi +47 -327
  175. bpy/ops/paint/__init__.pyi +14 -279
  176. bpy/ops/paintcurve/__init__.pyi +4 -36
  177. bpy/ops/palette/__init__.pyi +3 -27
  178. bpy/ops/particle/__init__.pyi +20 -160
  179. bpy/ops/pointcloud/__init__.pyi +3 -35
  180. bpy/ops/pose/__init__.pyi +25 -230
  181. bpy/ops/poselib/__init__.pyi +4 -47
  182. bpy/ops/preferences/__init__.pyi +9 -177
  183. bpy/ops/ptcache/__init__.pyi +5 -31
  184. bpy/ops/render/__init__.pyi +3 -70
  185. bpy/ops/rigidbody/__init__.pyi +6 -56
  186. bpy/ops/scene/__init__.pyi +22 -167
  187. bpy/ops/screen/__init__.pyi +19 -214
  188. bpy/ops/script/__init__.pyi +1 -12
  189. bpy/ops/sculpt/__init__.pyi +7 -271
  190. bpy/ops/sculpt_curves/__init__.pyi +1 -20
  191. bpy/ops/sequencer/__init__.pyi +36 -672
  192. bpy/ops/sound/__init__.pyi +3 -109
  193. bpy/ops/spreadsheet/__init__.pyi +5 -32
  194. bpy/ops/surface/__init__.pyi +0 -48
  195. bpy/ops/text/__init__.pyi +25 -226
  196. bpy/ops/text_editor/__init__.pyi +0 -5
  197. bpy/ops/texture/__init__.pyi +3 -18
  198. bpy/ops/transform/__init__.pyi +2 -381
  199. bpy/ops/ui/__init__.pyi +21 -158
  200. bpy/ops/uilist/__init__.pyi +0 -13
  201. bpy/ops/uv/__init__.pyi +9 -316
  202. bpy/ops/view2d/__init__.pyi +3 -73
  203. bpy/ops/view3d/__init__.pyi +37 -339
  204. bpy/ops/wm/__init__.pyi +25 -1308
  205. bpy/ops/workspace/__init__.pyi +7 -39
  206. bpy/ops/world/__init__.pyi +2 -10
  207. bpy/path/__init__.pyi +0 -34
  208. bpy/props/__init__.pyi +12 -148
  209. bpy/types/__init__.pyi +9867 -55713
  210. bpy/utils/__init__.pyi +2 -73
  211. bpy/utils/previews/__init__.pyi +0 -9
  212. bpy/utils/units/__init__.pyi +0 -12
  213. bpy_extras/anim_utils/__init__.pyi +0 -8
  214. bpy_extras/bmesh_utils/__init__.pyi +0 -1
  215. bpy_extras/id_map_utils/__init__.pyi +4 -5
  216. bpy_extras/image_utils/__init__.pyi +0 -9
  217. bpy_extras/io_utils/__init__.pyi +2 -22
  218. bpy_extras/mesh_utils/__init__.pyi +0 -12
  219. bpy_extras/object_utils/__init__.pyi +0 -14
  220. bpy_extras/view3d_utils/__init__.pyi +0 -18
  221. {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/METADATA +2 -1
  222. fake_bpy_module_latest-20260114.dist-info/RECORD +382 -0
  223. freestyle/chainingiterators/__init__.pyi +0 -22
  224. freestyle/functions/__init__.pyi +0 -139
  225. freestyle/predicates/__init__.pyi +0 -51
  226. freestyle/shaders/__init__.pyi +0 -65
  227. freestyle/types/__init__.pyi +139 -777
  228. freestyle/utils/ContextFunctions/__init__.pyi +0 -23
  229. freestyle/utils/__init__.pyi +0 -6
  230. gpu/capabilities/__init__.pyi +0 -21
  231. gpu/matrix/__init__.pyi +0 -9
  232. gpu/platform/__init__.pyi +0 -5
  233. gpu/shader/__init__.pyi +0 -5
  234. gpu/state/__init__.pyi +0 -29
  235. gpu/texture/__init__.pyi +0 -2
  236. gpu/types/__init__.pyi +10 -149
  237. gpu_extras/batch/__init__.pyi +0 -4
  238. gpu_extras/presets/__init__.pyi +0 -9
  239. idprop/types/__init__.pyi +0 -4
  240. imbuf/__init__.pyi +0 -7
  241. imbuf/types/__init__.pyi +5 -25
  242. keyingsets_builtins/__init__.pyi +0 -44
  243. mathutils/__init__.pyi +46 -2160
  244. mathutils/bvhtree/__init__.pyi +1 -24
  245. mathutils/geometry/__init__.pyi +0 -129
  246. mathutils/interpolate/__init__.pyi +0 -3
  247. mathutils/kdtree/__init__.pyi +0 -11
  248. mathutils/noise/__init__.pyi +0 -62
  249. fake_bpy_module_latest-20260113.dist-info/RECORD +0 -382
  250. {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/WHEEL +0 -0
  251. {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/top_level.txt +0 -0
@@ -13,35 +13,30 @@ def get_border() -> tuple[int, int, int, int]:
13
13
  """Returns the border.
14
14
 
15
15
  :return: A tuple of 4 numbers (xmin, ymin, xmax, ymax).
16
- :rtype: tuple[int, int, int, int]
17
16
  """
18
17
 
19
18
  def get_canvas_height() -> int:
20
19
  """Returns the canvas height.
21
20
 
22
21
  :return: The canvas height.
23
- :rtype: int
24
22
  """
25
23
 
26
24
  def get_canvas_width() -> int:
27
25
  """Returns the canvas width.
28
26
 
29
27
  :return: The canvas width.
30
- :rtype: int
31
28
  """
32
29
 
33
30
  def get_selected_fedge() -> freestyle.types.FEdge:
34
31
  """Returns the selected FEdge.
35
32
 
36
33
  :return: The selected FEdge.
37
- :rtype: freestyle.types.FEdge
38
34
  """
39
35
 
40
36
  def get_time_stamp() -> int:
41
37
  """Returns the system time stamp.
42
38
 
43
39
  :return: The system time stamp.
44
- :rtype: int
45
40
  """
46
41
 
47
42
  def load_map(
@@ -50,15 +45,11 @@ def load_map(
50
45
  """Loads an image map for further reading.
51
46
 
52
47
  :param file_name: The name of the image file.
53
- :type file_name: str
54
48
  :param map_name: The name that will be used to access this image.
55
- :type map_name: str
56
49
  :param num_levels: The number of levels in the map pyramid
57
50
  (default = 4). If num_levels == 0, the complete pyramid is
58
51
  built.
59
- :type num_levels: int
60
52
  :param sigma: The sigma value of the gaussian function.
61
- :type sigma: float
62
53
  """
63
54
 
64
55
  def read_complete_view_map_pixel(level: int, x: int, y: int) -> float:
@@ -66,15 +57,11 @@ def read_complete_view_map_pixel(level: int, x: int, y: int) -> float:
66
57
 
67
58
  :param level: The level of the pyramid in which we wish to read the
68
59
  pixel.
69
- :type level: int
70
60
  :param x: The x coordinate of the pixel we wish to read. The origin
71
61
  is in the lower-left corner.
72
- :type x: int
73
62
  :param y: The y coordinate of the pixel we wish to read. The origin
74
63
  is in the lower-left corner.
75
- :type y: int
76
64
  :return: The floating-point value stored for that pixel.
77
- :rtype: float
78
65
  """
79
66
 
80
67
  def read_directional_view_map_pixel(
@@ -84,34 +71,24 @@ def read_directional_view_map_pixel(
84
71
 
85
72
  :param orientation: The number telling which orientation we want to
86
73
  check.
87
- :type orientation: int
88
74
  :param level: The level of the pyramid in which we wish to read the
89
75
  pixel.
90
- :type level: int
91
76
  :param x: The x coordinate of the pixel we wish to read. The origin
92
77
  is in the lower-left corner.
93
- :type x: int
94
78
  :param y: The y coordinate of the pixel we wish to read. The origin
95
79
  is in the lower-left corner.
96
- :type y: int
97
80
  :return: The floating-point value stored for that pixel.
98
- :rtype: float
99
81
  """
100
82
 
101
83
  def read_map_pixel(map_name: str, level: int, x: int, y: int) -> float:
102
84
  """Reads a pixel in a user-defined map.
103
85
 
104
86
  :param map_name: The name of the map.
105
- :type map_name: str
106
87
  :param level: The level of the pyramid in which we wish to read the
107
88
  pixel.
108
- :type level: int
109
89
  :param x: The x coordinate of the pixel we wish to read. The origin
110
90
  is in the lower-left corner.
111
- :type x: int
112
91
  :param y: The y coordinate of the pixel we wish to read. The origin
113
92
  is in the lower-left corner.
114
- :type y: int
115
93
  :return: The floating-point value stored for that pixel.
116
- :rtype: float
117
94
  """
@@ -51,7 +51,6 @@ def getCurrentScene() -> bpy.types.Scene:
51
51
  """Returns the current scene.
52
52
 
53
53
  :return: The current scene.
54
- :rtype: bpy.types.Scene
55
54
  """
56
55
 
57
56
  def get_chain_length(ve, orientation) -> None:
@@ -77,22 +76,17 @@ def integrate(
77
76
 
78
77
  :param func: The UnaryFunction0D used to compute a value at each
79
78
  Interface0D.
80
- :type func: freestyle.types.UnaryFunction0D
81
79
  :param it: The Interface0DIterator used to iterate over the 0D
82
80
  elements of this 1D element. The integration will occur over
83
81
  the 0D elements starting from the one pointed by it.
84
- :type it: freestyle.types.Interface0DIterator
85
82
  :param it_end: The Interface0DIterator pointing the end of the 0D
86
83
  elements of the 1D element.
87
- :type it_end: freestyle.types.Interface0DIterator
88
84
  :param integration_type: The integration method used to compute a
89
85
  single value from a set of values.
90
- :type integration_type: freestyle.types.IntegrationType
91
86
  :return: The single value obtained for the 1D element. The return
92
87
  value type is float if func is of the `UnaryFunction0DDouble`
93
88
  or `UnaryFunction0DFloat` type, and int if func is of the
94
89
  `UnaryFunction0DUnsigned` type.
95
- :rtype: float
96
90
  """
97
91
 
98
92
  def is_poly_clockwise(stroke) -> None:
@@ -12,56 +12,48 @@ def compute_shader_support_get() -> bool:
12
12
  """Are compute shaders supported.
13
13
 
14
14
  :return: True when supported, False when not supported.
15
- :rtype: bool
16
15
  """
17
16
 
18
17
  def extensions_get() -> tuple[str]:
19
18
  """Get supported extensions in the current context.
20
19
 
21
20
  :return: Extensions.
22
- :rtype: tuple[str]
23
21
  """
24
22
 
25
23
  def hdr_support_get() -> bool:
26
24
  """Return whether GPU backend supports High Dynamic range for viewport.
27
25
 
28
26
  :return: HDR support available.
29
- :rtype: bool
30
27
  """
31
28
 
32
29
  def max_batch_indices_get() -> int:
33
30
  """Get maximum number of vertex array indices.
34
31
 
35
32
  :return: Number of indices.
36
- :rtype: int
37
33
  """
38
34
 
39
35
  def max_batch_vertices_get() -> int:
40
36
  """Get maximum number of vertex array vertices.
41
37
 
42
38
  :return: Number of vertices.
43
- :rtype: int
44
39
  """
45
40
 
46
41
  def max_images_get() -> int:
47
42
  """Get maximum supported number of image units.
48
43
 
49
44
  :return: Number of image units.
50
- :rtype: int
51
45
  """
52
46
 
53
47
  def max_texture_layers_get() -> int:
54
48
  """Get maximum number of layers in texture.
55
49
 
56
50
  :return: Number of layers.
57
- :rtype: int
58
51
  """
59
52
 
60
53
  def max_texture_size_get() -> int:
61
54
  """Get estimated maximum texture size to be able to handle.
62
55
 
63
56
  :return: Texture size.
64
- :rtype: int
65
57
  """
66
58
 
67
59
  def max_textures_frag_get() -> int:
@@ -69,7 +61,6 @@ def max_textures_frag_get() -> int:
69
61
  accessing texture maps from the fragment shader.
70
62
 
71
63
  :return: Texture image units.
72
- :rtype: int
73
64
  """
74
65
 
75
66
  def max_textures_geom_get() -> int:
@@ -77,7 +68,6 @@ def max_textures_geom_get() -> int:
77
68
  accessing texture maps from the geometry shader.
78
69
 
79
70
  :return: Texture image units.
80
- :rtype: int
81
71
  """
82
72
 
83
73
  def max_textures_get() -> int:
@@ -86,7 +76,6 @@ def max_textures_get() -> int:
86
76
  fragment processor.
87
77
 
88
78
  :return: Texture image units.
89
- :rtype: int
90
79
  """
91
80
 
92
81
  def max_textures_vert_get() -> int:
@@ -94,7 +83,6 @@ def max_textures_vert_get() -> int:
94
83
  accessing texture maps from the vertex shader.
95
84
 
96
85
  :return: Texture image units.
97
- :rtype: int
98
86
  """
99
87
 
100
88
  def max_uniforms_frag_get() -> int:
@@ -102,7 +90,6 @@ def max_uniforms_frag_get() -> int:
102
90
  storage for a fragment shader.
103
91
 
104
92
  :return: Number of values.
105
- :rtype: int
106
93
  """
107
94
 
108
95
  def max_uniforms_vert_get() -> int:
@@ -110,7 +97,6 @@ def max_uniforms_vert_get() -> int:
110
97
  storage for a vertex shader.
111
98
 
112
99
  :return: Number of values.
113
- :rtype: int
114
100
  """
115
101
 
116
102
  def max_varying_floats_get() -> int:
@@ -118,7 +104,6 @@ def max_varying_floats_get() -> int:
118
104
  vertex and fragment shaders.
119
105
 
120
106
  :return: Number of variables.
121
- :rtype: int
122
107
  """
123
108
 
124
109
  def max_vertex_attribs_get() -> int:
@@ -126,30 +111,24 @@ def max_vertex_attribs_get() -> int:
126
111
  a vertex shader.
127
112
 
128
113
  :return: Number of attributes.
129
- :rtype: int
130
114
  """
131
115
 
132
116
  def max_work_group_count_get(index: int) -> int:
133
117
  """Get maximum number of work groups that may be dispatched to a compute shader.
134
118
 
135
119
  :param index: Index of the dimension.
136
- :type index: int
137
120
  :return: Maximum number of work groups for the queried dimension.
138
- :rtype: int
139
121
  """
140
122
 
141
123
  def max_work_group_size_get(index: int) -> int:
142
124
  """Get maximum size of a work group that may be dispatched to a compute shader.
143
125
 
144
126
  :param index: Index of the dimension.
145
- :type index: int
146
127
  :return: Maximum size of a work group for the queried dimension.
147
- :rtype: int
148
128
  """
149
129
 
150
130
  def shader_image_load_store_support_get() -> bool:
151
131
  """Is image load/store supported.
152
132
 
153
133
  :return: True when supported, False when not supported.
154
- :rtype: bool
155
134
  """
gpu/matrix/__init__.pyi CHANGED
@@ -13,21 +13,18 @@ def get_model_view_matrix() -> mathutils.Matrix:
13
13
  """Return a copy of the model-view matrix.
14
14
 
15
15
  :return: A 4x4 view matrix.
16
- :rtype: mathutils.Matrix
17
16
  """
18
17
 
19
18
  def get_normal_matrix() -> mathutils.Matrix:
20
19
  """Return a copy of the normal matrix.
21
20
 
22
21
  :return: A 3x3 normal matrix.
23
- :rtype: mathutils.Matrix
24
22
  """
25
23
 
26
24
  def get_projection_matrix() -> mathutils.Matrix:
27
25
  """Return a copy of the projection matrix.
28
26
 
29
27
  :return: A 4x4 projection matrix.
30
- :rtype: mathutils.Matrix
31
28
  """
32
29
 
33
30
  def load_identity() -> None:
@@ -40,7 +37,6 @@ def load_matrix(
40
37
  """Load a matrix into the stack.
41
38
 
42
39
  :param matrix: A 4x4 matrix.
43
- :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
44
40
  """
45
41
 
46
42
  def load_projection_matrix(
@@ -50,7 +46,6 @@ def load_projection_matrix(
50
46
  """Load a projection matrix into the stack.
51
47
 
52
48
  :param matrix: A 4x4 matrix.
53
- :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
54
49
  """
55
50
 
56
51
  def multiply_matrix(
@@ -60,7 +55,6 @@ def multiply_matrix(
60
55
  """Multiply the current stack matrix.
61
56
 
62
57
  :param matrix: A 4x4 matrix.
63
- :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
64
58
  """
65
59
 
66
60
  def pop() -> None:
@@ -88,19 +82,16 @@ def scale(scale: collections.abc.Sequence[float]) -> None:
88
82
  """Scale the current stack matrix.
89
83
 
90
84
  :param scale: Scale the current stack matrix with 2 or 3 floats.
91
- :type scale: collections.abc.Sequence[float]
92
85
  """
93
86
 
94
87
  def scale_uniform(scale: float) -> None:
95
88
  """
96
89
 
97
90
  :param scale: Scale the current stack matrix.
98
- :type scale: float
99
91
  """
100
92
 
101
93
  def translate(offset: collections.abc.Sequence[float]) -> None:
102
94
  """Translate the current stack matrix.
103
95
 
104
96
  :param offset: Translate the current stack matrix with 2 or 3 floats.
105
- :type offset: collections.abc.Sequence[float]
106
97
  """
gpu/platform/__init__.pyi CHANGED
@@ -12,33 +12,28 @@ def backend_type_get() -> str:
12
12
  """Get actuve GPU backend.
13
13
 
14
14
  :return: Backend type (OPENGL, VULKAN, METAL, NONE, UNKNOWN).
15
- :rtype: str
16
15
  """
17
16
 
18
17
  def device_type_get() -> str:
19
18
  """Get GPU device type.
20
19
 
21
20
  :return: Device type (APPLE, NVIDIA, AMD, INTEL, SOFTWARE, QUALCOMM, UNKNOWN).
22
- :rtype: str
23
21
  """
24
22
 
25
23
  def renderer_get() -> str:
26
24
  """Get GPU to be used for rendering.
27
25
 
28
26
  :return: GPU name.
29
- :rtype: str
30
27
  """
31
28
 
32
29
  def vendor_get() -> str:
33
30
  """Get GPU vendor.
34
31
 
35
32
  :return: Vendor name.
36
- :rtype: str
37
33
  """
38
34
 
39
35
  def version_get() -> str:
40
36
  """Get GPU driver version.
41
37
 
42
38
  :return: Driver version.
43
- :rtype: str
44
39
  """
gpu/shader/__init__.pyi CHANGED
@@ -122,9 +122,7 @@ def create_from_info(shader_info: gpu.types.GPUShaderCreateInfo) -> gpu.types.GP
122
122
  """Create shader from a GPUShaderCreateInfo.
123
123
 
124
124
  :param shader_info: GPUShaderCreateInfo
125
- :type shader_info: gpu.types.GPUShaderCreateInfo
126
125
  :return: Shader object corresponding to the given shader info.
127
- :rtype: gpu.types.GPUShader
128
126
  """
129
127
 
130
128
  def from_builtin(shader_name: str, *, config: str = "DEFAULT") -> gpu.types.GPUShader:
@@ -133,15 +131,12 @@ def from_builtin(shader_name: str, *, config: str = "DEFAULT") -> gpu.types.GPUS
133
131
  which can be edited by the `gpu.matrix` module.You can also choose a shader configuration that uses clip_planes by setting the CLIPPED value to the config parameter. Note that in this case you also need to manually set the value of mat4 ModelMatrix.
134
132
 
135
133
  :param shader_name: One of the builtin shader names.
136
- :type shader_name: str
137
134
  :param config: One of these types of shader configuration:
138
135
 
139
136
  DEFAULT
140
137
 
141
138
  CLIPPED
142
- :type config: str
143
139
  :return: Shader object corresponding to the given name.
144
- :rtype: gpu.types.GPUShader
145
140
  """
146
141
 
147
142
  def unbind() -> None:
gpu/state/__init__.pyi CHANGED
@@ -13,14 +13,12 @@ def active_framebuffer_get() -> gpu.types.GPUFrameBuffer:
13
13
  """Return the active frame-buffer in context.
14
14
 
15
15
  :return: The active framebuffer.
16
- :rtype: gpu.types.GPUFrameBuffer
17
16
  """
18
17
 
19
18
  def blend_get() -> str:
20
19
  """Current blending equation.
21
20
 
22
21
  :return: The current blend mode.
23
- :rtype: str
24
22
  """
25
23
 
26
24
  def blend_set(mode: str) -> None:
@@ -43,48 +41,39 @@ def blend_set(mode: str) -> None:
43
41
  SUBTRACT The original color channels are subtracted by the corresponding ones.
44
42
 
45
43
  INVERT The original color channels are replaced by its complementary color.
46
- :type mode: str
47
44
  """
48
45
 
49
46
  def clip_distances_set(distances_enabled: int) -> None:
50
47
  """Sets the number of gl_ClipDistance planes used for clip geometry.
51
48
 
52
49
  :param distances_enabled: Number of clip distances enabled.
53
- :type distances_enabled: int
54
50
  """
55
51
 
56
52
  def color_mask_set(r: bool, g: bool, b: bool, a: bool) -> None:
57
53
  """Enable or disable writing of frame buffer color components.
58
54
 
59
55
  :param r: Red component.
60
- :type r: bool
61
56
  :param g: Green component.
62
- :type g: bool
63
57
  :param b: Blue component.
64
- :type b: bool
65
58
  :param a: Alpha component.
66
- :type a: bool
67
59
  """
68
60
 
69
61
  def depth_mask_get() -> bool:
70
62
  """Writing status in the depth component.
71
63
 
72
64
  :return: True if writing to the depth component is enabled.
73
- :rtype: bool
74
65
  """
75
66
 
76
67
  def depth_mask_set(value: bool) -> None:
77
68
  """Write to depth component.
78
69
 
79
70
  :param value: True for writing to the depth component.
80
- :type value: bool
81
71
  """
82
72
 
83
73
  def depth_test_get() -> str:
84
74
  """Current depth_test equation.
85
75
 
86
76
  :return: The current depth test mode.
87
- :rtype: str
88
77
  """
89
78
 
90
79
  def depth_test_set(mode: str) -> None:
@@ -92,49 +81,42 @@ def depth_test_set(mode: str) -> None:
92
81
 
93
82
  :param mode: The depth test equation name.
94
83
  Possible values are NONE, ALWAYS, LESS, LESS_EQUAL, EQUAL, GREATER and GREATER_EQUAL.
95
- :type mode: str
96
84
  """
97
85
 
98
86
  def face_culling_set(culling: str) -> None:
99
87
  """Specify whether none, front-facing or back-facing facets can be culled.
100
88
 
101
89
  :param culling: NONE, FRONT or BACK.
102
- :type culling: str
103
90
  """
104
91
 
105
92
  def front_facing_set(invert: bool) -> None:
106
93
  """Specifies the orientation of front-facing polygons.
107
94
 
108
95
  :param invert: True for clockwise polygons as front-facing.
109
- :type invert: bool
110
96
  """
111
97
 
112
98
  def line_width_get() -> float:
113
99
  """Current width of rasterized lines.
114
100
 
115
101
  :return: The current line width.
116
- :rtype: float
117
102
  """
118
103
 
119
104
  def line_width_set(width: float) -> None:
120
105
  """Specify the width of rasterized lines.
121
106
 
122
107
  :param width: New width.
123
- :type width: float
124
108
  """
125
109
 
126
110
  def point_size_set(size: float) -> None:
127
111
  """Specify the diameter of rasterized points.
128
112
 
129
113
  :param size: New diameter.
130
- :type size: float
131
114
  """
132
115
 
133
116
  def program_point_size_set(enable: bool) -> None:
134
117
  """If enabled, the derived point size is taken from the (potentially clipped) shader builtin gl_PointSize.
135
118
 
136
119
  :param enable: True for shader builtin gl_PointSize.
137
- :type enable: bool
138
120
  """
139
121
 
140
122
  def scissor_get() -> tuple[int, int, int, int]:
@@ -145,7 +127,6 @@ def scissor_get() -> tuple[int, int, int, int]:
145
127
  (x, y, xsize, ysize).
146
128
  x, y: lower left corner of the scissor rectangle, in pixels.
147
129
  xsize, ysize: width and height of the scissor rectangle.
148
- :rtype: tuple[int, int, int, int]
149
130
  """
150
131
 
151
132
  def scissor_set(x: int, y: int, xsize: int, ysize: int) -> None:
@@ -153,13 +134,9 @@ def scissor_set(x: int, y: int, xsize: int, ysize: int) -> None:
153
134
  Note: The scissor state is not saved upon framebuffer rebind.
154
135
 
155
136
  :param x: Lower left corner x coordinate, in pixels.
156
- :type x: int
157
137
  :param y: Lower left corner y coordinate, in pixels.
158
- :type y: int
159
138
  :param xsize: Width of the scissor rectangle.
160
- :type xsize: int
161
139
  :param ysize: Height of the scissor rectangle.
162
- :type ysize: int
163
140
  """
164
141
 
165
142
  def scissor_test_set(enable: bool) -> None:
@@ -167,14 +144,12 @@ def scissor_test_set(enable: bool) -> None:
167
144
 
168
145
  :param enable: True - enable scissor testing.
169
146
  False - disable scissor testing.
170
- :type enable: bool
171
147
  """
172
148
 
173
149
  def viewport_get() -> tuple[int, int, int, int]:
174
150
  """Viewport of the active framebuffer.
175
151
 
176
152
  :return: The viewport as a tuple (x, y, xsize, ysize).
177
- :rtype: tuple[int, int, int, int]
178
153
  """
179
154
 
180
155
  def viewport_set(x: int, y: int, xsize: int, ysize: int) -> None:
@@ -182,11 +157,7 @@ def viewport_set(x: int, y: int, xsize: int, ysize: int) -> None:
182
157
  Note: The viewport state is not saved upon framebuffer rebind.
183
158
 
184
159
  :param x: Lower left corner x coordinate, in pixels.
185
- :type x: int
186
160
  :param y: Lower left corner y coordinate, in pixels.
187
- :type y: int
188
161
  :param xsize: Width of the viewport.
189
- :type xsize: int
190
162
  :param ysize: Height of the viewport.
191
- :type ysize: int
192
163
  """
gpu/texture/__init__.pyi CHANGED
@@ -15,7 +15,5 @@ def from_image(image: bpy.types.Image) -> gpu.types.GPUTexture:
15
15
  Note: Colors read from the texture will be in scene linear color space and have premultiplied or straight alpha matching the image alpha mode.
16
16
 
17
17
  :param image: The Image data-block.
18
- :type image: bpy.types.Image
19
18
  :return: The GPUTexture used by the image.
20
- :rtype: gpu.types.GPUTexture
21
19
  """