fake-bpy-module 20240519__py3-none-any.whl → 20240521__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.
- _bpy_internal/__init__.pyi +1 -0
- _bpy_internal/freedesktop/__init__.pyi +1 -0
- addon_utils/__init__.pyi +1 -0
- animsys_refactor/__init__.pyi +1 -0
- aud/__init__.pyi +1 -0
- bgl/__init__.pyi +119 -145
- bl_app_override/__init__.pyi +1 -0
- bl_app_override/helpers/__init__.pyi +1 -0
- bl_app_template_utils/__init__.pyi +1 -0
- bl_console_utils/__init__.pyi +1 -0
- bl_console_utils/autocomplete/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_import/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +1 -0
- bl_console_utils/autocomplete/intellisense/__init__.pyi +1 -0
- bl_i18n_utils/__init__.pyi +1 -0
- bl_i18n_utils/bl_extract_messages/__init__.pyi +1 -0
- bl_i18n_utils/merge_po/__init__.pyi +1 -0
- bl_i18n_utils/settings/__init__.pyi +1 -0
- bl_i18n_utils/utils/__init__.pyi +1 -0
- bl_i18n_utils/utils_cli/__init__.pyi +1 -0
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -0
- bl_i18n_utils/utils_rtl/__init__.pyi +1 -0
- bl_keymap_utils/__init__.pyi +1 -0
- bl_keymap_utils/io/__init__.pyi +1 -0
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -0
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -0
- bl_keymap_utils/platform_helpers/__init__.pyi +1 -0
- bl_keymap_utils/versioning/__init__.pyi +1 -0
- bl_math/__init__.pyi +1 -0
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +1 -0
- bl_operators/anim/__init__.pyi +1 -0
- bl_operators/assets/__init__.pyi +1 -0
- bl_operators/bmesh/__init__.pyi +1 -0
- bl_operators/bmesh/find_adjacent/__init__.pyi +1 -0
- bl_operators/clip/__init__.pyi +1 -0
- bl_operators/console/__init__.pyi +1 -0
- bl_operators/constraint/__init__.pyi +1 -0
- bl_operators/file/__init__.pyi +1 -0
- bl_operators/freestyle/__init__.pyi +1 -0
- bl_operators/geometry_nodes/__init__.pyi +1 -0
- bl_operators/image/__init__.pyi +1 -0
- bl_operators/mesh/__init__.pyi +1 -0
- bl_operators/node/__init__.pyi +1 -0
- bl_operators/object/__init__.pyi +1 -0
- bl_operators/object_align/__init__.pyi +1 -0
- bl_operators/object_quick_effects/__init__.pyi +1 -0
- bl_operators/object_randomize_transform/__init__.pyi +1 -0
- bl_operators/presets/__init__.pyi +1 -0
- bl_operators/rigidbody/__init__.pyi +1 -0
- bl_operators/screen_play_rendered_anim/__init__.pyi +1 -0
- bl_operators/sequencer/__init__.pyi +1 -0
- bl_operators/spreadsheet/__init__.pyi +1 -0
- bl_operators/userpref/__init__.pyi +1 -0
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -0
- bl_operators/uvcalc_lightmap/__init__.pyi +1 -0
- bl_operators/uvcalc_transform/__init__.pyi +1 -0
- bl_operators/vertexpaint_dirt/__init__.pyi +1 -0
- bl_operators/view3d/__init__.pyi +1 -0
- bl_operators/wm/__init__.pyi +1 -0
- bl_operators/world/__init__.pyi +1 -0
- bl_previews_utils/__init__.pyi +1 -0
- bl_previews_utils/bl_previews_render/__init__.pyi +1 -0
- bl_rna_utils/__init__.pyi +1 -0
- bl_rna_utils/data_path/__init__.pyi +1 -0
- bl_text_utils/__init__.pyi +1 -0
- bl_text_utils/external_editor/__init__.pyi +1 -0
- bl_ui/__init__.pyi +1 -0
- bl_ui/anim/__init__.pyi +1 -0
- bl_ui/asset_shelf/__init__.pyi +1 -0
- bl_ui/generic_ui_list/__init__.pyi +3 -2
- bl_ui/node_add_menu/__init__.pyi +1 -0
- bl_ui/node_add_menu_compositor/__init__.pyi +1 -0
- bl_ui/node_add_menu_geometry/__init__.pyi +1 -0
- bl_ui/node_add_menu_shader/__init__.pyi +1 -0
- bl_ui/node_add_menu_texture/__init__.pyi +1 -0
- bl_ui/properties_animviz/__init__.pyi +1 -0
- bl_ui/properties_collection/__init__.pyi +1 -0
- bl_ui/properties_constraint/__init__.pyi +1 -0
- bl_ui/properties_data_armature/__init__.pyi +1 -0
- bl_ui/properties_data_bone/__init__.pyi +1 -0
- bl_ui/properties_data_camera/__init__.pyi +1 -0
- bl_ui/properties_data_curve/__init__.pyi +1 -0
- bl_ui/properties_data_curves/__init__.pyi +1 -0
- bl_ui/properties_data_empty/__init__.pyi +1 -0
- bl_ui/properties_data_gpencil/__init__.pyi +1 -0
- bl_ui/properties_data_grease_pencil/__init__.pyi +1 -0
- bl_ui/properties_data_lattice/__init__.pyi +1 -0
- bl_ui/properties_data_light/__init__.pyi +1 -0
- bl_ui/properties_data_lightprobe/__init__.pyi +1 -0
- bl_ui/properties_data_mesh/__init__.pyi +1 -0
- bl_ui/properties_data_metaball/__init__.pyi +1 -0
- bl_ui/properties_data_modifier/__init__.pyi +1 -0
- bl_ui/properties_data_pointcloud/__init__.pyi +1 -0
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -0
- bl_ui/properties_data_speaker/__init__.pyi +1 -0
- bl_ui/properties_data_volume/__init__.pyi +1 -0
- bl_ui/properties_freestyle/__init__.pyi +1 -0
- bl_ui/properties_grease_pencil_common/__init__.pyi +1 -0
- bl_ui/properties_mask_common/__init__.pyi +1 -0
- bl_ui/properties_material/__init__.pyi +1 -0
- bl_ui/properties_material_gpencil/__init__.pyi +1 -0
- bl_ui/properties_object/__init__.pyi +1 -0
- bl_ui/properties_output/__init__.pyi +1 -0
- bl_ui/properties_paint_common/__init__.pyi +1 -0
- bl_ui/properties_particle/__init__.pyi +1 -0
- bl_ui/properties_physics_cloth/__init__.pyi +1 -0
- bl_ui/properties_physics_common/__init__.pyi +1 -0
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +1 -0
- bl_ui/properties_physics_field/__init__.pyi +1 -0
- bl_ui/properties_physics_fluid/__init__.pyi +1 -0
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -0
- bl_ui/properties_physics_rigidbody/__init__.pyi +1 -0
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1 -0
- bl_ui/properties_physics_softbody/__init__.pyi +1 -0
- bl_ui/properties_render/__init__.pyi +1 -0
- bl_ui/properties_scene/__init__.pyi +1 -0
- bl_ui/properties_texture/__init__.pyi +1 -0
- bl_ui/properties_view_layer/__init__.pyi +1 -0
- bl_ui/properties_workspace/__init__.pyi +1 -0
- bl_ui/properties_world/__init__.pyi +1 -0
- bl_ui/space_clip/__init__.pyi +1 -0
- bl_ui/space_console/__init__.pyi +1 -0
- bl_ui/space_dopesheet/__init__.pyi +1 -0
- bl_ui/space_filebrowser/__init__.pyi +1 -0
- bl_ui/space_graph/__init__.pyi +1 -0
- bl_ui/space_image/__init__.pyi +1 -0
- bl_ui/space_info/__init__.pyi +1 -0
- bl_ui/space_nla/__init__.pyi +1 -0
- bl_ui/space_node/__init__.pyi +1 -0
- bl_ui/space_outliner/__init__.pyi +1 -0
- bl_ui/space_properties/__init__.pyi +1 -0
- bl_ui/space_sequencer/__init__.pyi +1 -0
- bl_ui/space_spreadsheet/__init__.pyi +1 -0
- bl_ui/space_statusbar/__init__.pyi +1 -0
- bl_ui/space_text/__init__.pyi +1 -0
- bl_ui/space_time/__init__.pyi +1 -0
- bl_ui/space_toolsystem_common/__init__.pyi +1 -0
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1 -0
- bl_ui/space_topbar/__init__.pyi +1 -0
- bl_ui/space_userpref/__init__.pyi +1 -0
- bl_ui/space_view3d/__init__.pyi +1 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +1 -0
- bl_ui/temp_anim_layers/__init__.pyi +1 -0
- bl_ui/utils/__init__.pyi +1 -0
- bl_ui_utils/__init__.pyi +1 -0
- bl_ui_utils/bug_report_url/__init__.pyi +1 -0
- bl_ui_utils/layout/__init__.pyi +1 -0
- blend_render_info/__init__.pyi +1 -0
- blf/__init__.pyi +1 -0
- bmesh/__init__.pyi +1 -0
- bmesh/geometry/__init__.pyi +1 -0
- bmesh/ops/__init__.pyi +37 -36
- bmesh/types/__init__.pyi +3 -1
- bmesh/utils/__init__.pyi +1 -0
- bpy/__init__.pyi +1 -0
- bpy/app/__init__.pyi +1 -0
- bpy/app/handlers/__init__.pyi +1 -0
- bpy/app/icons/__init__.pyi +1 -0
- bpy/app/timers/__init__.pyi +1 -0
- bpy/app/translations/__init__.pyi +1 -0
- bpy/msgbus/__init__.pyi +1 -0
- bpy/ops/__init__.pyi +1 -0
- bpy/ops/action/__init__.pyi +33 -32
- bpy/ops/anim/__init__.pyi +31 -30
- bpy/ops/armature/__init__.pyi +21 -20
- bpy/ops/asset/__init__.pyi +7 -6
- bpy/ops/bl_pkg/__init__.pyi +3 -2
- bpy/ops/boid/__init__.pyi +3 -2
- bpy/ops/brush/__init__.pyi +9 -8
- bpy/ops/buttons/__init__.pyi +9 -8
- bpy/ops/cachefile/__init__.pyi +11 -10
- bpy/ops/camera/__init__.pyi +1 -0
- bpy/ops/clip/__init__.pyi +39 -38
- bpy/ops/cloth/__init__.pyi +1 -0
- bpy/ops/collection/__init__.pyi +7 -6
- bpy/ops/console/__init__.pyi +7 -6
- bpy/ops/constraint/__init__.pyi +29 -28
- bpy/ops/curve/__init__.pyi +35 -34
- bpy/ops/curves/__init__.pyi +17 -16
- bpy/ops/cycles/__init__.pyi +1 -0
- bpy/ops/dpaint/__init__.pyi +5 -4
- bpy/ops/ed/__init__.pyi +5 -4
- bpy/ops/export_anim/__init__.pyi +3 -2
- bpy/ops/export_scene/__init__.pyi +39 -38
- bpy/ops/file/__init__.pyi +19 -18
- bpy/ops/fluid/__init__.pyi +1 -0
- bpy/ops/font/__init__.pyi +21 -20
- bpy/ops/geometry/__init__.pyi +21 -20
- bpy/ops/gizmogroup/__init__.pyi +1 -0
- bpy/ops/gpencil/__init__.pyi +133 -132
- bpy/ops/graph/__init__.pyi +55 -54
- bpy/ops/grease_pencil/__init__.pyi +43 -42
- bpy/ops/image/__init__.pyi +29 -28
- bpy/ops/import_anim/__init__.pyi +9 -8
- bpy/ops/import_curve/__init__.pyi +1 -0
- bpy/ops/import_scene/__init__.pyi +19 -18
- bpy/ops/info/__init__.pyi +5 -4
- bpy/ops/lattice/__init__.pyi +7 -6
- bpy/ops/marker/__init__.pyi +9 -8
- bpy/ops/mask/__init__.pyi +13 -12
- bpy/ops/material/__init__.pyi +1 -0
- bpy/ops/mball/__init__.pyi +7 -6
- bpy/ops/mesh/__init__.pyi +145 -144
- bpy/ops/nla/__init__.pyi +17 -16
- bpy/ops/node/__init__.pyi +33 -32
- bpy/ops/object/__init__.pyi +253 -252
- bpy/ops/outliner/__init__.pyi +41 -40
- bpy/ops/paint/__init__.pyi +73 -72
- bpy/ops/paintcurve/__init__.pyi +1 -0
- bpy/ops/palette/__init__.pyi +5 -4
- bpy/ops/particle/__init__.pyi +15 -14
- bpy/ops/pose/__init__.pyi +43 -42
- bpy/ops/poselib/__init__.pyi +1 -0
- bpy/ops/preferences/__init__.pyi +13 -12
- bpy/ops/ptcache/__init__.pyi +1 -0
- bpy/ops/render/__init__.pyi +3 -2
- bpy/ops/rigidbody/__init__.pyi +17 -16
- bpy/ops/scene/__init__.pyi +25 -24
- bpy/ops/screen/__init__.pyi +21 -20
- bpy/ops/script/__init__.pyi +1 -0
- bpy/ops/sculpt/__init__.pyi +67 -66
- bpy/ops/sculpt_curves/__init__.pyi +3 -2
- bpy/ops/sequencer/__init__.pyi +75 -74
- bpy/ops/sound/__init__.pyi +21 -20
- bpy/ops/spreadsheet/__init__.pyi +1 -0
- bpy/ops/surface/__init__.pyi +13 -12
- bpy/ops/text/__init__.pyi +23 -22
- bpy/ops/text_editor/__init__.pyi +1 -0
- bpy/ops/texture/__init__.pyi +3 -2
- bpy/ops/transform/__init__.pyi +89 -88
- bpy/ops/ui/__init__.pyi +7 -6
- bpy/ops/uilist/__init__.pyi +3 -2
- bpy/ops/uv/__init__.pyi +67 -66
- bpy/ops/view2d/__init__.pyi +1 -0
- bpy/ops/view3d/__init__.pyi +35 -34
- bpy/ops/wm/__init__.pyi +197 -196
- bpy/ops/workspace/__init__.pyi +1 -0
- bpy/ops/world/__init__.pyi +1 -0
- bpy/path/__init__.pyi +1 -0
- bpy/props/__init__.pyi +1 -0
- bpy/types/__init__.pyi +3523 -3341
- bpy/utils/__init__.pyi +1 -0
- bpy/utils/previews/__init__.pyi +1 -0
- bpy/utils/units/__init__.pyi +1 -0
- bpy_extras/__init__.pyi +1 -0
- bpy_extras/anim_utils/__init__.pyi +1 -0
- bpy_extras/asset_utils/__init__.pyi +1 -0
- bpy_extras/bmesh_utils/__init__.pyi +1 -0
- bpy_extras/extensions/__init__.pyi +1 -0
- bpy_extras/extensions/junction_module/__init__.pyi +1 -0
- bpy_extras/id_map_utils/__init__.pyi +1 -0
- bpy_extras/image_utils/__init__.pyi +1 -0
- bpy_extras/io_utils/__init__.pyi +1 -0
- bpy_extras/keyconfig_utils/__init__.pyi +1 -0
- bpy_extras/mesh_utils/__init__.pyi +1 -0
- bpy_extras/node_shader_utils/__init__.pyi +1 -0
- bpy_extras/node_utils/__init__.pyi +1 -0
- bpy_extras/object_utils/__init__.pyi +1 -0
- bpy_extras/view3d_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -0
- bpy_restrict_state/__init__.pyi +1 -0
- bpy_types/__init__.pyi +1 -0
- console_python/__init__.pyi +1 -0
- console_shell/__init__.pyi +1 -0
- {fake_bpy_module-20240519.dist-info → fake_bpy_module-20240521.dist-info}/METADATA +1 -1
- fake_bpy_module-20240521.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +1 -0
- freestyle/chainingiterators/__init__.pyi +1 -0
- freestyle/functions/__init__.pyi +1 -0
- freestyle/predicates/__init__.pyi +1 -0
- freestyle/shaders/__init__.pyi +1 -0
- freestyle/types/__init__.pyi +1 -0
- freestyle/utils/ContextFunctions/__init__.pyi +1 -0
- freestyle/utils/__init__.pyi +1 -0
- gpu/__init__.pyi +1 -0
- gpu/capabilities/__init__.pyi +1 -0
- gpu/matrix/__init__.pyi +1 -0
- gpu/platform/__init__.pyi +1 -0
- gpu/select/__init__.pyi +1 -0
- gpu/shader/__init__.pyi +1 -0
- gpu/state/__init__.pyi +1 -0
- gpu/texture/__init__.pyi +1 -0
- gpu/types/__init__.pyi +1 -0
- gpu_extras/__init__.pyi +1 -0
- gpu_extras/batch/__init__.pyi +1 -0
- gpu_extras/presets/__init__.pyi +1 -0
- graphviz_export/__init__.pyi +1 -0
- idprop/__init__.pyi +1 -0
- idprop/types/__init__.pyi +1 -0
- imbuf/__init__.pyi +1 -0
- imbuf/types/__init__.pyi +1 -0
- keyingsets_builtins/__init__.pyi +1 -0
- keyingsets_utils/__init__.pyi +1 -0
- mathutils/__init__.pyi +3 -1
- mathutils/bvhtree/__init__.pyi +1 -0
- mathutils/geometry/__init__.pyi +1 -0
- mathutils/interpolate/__init__.pyi +1 -0
- mathutils/kdtree/__init__.pyi +1 -0
- mathutils/noise/__init__.pyi +1 -0
- nodeitems_builtins/__init__.pyi +1 -0
- nodeitems_utils/__init__.pyi +1 -0
- rna_info/__init__.pyi +1 -0
- rna_keymap_ui/__init__.pyi +1 -0
- rna_prop_ui/__init__.pyi +1 -0
- rna_xml/__init__.pyi +1 -0
- sys_info/__init__.pyi +1 -0
- fake_bpy_module-20240519.dist-info/RECORD +0 -353
- {fake_bpy_module-20240519.dist-info → fake_bpy_module-20240521.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240519.dist-info → fake_bpy_module-20240521.dist-info}/top_level.txt +0 -0
bgl/__init__.pyi
CHANGED
|
@@ -25,6 +25,7 @@ for example.
|
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
import typing
|
|
28
|
+
import collections.abc
|
|
28
29
|
|
|
29
30
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
30
31
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
@@ -173,11 +174,11 @@ def glBindRenderbuffer(p0: int, p1: int):
|
|
|
173
174
|
|
|
174
175
|
...
|
|
175
176
|
|
|
176
|
-
def glBindTexture(target: set[str]
|
|
177
|
+
def glBindTexture(target: set[str], texture: int):
|
|
177
178
|
"""Bind a named texture to a texturing target`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glBindTexture.xhtml>`__
|
|
178
179
|
|
|
179
180
|
:param target: Specifies the target to which the texture is bound.
|
|
180
|
-
:type target: set[str]
|
|
181
|
+
:type target: set[str]
|
|
181
182
|
:param texture: Specifies the name of a texture.
|
|
182
183
|
:type texture: int
|
|
183
184
|
"""
|
|
@@ -229,15 +230,15 @@ def glBlendEquationSeparate(p0: int, p1: int):
|
|
|
229
230
|
|
|
230
231
|
...
|
|
231
232
|
|
|
232
|
-
def glBlendFunc(sfactor: set[str]
|
|
233
|
+
def glBlendFunc(sfactor: set[str], dfactor: set[str]):
|
|
233
234
|
"""Specify pixel arithmetic`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glBlendFunc.xhtml>`__
|
|
234
235
|
|
|
235
236
|
:param sfactor: Specifies how the red, green, blue, and alpha source blending factors are
|
|
236
237
|
computed.
|
|
237
|
-
:type sfactor: set[str]
|
|
238
|
+
:type sfactor: set[str]
|
|
238
239
|
:param dfactor: Specifies how the red, green, blue, and alpha destination
|
|
239
240
|
blending factors are computed.
|
|
240
|
-
:type dfactor: set[str]
|
|
241
|
+
:type dfactor: set[str]
|
|
241
242
|
"""
|
|
242
243
|
|
|
243
244
|
...
|
|
@@ -382,11 +383,11 @@ def glClearStencil(p0: int):
|
|
|
382
383
|
|
|
383
384
|
...
|
|
384
385
|
|
|
385
|
-
def glClipPlane(plane: set[str]
|
|
386
|
+
def glClipPlane(plane: set[str], equation: Buffer):
|
|
386
387
|
"""Specify a plane against which all geometry is clipped`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glClipPlane.xhtml>`__
|
|
387
388
|
|
|
388
389
|
:param plane: Specifies which clipping plane is being positioned.
|
|
389
|
-
:type plane: set[str]
|
|
390
|
+
:type plane: set[str]
|
|
390
391
|
:param equation: Specifies the address of an array of four double- precision
|
|
391
392
|
floating-point values. These values are interpreted as a plane equation.
|
|
392
393
|
:type equation: Buffer
|
|
@@ -549,7 +550,7 @@ def glCopyTexImage1D(p0: int, p1: int, p2: int, p3: int, p4: int, p5: int, p6: i
|
|
|
549
550
|
...
|
|
550
551
|
|
|
551
552
|
def glCopyTexImage2D(
|
|
552
|
-
target: set[str]
|
|
553
|
+
target: set[str],
|
|
553
554
|
level: int,
|
|
554
555
|
internalformat: int,
|
|
555
556
|
x: int,
|
|
@@ -561,7 +562,7 @@ def glCopyTexImage2D(
|
|
|
561
562
|
"""Copy pixels into a 2D texture image`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glCopyTexImage2D.xhtml>`__
|
|
562
563
|
|
|
563
564
|
:param target: Specifies the target texture.
|
|
564
|
-
:type target: set[str]
|
|
565
|
+
:type target: set[str]
|
|
565
566
|
:param level: Specifies the level-of-detail number. Level 0 is the base image level.
|
|
566
567
|
Level n is the nth mipmap reduction image.
|
|
567
568
|
:type level: int
|
|
@@ -687,11 +688,11 @@ def glCreateShader(p0: int) -> int:
|
|
|
687
688
|
|
|
688
689
|
...
|
|
689
690
|
|
|
690
|
-
def glCullFace(mode: set[str]
|
|
691
|
+
def glCullFace(mode: set[str]):
|
|
691
692
|
"""Specify whether front- or back-facing facets can be culled`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glCullFace.xhtml>`__
|
|
692
693
|
|
|
693
694
|
:param mode: Specifies whether front- or back-facing facets are candidates for culling.
|
|
694
|
-
:type mode: set[str]
|
|
695
|
+
:type mode: set[str]
|
|
695
696
|
"""
|
|
696
697
|
|
|
697
698
|
...
|
|
@@ -803,11 +804,11 @@ def glDeleteVertexArrays(p0: int, p1: int):
|
|
|
803
804
|
|
|
804
805
|
...
|
|
805
806
|
|
|
806
|
-
def glDepthFunc(func: set[str]
|
|
807
|
+
def glDepthFunc(func: set[str]):
|
|
807
808
|
"""Specify the value used for depth buffer comparisons`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glDepthFunc.xhtml>`__
|
|
808
809
|
|
|
809
810
|
:param func: Specifies the depth comparison function.
|
|
810
|
-
:type func: set[str]
|
|
811
|
+
:type func: set[str]
|
|
811
812
|
"""
|
|
812
813
|
|
|
813
814
|
...
|
|
@@ -881,11 +882,11 @@ def glDetachShader(p0: int, p1: int):
|
|
|
881
882
|
|
|
882
883
|
...
|
|
883
884
|
|
|
884
|
-
def glDisable(cap: set[str]
|
|
885
|
+
def glDisable(cap: set[str]):
|
|
885
886
|
"""Disable server-side GL capabilities`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glEnable.xhtml>`__
|
|
886
887
|
|
|
887
888
|
:param cap: Specifies a symbolic constant indicating a GL capability.
|
|
888
|
-
:type cap: set[str]
|
|
889
|
+
:type cap: set[str]
|
|
889
890
|
"""
|
|
890
891
|
|
|
891
892
|
...
|
|
@@ -916,11 +917,11 @@ def glDrawArrays(p0: int, p1: int, p2: int):
|
|
|
916
917
|
|
|
917
918
|
...
|
|
918
919
|
|
|
919
|
-
def glDrawBuffer(mode: set[str]
|
|
920
|
+
def glDrawBuffer(mode: set[str]):
|
|
920
921
|
"""Specify which color buffers are to be drawn into`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glDrawBuffer.xhtml>`__
|
|
921
922
|
|
|
922
923
|
:param mode: Specifies up to four color buffers to be drawn into.
|
|
923
|
-
:type mode: set[str]
|
|
924
|
+
:type mode: set[str]
|
|
924
925
|
"""
|
|
925
926
|
|
|
926
927
|
...
|
|
@@ -974,11 +975,11 @@ def glEdgeFlag(flag):
|
|
|
974
975
|
|
|
975
976
|
...
|
|
976
977
|
|
|
977
|
-
def glEnable(cap: set[str]
|
|
978
|
+
def glEnable(cap: set[str]):
|
|
978
979
|
"""Enable server-side GL capabilities`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glEnable.xhtml>`__
|
|
979
980
|
|
|
980
981
|
:param cap: Specifies a symbolic constant indicating a GL capability.
|
|
981
|
-
:type cap: set[str]
|
|
982
|
+
:type cap: set[str]
|
|
982
983
|
"""
|
|
983
984
|
|
|
984
985
|
...
|
|
@@ -1023,12 +1024,12 @@ def glEvalCoord(u: typing.Any, v: typing.Any):
|
|
|
1023
1024
|
|
|
1024
1025
|
...
|
|
1025
1026
|
|
|
1026
|
-
def glEvalMesh(mode: set[str]
|
|
1027
|
+
def glEvalMesh(mode: set[str], i1: int, i2):
|
|
1027
1028
|
"""B{glEvalMesh1 or glEvalMesh2}Compute a one- or two-dimensional grid of points or lines`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glEvalMesh.xhtml>`__
|
|
1028
1029
|
|
|
1029
1030
|
:param mode: In glEvalMesh1, specifies whether to compute a one-dimensional
|
|
1030
1031
|
mesh of points or lines.
|
|
1031
|
-
:type mode: set[str]
|
|
1032
|
+
:type mode: set[str]
|
|
1032
1033
|
:param i1: Specify the first and last integer values for the grid domain variable i.
|
|
1033
1034
|
:type i1: int
|
|
1034
1035
|
"""
|
|
@@ -1045,14 +1046,14 @@ def glEvalPoint(i: int, j):
|
|
|
1045
1046
|
|
|
1046
1047
|
...
|
|
1047
1048
|
|
|
1048
|
-
def glFeedbackBuffer(size: int, type: set[str]
|
|
1049
|
+
def glFeedbackBuffer(size: int, type: set[str], buffer: Buffer):
|
|
1049
1050
|
"""Controls feedback mode`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glFeedbackBuffer.xhtml>`__
|
|
1050
1051
|
|
|
1051
1052
|
:param size: Specifies the maximum number of values that can be written into buffer.
|
|
1052
1053
|
:type size: int
|
|
1053
1054
|
:param type: Specifies a symbolic constant that describes the information that
|
|
1054
1055
|
will be returned for each vertex.
|
|
1055
|
-
:type type: set[str]
|
|
1056
|
+
:type type: set[str]
|
|
1056
1057
|
:param buffer: Returns the feedback data.
|
|
1057
1058
|
:type buffer: Buffer
|
|
1058
1059
|
"""
|
|
@@ -1085,12 +1086,12 @@ def glFlush(p0: typing.Any):
|
|
|
1085
1086
|
|
|
1086
1087
|
...
|
|
1087
1088
|
|
|
1088
|
-
def glFog(pname: set[str]
|
|
1089
|
+
def glFog(pname: set[str], param: typing.Any):
|
|
1089
1090
|
"""B{glFogf, glFogi, glFogfv, glFogiv}Specify fog parameters`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glFog.xhtml>`__
|
|
1090
1091
|
|
|
1091
1092
|
:param pname: Specifies a single-valued fog parameter. If the function prototype
|
|
1092
1093
|
ends in 'v' specifies a fog parameter.
|
|
1093
|
-
:type pname: set[str]
|
|
1094
|
+
:type pname: set[str]
|
|
1094
1095
|
:param param: Specifies the value or values to be assigned to pname. GL_FOG_COLOR
|
|
1095
1096
|
requires an array of four values. All other parameters accept an array containing
|
|
1096
1097
|
only a single value.
|
|
@@ -1121,11 +1122,11 @@ def glFramebufferTexture(p0: int, p1: int, p2: int, p3: int):
|
|
|
1121
1122
|
|
|
1122
1123
|
...
|
|
1123
1124
|
|
|
1124
|
-
def glFrontFace(mode: set[str]
|
|
1125
|
+
def glFrontFace(mode: set[str]):
|
|
1125
1126
|
"""Define front- and back-facing polygons`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glFrontFace.xhtml>`__
|
|
1126
1127
|
|
|
1127
1128
|
:param mode: Specifies the orientation of front-facing polygons.
|
|
1128
|
-
:type mode: set[str]
|
|
1129
|
+
:type mode: set[str]
|
|
1129
1130
|
"""
|
|
1130
1131
|
|
|
1131
1132
|
...
|
|
@@ -1203,11 +1204,11 @@ def glGenVertexArrays(p0: int, p1: int):
|
|
|
1203
1204
|
|
|
1204
1205
|
...
|
|
1205
1206
|
|
|
1206
|
-
def glGet(pname: set[str]
|
|
1207
|
+
def glGet(pname: set[str], param: typing.Any):
|
|
1207
1208
|
"""B{glGetBooleanv, glGetfloatv, glGetFloatv, glGetIntegerv}Return the value or values of a selected parameter`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glGet.xhtml>`__
|
|
1208
1209
|
|
|
1209
1210
|
:param pname: Specifies the parameter value to be returned.
|
|
1210
|
-
:type pname: set[str]
|
|
1211
|
+
:type pname: set[str]
|
|
1211
1212
|
:param param: Returns the value or values of the specified parameter.
|
|
1212
1213
|
:type param: typing.Any
|
|
1213
1214
|
"""
|
|
@@ -1426,44 +1427,42 @@ def glGetIntegerv(p0: int, p1: int):
|
|
|
1426
1427
|
|
|
1427
1428
|
...
|
|
1428
1429
|
|
|
1429
|
-
def glGetLight(light: set[str]
|
|
1430
|
+
def glGetLight(light: set[str], pname: set[str], params: Buffer):
|
|
1430
1431
|
"""B{glGetLightfv and glGetLightiv}Return light source parameter values`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glGetLight.xhtml>`__
|
|
1431
1432
|
|
|
1432
1433
|
:param light: Specifies a light source. The number of possible lights depends on the
|
|
1433
1434
|
implementation, but at least eight lights are supported. They are identified by symbolic
|
|
1434
1435
|
names of the form GL_LIGHTi where 0 < i < GL_MAX_LIGHTS.
|
|
1435
|
-
:type light: set[str]
|
|
1436
|
+
:type light: set[str]
|
|
1436
1437
|
:param pname: Specifies a light source parameter for light.
|
|
1437
|
-
:type pname: set[str]
|
|
1438
|
+
:type pname: set[str]
|
|
1438
1439
|
:param params: Returns the requested data.
|
|
1439
1440
|
:type params: Buffer
|
|
1440
1441
|
"""
|
|
1441
1442
|
|
|
1442
1443
|
...
|
|
1443
1444
|
|
|
1444
|
-
def glGetMap(target: set[str]
|
|
1445
|
+
def glGetMap(target: set[str], query: set[str], v: Buffer):
|
|
1445
1446
|
"""B{glGetMapdv, glGetMapfv, glGetMapiv}Return evaluator parameters`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glGetMap.xhtml>`__
|
|
1446
1447
|
|
|
1447
1448
|
:param target: Specifies the symbolic name of a map.
|
|
1448
|
-
:type target: set[str]
|
|
1449
|
+
:type target: set[str]
|
|
1449
1450
|
:param query: Specifies which parameter to return.
|
|
1450
|
-
:type query: set[str]
|
|
1451
|
+
:type query: set[str]
|
|
1451
1452
|
:param v: Returns the requested data.
|
|
1452
1453
|
:type v: Buffer
|
|
1453
1454
|
"""
|
|
1454
1455
|
|
|
1455
1456
|
...
|
|
1456
1457
|
|
|
1457
|
-
def glGetMaterial(
|
|
1458
|
-
face: set[str] | set[int], pname: set[str] | set[int], params: Buffer
|
|
1459
|
-
):
|
|
1458
|
+
def glGetMaterial(face: set[str], pname: set[str], params: Buffer):
|
|
1460
1459
|
"""B{glGetMaterialfv, glGetMaterialiv}Return material parameters`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glGetMaterial.xhtml>`__
|
|
1461
1460
|
|
|
1462
1461
|
:param face: Specifies which of the two materials is being queried.
|
|
1463
1462
|
representing the front and back materials, respectively.
|
|
1464
|
-
:type face: set[str]
|
|
1463
|
+
:type face: set[str]
|
|
1465
1464
|
:param pname: Specifies the material parameter to return.
|
|
1466
|
-
:type pname: set[str]
|
|
1465
|
+
:type pname: set[str]
|
|
1467
1466
|
:param params: Returns the requested data.
|
|
1468
1467
|
:type params: Buffer
|
|
1469
1468
|
"""
|
|
@@ -1480,11 +1479,11 @@ def glGetMultisamplefv(p0: int, p1: int, p2: float):
|
|
|
1480
1479
|
|
|
1481
1480
|
...
|
|
1482
1481
|
|
|
1483
|
-
def glGetPixelMap(map: set[str]
|
|
1482
|
+
def glGetPixelMap(map: set[str], values: Buffer):
|
|
1484
1483
|
"""B{glGetPixelMapfv, glGetPixelMapuiv, glGetPixelMapusv}Return the specified pixel map`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glGetPixelMap.xhtml>`__
|
|
1485
1484
|
|
|
1486
1485
|
:param map: Specifies the name of the pixel map to return.
|
|
1487
|
-
:type map: set[str]
|
|
1486
|
+
:type map: set[str]
|
|
1488
1487
|
:param values: Returns the pixel map contents.
|
|
1489
1488
|
:type values: Buffer
|
|
1490
1489
|
"""
|
|
@@ -1630,11 +1629,11 @@ def glGetShaderiv(p0: int, p1: int, p2: int):
|
|
|
1630
1629
|
|
|
1631
1630
|
...
|
|
1632
1631
|
|
|
1633
|
-
def glGetString(name: set[str]
|
|
1632
|
+
def glGetString(name: set[str]):
|
|
1634
1633
|
"""Return a string describing the current GL connection`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glGetString.xhtml>`__
|
|
1635
1634
|
|
|
1636
1635
|
:param name: Specifies a symbolic constant.
|
|
1637
|
-
:type name: set[str]
|
|
1636
|
+
:type name: set[str]
|
|
1638
1637
|
"""
|
|
1639
1638
|
|
|
1640
1639
|
...
|
|
@@ -1658,28 +1657,26 @@ def glGetStringi(p0: int, p1: int) -> str:
|
|
|
1658
1657
|
|
|
1659
1658
|
...
|
|
1660
1659
|
|
|
1661
|
-
def glGetTexEnv(
|
|
1662
|
-
target: set[str] | set[int], pname: set[str] | set[int], params: Buffer
|
|
1663
|
-
):
|
|
1660
|
+
def glGetTexEnv(target: set[str], pname: set[str], params: Buffer):
|
|
1664
1661
|
"""B{glGetTexEnvfv, glGetTexEnviv}Return texture environment parameters`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glGetTexEnv.xhtml>`__
|
|
1665
1662
|
|
|
1666
1663
|
:param target: Specifies a texture environment. Must be GL_TEXTURE_ENV.
|
|
1667
|
-
:type target: set[str]
|
|
1664
|
+
:type target: set[str]
|
|
1668
1665
|
:param pname: Specifies the symbolic name of a texture environment parameter.
|
|
1669
|
-
:type pname: set[str]
|
|
1666
|
+
:type pname: set[str]
|
|
1670
1667
|
:param params: Returns the requested data.
|
|
1671
1668
|
:type params: Buffer
|
|
1672
1669
|
"""
|
|
1673
1670
|
|
|
1674
1671
|
...
|
|
1675
1672
|
|
|
1676
|
-
def glGetTexGen(coord: set[str]
|
|
1673
|
+
def glGetTexGen(coord: set[str], pname: set[str], params: Buffer):
|
|
1677
1674
|
"""B{glGetTexGendv, glGetTexGenfv, glGetTexGeniv}Return texture coordinate generation parameters`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glGetTexGen.xhtml>`__
|
|
1678
1675
|
|
|
1679
1676
|
:param coord: Specifies a texture coordinate.
|
|
1680
|
-
:type coord: set[str]
|
|
1677
|
+
:type coord: set[str]
|
|
1681
1678
|
:param pname: Specifies the symbolic name of the value(s) to be returned.
|
|
1682
|
-
:type pname: set[str]
|
|
1679
|
+
:type pname: set[str]
|
|
1683
1680
|
:param params: Returns the requested data.
|
|
1684
1681
|
:type params: Buffer
|
|
1685
1682
|
"""
|
|
@@ -1687,23 +1684,19 @@ def glGetTexGen(coord: set[str] | set[int], pname: set[str] | set[int], params:
|
|
|
1687
1684
|
...
|
|
1688
1685
|
|
|
1689
1686
|
def glGetTexImage(
|
|
1690
|
-
target: set[str]
|
|
1691
|
-
level: int,
|
|
1692
|
-
format: set[str] | set[int],
|
|
1693
|
-
type: set[str] | set[int],
|
|
1694
|
-
pixels: Buffer,
|
|
1687
|
+
target: set[str], level: int, format: set[str], type: set[str], pixels: Buffer
|
|
1695
1688
|
):
|
|
1696
1689
|
"""Return a texture image`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glGetTexImage.xhtml>`__
|
|
1697
1690
|
|
|
1698
1691
|
:param target: Specifies which texture is to be obtained.
|
|
1699
|
-
:type target: set[str]
|
|
1692
|
+
:type target: set[str]
|
|
1700
1693
|
:param level: Specifies the level-of-detail number of the desired image.
|
|
1701
1694
|
Level 0 is the base image level. Level n is the nth mipmap reduction image.
|
|
1702
1695
|
:type level: int
|
|
1703
1696
|
:param format: Specifies a pixel format for the returned data.
|
|
1704
|
-
:type format: set[str]
|
|
1697
|
+
:type format: set[str]
|
|
1705
1698
|
:param type: Specifies a pixel type for the returned data.
|
|
1706
|
-
:type type: set[str]
|
|
1699
|
+
:type type: set[str]
|
|
1707
1700
|
:param pixels: Returns the texture image. Should be a pointer to an array of the
|
|
1708
1701
|
type specified by type
|
|
1709
1702
|
:type pixels: Buffer
|
|
@@ -1724,17 +1717,17 @@ def glGetTexImage(p0: int, p1: int, p2: int, p3: int, p4: typing.Any):
|
|
|
1724
1717
|
...
|
|
1725
1718
|
|
|
1726
1719
|
def glGetTexLevelParameter(
|
|
1727
|
-
target: set[str]
|
|
1720
|
+
target: set[str], level: int, pname: set[str], params: Buffer
|
|
1728
1721
|
):
|
|
1729
1722
|
"""B{glGetTexLevelParameterfv, glGetTexLevelParameteriv}return texture parameter values for a specific level of detail`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glGetTexLevelParameter.xhtml>`__
|
|
1730
1723
|
|
|
1731
1724
|
:param target: Specifies the symbolic name of the target texture.
|
|
1732
|
-
:type target: set[str]
|
|
1725
|
+
:type target: set[str]
|
|
1733
1726
|
:param level: Specifies the level-of-detail number of the desired image.
|
|
1734
1727
|
Level 0 is the base image level. Level n is the nth mipmap reduction image.
|
|
1735
1728
|
:type level: int
|
|
1736
1729
|
:param pname: Specifies the symbolic name of a texture parameter.
|
|
1737
|
-
:type pname: set[str]
|
|
1730
|
+
:type pname: set[str]
|
|
1738
1731
|
:param params: Returns the requested data.
|
|
1739
1732
|
:type params: Buffer
|
|
1740
1733
|
"""
|
|
@@ -1763,15 +1756,13 @@ def glGetTexLevelParameteriv(p0: int, p1: int, p2: int, p3: int):
|
|
|
1763
1756
|
|
|
1764
1757
|
...
|
|
1765
1758
|
|
|
1766
|
-
def glGetTexParameter(
|
|
1767
|
-
target: set[str] | set[int], pname: set[str] | set[int], params: Buffer
|
|
1768
|
-
):
|
|
1759
|
+
def glGetTexParameter(target: set[str], pname: set[str], params: Buffer):
|
|
1769
1760
|
"""B{glGetTexParameterfv, glGetTexParameteriv}Return texture parameter values`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glGetTexParameter.xhtml>`__
|
|
1770
1761
|
|
|
1771
1762
|
:param target: Specifies the symbolic name of the target texture.
|
|
1772
|
-
:type target: set[str]
|
|
1763
|
+
:type target: set[str]
|
|
1773
1764
|
:param pname: Specifies the symbolic name the target texture.
|
|
1774
|
-
:type pname: set[str]
|
|
1765
|
+
:type pname: set[str]
|
|
1775
1766
|
:param params: Returns the texture parameters.
|
|
1776
1767
|
:type params: Buffer
|
|
1777
1768
|
"""
|
|
@@ -1889,14 +1880,14 @@ def glGetVertexAttribiv(p0: int, p1: int, p2: int):
|
|
|
1889
1880
|
|
|
1890
1881
|
...
|
|
1891
1882
|
|
|
1892
|
-
def glHint(target: set[str]
|
|
1883
|
+
def glHint(target: set[str], mode: set[str]):
|
|
1893
1884
|
"""Specify implementation-specific hints`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glHint.xhtml>`__
|
|
1894
1885
|
|
|
1895
1886
|
:param target: Specifies a symbolic constant indicating the behavior to be
|
|
1896
1887
|
controlled.
|
|
1897
|
-
:type target: set[str]
|
|
1888
|
+
:type target: set[str]
|
|
1898
1889
|
:param mode: Specifies a symbolic constant indicating the desired behavior.
|
|
1899
|
-
:type mode: set[str]
|
|
1890
|
+
:type mode: set[str]
|
|
1900
1891
|
"""
|
|
1901
1892
|
|
|
1902
1893
|
...
|
|
@@ -1919,11 +1910,11 @@ def glIsBuffer(p0: int) -> bool:
|
|
|
1919
1910
|
|
|
1920
1911
|
...
|
|
1921
1912
|
|
|
1922
|
-
def glIsEnabled(cap: set[str]
|
|
1913
|
+
def glIsEnabled(cap: set[str]):
|
|
1923
1914
|
"""Test whether a capability is enabled`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glIsEnabled.xhtml>`__
|
|
1924
1915
|
|
|
1925
1916
|
:param cap: Specifies a constant representing a GL capability.
|
|
1926
|
-
:type cap: set[str]
|
|
1917
|
+
:type cap: set[str]
|
|
1927
1918
|
"""
|
|
1928
1919
|
|
|
1929
1920
|
...
|
|
@@ -2009,15 +2000,15 @@ def glIsVertexArray(p0: int) -> bool:
|
|
|
2009
2000
|
|
|
2010
2001
|
...
|
|
2011
2002
|
|
|
2012
|
-
def glLight(light: set[str]
|
|
2003
|
+
def glLight(light: set[str], pname: set[str], param: typing.Any):
|
|
2013
2004
|
"""B{glLightf,glLighti, glLightfv, glLightiv}Set the light source parameters`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glLight.xhtml>`__
|
|
2014
2005
|
|
|
2015
2006
|
:param light: Specifies a light. The number of lights depends on the implementation,
|
|
2016
2007
|
but at least eight lights are supported. They are identified by symbolic names of the
|
|
2017
2008
|
form GL_LIGHTi where 0 < i < GL_MAX_LIGHTS.
|
|
2018
|
-
:type light: set[str]
|
|
2009
|
+
:type light: set[str]
|
|
2019
2010
|
:param pname: Specifies a single-valued light source parameter for light.
|
|
2020
|
-
:type pname: set[str]
|
|
2011
|
+
:type pname: set[str]
|
|
2021
2012
|
:param param: Specifies the value that parameter pname of light source light will be set to.
|
|
2022
2013
|
If function prototype ends in 'v' specifies a pointer to the value or values that
|
|
2023
2014
|
parameter pname of light source light will be set to.
|
|
@@ -2026,11 +2017,11 @@ def glLight(light: set[str] | set[int], pname: set[str] | set[int], param: typin
|
|
|
2026
2017
|
|
|
2027
2018
|
...
|
|
2028
2019
|
|
|
2029
|
-
def glLightModel(pname: set[str]
|
|
2020
|
+
def glLightModel(pname: set[str], param: typing.Any):
|
|
2030
2021
|
"""B{glLightModelf, glLightModeli, glLightModelfv, glLightModeliv}Set the lighting model parameters`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glLightModel.xhtml>`__
|
|
2031
2022
|
|
|
2032
2023
|
:param pname: Specifies a single-value light model parameter.
|
|
2033
|
-
:type pname: set[str]
|
|
2024
|
+
:type pname: set[str]
|
|
2034
2025
|
:param param: Specifies the value that param will be set to. If function prototype ends in 'v'
|
|
2035
2026
|
specifies a pointer to the value or values that param will be set to.
|
|
2036
2027
|
:type param: typing.Any
|
|
@@ -2082,11 +2073,11 @@ def glLoadMatrix(m: Buffer):
|
|
|
2082
2073
|
|
|
2083
2074
|
...
|
|
2084
2075
|
|
|
2085
|
-
def glLogicOp(opcode: set[str]
|
|
2076
|
+
def glLogicOp(opcode: set[str]):
|
|
2086
2077
|
"""Specify a logical pixel operation for color index rendering`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glLogicOp.xhtml>`__
|
|
2087
2078
|
|
|
2088
2079
|
:param opcode: Specifies a symbolic constant that selects a logical operation.
|
|
2089
|
-
:type opcode: set[str]
|
|
2080
|
+
:type opcode: set[str]
|
|
2090
2081
|
"""
|
|
2091
2082
|
|
|
2092
2083
|
...
|
|
@@ -2100,17 +2091,12 @@ def glLogicOp(p0: int):
|
|
|
2100
2091
|
...
|
|
2101
2092
|
|
|
2102
2093
|
def glMap1(
|
|
2103
|
-
target: set[str]
|
|
2104
|
-
u1: typing.Any,
|
|
2105
|
-
u2,
|
|
2106
|
-
stride: int,
|
|
2107
|
-
order: int,
|
|
2108
|
-
points: Buffer,
|
|
2094
|
+
target: set[str], u1: typing.Any, u2, stride: int, order: int, points: Buffer
|
|
2109
2095
|
):
|
|
2110
2096
|
"""B{glMap1d, glMap1f}Define a one-dimensional evaluator`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glMap1.xhtml>`__
|
|
2111
2097
|
|
|
2112
2098
|
:param target: Specifies the kind of values that are generated by the evaluator.
|
|
2113
|
-
:type target: set[str]
|
|
2099
|
+
:type target: set[str]
|
|
2114
2100
|
:param u1: Specify a linear mapping of u, as presented to glEvalCoord1, to ^, t
|
|
2115
2101
|
he variable that is evaluated by the equations specified by this command.
|
|
2116
2102
|
:type u1: typing.Any
|
|
@@ -2129,7 +2115,7 @@ def glMap1(
|
|
|
2129
2115
|
...
|
|
2130
2116
|
|
|
2131
2117
|
def glMap2(
|
|
2132
|
-
target: set[str]
|
|
2118
|
+
target: set[str],
|
|
2133
2119
|
u1: typing.Any,
|
|
2134
2120
|
u2,
|
|
2135
2121
|
ustride: int,
|
|
@@ -2143,7 +2129,7 @@ def glMap2(
|
|
|
2143
2129
|
"""B{glMap2d, glMap2f}Define a two-dimensional evaluator`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glMap2.xhtml>`__
|
|
2144
2130
|
|
|
2145
2131
|
:param target: Specifies the kind of values that are generated by the evaluator.
|
|
2146
|
-
:type target: set[str]
|
|
2132
|
+
:type target: set[str]
|
|
2147
2133
|
:param u1: Specify a linear mapping of u, as presented to glEvalCoord2, to ^, t
|
|
2148
2134
|
he variable that is evaluated by the equations specified by this command. Initially
|
|
2149
2135
|
u1 is 0 and u2 is 1.
|
|
@@ -2204,14 +2190,14 @@ def glMapGrid(un: int, u1: typing.Any, u2, vn: int, v1: typing.Any, v2):
|
|
|
2204
2190
|
|
|
2205
2191
|
...
|
|
2206
2192
|
|
|
2207
|
-
def glMaterial(face: set[str]
|
|
2193
|
+
def glMaterial(face: set[str], pname: set[str], params: int):
|
|
2208
2194
|
"""Specify material parameters for the lighting model.`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glMaterial.xhtml>`__
|
|
2209
2195
|
|
|
2210
2196
|
:param face: Specifies which face or faces are being updated. Must be one of:
|
|
2211
|
-
:type face: set[str]
|
|
2197
|
+
:type face: set[str]
|
|
2212
2198
|
:param pname: Specifies the single-valued material parameter of the face
|
|
2213
2199
|
or faces that is being updated. Must be GL_SHININESS.
|
|
2214
|
-
:type pname: set[str]
|
|
2200
|
+
:type pname: set[str]
|
|
2215
2201
|
:param params: Specifies the value that parameter GL_SHININESS will be set to.
|
|
2216
2202
|
If function prototype ends in 'v' specifies a pointer to the value or values that
|
|
2217
2203
|
pname will be set to.
|
|
@@ -2244,11 +2230,11 @@ def glNormal3(nx: typing.Any, ny, nz, v: Buffer):
|
|
|
2244
2230
|
|
|
2245
2231
|
...
|
|
2246
2232
|
|
|
2247
|
-
def glPixelMap(map: set[str]
|
|
2233
|
+
def glPixelMap(map: set[str], mapsize: int, values: Buffer):
|
|
2248
2234
|
"""B{glPixelMapfv, glPixelMapuiv, glPixelMapusv}Set up pixel transfer maps`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glPixelMap.xhtml>`__
|
|
2249
2235
|
|
|
2250
2236
|
:param map: Specifies a symbolic map name.
|
|
2251
|
-
:type map: set[str]
|
|
2237
|
+
:type map: set[str]
|
|
2252
2238
|
:param mapsize: Specifies the size of the map being defined.
|
|
2253
2239
|
:type mapsize: int
|
|
2254
2240
|
:param values: Specifies an array of mapsize values.
|
|
@@ -2257,13 +2243,13 @@ def glPixelMap(map: set[str] | set[int], mapsize: int, values: Buffer):
|
|
|
2257
2243
|
|
|
2258
2244
|
...
|
|
2259
2245
|
|
|
2260
|
-
def glPixelStore(pname: set[str]
|
|
2246
|
+
def glPixelStore(pname: set[str], param: typing.Any):
|
|
2261
2247
|
"""B{glPixelStoref, glPixelStorei}Set pixel storage modes`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glPixelStore.xhtml>`__
|
|
2262
2248
|
|
|
2263
2249
|
:param pname: Specifies the symbolic name of the parameter to be set.
|
|
2264
2250
|
Six values affect the packing of pixel data into memory.
|
|
2265
2251
|
Six more affect the unpacking of pixel data from memory.
|
|
2266
|
-
:type pname: set[str]
|
|
2252
|
+
:type pname: set[str]
|
|
2267
2253
|
:param param: Specifies the value that pname is set to.
|
|
2268
2254
|
:type param: typing.Any
|
|
2269
2255
|
"""
|
|
@@ -2288,11 +2274,11 @@ def glPixelStorei(p0: int, p1: int):
|
|
|
2288
2274
|
|
|
2289
2275
|
...
|
|
2290
2276
|
|
|
2291
|
-
def glPixelTransfer(pname: set[str]
|
|
2277
|
+
def glPixelTransfer(pname: set[str], param: typing.Any):
|
|
2292
2278
|
"""B{glPixelTransferf, glPixelTransferi}Set pixel transfer modes`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glPixelTransfer.xhtml>`__
|
|
2293
2279
|
|
|
2294
2280
|
:param pname: Specifies the symbolic name of the pixel transfer parameter to be set.
|
|
2295
|
-
:type pname: set[str]
|
|
2281
|
+
:type pname: set[str]
|
|
2296
2282
|
:param param: Specifies the value that pname is set to.
|
|
2297
2283
|
:type param: typing.Any
|
|
2298
2284
|
"""
|
|
@@ -2316,16 +2302,16 @@ def glPointSize(p0: float):
|
|
|
2316
2302
|
|
|
2317
2303
|
...
|
|
2318
2304
|
|
|
2319
|
-
def glPolygonMode(face: set[str]
|
|
2305
|
+
def glPolygonMode(face: set[str], mode: set[str]):
|
|
2320
2306
|
"""Select a polygon rasterization mode`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glPolygonMode.xhtml>`__
|
|
2321
2307
|
|
|
2322
2308
|
:param face: Specifies the polygons that mode applies to.
|
|
2323
2309
|
Must be GL_FRONT for front-facing polygons, GL_BACK for back- facing
|
|
2324
2310
|
polygons, or GL_FRONT_AND_BACK for front- and back-facing polygons.
|
|
2325
|
-
:type face: set[str]
|
|
2311
|
+
:type face: set[str]
|
|
2326
2312
|
:param mode: Specifies how polygons will be rasterized.
|
|
2327
2313
|
The initial value is GL_FILL for both front- and back- facing polygons.
|
|
2328
|
-
:type mode: set[str]
|
|
2314
|
+
:type mode: set[str]
|
|
2329
2315
|
"""
|
|
2330
2316
|
|
|
2331
2317
|
...
|
|
@@ -2376,11 +2362,11 @@ def glRasterPos(x: typing.Any, y, z, w):
|
|
|
2376
2362
|
|
|
2377
2363
|
...
|
|
2378
2364
|
|
|
2379
|
-
def glReadBuffer(mode: set[str]
|
|
2365
|
+
def glReadBuffer(mode: set[str]):
|
|
2380
2366
|
"""Select a color buffer source for pixels.`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glReadBuffer.xhtml>`__
|
|
2381
2367
|
|
|
2382
2368
|
:param mode: Specifies a color buffer.
|
|
2383
|
-
:type mode: set[str]
|
|
2369
|
+
:type mode: set[str]
|
|
2384
2370
|
"""
|
|
2385
2371
|
|
|
2386
2372
|
...
|
|
@@ -2394,13 +2380,7 @@ def glReadBuffer(p0: int):
|
|
|
2394
2380
|
...
|
|
2395
2381
|
|
|
2396
2382
|
def glReadPixels(
|
|
2397
|
-
x: int,
|
|
2398
|
-
y,
|
|
2399
|
-
width: int,
|
|
2400
|
-
height,
|
|
2401
|
-
format: set[str] | set[int],
|
|
2402
|
-
type: set[str] | set[int],
|
|
2403
|
-
pixels: Buffer,
|
|
2383
|
+
x: int, y, width: int, height, format: set[str], type: set[str], pixels: Buffer
|
|
2404
2384
|
):
|
|
2405
2385
|
"""Read a block of pixels from the frame buffer`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glReadPixels.xhtml>`__
|
|
2406
2386
|
|
|
@@ -2412,9 +2392,9 @@ def glReadPixels(
|
|
|
2412
2392
|
height of one correspond to a single pixel.
|
|
2413
2393
|
:type width: int
|
|
2414
2394
|
:param format: Specifies the format of the pixel data.
|
|
2415
|
-
:type format: set[str]
|
|
2395
|
+
:type format: set[str]
|
|
2416
2396
|
:param type: Specifies the data type of the pixel data.
|
|
2417
|
-
:type type: set[str]
|
|
2397
|
+
:type type: set[str]
|
|
2418
2398
|
:param pixels: Returns the pixel data.
|
|
2419
2399
|
:type pixels: Buffer
|
|
2420
2400
|
"""
|
|
@@ -2533,11 +2513,11 @@ def glShaderSource(shader: int, shader_string: str):
|
|
|
2533
2513
|
|
|
2534
2514
|
...
|
|
2535
2515
|
|
|
2536
|
-
def glStencilFunc(func: set[str]
|
|
2516
|
+
def glStencilFunc(func: set[str], ref: int, mask: int):
|
|
2537
2517
|
"""Set function and reference value for stencil testing`OpenGL Docs <https://www.opengl.org/sdk/docs/man/docbook4/xhtml/glStencilFunc.xhtml>`__
|
|
2538
2518
|
|
|
2539
2519
|
:param func: Specifies the test function.
|
|
2540
|
-
:type func: set[str]
|
|
2520
|
+
:type func: set[str]
|
|
2541
2521
|
:param ref: Specifies the reference value for the stencil test. ref is clamped
|
|
2542
2522
|
to the range [0,2n-1], where n is the number of bitplanes in the stencil
|
|
2543
2523
|
buffer. The initial value is 0.
|
|
@@ -2597,24 +2577,22 @@ def glStencilMaskSeparate(p0: int, p1: int):
|
|
|
2597
2577
|
|
|
2598
2578
|
...
|
|
2599
2579
|
|
|
2600
|
-
def glStencilOp(
|
|
2601
|
-
fail: set[str] | set[int], zfail: set[str] | set[int], zpass: set[str] | set[int]
|
|
2602
|
-
):
|
|
2580
|
+
def glStencilOp(fail: set[str], zfail: set[str], zpass: set[str]):
|
|
2603
2581
|
"""Set stencil test actions`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glStencilOp.xhtml>`__
|
|
2604
2582
|
|
|
2605
2583
|
:param fail: Specifies the action to take when the stencil test fails.
|
|
2606
2584
|
The initial value is GL_KEEP.
|
|
2607
|
-
:type fail: set[str]
|
|
2585
|
+
:type fail: set[str]
|
|
2608
2586
|
:param zfail: Specifies the stencil action when the stencil test passes, but the
|
|
2609
2587
|
depth test fails. zfail accepts the same symbolic constants as fail.
|
|
2610
2588
|
The initial value is GL_KEEP.
|
|
2611
|
-
:type zfail: set[str]
|
|
2589
|
+
:type zfail: set[str]
|
|
2612
2590
|
:param zpass: Specifies the stencil action when both the stencil test and the
|
|
2613
2591
|
depth test pass, or when the stencil test passes and either there is no
|
|
2614
2592
|
depth buffer or depth testing is not enabled. zpass accepts the same
|
|
2615
2593
|
symbolic constants
|
|
2616
2594
|
as fail. The initial value is GL_KEEP.
|
|
2617
|
-
:type zpass: set[str]
|
|
2595
|
+
:type zpass: set[str]
|
|
2618
2596
|
"""
|
|
2619
2597
|
|
|
2620
2598
|
...
|
|
@@ -2658,16 +2636,14 @@ def glTexCoord(s: typing.Any, t, r, q, v: Buffer):
|
|
|
2658
2636
|
|
|
2659
2637
|
...
|
|
2660
2638
|
|
|
2661
|
-
def glTexEnv(
|
|
2662
|
-
target: set[str] | set[int], pname: set[str] | set[int], param: typing.Any
|
|
2663
|
-
):
|
|
2639
|
+
def glTexEnv(target: set[str], pname: set[str], param: typing.Any):
|
|
2664
2640
|
"""B{glTextEnvf, glTextEnvi, glTextEnvfv, glTextEnviv}Set texture environment parameters`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glTexEnv.xhtml>`__
|
|
2665
2641
|
|
|
2666
2642
|
:param target: Specifies a texture environment. Must be GL_TEXTURE_ENV.
|
|
2667
|
-
:type target: set[str]
|
|
2643
|
+
:type target: set[str]
|
|
2668
2644
|
:param pname: Specifies the symbolic name of a single-valued texture environment
|
|
2669
2645
|
parameter. Must be GL_TEXTURE_ENV_MODE.
|
|
2670
|
-
:type pname: set[str]
|
|
2646
|
+
:type pname: set[str]
|
|
2671
2647
|
:param param: Specifies a single symbolic constant. If function prototype ends in 'v'
|
|
2672
2648
|
specifies a pointer to a parameter array that contains either a single
|
|
2673
2649
|
symbolic constant or an RGBA color
|
|
@@ -2676,13 +2652,13 @@ def glTexEnv(
|
|
|
2676
2652
|
|
|
2677
2653
|
...
|
|
2678
2654
|
|
|
2679
|
-
def glTexGen(coord: set[str]
|
|
2655
|
+
def glTexGen(coord: set[str], pname: set[str], param: typing.Any):
|
|
2680
2656
|
"""B{glTexGend, glTexGenf, glTexGeni, glTexGendv, glTexGenfv, glTexGeniv}Control the generation of texture coordinates`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glTexGen.xhtml>`__
|
|
2681
2657
|
|
|
2682
2658
|
:param coord: Specifies a texture coordinate.
|
|
2683
|
-
:type coord: set[str]
|
|
2659
|
+
:type coord: set[str]
|
|
2684
2660
|
:param pname: Specifies the symbolic name of the texture- coordinate generation function.
|
|
2685
|
-
:type pname: set[str]
|
|
2661
|
+
:type pname: set[str]
|
|
2686
2662
|
:param param: Specifies a single-valued texture generation parameter.
|
|
2687
2663
|
If function prototype ends in 'v' specifies a pointer to an array of texture
|
|
2688
2664
|
generation parameters. If pname is GL_TEXTURE_GEN_MODE, then the array must
|
|
@@ -2694,19 +2670,19 @@ def glTexGen(coord: set[str] | set[int], pname: set[str] | set[int], param: typi
|
|
|
2694
2670
|
...
|
|
2695
2671
|
|
|
2696
2672
|
def glTexImage1D(
|
|
2697
|
-
target: set[str]
|
|
2673
|
+
target: set[str],
|
|
2698
2674
|
level: int,
|
|
2699
2675
|
internalformat: int,
|
|
2700
2676
|
width: int,
|
|
2701
2677
|
border: int,
|
|
2702
|
-
format: set[str]
|
|
2703
|
-
type: set[str]
|
|
2678
|
+
format: set[str],
|
|
2679
|
+
type: set[str],
|
|
2704
2680
|
pixels: Buffer,
|
|
2705
2681
|
):
|
|
2706
2682
|
"""Specify a one-dimensional texture image`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glTexImage1D.xhtml>`__
|
|
2707
2683
|
|
|
2708
2684
|
:param target: Specifies the target texture.
|
|
2709
|
-
:type target: set[str]
|
|
2685
|
+
:type target: set[str]
|
|
2710
2686
|
:param level: Specifies the level-of-detail number. Level 0 is the base image level.
|
|
2711
2687
|
Level n is the nth mipmap reduction image.
|
|
2712
2688
|
:type level: int
|
|
@@ -2719,9 +2695,9 @@ def glTexImage1D(
|
|
|
2719
2695
|
:param border: Specifies the width of the border. Must be either 0 or 1.
|
|
2720
2696
|
:type border: int
|
|
2721
2697
|
:param format: Specifies the format of the pixel data.
|
|
2722
|
-
:type format: set[str]
|
|
2698
|
+
:type format: set[str]
|
|
2723
2699
|
:param type: Specifies the data type of the pixel data.
|
|
2724
|
-
:type type: set[str]
|
|
2700
|
+
:type type: set[str]
|
|
2725
2701
|
:param pixels: Specifies a pointer to the image data in memory.
|
|
2726
2702
|
:type pixels: Buffer
|
|
2727
2703
|
"""
|
|
@@ -2746,20 +2722,20 @@ def glTexImage1D(
|
|
|
2746
2722
|
...
|
|
2747
2723
|
|
|
2748
2724
|
def glTexImage2D(
|
|
2749
|
-
target: set[str]
|
|
2725
|
+
target: set[str],
|
|
2750
2726
|
level: int,
|
|
2751
2727
|
internalformat: int,
|
|
2752
2728
|
width: int,
|
|
2753
2729
|
height: int,
|
|
2754
2730
|
border: int,
|
|
2755
|
-
format: set[str]
|
|
2756
|
-
type: set[str]
|
|
2731
|
+
format: set[str],
|
|
2732
|
+
type: set[str],
|
|
2757
2733
|
pixels: Buffer,
|
|
2758
2734
|
):
|
|
2759
2735
|
"""Specify a two-dimensional texture image`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glTexImage2D.xhtml>`__
|
|
2760
2736
|
|
|
2761
2737
|
:param target: Specifies the target texture.
|
|
2762
|
-
:type target: set[str]
|
|
2738
|
+
:type target: set[str]
|
|
2763
2739
|
:param level: Specifies the level-of-detail number. Level 0 is the base image level.
|
|
2764
2740
|
Level n is the nth mipmap reduction image.
|
|
2765
2741
|
:type level: int
|
|
@@ -2776,9 +2752,9 @@ def glTexImage2D(
|
|
|
2776
2752
|
:param border: Specifies the width of the border. Must be either 0 or 1.
|
|
2777
2753
|
:type border: int
|
|
2778
2754
|
:param format: Specifies the format of the pixel data.
|
|
2779
|
-
:type format: set[str]
|
|
2755
|
+
:type format: set[str]
|
|
2780
2756
|
:param type: Specifies the data type of the pixel data.
|
|
2781
|
-
:type type: set[str]
|
|
2757
|
+
:type type: set[str]
|
|
2782
2758
|
:param pixels: Specifies a pointer to the image data in memory.
|
|
2783
2759
|
:type pixels: Buffer
|
|
2784
2760
|
"""
|
|
@@ -2868,15 +2844,13 @@ def glTexImage3DMultisample(
|
|
|
2868
2844
|
|
|
2869
2845
|
...
|
|
2870
2846
|
|
|
2871
|
-
def glTexParameter(
|
|
2872
|
-
target: set[str] | set[int], pname: set[str] | set[int], param: typing.Any
|
|
2873
|
-
):
|
|
2847
|
+
def glTexParameter(target: set[str], pname: set[str], param: typing.Any):
|
|
2874
2848
|
"""B{glTexParameterf, glTexParameteri, glTexParameterfv, glTexParameteriv}Set texture parameters`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glTexParameter.xhtml>`__
|
|
2875
2849
|
|
|
2876
2850
|
:param target: Specifies the target texture.
|
|
2877
|
-
:type target: set[str]
|
|
2851
|
+
:type target: set[str]
|
|
2878
2852
|
:param pname: Specifies the symbolic name of a single-valued texture parameter.
|
|
2879
|
-
:type pname: set[str]
|
|
2853
|
+
:type pname: set[str]
|
|
2880
2854
|
:param param: Specifies the value of pname. If function prototype ends in 'v' specifies
|
|
2881
2855
|
a pointer to an array where the value or values of pname are stored.
|
|
2882
2856
|
:type param: typing.Any
|