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