From 38ab7c5beb67445e0117dae088a24a5398f5df63 Mon Sep 17 00:00:00 2001 From: Dean Srebnik <49134864+load1n9@users.noreply.github.com> Date: Thu, 12 Jan 2023 08:50:38 -0500 Subject: [PATCH] chore: bump dwm --- README.md | 2 +- api/ext/GL_3DFX_multisample.ts | 10 +- api/ext/GL_3DFX_tbuffer.ts | 15 +- api/ext/GL_3DFX_texture_compression_FXT1.ts | 10 +- api/ext/GL_AMD_blend_minmax_factor.ts | 10 +- api/ext/GL_AMD_compressed_3DC_texture.ts | 10 +- api/ext/GL_AMD_compressed_ATC_texture.ts | 10 +- api/ext/GL_AMD_conservative_depth.ts | 10 +- api/ext/GL_AMD_debug_output.ts | 46 +- api/ext/GL_AMD_depth_clamp_separate.ts | 10 +- api/ext/GL_AMD_draw_buffers_blend.ts | 46 +- ...GL_AMD_framebuffer_multisample_advanced.ts | 29 +- .../GL_AMD_framebuffer_sample_positions.ts | 46 +- api/ext/GL_AMD_gcn_shader.ts | 10 +- api/ext/GL_AMD_gpu_shader_half_float.ts | 10 +- api/ext/GL_AMD_gpu_shader_int16.ts | 10 +- api/ext/GL_AMD_gpu_shader_int64.ts | 248 +- api/ext/GL_AMD_interleaved_elements.ts | 19 +- api/ext/GL_AMD_multi_draw_indirect.ts | 28 +- api/ext/GL_AMD_name_gen_delete.ts | 25 +- api/ext/GL_AMD_occlusion_query_event.ts | 19 +- api/ext/GL_AMD_performance_monitor.ts | 109 +- api/ext/GL_AMD_pinned_memory.ts | 10 +- api/ext/GL_AMD_program_binary_Z400.ts | 10 +- api/ext/GL_AMD_query_buffer_object.ts | 10 +- api/ext/GL_AMD_sample_positions.ts | 19 +- .../GL_AMD_seamless_cubemap_per_texture.ts | 10 +- api/ext/GL_AMD_shader_atomic_counter_ops.ts | 10 +- api/ext/GL_AMD_shader_ballot.ts | 10 +- ...GL_AMD_shader_explicit_vertex_parameter.ts | 10 +- ..._AMD_shader_gpu_shader_half_float_fetch.ts | 10 +- api/ext/GL_AMD_shader_image_load_store_lod.ts | 10 +- api/ext/GL_AMD_shader_stencil_export.ts | 10 +- api/ext/GL_AMD_shader_trinary_minmax.ts | 10 +- api/ext/GL_AMD_sparse_texture.ts | 28 +- api/ext/GL_AMD_stencil_operation_extended.ts | 19 +- api/ext/GL_AMD_texture_gather_bias_lod.ts | 10 +- api/ext/GL_AMD_texture_texture4.ts | 10 +- ...AMD_transform_feedback3_lines_triangles.ts | 10 +- api/ext/GL_AMD_transform_feedback4.ts | 10 +- api/ext/GL_AMD_vertex_shader_layer.ts | 10 +- api/ext/GL_AMD_vertex_shader_tessellator.ts | 28 +- .../GL_AMD_vertex_shader_viewport_index.ts | 10 +- api/ext/GL_ANDROID_extension_pack_es31a.ts | 10 +- api/ext/GL_ANGLE_depth_texture.ts | 10 +- api/ext/GL_ANGLE_framebuffer_blit.ts | 32 +- api/ext/GL_ANGLE_framebuffer_multisample.ts | 19 +- api/ext/GL_ANGLE_instanced_arrays.ts | 37 +- api/ext/GL_ANGLE_pack_reverse_row_order.ts | 10 +- api/ext/GL_ANGLE_program_binary.ts | 10 +- api/ext/GL_ANGLE_texture_compression_dxt3.ts | 10 +- api/ext/GL_ANGLE_texture_compression_dxt5.ts | 10 +- api/ext/GL_ANGLE_texture_usage.ts | 10 +- api/ext/GL_ANGLE_translated_shader_source.ts | 19 +- api/ext/GL_APPLE_aux_depth_stencil.ts | 10 +- api/ext/GL_APPLE_client_storage.ts | 10 +- api/ext/GL_APPLE_clip_distance.ts | 10 +- api/ext/GL_APPLE_color_buffer_packed_float.ts | 10 +- api/ext/GL_APPLE_copy_texture_levels.ts | 19 +- api/ext/GL_APPLE_element_array.ts | 55 +- api/ext/GL_APPLE_fence.ts | 58 +- api/ext/GL_APPLE_float_pixels.ts | 10 +- api/ext/GL_APPLE_flush_buffer_range.ts | 28 +- api/ext/GL_APPLE_framebuffer_multisample.ts | 28 +- api/ext/GL_APPLE_object_purgeable.ts | 37 +- api/ext/GL_APPLE_rgb_422.ts | 10 +- api/ext/GL_APPLE_row_bytes.ts | 10 +- api/ext/GL_APPLE_specular_vector.ts | 10 +- api/ext/GL_APPLE_sync.ts | 53 +- api/ext/GL_APPLE_texture_2D_limited_npot.ts | 10 +- api/ext/GL_APPLE_texture_format_BGRA8888.ts | 10 +- api/ext/GL_APPLE_texture_max_level.ts | 10 +- api/ext/GL_APPLE_texture_packed_float.ts | 10 +- api/ext/GL_APPLE_texture_range.ts | 28 +- api/ext/GL_APPLE_transform_hint.ts | 10 +- api/ext/GL_APPLE_vertex_array_object.ts | 46 +- api/ext/GL_APPLE_vertex_array_range.ts | 37 +- api/ext/GL_APPLE_vertex_program_evaluators.ts | 101 +- api/ext/GL_APPLE_ycbcr_422.ts | 10 +- api/ext/GL_ARB_ES2_compatibility.ts | 43 +- api/ext/GL_ARB_ES3_1_compatibility.ts | 19 +- api/ext/GL_ARB_ES3_2_compatibility.ts | 19 +- api/ext/GL_ARB_ES3_compatibility.ts | 10 +- api/ext/GL_ARB_arrays_of_arrays.ts | 10 +- api/ext/GL_ARB_base_instance.ts | 37 +- api/ext/GL_ARB_bindless_texture.ts | 154 +- api/ext/GL_ARB_blend_func_extended.ts | 24 +- api/ext/GL_ARB_buffer_storage.ts | 15 +- api/ext/GL_ARB_cl_event.ts | 19 +- api/ext/GL_ARB_clear_buffer_object.ts | 24 +- api/ext/GL_ARB_clear_texture.ts | 34 +- api/ext/GL_ARB_clip_control.ts | 15 +- api/ext/GL_ARB_color_buffer_float.ts | 15 +- api/ext/GL_ARB_compatibility.ts | 10 +- ...GL_ARB_compressed_texture_pixel_storage.ts | 10 +- api/ext/GL_ARB_compute_shader.ts | 24 +- api/ext/GL_ARB_compute_variable_group_size.ts | 19 +- api/ext/GL_ARB_conditional_render_inverted.ts | 10 +- api/ext/GL_ARB_conservative_depth.ts | 10 +- api/ext/GL_ARB_copy_buffer.ts | 19 +- api/ext/GL_ARB_copy_image.ts | 33 +- api/ext/GL_ARB_cull_distance.ts | 10 +- api/ext/GL_ARB_debug_output.ts | 57 +- api/ext/GL_ARB_depth_buffer_float.ts | 10 +- api/ext/GL_ARB_depth_clamp.ts | 10 +- api/ext/GL_ARB_depth_texture.ts | 10 +- api/ext/GL_ARB_derivative_control.ts | 10 +- api/ext/GL_ARB_direct_state_access.ts | 912 ++- api/ext/GL_ARB_draw_buffers.ts | 15 +- api/ext/GL_ARB_draw_buffers_blend.ts | 42 +- api/ext/GL_ARB_draw_elements_base_vertex.ts | 46 +- api/ext/GL_ARB_draw_indirect.ts | 28 +- api/ext/GL_ARB_draw_instanced.ts | 28 +- api/ext/GL_ARB_enhanced_layouts.ts | 10 +- api/ext/GL_ARB_explicit_attrib_location.ts | 10 +- api/ext/GL_ARB_explicit_uniform_location.ts | 10 +- api/ext/GL_ARB_fragment_coord_conventions.ts | 10 +- api/ext/GL_ARB_fragment_layer_viewport.ts | 10 +- api/ext/GL_ARB_fragment_program.ts | 161 +- api/ext/GL_ARB_fragment_program_shadow.ts | 10 +- api/ext/GL_ARB_fragment_shader.ts | 10 +- api/ext/GL_ARB_fragment_shader_interlock.ts | 10 +- api/ext/GL_ARB_framebuffer_no_attachments.ts | 28 +- api/ext/GL_ARB_framebuffer_object.ts | 171 +- api/ext/GL_ARB_framebuffer_sRGB.ts | 10 +- api/ext/GL_ARB_geometry_shader4.ts | 46 +- api/ext/GL_ARB_get_program_binary.ts | 29 +- api/ext/GL_ARB_get_texture_sub_image.ts | 56 +- api/ext/GL_ARB_gl_spirv.ts | 19 +- api/ext/GL_ARB_gpu_shader5.ts | 10 +- api/ext/GL_ARB_gpu_shader_fp64.ts | 124 +- api/ext/GL_ARB_gpu_shader_int64.ts | 270 +- api/ext/GL_ARB_half_float_pixel.ts | 10 +- api/ext/GL_ARB_half_float_vertex.ts | 10 +- api/ext/GL_ARB_imaging.ts | 263 +- api/ext/GL_ARB_indirect_parameters.ts | 28 +- api/ext/GL_ARB_instanced_arrays.ts | 19 +- api/ext/GL_ARB_internalformat_query.ts | 19 +- api/ext/GL_ARB_internalformat_query2.ts | 19 +- api/ext/GL_ARB_invalidate_subdata.ts | 64 +- api/ext/GL_ARB_map_buffer_alignment.ts | 10 +- api/ext/GL_ARB_map_buffer_range.ts | 24 +- api/ext/GL_ARB_matrix_palette.ts | 55 +- api/ext/GL_ARB_multi_bind.ts | 48 +- api/ext/GL_ARB_multi_draw_indirect.ts | 28 +- api/ext/GL_ARB_multisample.ts | 19 +- api/ext/GL_ARB_multitexture.ts | 312 +- api/ext/GL_ARB_occlusion_query.ts | 58 +- api/ext/GL_ARB_occlusion_query2.ts | 10 +- api/ext/GL_ARB_parallel_shader_compile.ts | 19 +- api/ext/GL_ARB_pipeline_statistics_query.ts | 10 +- api/ext/GL_ARB_pixel_buffer_object.ts | 10 +- api/ext/GL_ARB_point_parameters.ts | 28 +- api/ext/GL_ARB_point_sprite.ts | 10 +- api/ext/GL_ARB_polygon_offset_clamp.ts | 19 +- api/ext/GL_ARB_post_depth_coverage.ts | 10 +- api/ext/GL_ARB_program_interface_query.ts | 64 +- api/ext/GL_ARB_provoking_vertex.ts | 15 +- api/ext/GL_ARB_query_buffer_object.ts | 10 +- .../GL_ARB_robust_buffer_access_behavior.ts | 10 +- api/ext/GL_ARB_robustness.ts | 150 +- api/ext/GL_ARB_robustness_isolation.ts | 10 +- api/ext/GL_ARB_sample_locations.ts | 37 +- api/ext/GL_ARB_sample_shading.ts | 19 +- api/ext/GL_ARB_sampler_objects.ts | 120 +- api/ext/GL_ARB_seamless_cube_map.ts | 10 +- .../GL_ARB_seamless_cubemap_per_texture.ts | 10 +- api/ext/GL_ARB_separate_shader_objects.ts | 507 +- api/ext/GL_ARB_shader_atomic_counter_ops.ts | 10 +- api/ext/GL_ARB_shader_atomic_counters.ts | 22 +- api/ext/GL_ARB_shader_ballot.ts | 10 +- api/ext/GL_ARB_shader_bit_encoding.ts | 10 +- api/ext/GL_ARB_shader_clock.ts | 10 +- api/ext/GL_ARB_shader_draw_parameters.ts | 10 +- api/ext/GL_ARB_shader_group_vote.ts | 10 +- api/ext/GL_ARB_shader_image_load_store.ts | 20 +- api/ext/GL_ARB_shader_image_size.ts | 10 +- api/ext/GL_ARB_shader_objects.ts | 257 +- api/ext/GL_ARB_shader_precision.ts | 10 +- api/ext/GL_ARB_shader_stencil_export.ts | 10 +- .../GL_ARB_shader_storage_buffer_object.ts | 19 +- api/ext/GL_ARB_shader_subroutine.ts | 82 +- .../GL_ARB_shader_texture_image_samples.ts | 10 +- api/ext/GL_ARB_shader_texture_lod.ts | 10 +- api/ext/GL_ARB_shader_viewport_layer_array.ts | 10 +- api/ext/GL_ARB_shading_language_100.ts | 10 +- api/ext/GL_ARB_shading_language_420pack.ts | 10 +- api/ext/GL_ARB_shading_language_include.ts | 56 +- api/ext/GL_ARB_shading_language_packing.ts | 10 +- api/ext/GL_ARB_shadow.ts | 10 +- api/ext/GL_ARB_shadow_ambient.ts | 10 +- api/ext/GL_ARB_sparse_buffer.ts | 37 +- api/ext/GL_ARB_sparse_texture.ts | 19 +- api/ext/GL_ARB_sparse_texture2.ts | 10 +- api/ext/GL_ARB_sparse_texture_clamp.ts | 10 +- api/ext/GL_ARB_spirv_extensions.ts | 10 +- api/ext/GL_ARB_stencil_texturing.ts | 10 +- api/ext/GL_ARB_sync.ts | 35 +- api/ext/GL_ARB_tessellation_shader.ts | 20 +- api/ext/GL_ARB_texture_barrier.ts | 15 +- api/ext/GL_ARB_texture_border_clamp.ts | 10 +- api/ext/GL_ARB_texture_buffer_object.ts | 15 +- api/ext/GL_ARB_texture_buffer_object_rgb32.ts | 10 +- api/ext/GL_ARB_texture_buffer_range.ts | 15 +- api/ext/GL_ARB_texture_compression.ts | 111 +- api/ext/GL_ARB_texture_compression_bptc.ts | 10 +- api/ext/GL_ARB_texture_compression_rgtc.ts | 10 +- api/ext/GL_ARB_texture_cube_map.ts | 10 +- api/ext/GL_ARB_texture_cube_map_array.ts | 10 +- api/ext/GL_ARB_texture_env_add.ts | 10 +- api/ext/GL_ARB_texture_env_combine.ts | 10 +- api/ext/GL_ARB_texture_env_crossbar.ts | 10 +- api/ext/GL_ARB_texture_env_dot3.ts | 10 +- api/ext/GL_ARB_texture_filter_anisotropic.ts | 10 +- api/ext/GL_ARB_texture_filter_minmax.ts | 10 +- api/ext/GL_ARB_texture_float.ts | 10 +- api/ext/GL_ARB_texture_gather.ts | 10 +- .../GL_ARB_texture_mirror_clamp_to_edge.ts | 10 +- api/ext/GL_ARB_texture_mirrored_repeat.ts | 10 +- api/ext/GL_ARB_texture_multisample.ts | 38 +- api/ext/GL_ARB_texture_non_power_of_two.ts | 10 +- api/ext/GL_ARB_texture_query_levels.ts | 10 +- api/ext/GL_ARB_texture_query_lod.ts | 10 +- api/ext/GL_ARB_texture_rectangle.ts | 10 +- api/ext/GL_ARB_texture_rg.ts | 10 +- api/ext/GL_ARB_texture_rgb10_a2ui.ts | 10 +- api/ext/GL_ARB_texture_stencil8.ts | 10 +- api/ext/GL_ARB_texture_storage.ts | 25 +- api/ext/GL_ARB_texture_storage_multisample.ts | 28 +- api/ext/GL_ARB_texture_swizzle.ts | 10 +- api/ext/GL_ARB_texture_view.ts | 15 +- api/ext/GL_ARB_timer_query.ts | 33 +- api/ext/GL_ARB_transform_feedback2.ts | 73 +- api/ext/GL_ARB_transform_feedback3.ts | 42 +- .../GL_ARB_transform_feedback_instanced.ts | 28 +- ...L_ARB_transform_feedback_overflow_query.ts | 10 +- api/ext/GL_ARB_transpose_matrix.ts | 46 +- api/ext/GL_ARB_uniform_buffer_object.ts | 88 +- api/ext/GL_ARB_vertex_array_bgra.ts | 10 +- api/ext/GL_ARB_vertex_array_object.ts | 34 +- api/ext/GL_ARB_vertex_attrib_64bit.ts | 68 +- api/ext/GL_ARB_vertex_attrib_binding.ts | 60 +- api/ext/GL_ARB_vertex_blend.ts | 60 +- api/ext/GL_ARB_vertex_buffer_object.ts | 77 +- api/ext/GL_ARB_vertex_program.ts | 548 +- api/ext/GL_ARB_vertex_shader.ts | 424 +- api/ext/GL_ARB_vertex_type_10f_11f_11f_rev.ts | 10 +- api/ext/GL_ARB_vertex_type_2_10_10_10_rev.ts | 256 +- api/ext/GL_ARB_viewport_array.ts | 86 +- api/ext/GL_ARB_window_pos.ts | 90 +- api/ext/GL_ARM_mali_program_binary.ts | 10 +- api/ext/GL_ARM_mali_shader_binary.ts | 10 +- api/ext/GL_ARM_rgba8.ts | 10 +- api/ext/GL_ARM_shader_framebuffer_fetch.ts | 10 +- ..._shader_framebuffer_fetch_depth_stencil.ts | 10 +- ...GL_ARM_texture_unnormalized_coordinates.ts | 10 +- api/ext/GL_ATI_draw_buffers.ts | 15 +- api/ext/GL_ATI_element_array.ts | 37 +- api/ext/GL_ATI_envmap_bumpmap.ts | 46 +- api/ext/GL_ATI_fragment_shader.ts | 172 +- api/ext/GL_ATI_map_object_buffer.ts | 28 +- api/ext/GL_ATI_meminfo.ts | 10 +- api/ext/GL_ATI_pixel_format_float.ts | 10 +- api/ext/GL_ATI_pn_triangles.ts | 20 +- api/ext/GL_ATI_separate_stencil.ts | 28 +- api/ext/GL_ATI_text_fragment_shader.ts | 10 +- api/ext/GL_ATI_texture_env_combine3.ts | 10 +- api/ext/GL_ATI_texture_float.ts | 10 +- api/ext/GL_ATI_texture_mirror_once.ts | 10 +- api/ext/GL_ATI_vertex_array_object.ts | 114 +- api/ext/GL_ATI_vertex_attrib_array_object.ts | 37 +- api/ext/GL_ATI_vertex_streams.ts | 415 +- api/ext/GL_DMP_program_binary.ts | 10 +- api/ext/GL_DMP_shader_binary.ts | 10 +- api/ext/GL_EXT_422_pixels.ts | 10 +- api/ext/GL_EXT_EGL_image_array.ts | 10 +- api/ext/GL_EXT_EGL_image_storage.ts | 28 +- .../GL_EXT_EGL_image_storage_compression.ts | 10 +- api/ext/GL_EXT_EGL_sync.ts | 10 +- api/ext/GL_EXT_YUV_target.ts | 10 +- api/ext/GL_EXT_abgr.ts | 10 +- api/ext/GL_EXT_base_instance.ts | 38 +- api/ext/GL_EXT_bgra.ts | 10 +- api/ext/GL_EXT_bindable_uniform.ts | 33 +- api/ext/GL_EXT_blend_color.ts | 15 +- api/ext/GL_EXT_blend_equation_separate.ts | 19 +- api/ext/GL_EXT_blend_func_extended.ts | 46 +- api/ext/GL_EXT_blend_func_separate.ts | 19 +- api/ext/GL_EXT_blend_logic_op.ts | 10 +- api/ext/GL_EXT_blend_minmax.ts | 15 +- api/ext/GL_EXT_blend_subtract.ts | 10 +- api/ext/GL_EXT_buffer_storage.ts | 15 +- api/ext/GL_EXT_clear_texture.ts | 38 +- api/ext/GL_EXT_clip_control.ts | 15 +- api/ext/GL_EXT_clip_cull_distance.ts | 10 +- api/ext/GL_EXT_clip_volume_hint.ts | 10 +- api/ext/GL_EXT_cmyka.ts | 10 +- api/ext/GL_EXT_color_buffer_float.ts | 10 +- api/ext/GL_EXT_color_buffer_half_float.ts | 10 +- api/ext/GL_EXT_color_subtable.ts | 24 +- api/ext/GL_EXT_compiled_vertex_array.ts | 20 +- api/ext/GL_EXT_conservative_depth.ts | 10 +- api/ext/GL_EXT_convolution.ts | 127 +- api/ext/GL_EXT_coordinate_frame.ts | 128 +- api/ext/GL_EXT_copy_image.ts | 37 +- api/ext/GL_EXT_copy_texture.ts | 55 +- api/ext/GL_EXT_cull_vertex.ts | 28 +- api/ext/GL_EXT_debug_label.ts | 24 +- api/ext/GL_EXT_debug_marker.ts | 37 +- api/ext/GL_EXT_depth_bounds_test.ts | 15 +- api/ext/GL_EXT_depth_clamp.ts | 10 +- api/ext/GL_EXT_direct_state_access.ts | 2500 ++++++-- api/ext/GL_EXT_discard_framebuffer.ts | 19 +- api/ext/GL_EXT_disjoint_timer_query.ts | 86 +- api/ext/GL_EXT_draw_buffers.ts | 15 +- api/ext/GL_EXT_draw_buffers2.ts | 60 +- api/ext/GL_EXT_draw_buffers_indexed.ts | 62 +- api/ext/GL_EXT_draw_elements_base_vertex.ts | 46 +- api/ext/GL_EXT_draw_instanced.ts | 28 +- api/ext/GL_EXT_draw_range_elements.ts | 19 +- api/ext/GL_EXT_draw_transform_feedback.ts | 28 +- api/ext/GL_EXT_external_buffer.ts | 28 +- api/ext/GL_EXT_float_blend.ts | 10 +- api/ext/GL_EXT_fog_coord.ts | 39 +- api/ext/GL_EXT_fragment_shading_rate.ts | 51 +- api/ext/GL_EXT_framebuffer_blit.ts | 32 +- api/ext/GL_EXT_framebuffer_multisample.ts | 19 +- ...EXT_framebuffer_multisample_blit_scaled.ts | 10 +- api/ext/GL_EXT_framebuffer_object.ts | 159 +- api/ext/GL_EXT_framebuffer_sRGB.ts | 10 +- api/ext/GL_EXT_geometry_point_size.ts | 10 +- api/ext/GL_EXT_geometry_shader.ts | 19 +- api/ext/GL_EXT_geometry_shader4.ts | 19 +- api/ext/GL_EXT_gpu_program_parameters.ts | 28 +- api/ext/GL_EXT_gpu_shader4.ts | 280 +- api/ext/GL_EXT_gpu_shader5.ts | 10 +- api/ext/GL_EXT_histogram.ts | 80 +- api/ext/GL_EXT_index_array_formats.ts | 10 +- api/ext/GL_EXT_index_func.ts | 15 +- api/ext/GL_EXT_index_material.ts | 15 +- api/ext/GL_EXT_index_texture.ts | 10 +- api/ext/GL_EXT_instanced_arrays.ts | 37 +- api/ext/GL_EXT_light_texture.ts | 29 +- api/ext/GL_EXT_map_buffer_range.ts | 28 +- api/ext/GL_EXT_memory_object.ts | 181 +- api/ext/GL_EXT_memory_object_fd.ts | 19 +- api/ext/GL_EXT_memory_object_win32.ts | 28 +- api/ext/GL_EXT_misc_attribute.ts | 10 +- api/ext/GL_EXT_multi_draw_arrays.ts | 28 +- api/ext/GL_EXT_multi_draw_indirect.ts | 28 +- api/ext/GL_EXT_multisample.ts | 20 +- api/ext/GL_EXT_multisampled_compatibility.ts | 10 +- .../GL_EXT_multisampled_render_to_texture.ts | 28 +- .../GL_EXT_multisampled_render_to_texture2.ts | 10 +- api/ext/GL_EXT_multiview_draw_buffers.ts | 33 +- ..._multiview_tessellation_geometry_shader.ts | 10 +- .../GL_EXT_multiview_texture_multisample.ts | 10 +- api/ext/GL_EXT_multiview_timer_query.ts | 10 +- api/ext/GL_EXT_occlusion_query_boolean.ts | 49 +- api/ext/GL_EXT_packed_depth_stencil.ts | 10 +- api/ext/GL_EXT_packed_float.ts | 10 +- api/ext/GL_EXT_packed_pixels.ts | 10 +- api/ext/GL_EXT_paletted_texture.ts | 38 +- api/ext/GL_EXT_pixel_buffer_object.ts | 10 +- api/ext/GL_EXT_pixel_transform.ts | 64 +- api/ext/GL_EXT_pixel_transform_color_table.ts | 10 +- api/ext/GL_EXT_point_parameters.ts | 28 +- api/ext/GL_EXT_polygon_offset.ts | 15 +- api/ext/GL_EXT_polygon_offset_clamp.ts | 19 +- api/ext/GL_EXT_post_depth_coverage.ts | 10 +- api/ext/GL_EXT_primitive_bounding_box.ts | 19 +- api/ext/GL_EXT_protected_textures.ts | 10 +- api/ext/GL_EXT_provoking_vertex.ts | 19 +- api/ext/GL_EXT_pvrtc_sRGB.ts | 10 +- api/ext/GL_EXT_raster_multisample.ts | 15 +- api/ext/GL_EXT_read_format_bgra.ts | 10 +- api/ext/GL_EXT_render_snorm.ts | 10 +- api/ext/GL_EXT_rescale_normal.ts | 10 +- api/ext/GL_EXT_robustness.ts | 34 +- api/ext/GL_EXT_sRGB.ts | 10 +- api/ext/GL_EXT_sRGB_write_control.ts | 10 +- api/ext/GL_EXT_secondary_color.ts | 163 +- api/ext/GL_EXT_semaphore.ts | 79 +- api/ext/GL_EXT_semaphore_fd.ts | 19 +- api/ext/GL_EXT_semaphore_win32.ts | 28 +- api/ext/GL_EXT_separate_depth_stencil.ts | 10 +- api/ext/GL_EXT_separate_shader_objects.ts | 429 +- api/ext/GL_EXT_separate_specular_color.ts | 10 +- api/ext/GL_EXT_shader_framebuffer_fetch.ts | 10 +- ...T_shader_framebuffer_fetch_non_coherent.ts | 19 +- api/ext/GL_EXT_shader_group_vote.ts | 10 +- api/ext/GL_EXT_shader_image_load_formatted.ts | 10 +- api/ext/GL_EXT_shader_image_load_store.ts | 24 +- api/ext/GL_EXT_shader_implicit_conversions.ts | 10 +- api/ext/GL_EXT_shader_integer_mix.ts | 10 +- api/ext/GL_EXT_shader_io_blocks.ts | 10 +- ...shader_non_constant_global_initializers.ts | 10 +- api/ext/GL_EXT_shader_pixel_local_storage.ts | 10 +- api/ext/GL_EXT_shader_pixel_local_storage2.ts | 40 +- api/ext/GL_EXT_shader_samples_identical.ts | 10 +- api/ext/GL_EXT_shader_texture_lod.ts | 10 +- api/ext/GL_EXT_shadow_funcs.ts | 10 +- api/ext/GL_EXT_shadow_samplers.ts | 10 +- api/ext/GL_EXT_shared_texture_palette.ts | 10 +- api/ext/GL_EXT_sparse_texture.ts | 19 +- api/ext/GL_EXT_sparse_texture2.ts | 10 +- api/ext/GL_EXT_stencil_clear_tag.ts | 19 +- api/ext/GL_EXT_stencil_two_side.ts | 19 +- api/ext/GL_EXT_stencil_wrap.ts | 10 +- api/ext/GL_EXT_subtexture.ts | 32 +- api/ext/GL_EXT_tessellation_point_size.ts | 10 +- api/ext/GL_EXT_tessellation_shader.ts | 19 +- api/ext/GL_EXT_texture.ts | 10 +- api/ext/GL_EXT_texture3D.ts | 47 +- api/ext/GL_EXT_texture_array.ts | 19 +- api/ext/GL_EXT_texture_border_clamp.ts | 82 +- api/ext/GL_EXT_texture_buffer.ts | 24 +- api/ext/GL_EXT_texture_buffer_object.ts | 15 +- ...XT_texture_compression_astc_decode_mode.ts | 10 +- api/ext/GL_EXT_texture_compression_bptc.ts | 10 +- api/ext/GL_EXT_texture_compression_dxt1.ts | 10 +- api/ext/GL_EXT_texture_compression_latc.ts | 10 +- api/ext/GL_EXT_texture_compression_rgtc.ts | 10 +- api/ext/GL_EXT_texture_compression_s3tc.ts | 10 +- .../GL_EXT_texture_compression_s3tc_srgb.ts | 10 +- api/ext/GL_EXT_texture_cube_map.ts | 10 +- api/ext/GL_EXT_texture_cube_map_array.ts | 10 +- api/ext/GL_EXT_texture_env_add.ts | 10 +- api/ext/GL_EXT_texture_env_combine.ts | 10 +- api/ext/GL_EXT_texture_env_dot3.ts | 10 +- api/ext/GL_EXT_texture_filter_anisotropic.ts | 10 +- api/ext/GL_EXT_texture_filter_minmax.ts | 10 +- api/ext/GL_EXT_texture_format_BGRA8888.ts | 10 +- .../GL_EXT_texture_format_sRGB_override.ts | 10 +- api/ext/GL_EXT_texture_integer.ts | 56 +- api/ext/GL_EXT_texture_lod_bias.ts | 10 +- api/ext/GL_EXT_texture_mirror_clamp.ts | 10 +- .../GL_EXT_texture_mirror_clamp_to_edge.ts | 10 +- api/ext/GL_EXT_texture_norm16.ts | 10 +- api/ext/GL_EXT_texture_object.ts | 52 +- api/ext/GL_EXT_texture_perturb_normal.ts | 15 +- api/ext/GL_EXT_texture_query_lod.ts | 10 +- api/ext/GL_EXT_texture_rg.ts | 10 +- api/ext/GL_EXT_texture_sRGB.ts | 10 +- api/ext/GL_EXT_texture_sRGB_R8.ts | 10 +- api/ext/GL_EXT_texture_sRGB_RG8.ts | 10 +- api/ext/GL_EXT_texture_sRGB_decode.ts | 10 +- api/ext/GL_EXT_texture_shadow_lod.ts | 10 +- api/ext/GL_EXT_texture_shared_exponent.ts | 10 +- api/ext/GL_EXT_texture_snorm.ts | 10 +- api/ext/GL_EXT_texture_storage.ts | 52 +- api/ext/GL_EXT_texture_storage_compression.ts | 28 +- api/ext/GL_EXT_texture_swizzle.ts | 10 +- api/ext/GL_EXT_texture_type_2_10_10_10_REV.ts | 10 +- api/ext/GL_EXT_texture_view.ts | 15 +- api/ext/GL_EXT_timer_query.ts | 28 +- api/ext/GL_EXT_transform_feedback.ts | 73 +- api/ext/GL_EXT_unpack_subimage.ts | 10 +- api/ext/GL_EXT_vertex_array.ts | 63 +- api/ext/GL_EXT_vertex_array_bgra.ts | 10 +- api/ext/GL_EXT_vertex_attrib_64bit.ts | 100 +- api/ext/GL_EXT_vertex_weighting.ts | 33 +- api/ext/GL_EXT_win32_keyed_mutex.ts | 28 +- api/ext/GL_EXT_window_rectangles.ts | 19 +- api/ext/GL_EXT_x11_sync_object.ts | 15 +- api/ext/GL_FJ_shader_binary_GCCSO.ts | 10 +- api/ext/GL_GREMEDY_frame_terminator.ts | 19 +- api/ext/GL_GREMEDY_string_marker.ts | 19 +- api/ext/GL_HP_convolution_border_modes.ts | 10 +- api/ext/GL_HP_image_transform.ts | 64 +- api/ext/GL_HP_occlusion_test.ts | 10 +- api/ext/GL_HP_texture_lighting.ts | 10 +- api/ext/GL_IBM_cull_vertex.ts | 10 +- api/ext/GL_IBM_multimode_draw_arrays.ts | 28 +- api/ext/GL_IBM_rasterpos_clip.ts | 10 +- api/ext/GL_IBM_static_data.ts | 19 +- api/ext/GL_IBM_texture_mirrored_repeat.ts | 10 +- api/ext/GL_IBM_vertex_array_lists.ts | 82 +- api/ext/GL_IMG_bindless_texture.ts | 64 +- api/ext/GL_IMG_framebuffer_downsample.ts | 28 +- .../GL_IMG_multisampled_render_to_texture.ts | 28 +- api/ext/GL_IMG_program_binary.ts | 10 +- api/ext/GL_IMG_read_format.ts | 10 +- api/ext/GL_IMG_shader_binary.ts | 10 +- api/ext/GL_IMG_texture_compression_pvrtc.ts | 10 +- api/ext/GL_IMG_texture_compression_pvrtc2.ts | 10 +- ...IMG_texture_env_enhanced_fixed_function.ts | 10 +- api/ext/GL_IMG_texture_filter_cubic.ts | 10 +- api/ext/GL_IMG_tile_region_protection.ts | 10 +- api/ext/GL_IMG_user_clip_plane.ts | 20 +- api/ext/GL_INGR_blend_func_separate.ts | 19 +- api/ext/GL_INGR_color_clamp.ts | 10 +- api/ext/GL_INGR_interlace_read.ts | 10 +- api/ext/GL_INTEL_blackhole_render.ts | 10 +- .../GL_INTEL_conservative_rasterization.ts | 10 +- api/ext/GL_INTEL_fragment_shader_ordering.ts | 10 +- api/ext/GL_INTEL_framebuffer_CMAA.ts | 19 +- api/ext/GL_INTEL_map_texture.ts | 33 +- api/ext/GL_INTEL_parallel_arrays.ts | 46 +- api/ext/GL_INTEL_performance_query.ts | 114 +- api/ext/GL_KHR_blend_equation_advanced.ts | 15 +- ...GL_KHR_blend_equation_advanced_coherent.ts | 10 +- api/ext/GL_KHR_context_flush_control.ts | 10 +- api/ext/GL_KHR_debug.ts | 194 +- api/ext/GL_KHR_no_error.ts | 10 +- api/ext/GL_KHR_parallel_shader_compile.ts | 19 +- .../GL_KHR_robust_buffer_access_behavior.ts | 10 +- api/ext/GL_KHR_robustness.ts | 72 +- api/ext/GL_KHR_shader_subgroup.ts | 10 +- .../GL_KHR_texture_compression_astc_hdr.ts | 10 +- .../GL_KHR_texture_compression_astc_ldr.ts | 10 +- ..._KHR_texture_compression_astc_sliced_3d.ts | 10 +- api/ext/GL_MESAX_texture_stack.ts | 10 +- api/ext/GL_MESA_bgra.ts | 10 +- api/ext/GL_MESA_framebuffer_flip_x.ts | 10 +- api/ext/GL_MESA_framebuffer_flip_y.ts | 28 +- api/ext/GL_MESA_framebuffer_swap_xy.ts | 10 +- api/ext/GL_MESA_pack_invert.ts | 10 +- api/ext/GL_MESA_program_binary_formats.ts | 10 +- api/ext/GL_MESA_resize_buffers.ts | 19 +- api/ext/GL_MESA_shader_integer_functions.ts | 10 +- api/ext/GL_MESA_tile_raster_order.ts | 10 +- api/ext/GL_MESA_window_pos.ts | 130 +- api/ext/GL_MESA_ycbcr_texture.ts | 10 +- ...nd_equation_advanced_multi_draw_buffers.ts | 10 +- api/ext/GL_NVX_conditional_render.ts | 28 +- api/ext/GL_NVX_cross_process_interop.ts | 10 +- api/ext/GL_NVX_gpu_memory_info.ts | 10 +- api/ext/GL_NVX_gpu_multicast2.ts | 102 +- api/ext/GL_NVX_linked_gpu_multicast.ts | 53 +- api/ext/GL_NVX_progress_fence.ts | 46 +- .../GL_NV_alpha_to_coverage_dither_control.ts | 19 +- api/ext/GL_NV_bindless_multi_draw_indirect.ts | 28 +- ...L_NV_bindless_multi_draw_indirect_count.ts | 28 +- api/ext/GL_NV_bindless_texture.ts | 123 +- api/ext/GL_NV_blend_equation_advanced.ts | 24 +- .../GL_NV_blend_equation_advanced_coherent.ts | 10 +- api/ext/GL_NV_blend_minmax_factor.ts | 10 +- api/ext/GL_NV_blend_square.ts | 10 +- api/ext/GL_NV_clip_space_w_scaling.ts | 19 +- api/ext/GL_NV_command_list.ts | 135 +- api/ext/GL_NV_compute_program5.ts | 10 +- api/ext/GL_NV_compute_shader_derivatives.ts | 10 +- api/ext/GL_NV_conditional_render.ts | 28 +- api/ext/GL_NV_conservative_raster.ts | 19 +- api/ext/GL_NV_conservative_raster_dilate.ts | 19 +- api/ext/GL_NV_conservative_raster_pre_snap.ts | 10 +- ..._conservative_raster_pre_snap_triangles.ts | 19 +- ..._NV_conservative_raster_underestimation.ts | 10 +- api/ext/GL_NV_copy_buffer.ts | 19 +- api/ext/GL_NV_copy_depth_to_color.ts | 10 +- api/ext/GL_NV_copy_image.ts | 37 +- api/ext/GL_NV_coverage_sample.ts | 24 +- api/ext/GL_NV_deep_texture3D.ts | 10 +- api/ext/GL_NV_depth_buffer_float.ts | 25 +- api/ext/GL_NV_depth_clamp.ts | 10 +- api/ext/GL_NV_depth_nonlinear.ts | 10 +- api/ext/GL_NV_draw_buffers.ts | 15 +- api/ext/GL_NV_draw_instanced.ts | 28 +- api/ext/GL_NV_draw_texture.ts | 29 +- api/ext/GL_NV_draw_vulkan_image.ts | 57 +- api/ext/GL_NV_evaluators.ts | 79 +- api/ext/GL_NV_explicit_attrib_location.ts | 10 +- api/ext/GL_NV_explicit_multisample.ts | 37 +- api/ext/GL_NV_fbo_color_attachments.ts | 10 +- api/ext/GL_NV_fence.ts | 45 +- api/ext/GL_NV_fill_rectangle.ts | 10 +- api/ext/GL_NV_float_buffer.ts | 10 +- api/ext/GL_NV_fog_distance.ts | 10 +- api/ext/GL_NV_fragment_coverage_to_color.ts | 19 +- api/ext/GL_NV_fragment_program.ts | 64 +- api/ext/GL_NV_fragment_program2.ts | 10 +- api/ext/GL_NV_fragment_program4.ts | 10 +- api/ext/GL_NV_fragment_program_option.ts | 10 +- api/ext/GL_NV_fragment_shader_barycentric.ts | 10 +- api/ext/GL_NV_fragment_shader_interlock.ts | 10 +- api/ext/GL_NV_framebuffer_blit.ts | 32 +- api/ext/GL_NV_framebuffer_mixed_samples.ts | 42 +- api/ext/GL_NV_framebuffer_multisample.ts | 19 +- .../GL_NV_framebuffer_multisample_coverage.ts | 19 +- api/ext/GL_NV_generate_mipmap_sRGB.ts | 10 +- api/ext/GL_NV_geometry_program4.ts | 46 +- api/ext/GL_NV_geometry_shader4.ts | 10 +- api/ext/GL_NV_geometry_shader_passthrough.ts | 10 +- api/ext/GL_NV_gpu_multicast.ts | 149 +- api/ext/GL_NV_gpu_program4.ts | 154 +- api/ext/GL_NV_gpu_program5.ts | 28 +- api/ext/GL_NV_gpu_program5_mem_extended.ts | 10 +- api/ext/GL_NV_gpu_shader5.ts | 239 +- api/ext/GL_NV_half_float.ts | 312 +- api/ext/GL_NV_image_formats.ts | 10 +- api/ext/GL_NV_instanced_arrays.ts | 19 +- api/ext/GL_NV_internalformat_sample_query.ts | 19 +- api/ext/GL_NV_light_max_exponent.ts | 10 +- api/ext/GL_NV_memory_attachment.ts | 64 +- api/ext/GL_NV_memory_object_sparse.ts | 76 +- api/ext/GL_NV_mesh_shader.ts | 42 +- api/ext/GL_NV_multisample_coverage.ts | 10 +- api/ext/GL_NV_multisample_filter_hint.ts | 10 +- api/ext/GL_NV_non_square_matrices.ts | 64 +- api/ext/GL_NV_occlusion_query.ts | 73 +- api/ext/GL_NV_packed_depth_stencil.ts | 10 +- api/ext/GL_NV_parameter_buffer_object.ts | 37 +- api/ext/GL_NV_parameter_buffer_object2.ts | 10 +- api/ext/GL_NV_path_rendering.ts | 676 ++- api/ext/GL_NV_path_rendering_shared_edge.ts | 10 +- api/ext/GL_NV_pixel_buffer_object.ts | 10 +- api/ext/GL_NV_pixel_data_range.ts | 24 +- api/ext/GL_NV_point_sprite.ts | 28 +- api/ext/GL_NV_polygon_mode.ts | 15 +- api/ext/GL_NV_present_video.ts | 78 +- api/ext/GL_NV_primitive_restart.ts | 28 +- api/ext/GL_NV_primitive_shading_rate.ts | 10 +- api/ext/GL_NV_query_resource.ts | 15 +- api/ext/GL_NV_query_resource_tag.ts | 37 +- api/ext/GL_NV_read_buffer.ts | 15 +- api/ext/GL_NV_read_buffer_front.ts | 10 +- api/ext/GL_NV_read_depth.ts | 10 +- api/ext/GL_NV_read_depth_stencil.ts | 10 +- api/ext/GL_NV_read_stencil.ts | 10 +- api/ext/GL_NV_register_combiners.ts | 132 +- api/ext/GL_NV_register_combiners2.ts | 28 +- api/ext/GL_NV_representative_fragment_test.ts | 10 +- .../GL_NV_robustness_video_memory_purge.ts | 10 +- api/ext/GL_NV_sRGB_formats.ts | 10 +- api/ext/GL_NV_sample_locations.ts | 37 +- .../GL_NV_sample_mask_override_coverage.ts | 10 +- api/ext/GL_NV_scissor_exclusive.ts | 28 +- api/ext/GL_NV_shader_atomic_counters.ts | 10 +- api/ext/GL_NV_shader_atomic_float.ts | 10 +- api/ext/GL_NV_shader_atomic_float64.ts | 10 +- api/ext/GL_NV_shader_atomic_fp16_vector.ts | 10 +- api/ext/GL_NV_shader_atomic_int64.ts | 10 +- api/ext/GL_NV_shader_buffer_load.ts | 128 +- api/ext/GL_NV_shader_buffer_store.ts | 10 +- ...L_NV_shader_noperspective_interpolation.ts | 10 +- api/ext/GL_NV_shader_storage_buffer_object.ts | 10 +- api/ext/GL_NV_shader_subgroup_partitioned.ts | 10 +- api/ext/GL_NV_shader_texture_footprint.ts | 10 +- api/ext/GL_NV_shader_thread_group.ts | 10 +- api/ext/GL_NV_shader_thread_shuffle.ts | 10 +- api/ext/GL_NV_shading_rate_image.ts | 73 +- api/ext/GL_NV_shadow_samplers_array.ts | 10 +- api/ext/GL_NV_shadow_samplers_cube.ts | 10 +- api/ext/GL_NV_stereo_view_rendering.ts | 10 +- api/ext/GL_NV_tessellation_program5.ts | 10 +- api/ext/GL_NV_texgen_emboss.ts | 10 +- api/ext/GL_NV_texgen_reflection.ts | 10 +- api/ext/GL_NV_texture_barrier.ts | 15 +- api/ext/GL_NV_texture_border_clamp.ts | 10 +- .../GL_NV_texture_compression_s3tc_update.ts | 10 +- api/ext/GL_NV_texture_compression_vtc.ts | 10 +- api/ext/GL_NV_texture_env_combine4.ts | 10 +- api/ext/GL_NV_texture_expand_normal.ts | 10 +- api/ext/GL_NV_texture_multisample.ts | 64 +- api/ext/GL_NV_texture_npot_2D_mipmap.ts | 10 +- api/ext/GL_NV_texture_rectangle.ts | 10 +- api/ext/GL_NV_texture_rectangle_compressed.ts | 10 +- api/ext/GL_NV_texture_shader.ts | 10 +- api/ext/GL_NV_texture_shader2.ts | 10 +- api/ext/GL_NV_texture_shader3.ts | 10 +- api/ext/GL_NV_timeline_semaphore.ts | 37 +- api/ext/GL_NV_transform_feedback2.ts | 73 +- .../GL_NV_uniform_buffer_unified_memory.ts | 10 +- api/ext/GL_NV_vdpau_interop.ts | 88 +- api/ext/GL_NV_vdpau_interop2.ts | 20 +- api/ext/GL_NV_vertex_array_range.ts | 28 +- api/ext/GL_NV_vertex_array_range2.ts | 10 +- api/ext/GL_NV_vertex_attrib_integer_64bit.ts | 181 +- api/ext/GL_NV_vertex_buffer_unified_memory.ts | 90 +- api/ext/GL_NV_vertex_program.ts | 506 +- api/ext/GL_NV_vertex_program1_1.ts | 10 +- api/ext/GL_NV_vertex_program2.ts | 10 +- api/ext/GL_NV_vertex_program2_option.ts | 10 +- api/ext/GL_NV_vertex_program3.ts | 10 +- api/ext/GL_NV_vertex_program4.ts | 217 +- api/ext/GL_NV_video_capture.ts | 114 +- api/ext/GL_NV_viewport_array.ts | 90 +- api/ext/GL_NV_viewport_array2.ts | 10 +- api/ext/GL_NV_viewport_swizzle.ts | 19 +- api/ext/GL_OES_EGL_image.ts | 28 +- api/ext/GL_OES_EGL_image_external.ts | 10 +- api/ext/GL_OES_EGL_image_external_essl3.ts | 10 +- api/ext/GL_OES_blend_equation_separate.ts | 19 +- api/ext/GL_OES_blend_func_separate.ts | 19 +- api/ext/GL_OES_blend_subtract.ts | 15 +- api/ext/GL_OES_byte_coordinates.ts | 152 +- ...GL_OES_compressed_ETC1_RGB8_sub_texture.ts | 10 +- .../GL_OES_compressed_ETC1_RGB8_texture.ts | 10 +- api/ext/GL_OES_compressed_paletted_texture.ts | 10 +- api/ext/GL_OES_copy_image.ts | 37 +- api/ext/GL_OES_depth24.ts | 10 +- api/ext/GL_OES_depth32.ts | 10 +- api/ext/GL_OES_depth_texture.ts | 10 +- api/ext/GL_OES_draw_buffers_indexed.ts | 62 +- api/ext/GL_OES_draw_elements_base_vertex.ts | 46 +- api/ext/GL_OES_draw_texture.ts | 50 +- api/ext/GL_OES_element_index_uint.ts | 10 +- api/ext/GL_OES_extended_matrix_palette.ts | 10 +- api/ext/GL_OES_fbo_render_mipmap.ts | 10 +- api/ext/GL_OES_fixed_point.ts | 629 +- api/ext/GL_OES_fragment_precision_high.ts | 10 +- api/ext/GL_OES_framebuffer_object.ts | 141 +- api/ext/GL_OES_geometry_point_size.ts | 10 +- api/ext/GL_OES_geometry_shader.ts | 19 +- api/ext/GL_OES_get_program_binary.ts | 24 +- api/ext/GL_OES_gpu_shader5.ts | 10 +- api/ext/GL_OES_mapbuffer.ts | 29 +- api/ext/GL_OES_matrix_get.ts | 10 +- api/ext/GL_OES_matrix_palette.ts | 42 +- api/ext/GL_OES_packed_depth_stencil.ts | 10 +- api/ext/GL_OES_point_size_array.ts | 19 +- api/ext/GL_OES_point_sprite.ts | 10 +- api/ext/GL_OES_primitive_bounding_box.ts | 19 +- api/ext/GL_OES_query_matrix.ts | 15 +- api/ext/GL_OES_read_format.ts | 10 +- api/ext/GL_OES_required_internalformat.ts | 10 +- api/ext/GL_OES_rgb8_rgba8.ts | 10 +- api/ext/GL_OES_sample_shading.ts | 19 +- api/ext/GL_OES_sample_variables.ts | 10 +- api/ext/GL_OES_shader_image_atomic.ts | 10 +- api/ext/GL_OES_shader_io_blocks.ts | 10 +- ...GL_OES_shader_multisample_interpolation.ts | 10 +- api/ext/GL_OES_single_precision.ts | 40 +- api/ext/GL_OES_standard_derivatives.ts | 10 +- api/ext/GL_OES_stencil1.ts | 10 +- api/ext/GL_OES_stencil4.ts | 10 +- api/ext/GL_OES_stencil8.ts | 10 +- api/ext/GL_OES_stencil_wrap.ts | 10 +- api/ext/GL_OES_surfaceless_context.ts | 10 +- api/ext/GL_OES_tessellation_point_size.ts | 10 +- api/ext/GL_OES_tessellation_shader.ts | 19 +- api/ext/GL_OES_texture_3D.ts | 109 +- api/ext/GL_OES_texture_border_clamp.ts | 82 +- api/ext/GL_OES_texture_buffer.ts | 24 +- api/ext/GL_OES_texture_compression_astc.ts | 10 +- api/ext/GL_OES_texture_cube_map.ts | 55 +- api/ext/GL_OES_texture_cube_map_array.ts | 10 +- api/ext/GL_OES_texture_env_crossbar.ts | 10 +- api/ext/GL_OES_texture_float.ts | 10 +- api/ext/GL_OES_texture_float_linear.ts | 10 +- api/ext/GL_OES_texture_half_float.ts | 10 +- api/ext/GL_OES_texture_half_float_linear.ts | 10 +- api/ext/GL_OES_texture_mirrored_repeat.ts | 10 +- api/ext/GL_OES_texture_npot.ts | 10 +- api/ext/GL_OES_texture_stencil8.ts | 10 +- ...ES_texture_storage_multisample_2d_array.ts | 19 +- api/ext/GL_OES_texture_view.ts | 15 +- api/ext/GL_OES_vertex_array_object.ts | 42 +- api/ext/GL_OES_vertex_half_float.ts | 10 +- api/ext/GL_OES_vertex_type_10_10_10_2.ts | 10 +- api/ext/GL_OES_viewport_array.ts | 98 +- api/ext/GL_OML_interlace.ts | 10 +- api/ext/GL_OML_resample.ts | 10 +- api/ext/GL_OML_subsample.ts | 10 +- api/ext/GL_OVR_multiview.ts | 19 +- api/ext/GL_OVR_multiview2.ts | 10 +- ...ultiview_multisampled_render_to_texture.ts | 19 +- api/ext/GL_PGI_misc_hints.ts | 10 +- api/ext/GL_PGI_vertex_hints.ts | 10 +- api/ext/GL_QCOM_YUV_texture_gather.ts | 10 +- api/ext/GL_QCOM_alpha_test.ts | 15 +- api/ext/GL_QCOM_binning_control.ts | 10 +- api/ext/GL_QCOM_driver_control.ts | 46 +- api/ext/GL_QCOM_extended_get.ts | 96 +- api/ext/GL_QCOM_extended_get2.ts | 46 +- api/ext/GL_QCOM_frame_extrapolation.ts | 19 +- api/ext/GL_QCOM_framebuffer_foveated.ts | 28 +- api/ext/GL_QCOM_motion_estimation.ts | 28 +- api/ext/GL_QCOM_perfmon_global_mode.ts | 10 +- api/ext/GL_QCOM_render_shared_exponent.ts | 10 +- ...OM_shader_framebuffer_fetch_noncoherent.ts | 19 +- .../GL_QCOM_shader_framebuffer_fetch_rate.ts | 10 +- api/ext/GL_QCOM_shading_rate.ts | 15 +- api/ext/GL_QCOM_texture_foveated.ts | 19 +- api/ext/GL_QCOM_texture_foveated2.ts | 10 +- ...QCOM_texture_foveated_subsampled_layout.ts | 10 +- api/ext/GL_QCOM_tiled_rendering.ts | 20 +- api/ext/GL_QCOM_writeonly_rendering.ts | 10 +- api/ext/GL_REND_screen_coordinates.ts | 10 +- api/ext/GL_S3_s3tc.ts | 10 +- api/ext/GL_SGIS_detail_texture.ts | 28 +- api/ext/GL_SGIS_fog_function.ts | 20 +- api/ext/GL_SGIS_generate_mipmap.ts | 10 +- api/ext/GL_SGIS_multisample.ts | 24 +- api/ext/GL_SGIS_pixel_texture.ts | 64 +- api/ext/GL_SGIS_point_line_texgen.ts | 10 +- api/ext/GL_SGIS_point_parameters.ts | 28 +- api/ext/GL_SGIS_sharpen_texture.ts | 28 +- api/ext/GL_SGIS_texture4D.ts | 54 +- api/ext/GL_SGIS_texture_border_clamp.ts | 10 +- api/ext/GL_SGIS_texture_color_mask.ts | 19 +- api/ext/GL_SGIS_texture_edge_clamp.ts | 10 +- api/ext/GL_SGIS_texture_filter4.ts | 28 +- api/ext/GL_SGIS_texture_lod.ts | 10 +- api/ext/GL_SGIS_texture_select.ts | 10 +- api/ext/GL_SGIX_async.ts | 52 +- api/ext/GL_SGIX_async_histogram.ts | 10 +- api/ext/GL_SGIX_async_pixel.ts | 10 +- api/ext/GL_SGIX_blend_alpha_minmax.ts | 10 +- api/ext/GL_SGIX_calligraphic_fragment.ts | 10 +- api/ext/GL_SGIX_clipmap.ts | 10 +- api/ext/GL_SGIX_convolution_accuracy.ts | 10 +- api/ext/GL_SGIX_depth_pass_instrument.ts | 10 +- api/ext/GL_SGIX_depth_texture.ts | 10 +- api/ext/GL_SGIX_flush_raster.ts | 15 +- api/ext/GL_SGIX_fog_offset.ts | 10 +- api/ext/GL_SGIX_fragment_lighting.ts | 168 +- api/ext/GL_SGIX_framezoom.ts | 15 +- api/ext/GL_SGIX_igloo_interface.ts | 19 +- api/ext/GL_SGIX_instruments.ts | 64 +- api/ext/GL_SGIX_interlace.ts | 10 +- api/ext/GL_SGIX_ir_instrument1.ts | 10 +- api/ext/GL_SGIX_list_priority.ts | 64 +- api/ext/GL_SGIX_pixel_texture.ts | 15 +- api/ext/GL_SGIX_pixel_tiles.ts | 10 +- api/ext/GL_SGIX_polynomial_ffd.ts | 76 +- api/ext/GL_SGIX_reference_plane.ts | 19 +- api/ext/GL_SGIX_resample.ts | 10 +- api/ext/GL_SGIX_scalebias_hint.ts | 10 +- api/ext/GL_SGIX_shadow.ts | 10 +- api/ext/GL_SGIX_shadow_ambient.ts | 10 +- api/ext/GL_SGIX_sprite.ts | 46 +- api/ext/GL_SGIX_subsample.ts | 10 +- api/ext/GL_SGIX_tag_sample_buffer.ts | 19 +- api/ext/GL_SGIX_texture_add_env.ts | 10 +- api/ext/GL_SGIX_texture_coordinate_clamp.ts | 10 +- api/ext/GL_SGIX_texture_lod_bias.ts | 10 +- api/ext/GL_SGIX_texture_multi_buffer.ts | 10 +- api/ext/GL_SGIX_texture_scale_bias.ts | 10 +- api/ext/GL_SGIX_vertex_preclip.ts | 10 +- api/ext/GL_SGIX_ycrcb.ts | 10 +- api/ext/GL_SGIX_ycrcb_subsample.ts | 10 +- api/ext/GL_SGIX_ycrcba.ts | 10 +- api/ext/GL_SGI_color_matrix.ts | 10 +- api/ext/GL_SGI_color_table.ts | 65 +- api/ext/GL_SGI_texture_color_table.ts | 10 +- api/ext/GL_SUNX_constant_data.ts | 19 +- api/ext/GL_SUN_convolution_border_modes.ts | 10 +- api/ext/GL_SUN_global_alpha.ts | 82 +- api/ext/GL_SUN_mesh_array.ts | 19 +- api/ext/GL_SUN_slice_accum.ts | 10 +- api/ext/GL_SUN_triangle_list.ts | 73 +- api/ext/GL_SUN_vertex.ts | 452 +- api/ext/GL_VIV_shader_binary.ts | 10 +- api/ext/GL_WIN_phong_shading.ts | 10 +- api/ext/GL_WIN_specular_fog.ts | 10 +- api/gl1.1.ts | 1203 +++- api/gl1.2.ts | 1258 +++- api/gl1.3.ts | 1580 +++++- api/gl1.4.ts | 1871 ++++-- api/gl1.5.ts | 1963 +++++-- api/gl1.ts | 1023 +++- api/gl2.1.ts | 2553 +++++++-- api/gl2.ts | 2499 ++++++-- api/gl3.1.ts | 3224 ++++++++--- api/gl3.2.ts | 1991 +++++-- api/gl3.3.ts | 2393 ++++++-- api/gl3.ts | 3120 +++++++--- api/gl4.1.ts | 3391 ++++++++--- api/gl4.2.ts | 3482 +++++++++--- api/gl4.3.ts | 3863 ++++++++++--- api/gl4.4.ts | 3930 ++++++++++--- api/gl4.5.ts | 5023 ++++++++++++---- api/gl4.6.ts | 5055 +++++++++++++---- api/gl4.ts | 2735 +++++++-- api/gles11.ts | 611 +- api/gles22.ts | 824 ++- api/gles23.1.ts | 2152 +++++-- api/gles23.2.ts | 2471 ++++++-- api/gles23.ts | 1604 ++++-- api/glsc22.ts | 639 ++- scripts/emitter.ts | 630 +- src/webgl/deps.ts | 2 +- 874 files changed, 74083 insertions(+), 18374 deletions(-) diff --git a/README.md b/README.md index 0da5cf9..42660cb 100644 --- a/README.md +++ b/README.md @@ -54,4 +54,4 @@ deno run --unstable --allow-ffi [Apache-2.0](./LICENSE) licensed. -Copyright 2022 © The Deno Windowing Team +Copyright 2023 © The Deno Windowing Team diff --git a/api/ext/GL_3DFX_multisample.ts b/api/ext/GL_3DFX_multisample.ts index 28a4ec9..2e7e1fe 100644 --- a/api/ext/GL_3DFX_multisample.ts +++ b/api/ext/GL_3DFX_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_3DFX_tbuffer.ts b/api/ext/GL_3DFX_tbuffer.ts index 7ea1465..32010d9 100644 --- a/api/ext/GL_3DFX_tbuffer.ts +++ b/api/ext/GL_3DFX_tbuffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -78,5 +86,8 @@ export function TbufferMask3DFX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTbufferMask3DFX = new Deno.UnsafeFnPointer(proc("glTbufferMask3DFX"), def_glTbufferMask3DFX); + fn_glTbufferMask3DFX = new Deno.UnsafeFnPointer( + proc("glTbufferMask3DFX"), + def_glTbufferMask3DFX, + ); } diff --git a/api/ext/GL_3DFX_texture_compression_FXT1.ts b/api/ext/GL_3DFX_texture_compression_FXT1.ts index 63ee572..652f69a 100644 --- a/api/ext/GL_3DFX_texture_compression_FXT1.ts +++ b/api/ext/GL_3DFX_texture_compression_FXT1.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_blend_minmax_factor.ts b/api/ext/GL_AMD_blend_minmax_factor.ts index 474478e..c546b81 100644 --- a/api/ext/GL_AMD_blend_minmax_factor.ts +++ b/api/ext/GL_AMD_blend_minmax_factor.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_compressed_3DC_texture.ts b/api/ext/GL_AMD_compressed_3DC_texture.ts index 107d7e4..69d083e 100644 --- a/api/ext/GL_AMD_compressed_3DC_texture.ts +++ b/api/ext/GL_AMD_compressed_3DC_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_compressed_ATC_texture.ts b/api/ext/GL_AMD_compressed_ATC_texture.ts index 304c7dc..a3c968f 100644 --- a/api/ext/GL_AMD_compressed_ATC_texture.ts +++ b/api/ext/GL_AMD_compressed_ATC_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_conservative_depth.ts b/api/ext/GL_AMD_conservative_depth.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_conservative_depth.ts +++ b/api/ext/GL_AMD_conservative_depth.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_debug_output.ts b/api/ext/GL_AMD_debug_output.ts index 6a5938c..139a2cb 100644 --- a/api/ext/GL_AMD_debug_output.ts +++ b/api/ext/GL_AMD_debug_output.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -82,7 +90,9 @@ export const def_glDebugMessageEnableAMD = { result: "void", } as const; -let fn_glDebugMessageEnableAMD!: Deno.UnsafeFnPointer; +let fn_glDebugMessageEnableAMD!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageEnableAMD +>; export function DebugMessageEnableAMD( category: GLenum, @@ -105,7 +115,9 @@ export const def_glDebugMessageInsertAMD = { result: "void", } as const; -let fn_glDebugMessageInsertAMD!: Deno.UnsafeFnPointer; +let fn_glDebugMessageInsertAMD!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageInsertAMD +>; export function DebugMessageInsertAMD( category: GLenum, @@ -128,7 +140,9 @@ export const def_glDebugMessageCallbackAMD = { result: "void", } as const; -let fn_glDebugMessageCallbackAMD!: Deno.UnsafeFnPointer; +let fn_glDebugMessageCallbackAMD!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageCallbackAMD +>; export function DebugMessageCallbackAMD( callback: GLDEBUGPROCAMD, @@ -145,7 +159,9 @@ export const def_glGetDebugMessageLogAMD = { result: "u32", } as const; -let fn_glGetDebugMessageLogAMD!: Deno.UnsafeFnPointer; +let fn_glGetDebugMessageLogAMD!: Deno.UnsafeFnPointer< + typeof def_glGetDebugMessageLogAMD +>; export function GetDebugMessageLogAMD( count: GLuint, @@ -169,8 +185,20 @@ export function GetDebugMessageLogAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDebugMessageEnableAMD = new Deno.UnsafeFnPointer(proc("glDebugMessageEnableAMD"), def_glDebugMessageEnableAMD); - fn_glDebugMessageInsertAMD = new Deno.UnsafeFnPointer(proc("glDebugMessageInsertAMD"), def_glDebugMessageInsertAMD); - fn_glDebugMessageCallbackAMD = new Deno.UnsafeFnPointer(proc("glDebugMessageCallbackAMD"), def_glDebugMessageCallbackAMD); - fn_glGetDebugMessageLogAMD = new Deno.UnsafeFnPointer(proc("glGetDebugMessageLogAMD"), def_glGetDebugMessageLogAMD); + fn_glDebugMessageEnableAMD = new Deno.UnsafeFnPointer( + proc("glDebugMessageEnableAMD"), + def_glDebugMessageEnableAMD, + ); + fn_glDebugMessageInsertAMD = new Deno.UnsafeFnPointer( + proc("glDebugMessageInsertAMD"), + def_glDebugMessageInsertAMD, + ); + fn_glDebugMessageCallbackAMD = new Deno.UnsafeFnPointer( + proc("glDebugMessageCallbackAMD"), + def_glDebugMessageCallbackAMD, + ); + fn_glGetDebugMessageLogAMD = new Deno.UnsafeFnPointer( + proc("glGetDebugMessageLogAMD"), + def_glGetDebugMessageLogAMD, + ); } diff --git a/api/ext/GL_AMD_depth_clamp_separate.ts b/api/ext/GL_AMD_depth_clamp_separate.ts index 8af3b88..974edef 100644 --- a/api/ext/GL_AMD_depth_clamp_separate.ts +++ b/api/ext/GL_AMD_depth_clamp_separate.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_draw_buffers_blend.ts b/api/ext/GL_AMD_draw_buffers_blend.ts index 416e763..6f9cf10 100644 --- a/api/ext/GL_AMD_draw_buffers_blend.ts +++ b/api/ext/GL_AMD_draw_buffers_blend.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glBlendFuncIndexedAMD = { result: "void", } as const; -let fn_glBlendFuncIndexedAMD!: Deno.UnsafeFnPointer; +let fn_glBlendFuncIndexedAMD!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncIndexedAMD +>; export function BlendFuncIndexedAMD( buf: GLuint, @@ -85,7 +95,9 @@ export const def_glBlendFuncSeparateIndexedAMD = { result: "void", } as const; -let fn_glBlendFuncSeparateIndexedAMD!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparateIndexedAMD!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparateIndexedAMD +>; export function BlendFuncSeparateIndexedAMD( buf: GLuint, @@ -108,7 +120,9 @@ export const def_glBlendEquationIndexedAMD = { result: "void", } as const; -let fn_glBlendEquationIndexedAMD!: Deno.UnsafeFnPointer; +let fn_glBlendEquationIndexedAMD!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationIndexedAMD +>; export function BlendEquationIndexedAMD( buf: GLuint, @@ -125,7 +139,9 @@ export const def_glBlendEquationSeparateIndexedAMD = { result: "void", } as const; -let fn_glBlendEquationSeparateIndexedAMD!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparateIndexedAMD!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparateIndexedAMD +>; export function BlendEquationSeparateIndexedAMD( buf: GLuint, @@ -141,8 +157,20 @@ export function BlendEquationSeparateIndexedAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendFuncIndexedAMD = new Deno.UnsafeFnPointer(proc("glBlendFuncIndexedAMD"), def_glBlendFuncIndexedAMD); - fn_glBlendFuncSeparateIndexedAMD = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparateIndexedAMD"), def_glBlendFuncSeparateIndexedAMD); - fn_glBlendEquationIndexedAMD = new Deno.UnsafeFnPointer(proc("glBlendEquationIndexedAMD"), def_glBlendEquationIndexedAMD); - fn_glBlendEquationSeparateIndexedAMD = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparateIndexedAMD"), def_glBlendEquationSeparateIndexedAMD); + fn_glBlendFuncIndexedAMD = new Deno.UnsafeFnPointer( + proc("glBlendFuncIndexedAMD"), + def_glBlendFuncIndexedAMD, + ); + fn_glBlendFuncSeparateIndexedAMD = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparateIndexedAMD"), + def_glBlendFuncSeparateIndexedAMD, + ); + fn_glBlendEquationIndexedAMD = new Deno.UnsafeFnPointer( + proc("glBlendEquationIndexedAMD"), + def_glBlendEquationIndexedAMD, + ); + fn_glBlendEquationSeparateIndexedAMD = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparateIndexedAMD"), + def_glBlendEquationSeparateIndexedAMD, + ); } diff --git a/api/ext/GL_AMD_framebuffer_multisample_advanced.ts b/api/ext/GL_AMD_framebuffer_multisample_advanced.ts index 6f72785..e6c21f9 100644 --- a/api/ext/GL_AMD_framebuffer_multisample_advanced.ts +++ b/api/ext/GL_AMD_framebuffer_multisample_advanced.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,7 +82,9 @@ export const def_glRenderbufferStorageMultisampleAdvancedAMD = { result: "void", } as const; -let fn_glRenderbufferStorageMultisampleAdvancedAMD!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisampleAdvancedAMD!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisampleAdvancedAMD +>; export function RenderbufferStorageMultisampleAdvancedAMD( target: GLenum, @@ -99,7 +109,9 @@ export const def_glNamedRenderbufferStorageMultisampleAdvancedAMD = { result: "void", } as const; -let fn_glNamedRenderbufferStorageMultisampleAdvancedAMD!: Deno.UnsafeFnPointer; +let fn_glNamedRenderbufferStorageMultisampleAdvancedAMD!: Deno.UnsafeFnPointer< + typeof def_glNamedRenderbufferStorageMultisampleAdvancedAMD +>; export function NamedRenderbufferStorageMultisampleAdvancedAMD( renderbuffer: GLuint, @@ -121,6 +133,13 @@ export function NamedRenderbufferStorageMultisampleAdvancedAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glRenderbufferStorageMultisampleAdvancedAMD = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisampleAdvancedAMD"), def_glRenderbufferStorageMultisampleAdvancedAMD); - fn_glNamedRenderbufferStorageMultisampleAdvancedAMD = new Deno.UnsafeFnPointer(proc("glNamedRenderbufferStorageMultisampleAdvancedAMD"), def_glNamedRenderbufferStorageMultisampleAdvancedAMD); + fn_glRenderbufferStorageMultisampleAdvancedAMD = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisampleAdvancedAMD"), + def_glRenderbufferStorageMultisampleAdvancedAMD, + ); + fn_glNamedRenderbufferStorageMultisampleAdvancedAMD = new Deno + .UnsafeFnPointer( + proc("glNamedRenderbufferStorageMultisampleAdvancedAMD"), + def_glNamedRenderbufferStorageMultisampleAdvancedAMD, + ); } diff --git a/api/ext/GL_AMD_framebuffer_sample_positions.ts b/api/ext/GL_AMD_framebuffer_sample_positions.ts index df24e02..495564f 100644 --- a/api/ext/GL_AMD_framebuffer_sample_positions.ts +++ b/api/ext/GL_AMD_framebuffer_sample_positions.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glFramebufferSamplePositionsfvAMD = { result: "void", } as const; -let fn_glFramebufferSamplePositionsfvAMD!: Deno.UnsafeFnPointer; +let fn_glFramebufferSamplePositionsfvAMD!: Deno.UnsafeFnPointer< + typeof def_glFramebufferSamplePositionsfvAMD +>; export function FramebufferSamplePositionsfvAMD( target: GLenum, @@ -93,7 +103,9 @@ export const def_glNamedFramebufferSamplePositionsfvAMD = { result: "void", } as const; -let fn_glNamedFramebufferSamplePositionsfvAMD!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferSamplePositionsfvAMD!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferSamplePositionsfvAMD +>; export function NamedFramebufferSamplePositionsfvAMD( framebuffer: GLuint, @@ -114,7 +126,9 @@ export const def_glGetFramebufferParameterfvAMD = { result: "void", } as const; -let fn_glGetFramebufferParameterfvAMD!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferParameterfvAMD!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferParameterfvAMD +>; export function GetFramebufferParameterfvAMD( target: GLenum, @@ -139,7 +153,9 @@ export const def_glGetNamedFramebufferParameterfvAMD = { result: "void", } as const; -let fn_glGetNamedFramebufferParameterfvAMD!: Deno.UnsafeFnPointer; +let fn_glGetNamedFramebufferParameterfvAMD!: Deno.UnsafeFnPointer< + typeof def_glGetNamedFramebufferParameterfvAMD +>; export function GetNamedFramebufferParameterfvAMD( framebuffer: GLuint, @@ -161,8 +177,20 @@ export function GetNamedFramebufferParameterfvAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferSamplePositionsfvAMD = new Deno.UnsafeFnPointer(proc("glFramebufferSamplePositionsfvAMD"), def_glFramebufferSamplePositionsfvAMD); - fn_glNamedFramebufferSamplePositionsfvAMD = new Deno.UnsafeFnPointer(proc("glNamedFramebufferSamplePositionsfvAMD"), def_glNamedFramebufferSamplePositionsfvAMD); - fn_glGetFramebufferParameterfvAMD = new Deno.UnsafeFnPointer(proc("glGetFramebufferParameterfvAMD"), def_glGetFramebufferParameterfvAMD); - fn_glGetNamedFramebufferParameterfvAMD = new Deno.UnsafeFnPointer(proc("glGetNamedFramebufferParameterfvAMD"), def_glGetNamedFramebufferParameterfvAMD); + fn_glFramebufferSamplePositionsfvAMD = new Deno.UnsafeFnPointer( + proc("glFramebufferSamplePositionsfvAMD"), + def_glFramebufferSamplePositionsfvAMD, + ); + fn_glNamedFramebufferSamplePositionsfvAMD = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferSamplePositionsfvAMD"), + def_glNamedFramebufferSamplePositionsfvAMD, + ); + fn_glGetFramebufferParameterfvAMD = new Deno.UnsafeFnPointer( + proc("glGetFramebufferParameterfvAMD"), + def_glGetFramebufferParameterfvAMD, + ); + fn_glGetNamedFramebufferParameterfvAMD = new Deno.UnsafeFnPointer( + proc("glGetNamedFramebufferParameterfvAMD"), + def_glGetNamedFramebufferParameterfvAMD, + ); } diff --git a/api/ext/GL_AMD_gcn_shader.ts b/api/ext/GL_AMD_gcn_shader.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_gcn_shader.ts +++ b/api/ext/GL_AMD_gcn_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_gpu_shader_half_float.ts b/api/ext/GL_AMD_gpu_shader_half_float.ts index 4d2a2cb..d5b3bd1 100644 --- a/api/ext/GL_AMD_gpu_shader_half_float.ts +++ b/api/ext/GL_AMD_gpu_shader_half_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_gpu_shader_int16.ts b/api/ext/GL_AMD_gpu_shader_int16.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_gpu_shader_int16.ts +++ b/api/ext/GL_AMD_gpu_shader_int16.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_gpu_shader_int64.ts b/api/ext/GL_AMD_gpu_shader_int64.ts index 6609484..6e02846 100644 --- a/api/ext/GL_AMD_gpu_shader_int64.ts +++ b/api/ext/GL_AMD_gpu_shader_int64.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -427,7 +435,9 @@ export const def_glGetUniformui64vNV = { result: "void", } as const; -let fn_glGetUniformui64vNV!: Deno.UnsafeFnPointer; +let fn_glGetUniformui64vNV!: Deno.UnsafeFnPointer< + typeof def_glGetUniformui64vNV +>; export function GetUniformui64vNV( program: GLuint, @@ -446,7 +456,9 @@ export const def_glProgramUniform1i64NV = { result: "void", } as const; -let fn_glProgramUniform1i64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1i64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1i64NV +>; export function ProgramUniform1i64NV( program: GLuint, @@ -465,7 +477,9 @@ export const def_glProgramUniform2i64NV = { result: "void", } as const; -let fn_glProgramUniform2i64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2i64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2i64NV +>; export function ProgramUniform2i64NV( program: GLuint, @@ -486,7 +500,9 @@ export const def_glProgramUniform3i64NV = { result: "void", } as const; -let fn_glProgramUniform3i64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3i64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3i64NV +>; export function ProgramUniform3i64NV( program: GLuint, @@ -509,7 +525,9 @@ export const def_glProgramUniform4i64NV = { result: "void", } as const; -let fn_glProgramUniform4i64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4i64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4i64NV +>; export function ProgramUniform4i64NV( program: GLuint, @@ -534,7 +552,9 @@ export const def_glProgramUniform1i64vNV = { result: "void", } as const; -let fn_glProgramUniform1i64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1i64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1i64vNV +>; export function ProgramUniform1i64vNV( program: GLuint, @@ -555,7 +575,9 @@ export const def_glProgramUniform2i64vNV = { result: "void", } as const; -let fn_glProgramUniform2i64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2i64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2i64vNV +>; export function ProgramUniform2i64vNV( program: GLuint, @@ -576,7 +598,9 @@ export const def_glProgramUniform3i64vNV = { result: "void", } as const; -let fn_glProgramUniform3i64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3i64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3i64vNV +>; export function ProgramUniform3i64vNV( program: GLuint, @@ -597,7 +621,9 @@ export const def_glProgramUniform4i64vNV = { result: "void", } as const; -let fn_glProgramUniform4i64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4i64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4i64vNV +>; export function ProgramUniform4i64vNV( program: GLuint, @@ -618,7 +644,9 @@ export const def_glProgramUniform1ui64NV = { result: "void", } as const; -let fn_glProgramUniform1ui64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui64NV +>; export function ProgramUniform1ui64NV( program: GLuint, @@ -637,7 +665,9 @@ export const def_glProgramUniform2ui64NV = { result: "void", } as const; -let fn_glProgramUniform2ui64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui64NV +>; export function ProgramUniform2ui64NV( program: GLuint, @@ -658,7 +688,9 @@ export const def_glProgramUniform3ui64NV = { result: "void", } as const; -let fn_glProgramUniform3ui64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui64NV +>; export function ProgramUniform3ui64NV( program: GLuint, @@ -681,7 +713,9 @@ export const def_glProgramUniform4ui64NV = { result: "void", } as const; -let fn_glProgramUniform4ui64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui64NV +>; export function ProgramUniform4ui64NV( program: GLuint, @@ -706,7 +740,9 @@ export const def_glProgramUniform1ui64vNV = { result: "void", } as const; -let fn_glProgramUniform1ui64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui64vNV +>; export function ProgramUniform1ui64vNV( program: GLuint, @@ -727,7 +763,9 @@ export const def_glProgramUniform2ui64vNV = { result: "void", } as const; -let fn_glProgramUniform2ui64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui64vNV +>; export function ProgramUniform2ui64vNV( program: GLuint, @@ -748,7 +786,9 @@ export const def_glProgramUniform3ui64vNV = { result: "void", } as const; -let fn_glProgramUniform3ui64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui64vNV +>; export function ProgramUniform3ui64vNV( program: GLuint, @@ -769,7 +809,9 @@ export const def_glProgramUniform4ui64vNV = { result: "void", } as const; -let fn_glProgramUniform4ui64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui64vNV +>; export function ProgramUniform4ui64vNV( program: GLuint, @@ -787,38 +829,140 @@ export function ProgramUniform4ui64vNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glUniform1i64NV = new Deno.UnsafeFnPointer(proc("glUniform1i64NV"), def_glUniform1i64NV); - fn_glUniform2i64NV = new Deno.UnsafeFnPointer(proc("glUniform2i64NV"), def_glUniform2i64NV); - fn_glUniform3i64NV = new Deno.UnsafeFnPointer(proc("glUniform3i64NV"), def_glUniform3i64NV); - fn_glUniform4i64NV = new Deno.UnsafeFnPointer(proc("glUniform4i64NV"), def_glUniform4i64NV); - fn_glUniform1i64vNV = new Deno.UnsafeFnPointer(proc("glUniform1i64vNV"), def_glUniform1i64vNV); - fn_glUniform2i64vNV = new Deno.UnsafeFnPointer(proc("glUniform2i64vNV"), def_glUniform2i64vNV); - fn_glUniform3i64vNV = new Deno.UnsafeFnPointer(proc("glUniform3i64vNV"), def_glUniform3i64vNV); - fn_glUniform4i64vNV = new Deno.UnsafeFnPointer(proc("glUniform4i64vNV"), def_glUniform4i64vNV); - fn_glUniform1ui64NV = new Deno.UnsafeFnPointer(proc("glUniform1ui64NV"), def_glUniform1ui64NV); - fn_glUniform2ui64NV = new Deno.UnsafeFnPointer(proc("glUniform2ui64NV"), def_glUniform2ui64NV); - fn_glUniform3ui64NV = new Deno.UnsafeFnPointer(proc("glUniform3ui64NV"), def_glUniform3ui64NV); - fn_glUniform4ui64NV = new Deno.UnsafeFnPointer(proc("glUniform4ui64NV"), def_glUniform4ui64NV); - fn_glUniform1ui64vNV = new Deno.UnsafeFnPointer(proc("glUniform1ui64vNV"), def_glUniform1ui64vNV); - fn_glUniform2ui64vNV = new Deno.UnsafeFnPointer(proc("glUniform2ui64vNV"), def_glUniform2ui64vNV); - fn_glUniform3ui64vNV = new Deno.UnsafeFnPointer(proc("glUniform3ui64vNV"), def_glUniform3ui64vNV); - fn_glUniform4ui64vNV = new Deno.UnsafeFnPointer(proc("glUniform4ui64vNV"), def_glUniform4ui64vNV); - fn_glGetUniformi64vNV = new Deno.UnsafeFnPointer(proc("glGetUniformi64vNV"), def_glGetUniformi64vNV); - fn_glGetUniformui64vNV = new Deno.UnsafeFnPointer(proc("glGetUniformui64vNV"), def_glGetUniformui64vNV); - fn_glProgramUniform1i64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform1i64NV"), def_glProgramUniform1i64NV); - fn_glProgramUniform2i64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform2i64NV"), def_glProgramUniform2i64NV); - fn_glProgramUniform3i64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform3i64NV"), def_glProgramUniform3i64NV); - fn_glProgramUniform4i64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform4i64NV"), def_glProgramUniform4i64NV); - fn_glProgramUniform1i64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform1i64vNV"), def_glProgramUniform1i64vNV); - fn_glProgramUniform2i64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform2i64vNV"), def_glProgramUniform2i64vNV); - fn_glProgramUniform3i64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform3i64vNV"), def_glProgramUniform3i64vNV); - fn_glProgramUniform4i64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform4i64vNV"), def_glProgramUniform4i64vNV); - fn_glProgramUniform1ui64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui64NV"), def_glProgramUniform1ui64NV); - fn_glProgramUniform2ui64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui64NV"), def_glProgramUniform2ui64NV); - fn_glProgramUniform3ui64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui64NV"), def_glProgramUniform3ui64NV); - fn_glProgramUniform4ui64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui64NV"), def_glProgramUniform4ui64NV); - fn_glProgramUniform1ui64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui64vNV"), def_glProgramUniform1ui64vNV); - fn_glProgramUniform2ui64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui64vNV"), def_glProgramUniform2ui64vNV); - fn_glProgramUniform3ui64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui64vNV"), def_glProgramUniform3ui64vNV); - fn_glProgramUniform4ui64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui64vNV"), def_glProgramUniform4ui64vNV); + fn_glUniform1i64NV = new Deno.UnsafeFnPointer( + proc("glUniform1i64NV"), + def_glUniform1i64NV, + ); + fn_glUniform2i64NV = new Deno.UnsafeFnPointer( + proc("glUniform2i64NV"), + def_glUniform2i64NV, + ); + fn_glUniform3i64NV = new Deno.UnsafeFnPointer( + proc("glUniform3i64NV"), + def_glUniform3i64NV, + ); + fn_glUniform4i64NV = new Deno.UnsafeFnPointer( + proc("glUniform4i64NV"), + def_glUniform4i64NV, + ); + fn_glUniform1i64vNV = new Deno.UnsafeFnPointer( + proc("glUniform1i64vNV"), + def_glUniform1i64vNV, + ); + fn_glUniform2i64vNV = new Deno.UnsafeFnPointer( + proc("glUniform2i64vNV"), + def_glUniform2i64vNV, + ); + fn_glUniform3i64vNV = new Deno.UnsafeFnPointer( + proc("glUniform3i64vNV"), + def_glUniform3i64vNV, + ); + fn_glUniform4i64vNV = new Deno.UnsafeFnPointer( + proc("glUniform4i64vNV"), + def_glUniform4i64vNV, + ); + fn_glUniform1ui64NV = new Deno.UnsafeFnPointer( + proc("glUniform1ui64NV"), + def_glUniform1ui64NV, + ); + fn_glUniform2ui64NV = new Deno.UnsafeFnPointer( + proc("glUniform2ui64NV"), + def_glUniform2ui64NV, + ); + fn_glUniform3ui64NV = new Deno.UnsafeFnPointer( + proc("glUniform3ui64NV"), + def_glUniform3ui64NV, + ); + fn_glUniform4ui64NV = new Deno.UnsafeFnPointer( + proc("glUniform4ui64NV"), + def_glUniform4ui64NV, + ); + fn_glUniform1ui64vNV = new Deno.UnsafeFnPointer( + proc("glUniform1ui64vNV"), + def_glUniform1ui64vNV, + ); + fn_glUniform2ui64vNV = new Deno.UnsafeFnPointer( + proc("glUniform2ui64vNV"), + def_glUniform2ui64vNV, + ); + fn_glUniform3ui64vNV = new Deno.UnsafeFnPointer( + proc("glUniform3ui64vNV"), + def_glUniform3ui64vNV, + ); + fn_glUniform4ui64vNV = new Deno.UnsafeFnPointer( + proc("glUniform4ui64vNV"), + def_glUniform4ui64vNV, + ); + fn_glGetUniformi64vNV = new Deno.UnsafeFnPointer( + proc("glGetUniformi64vNV"), + def_glGetUniformi64vNV, + ); + fn_glGetUniformui64vNV = new Deno.UnsafeFnPointer( + proc("glGetUniformui64vNV"), + def_glGetUniformui64vNV, + ); + fn_glProgramUniform1i64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i64NV"), + def_glProgramUniform1i64NV, + ); + fn_glProgramUniform2i64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i64NV"), + def_glProgramUniform2i64NV, + ); + fn_glProgramUniform3i64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i64NV"), + def_glProgramUniform3i64NV, + ); + fn_glProgramUniform4i64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i64NV"), + def_glProgramUniform4i64NV, + ); + fn_glProgramUniform1i64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i64vNV"), + def_glProgramUniform1i64vNV, + ); + fn_glProgramUniform2i64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i64vNV"), + def_glProgramUniform2i64vNV, + ); + fn_glProgramUniform3i64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i64vNV"), + def_glProgramUniform3i64vNV, + ); + fn_glProgramUniform4i64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i64vNV"), + def_glProgramUniform4i64vNV, + ); + fn_glProgramUniform1ui64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui64NV"), + def_glProgramUniform1ui64NV, + ); + fn_glProgramUniform2ui64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui64NV"), + def_glProgramUniform2ui64NV, + ); + fn_glProgramUniform3ui64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui64NV"), + def_glProgramUniform3ui64NV, + ); + fn_glProgramUniform4ui64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui64NV"), + def_glProgramUniform4ui64NV, + ); + fn_glProgramUniform1ui64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui64vNV"), + def_glProgramUniform1ui64vNV, + ); + fn_glProgramUniform2ui64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui64vNV"), + def_glProgramUniform2ui64vNV, + ); + fn_glProgramUniform3ui64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui64vNV"), + def_glProgramUniform3ui64vNV, + ); + fn_glProgramUniform4ui64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui64vNV"), + def_glProgramUniform4ui64vNV, + ); } diff --git a/api/ext/GL_AMD_interleaved_elements.ts b/api/ext/GL_AMD_interleaved_elements.ts index d10ca4c..59ffb5d 100644 --- a/api/ext/GL_AMD_interleaved_elements.ts +++ b/api/ext/GL_AMD_interleaved_elements.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -77,7 +85,9 @@ export const def_glVertexAttribParameteriAMD = { result: "void", } as const; -let fn_glVertexAttribParameteriAMD!: Deno.UnsafeFnPointer; +let fn_glVertexAttribParameteriAMD!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribParameteriAMD +>; export function VertexAttribParameteriAMD( index: GLuint, @@ -93,5 +103,8 @@ export function VertexAttribParameteriAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexAttribParameteriAMD = new Deno.UnsafeFnPointer(proc("glVertexAttribParameteriAMD"), def_glVertexAttribParameteriAMD); + fn_glVertexAttribParameteriAMD = new Deno.UnsafeFnPointer( + proc("glVertexAttribParameteriAMD"), + def_glVertexAttribParameteriAMD, + ); } diff --git a/api/ext/GL_AMD_multi_draw_indirect.ts b/api/ext/GL_AMD_multi_draw_indirect.ts index a829750..386ae66 100644 --- a/api/ext/GL_AMD_multi_draw_indirect.ts +++ b/api/ext/GL_AMD_multi_draw_indirect.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glMultiDrawArraysIndirectAMD = { result: "void", } as const; -let fn_glMultiDrawArraysIndirectAMD!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysIndirectAMD!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysIndirectAMD +>; export function MultiDrawArraysIndirectAMD( mode: GLenum, @@ -87,7 +97,9 @@ export const def_glMultiDrawElementsIndirectAMD = { result: "void", } as const; -let fn_glMultiDrawElementsIndirectAMD!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsIndirectAMD!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsIndirectAMD +>; export function MultiDrawElementsIndirectAMD( mode: GLenum, @@ -107,6 +119,12 @@ export function MultiDrawElementsIndirectAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMultiDrawArraysIndirectAMD = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysIndirectAMD"), def_glMultiDrawArraysIndirectAMD); - fn_glMultiDrawElementsIndirectAMD = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsIndirectAMD"), def_glMultiDrawElementsIndirectAMD); + fn_glMultiDrawArraysIndirectAMD = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysIndirectAMD"), + def_glMultiDrawArraysIndirectAMD, + ); + fn_glMultiDrawElementsIndirectAMD = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsIndirectAMD"), + def_glMultiDrawElementsIndirectAMD, + ); } diff --git a/api/ext/GL_AMD_name_gen_delete.ts b/api/ext/GL_AMD_name_gen_delete.ts index cbdf20a..beba4a0 100644 --- a/api/ext/GL_AMD_name_gen_delete.ts +++ b/api/ext/GL_AMD_name_gen_delete.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -125,7 +133,16 @@ export function IsNameAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGenNamesAMD = new Deno.UnsafeFnPointer(proc("glGenNamesAMD"), def_glGenNamesAMD); - fn_glDeleteNamesAMD = new Deno.UnsafeFnPointer(proc("glDeleteNamesAMD"), def_glDeleteNamesAMD); - fn_glIsNameAMD = new Deno.UnsafeFnPointer(proc("glIsNameAMD"), def_glIsNameAMD); + fn_glGenNamesAMD = new Deno.UnsafeFnPointer( + proc("glGenNamesAMD"), + def_glGenNamesAMD, + ); + fn_glDeleteNamesAMD = new Deno.UnsafeFnPointer( + proc("glDeleteNamesAMD"), + def_glDeleteNamesAMD, + ); + fn_glIsNameAMD = new Deno.UnsafeFnPointer( + proc("glIsNameAMD"), + def_glIsNameAMD, + ); } diff --git a/api/ext/GL_AMD_occlusion_query_event.ts b/api/ext/GL_AMD_occlusion_query_event.ts index b91f82f..420ae06 100644 --- a/api/ext/GL_AMD_occlusion_query_event.ts +++ b/api/ext/GL_AMD_occlusion_query_event.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,7 +82,9 @@ export const def_glQueryObjectParameteruiAMD = { result: "void", } as const; -let fn_glQueryObjectParameteruiAMD!: Deno.UnsafeFnPointer; +let fn_glQueryObjectParameteruiAMD!: Deno.UnsafeFnPointer< + typeof def_glQueryObjectParameteruiAMD +>; export function QueryObjectParameteruiAMD( target: GLenum, @@ -92,5 +102,8 @@ export function QueryObjectParameteruiAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glQueryObjectParameteruiAMD = new Deno.UnsafeFnPointer(proc("glQueryObjectParameteruiAMD"), def_glQueryObjectParameteruiAMD); + fn_glQueryObjectParameteruiAMD = new Deno.UnsafeFnPointer( + proc("glQueryObjectParameteruiAMD"), + def_glQueryObjectParameteruiAMD, + ); } diff --git a/api/ext/GL_AMD_performance_monitor.ts b/api/ext/GL_AMD_performance_monitor.ts index 20ae314..b6f17a7 100644 --- a/api/ext/GL_AMD_performance_monitor.ts +++ b/api/ext/GL_AMD_performance_monitor.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,7 +83,9 @@ export const def_glGetPerfMonitorGroupsAMD = { result: "void", } as const; -let fn_glGetPerfMonitorGroupsAMD!: Deno.UnsafeFnPointer; +let fn_glGetPerfMonitorGroupsAMD!: Deno.UnsafeFnPointer< + typeof def_glGetPerfMonitorGroupsAMD +>; export function GetPerfMonitorGroupsAMD( numGroups: Buffer, @@ -94,7 +104,9 @@ export const def_glGetPerfMonitorCountersAMD = { result: "void", } as const; -let fn_glGetPerfMonitorCountersAMD!: Deno.UnsafeFnPointer; +let fn_glGetPerfMonitorCountersAMD!: Deno.UnsafeFnPointer< + typeof def_glGetPerfMonitorCountersAMD +>; export function GetPerfMonitorCountersAMD( group: GLuint, @@ -117,7 +129,9 @@ export const def_glGetPerfMonitorGroupStringAMD = { result: "void", } as const; -let fn_glGetPerfMonitorGroupStringAMD!: Deno.UnsafeFnPointer; +let fn_glGetPerfMonitorGroupStringAMD!: Deno.UnsafeFnPointer< + typeof def_glGetPerfMonitorGroupStringAMD +>; export function GetPerfMonitorGroupStringAMD( group: GLuint, @@ -138,7 +152,9 @@ export const def_glGetPerfMonitorCounterStringAMD = { result: "void", } as const; -let fn_glGetPerfMonitorCounterStringAMD!: Deno.UnsafeFnPointer; +let fn_glGetPerfMonitorCounterStringAMD!: Deno.UnsafeFnPointer< + typeof def_glGetPerfMonitorCounterStringAMD +>; export function GetPerfMonitorCounterStringAMD( group: GLuint, @@ -161,7 +177,9 @@ export const def_glGetPerfMonitorCounterInfoAMD = { result: "void", } as const; -let fn_glGetPerfMonitorCounterInfoAMD!: Deno.UnsafeFnPointer; +let fn_glGetPerfMonitorCounterInfoAMD!: Deno.UnsafeFnPointer< + typeof def_glGetPerfMonitorCounterInfoAMD +>; export function GetPerfMonitorCounterInfoAMD( group: GLuint, @@ -182,7 +200,9 @@ export const def_glGenPerfMonitorsAMD = { result: "void", } as const; -let fn_glGenPerfMonitorsAMD!: Deno.UnsafeFnPointer; +let fn_glGenPerfMonitorsAMD!: Deno.UnsafeFnPointer< + typeof def_glGenPerfMonitorsAMD +>; export function GenPerfMonitorsAMD( n: GLsizei, @@ -199,7 +219,9 @@ export const def_glDeletePerfMonitorsAMD = { result: "void", } as const; -let fn_glDeletePerfMonitorsAMD!: Deno.UnsafeFnPointer; +let fn_glDeletePerfMonitorsAMD!: Deno.UnsafeFnPointer< + typeof def_glDeletePerfMonitorsAMD +>; export function DeletePerfMonitorsAMD( n: GLsizei, @@ -216,7 +238,9 @@ export const def_glSelectPerfMonitorCountersAMD = { result: "void", } as const; -let fn_glSelectPerfMonitorCountersAMD!: Deno.UnsafeFnPointer; +let fn_glSelectPerfMonitorCountersAMD!: Deno.UnsafeFnPointer< + typeof def_glSelectPerfMonitorCountersAMD +>; export function SelectPerfMonitorCountersAMD( monitor: GLuint, @@ -239,7 +263,9 @@ export const def_glBeginPerfMonitorAMD = { result: "void", } as const; -let fn_glBeginPerfMonitorAMD!: Deno.UnsafeFnPointer; +let fn_glBeginPerfMonitorAMD!: Deno.UnsafeFnPointer< + typeof def_glBeginPerfMonitorAMD +>; export function BeginPerfMonitorAMD( monitor: GLuint, @@ -254,7 +280,9 @@ export const def_glEndPerfMonitorAMD = { result: "void", } as const; -let fn_glEndPerfMonitorAMD!: Deno.UnsafeFnPointer; +let fn_glEndPerfMonitorAMD!: Deno.UnsafeFnPointer< + typeof def_glEndPerfMonitorAMD +>; export function EndPerfMonitorAMD( monitor: GLuint, @@ -269,7 +297,9 @@ export const def_glGetPerfMonitorCounterDataAMD = { result: "void", } as const; -let fn_glGetPerfMonitorCounterDataAMD!: Deno.UnsafeFnPointer; +let fn_glGetPerfMonitorCounterDataAMD!: Deno.UnsafeFnPointer< + typeof def_glGetPerfMonitorCounterDataAMD +>; export function GetPerfMonitorCounterDataAMD( monitor: GLuint, @@ -289,15 +319,48 @@ export function GetPerfMonitorCounterDataAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetPerfMonitorGroupsAMD = new Deno.UnsafeFnPointer(proc("glGetPerfMonitorGroupsAMD"), def_glGetPerfMonitorGroupsAMD); - fn_glGetPerfMonitorCountersAMD = new Deno.UnsafeFnPointer(proc("glGetPerfMonitorCountersAMD"), def_glGetPerfMonitorCountersAMD); - fn_glGetPerfMonitorGroupStringAMD = new Deno.UnsafeFnPointer(proc("glGetPerfMonitorGroupStringAMD"), def_glGetPerfMonitorGroupStringAMD); - fn_glGetPerfMonitorCounterStringAMD = new Deno.UnsafeFnPointer(proc("glGetPerfMonitorCounterStringAMD"), def_glGetPerfMonitorCounterStringAMD); - fn_glGetPerfMonitorCounterInfoAMD = new Deno.UnsafeFnPointer(proc("glGetPerfMonitorCounterInfoAMD"), def_glGetPerfMonitorCounterInfoAMD); - fn_glGenPerfMonitorsAMD = new Deno.UnsafeFnPointer(proc("glGenPerfMonitorsAMD"), def_glGenPerfMonitorsAMD); - fn_glDeletePerfMonitorsAMD = new Deno.UnsafeFnPointer(proc("glDeletePerfMonitorsAMD"), def_glDeletePerfMonitorsAMD); - fn_glSelectPerfMonitorCountersAMD = new Deno.UnsafeFnPointer(proc("glSelectPerfMonitorCountersAMD"), def_glSelectPerfMonitorCountersAMD); - fn_glBeginPerfMonitorAMD = new Deno.UnsafeFnPointer(proc("glBeginPerfMonitorAMD"), def_glBeginPerfMonitorAMD); - fn_glEndPerfMonitorAMD = new Deno.UnsafeFnPointer(proc("glEndPerfMonitorAMD"), def_glEndPerfMonitorAMD); - fn_glGetPerfMonitorCounterDataAMD = new Deno.UnsafeFnPointer(proc("glGetPerfMonitorCounterDataAMD"), def_glGetPerfMonitorCounterDataAMD); + fn_glGetPerfMonitorGroupsAMD = new Deno.UnsafeFnPointer( + proc("glGetPerfMonitorGroupsAMD"), + def_glGetPerfMonitorGroupsAMD, + ); + fn_glGetPerfMonitorCountersAMD = new Deno.UnsafeFnPointer( + proc("glGetPerfMonitorCountersAMD"), + def_glGetPerfMonitorCountersAMD, + ); + fn_glGetPerfMonitorGroupStringAMD = new Deno.UnsafeFnPointer( + proc("glGetPerfMonitorGroupStringAMD"), + def_glGetPerfMonitorGroupStringAMD, + ); + fn_glGetPerfMonitorCounterStringAMD = new Deno.UnsafeFnPointer( + proc("glGetPerfMonitorCounterStringAMD"), + def_glGetPerfMonitorCounterStringAMD, + ); + fn_glGetPerfMonitorCounterInfoAMD = new Deno.UnsafeFnPointer( + proc("glGetPerfMonitorCounterInfoAMD"), + def_glGetPerfMonitorCounterInfoAMD, + ); + fn_glGenPerfMonitorsAMD = new Deno.UnsafeFnPointer( + proc("glGenPerfMonitorsAMD"), + def_glGenPerfMonitorsAMD, + ); + fn_glDeletePerfMonitorsAMD = new Deno.UnsafeFnPointer( + proc("glDeletePerfMonitorsAMD"), + def_glDeletePerfMonitorsAMD, + ); + fn_glSelectPerfMonitorCountersAMD = new Deno.UnsafeFnPointer( + proc("glSelectPerfMonitorCountersAMD"), + def_glSelectPerfMonitorCountersAMD, + ); + fn_glBeginPerfMonitorAMD = new Deno.UnsafeFnPointer( + proc("glBeginPerfMonitorAMD"), + def_glBeginPerfMonitorAMD, + ); + fn_glEndPerfMonitorAMD = new Deno.UnsafeFnPointer( + proc("glEndPerfMonitorAMD"), + def_glEndPerfMonitorAMD, + ); + fn_glGetPerfMonitorCounterDataAMD = new Deno.UnsafeFnPointer( + proc("glGetPerfMonitorCounterDataAMD"), + def_glGetPerfMonitorCounterDataAMD, + ); } diff --git a/api/ext/GL_AMD_pinned_memory.ts b/api/ext/GL_AMD_pinned_memory.ts index 708425a..6f02bb4 100644 --- a/api/ext/GL_AMD_pinned_memory.ts +++ b/api/ext/GL_AMD_pinned_memory.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_program_binary_Z400.ts b/api/ext/GL_AMD_program_binary_Z400.ts index 648d8fd..2af95c6 100644 --- a/api/ext/GL_AMD_program_binary_Z400.ts +++ b/api/ext/GL_AMD_program_binary_Z400.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_query_buffer_object.ts b/api/ext/GL_AMD_query_buffer_object.ts index 0ccab83..8829fb8 100644 --- a/api/ext/GL_AMD_query_buffer_object.ts +++ b/api/ext/GL_AMD_query_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_sample_positions.ts b/api/ext/GL_AMD_sample_positions.ts index f964b52..590b6a4 100644 --- a/api/ext/GL_AMD_sample_positions.ts +++ b/api/ext/GL_AMD_sample_positions.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glSetMultisamplefvAMD = { result: "void", } as const; -let fn_glSetMultisamplefvAMD!: Deno.UnsafeFnPointer; +let fn_glSetMultisamplefvAMD!: Deno.UnsafeFnPointer< + typeof def_glSetMultisamplefvAMD +>; export function SetMultisamplefvAMD( pname: GLenum, @@ -85,5 +95,8 @@ export function SetMultisamplefvAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glSetMultisamplefvAMD = new Deno.UnsafeFnPointer(proc("glSetMultisamplefvAMD"), def_glSetMultisamplefvAMD); + fn_glSetMultisamplefvAMD = new Deno.UnsafeFnPointer( + proc("glSetMultisamplefvAMD"), + def_glSetMultisamplefvAMD, + ); } diff --git a/api/ext/GL_AMD_seamless_cubemap_per_texture.ts b/api/ext/GL_AMD_seamless_cubemap_per_texture.ts index 7850b65..ccf8e88 100644 --- a/api/ext/GL_AMD_seamless_cubemap_per_texture.ts +++ b/api/ext/GL_AMD_seamless_cubemap_per_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_shader_atomic_counter_ops.ts b/api/ext/GL_AMD_shader_atomic_counter_ops.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_shader_atomic_counter_ops.ts +++ b/api/ext/GL_AMD_shader_atomic_counter_ops.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_shader_ballot.ts b/api/ext/GL_AMD_shader_ballot.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_shader_ballot.ts +++ b/api/ext/GL_AMD_shader_ballot.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_shader_explicit_vertex_parameter.ts b/api/ext/GL_AMD_shader_explicit_vertex_parameter.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_shader_explicit_vertex_parameter.ts +++ b/api/ext/GL_AMD_shader_explicit_vertex_parameter.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_shader_gpu_shader_half_float_fetch.ts b/api/ext/GL_AMD_shader_gpu_shader_half_float_fetch.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_shader_gpu_shader_half_float_fetch.ts +++ b/api/ext/GL_AMD_shader_gpu_shader_half_float_fetch.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_shader_image_load_store_lod.ts b/api/ext/GL_AMD_shader_image_load_store_lod.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_shader_image_load_store_lod.ts +++ b/api/ext/GL_AMD_shader_image_load_store_lod.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_shader_stencil_export.ts b/api/ext/GL_AMD_shader_stencil_export.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_shader_stencil_export.ts +++ b/api/ext/GL_AMD_shader_stencil_export.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_shader_trinary_minmax.ts b/api/ext/GL_AMD_shader_trinary_minmax.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_shader_trinary_minmax.ts +++ b/api/ext/GL_AMD_shader_trinary_minmax.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_sparse_texture.ts b/api/ext/GL_AMD_sparse_texture.ts index 00f254d..a083086 100644 --- a/api/ext/GL_AMD_sparse_texture.ts +++ b/api/ext/GL_AMD_sparse_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -77,7 +85,9 @@ export const def_glTexStorageSparseAMD = { result: "void", } as const; -let fn_glTexStorageSparseAMD!: Deno.UnsafeFnPointer; +let fn_glTexStorageSparseAMD!: Deno.UnsafeFnPointer< + typeof def_glTexStorageSparseAMD +>; export function TexStorageSparseAMD( target: GLenum, @@ -104,7 +114,9 @@ export const def_glTextureStorageSparseAMD = { result: "void", } as const; -let fn_glTextureStorageSparseAMD!: Deno.UnsafeFnPointer; +let fn_glTextureStorageSparseAMD!: Deno.UnsafeFnPointer< + typeof def_glTextureStorageSparseAMD +>; export function TextureStorageSparseAMD( texture: GLuint, @@ -130,6 +142,12 @@ export function TextureStorageSparseAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexStorageSparseAMD = new Deno.UnsafeFnPointer(proc("glTexStorageSparseAMD"), def_glTexStorageSparseAMD); - fn_glTextureStorageSparseAMD = new Deno.UnsafeFnPointer(proc("glTextureStorageSparseAMD"), def_glTextureStorageSparseAMD); + fn_glTexStorageSparseAMD = new Deno.UnsafeFnPointer( + proc("glTexStorageSparseAMD"), + def_glTexStorageSparseAMD, + ); + fn_glTextureStorageSparseAMD = new Deno.UnsafeFnPointer( + proc("glTextureStorageSparseAMD"), + def_glTextureStorageSparseAMD, + ); } diff --git a/api/ext/GL_AMD_stencil_operation_extended.ts b/api/ext/GL_AMD_stencil_operation_extended.ts index af52c9e..f474825 100644 --- a/api/ext/GL_AMD_stencil_operation_extended.ts +++ b/api/ext/GL_AMD_stencil_operation_extended.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glStencilOpValueAMD = { result: "void", } as const; -let fn_glStencilOpValueAMD!: Deno.UnsafeFnPointer; +let fn_glStencilOpValueAMD!: Deno.UnsafeFnPointer< + typeof def_glStencilOpValueAMD +>; export function StencilOpValueAMD( face: GLenum, @@ -86,5 +96,8 @@ export function StencilOpValueAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glStencilOpValueAMD = new Deno.UnsafeFnPointer(proc("glStencilOpValueAMD"), def_glStencilOpValueAMD); + fn_glStencilOpValueAMD = new Deno.UnsafeFnPointer( + proc("glStencilOpValueAMD"), + def_glStencilOpValueAMD, + ); } diff --git a/api/ext/GL_AMD_texture_gather_bias_lod.ts b/api/ext/GL_AMD_texture_gather_bias_lod.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_texture_gather_bias_lod.ts +++ b/api/ext/GL_AMD_texture_gather_bias_lod.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_texture_texture4.ts b/api/ext/GL_AMD_texture_texture4.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_texture_texture4.ts +++ b/api/ext/GL_AMD_texture_texture4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_transform_feedback3_lines_triangles.ts b/api/ext/GL_AMD_transform_feedback3_lines_triangles.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_transform_feedback3_lines_triangles.ts +++ b/api/ext/GL_AMD_transform_feedback3_lines_triangles.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_transform_feedback4.ts b/api/ext/GL_AMD_transform_feedback4.ts index e242149..97177d5 100644 --- a/api/ext/GL_AMD_transform_feedback4.ts +++ b/api/ext/GL_AMD_transform_feedback4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_vertex_shader_layer.ts b/api/ext/GL_AMD_vertex_shader_layer.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_vertex_shader_layer.ts +++ b/api/ext/GL_AMD_vertex_shader_layer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_AMD_vertex_shader_tessellator.ts b/api/ext/GL_AMD_vertex_shader_tessellator.ts index b17ff4c..0d76758 100644 --- a/api/ext/GL_AMD_vertex_shader_tessellator.ts +++ b/api/ext/GL_AMD_vertex_shader_tessellator.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,7 +83,9 @@ export const def_glTessellationFactorAMD = { result: "void", } as const; -let fn_glTessellationFactorAMD!: Deno.UnsafeFnPointer; +let fn_glTessellationFactorAMD!: Deno.UnsafeFnPointer< + typeof def_glTessellationFactorAMD +>; export function TessellationFactorAMD( factor: GLfloat, @@ -90,7 +100,9 @@ export const def_glTessellationModeAMD = { result: "void", } as const; -let fn_glTessellationModeAMD!: Deno.UnsafeFnPointer; +let fn_glTessellationModeAMD!: Deno.UnsafeFnPointer< + typeof def_glTessellationModeAMD +>; export function TessellationModeAMD( mode: GLenum, @@ -102,6 +114,12 @@ export function TessellationModeAMD( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTessellationFactorAMD = new Deno.UnsafeFnPointer(proc("glTessellationFactorAMD"), def_glTessellationFactorAMD); - fn_glTessellationModeAMD = new Deno.UnsafeFnPointer(proc("glTessellationModeAMD"), def_glTessellationModeAMD); + fn_glTessellationFactorAMD = new Deno.UnsafeFnPointer( + proc("glTessellationFactorAMD"), + def_glTessellationFactorAMD, + ); + fn_glTessellationModeAMD = new Deno.UnsafeFnPointer( + proc("glTessellationModeAMD"), + def_glTessellationModeAMD, + ); } diff --git a/api/ext/GL_AMD_vertex_shader_viewport_index.ts b/api/ext/GL_AMD_vertex_shader_viewport_index.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_AMD_vertex_shader_viewport_index.ts +++ b/api/ext/GL_AMD_vertex_shader_viewport_index.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ANDROID_extension_pack_es31a.ts b/api/ext/GL_ANDROID_extension_pack_es31a.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ANDROID_extension_pack_es31a.ts +++ b/api/ext/GL_ANDROID_extension_pack_es31a.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ANGLE_depth_texture.ts b/api/ext/GL_ANGLE_depth_texture.ts index caa985d..416a6ed 100644 --- a/api/ext/GL_ANGLE_depth_texture.ts +++ b/api/ext/GL_ANGLE_depth_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ANGLE_framebuffer_blit.ts b/api/ext/GL_ANGLE_framebuffer_blit.ts index 6d35af6..7cb3402 100644 --- a/api/ext/GL_ANGLE_framebuffer_blit.ts +++ b/api/ext/GL_ANGLE_framebuffer_blit.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -68,11 +76,24 @@ export const READ_FRAMEBUFFER_BINDING_ANGLE = 0x8caa; /// Commands export const def_glBlitFramebufferANGLE = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; -let fn_glBlitFramebufferANGLE!: Deno.UnsafeFnPointer; +let fn_glBlitFramebufferANGLE!: Deno.UnsafeFnPointer< + typeof def_glBlitFramebufferANGLE +>; export function BlitFramebufferANGLE( srcX0: GLint, @@ -102,5 +123,8 @@ export function BlitFramebufferANGLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlitFramebufferANGLE = new Deno.UnsafeFnPointer(proc("glBlitFramebufferANGLE"), def_glBlitFramebufferANGLE); + fn_glBlitFramebufferANGLE = new Deno.UnsafeFnPointer( + proc("glBlitFramebufferANGLE"), + def_glBlitFramebufferANGLE, + ); } diff --git a/api/ext/GL_ANGLE_framebuffer_multisample.ts b/api/ext/GL_ANGLE_framebuffer_multisample.ts index 96b7a71..06dff34 100644 --- a/api/ext/GL_ANGLE_framebuffer_multisample.ts +++ b/api/ext/GL_ANGLE_framebuffer_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glRenderbufferStorageMultisampleANGLE = { result: "void", } as const; -let fn_glRenderbufferStorageMultisampleANGLE!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisampleANGLE!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisampleANGLE +>; export function RenderbufferStorageMultisampleANGLE( target: GLenum, @@ -91,5 +101,8 @@ export function RenderbufferStorageMultisampleANGLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glRenderbufferStorageMultisampleANGLE = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisampleANGLE"), def_glRenderbufferStorageMultisampleANGLE); + fn_glRenderbufferStorageMultisampleANGLE = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisampleANGLE"), + def_glRenderbufferStorageMultisampleANGLE, + ); } diff --git a/api/ext/GL_ANGLE_instanced_arrays.ts b/api/ext/GL_ANGLE_instanced_arrays.ts index d5c1b08..0860907 100644 --- a/api/ext/GL_ANGLE_instanced_arrays.ts +++ b/api/ext/GL_ANGLE_instanced_arrays.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glDrawArraysInstancedANGLE = { result: "void", } as const; -let fn_glDrawArraysInstancedANGLE!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedANGLE!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedANGLE +>; export function DrawArraysInstancedANGLE( mode: GLenum, @@ -90,7 +100,9 @@ export const def_glDrawElementsInstancedANGLE = { result: "void", } as const; -let fn_glDrawElementsInstancedANGLE!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedANGLE!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedANGLE +>; export function DrawElementsInstancedANGLE( mode: GLenum, @@ -113,7 +125,9 @@ export const def_glVertexAttribDivisorANGLE = { result: "void", } as const; -let fn_glVertexAttribDivisorANGLE!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisorANGLE!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisorANGLE +>; export function VertexAttribDivisorANGLE( index: GLuint, @@ -127,7 +141,16 @@ export function VertexAttribDivisorANGLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawArraysInstancedANGLE = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedANGLE"), def_glDrawArraysInstancedANGLE); - fn_glDrawElementsInstancedANGLE = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedANGLE"), def_glDrawElementsInstancedANGLE); - fn_glVertexAttribDivisorANGLE = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisorANGLE"), def_glVertexAttribDivisorANGLE); + fn_glDrawArraysInstancedANGLE = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedANGLE"), + def_glDrawArraysInstancedANGLE, + ); + fn_glDrawElementsInstancedANGLE = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedANGLE"), + def_glDrawElementsInstancedANGLE, + ); + fn_glVertexAttribDivisorANGLE = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisorANGLE"), + def_glVertexAttribDivisorANGLE, + ); } diff --git a/api/ext/GL_ANGLE_pack_reverse_row_order.ts b/api/ext/GL_ANGLE_pack_reverse_row_order.ts index 09f7fc0..137a183 100644 --- a/api/ext/GL_ANGLE_pack_reverse_row_order.ts +++ b/api/ext/GL_ANGLE_pack_reverse_row_order.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ANGLE_program_binary.ts b/api/ext/GL_ANGLE_program_binary.ts index 383c841..52cbc6f 100644 --- a/api/ext/GL_ANGLE_program_binary.ts +++ b/api/ext/GL_ANGLE_program_binary.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ANGLE_texture_compression_dxt3.ts b/api/ext/GL_ANGLE_texture_compression_dxt3.ts index 624ef17..79f0212 100644 --- a/api/ext/GL_ANGLE_texture_compression_dxt3.ts +++ b/api/ext/GL_ANGLE_texture_compression_dxt3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ANGLE_texture_compression_dxt5.ts b/api/ext/GL_ANGLE_texture_compression_dxt5.ts index 11d3094..dca7be3 100644 --- a/api/ext/GL_ANGLE_texture_compression_dxt5.ts +++ b/api/ext/GL_ANGLE_texture_compression_dxt5.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ANGLE_texture_usage.ts b/api/ext/GL_ANGLE_texture_usage.ts index 432f91d..8f20e50 100644 --- a/api/ext/GL_ANGLE_texture_usage.ts +++ b/api/ext/GL_ANGLE_texture_usage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ANGLE_translated_shader_source.ts b/api/ext/GL_ANGLE_translated_shader_source.ts index 86bbc32..cb8d6ad 100644 --- a/api/ext/GL_ANGLE_translated_shader_source.ts +++ b/api/ext/GL_ANGLE_translated_shader_source.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glGetTranslatedShaderSourceANGLE = { result: "void", } as const; -let fn_glGetTranslatedShaderSourceANGLE!: Deno.UnsafeFnPointer; +let fn_glGetTranslatedShaderSourceANGLE!: Deno.UnsafeFnPointer< + typeof def_glGetTranslatedShaderSourceANGLE +>; export function GetTranslatedShaderSourceANGLE( shader: GLuint, @@ -87,5 +97,8 @@ export function GetTranslatedShaderSourceANGLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetTranslatedShaderSourceANGLE = new Deno.UnsafeFnPointer(proc("glGetTranslatedShaderSourceANGLE"), def_glGetTranslatedShaderSourceANGLE); + fn_glGetTranslatedShaderSourceANGLE = new Deno.UnsafeFnPointer( + proc("glGetTranslatedShaderSourceANGLE"), + def_glGetTranslatedShaderSourceANGLE, + ); } diff --git a/api/ext/GL_APPLE_aux_depth_stencil.ts b/api/ext/GL_APPLE_aux_depth_stencil.ts index 115f7ee..fb44ad1 100644 --- a/api/ext/GL_APPLE_aux_depth_stencil.ts +++ b/api/ext/GL_APPLE_aux_depth_stencil.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_client_storage.ts b/api/ext/GL_APPLE_client_storage.ts index 1cd377d..74dff1f 100644 --- a/api/ext/GL_APPLE_client_storage.ts +++ b/api/ext/GL_APPLE_client_storage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_clip_distance.ts b/api/ext/GL_APPLE_clip_distance.ts index 0056e35..0234e47 100644 --- a/api/ext/GL_APPLE_clip_distance.ts +++ b/api/ext/GL_APPLE_clip_distance.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_color_buffer_packed_float.ts b/api/ext/GL_APPLE_color_buffer_packed_float.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_APPLE_color_buffer_packed_float.ts +++ b/api/ext/GL_APPLE_color_buffer_packed_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_copy_texture_levels.ts b/api/ext/GL_APPLE_copy_texture_levels.ts index e70bb6b..cd0f69d 100644 --- a/api/ext/GL_APPLE_copy_texture_levels.ts +++ b/api/ext/GL_APPLE_copy_texture_levels.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glCopyTextureLevelsAPPLE = { result: "void", } as const; -let fn_glCopyTextureLevelsAPPLE!: Deno.UnsafeFnPointer; +let fn_glCopyTextureLevelsAPPLE!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureLevelsAPPLE +>; export function CopyTextureLevelsAPPLE( destinationTexture: GLuint, @@ -84,5 +94,8 @@ export function CopyTextureLevelsAPPLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCopyTextureLevelsAPPLE = new Deno.UnsafeFnPointer(proc("glCopyTextureLevelsAPPLE"), def_glCopyTextureLevelsAPPLE); + fn_glCopyTextureLevelsAPPLE = new Deno.UnsafeFnPointer( + proc("glCopyTextureLevelsAPPLE"), + def_glCopyTextureLevelsAPPLE, + ); } diff --git a/api/ext/GL_APPLE_element_array.ts b/api/ext/GL_APPLE_element_array.ts index 3ba8c1e..cb43b65 100644 --- a/api/ext/GL_APPLE_element_array.ts +++ b/api/ext/GL_APPLE_element_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glElementPointerAPPLE = { result: "void", } as const; -let fn_glElementPointerAPPLE!: Deno.UnsafeFnPointer; +let fn_glElementPointerAPPLE!: Deno.UnsafeFnPointer< + typeof def_glElementPointerAPPLE +>; export function ElementPointerAPPLE( type: GLenum, @@ -88,7 +98,9 @@ export const def_glDrawElementArrayAPPLE = { result: "void", } as const; -let fn_glDrawElementArrayAPPLE!: Deno.UnsafeFnPointer; +let fn_glDrawElementArrayAPPLE!: Deno.UnsafeFnPointer< + typeof def_glDrawElementArrayAPPLE +>; export function DrawElementArrayAPPLE( mode: GLenum, @@ -107,7 +119,9 @@ export const def_glDrawRangeElementArrayAPPLE = { result: "void", } as const; -let fn_glDrawRangeElementArrayAPPLE!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementArrayAPPLE!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementArrayAPPLE +>; export function DrawRangeElementArrayAPPLE( mode: GLenum, @@ -130,7 +144,9 @@ export const def_glMultiDrawElementArrayAPPLE = { result: "void", } as const; -let fn_glMultiDrawElementArrayAPPLE!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementArrayAPPLE!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementArrayAPPLE +>; export function MultiDrawElementArrayAPPLE( mode: GLenum, @@ -151,7 +167,9 @@ export const def_glMultiDrawRangeElementArrayAPPLE = { result: "void", } as const; -let fn_glMultiDrawRangeElementArrayAPPLE!: Deno.UnsafeFnPointer; +let fn_glMultiDrawRangeElementArrayAPPLE!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawRangeElementArrayAPPLE +>; export function MultiDrawRangeElementArrayAPPLE( mode: GLenum, @@ -173,9 +191,24 @@ export function MultiDrawRangeElementArrayAPPLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glElementPointerAPPLE = new Deno.UnsafeFnPointer(proc("glElementPointerAPPLE"), def_glElementPointerAPPLE); - fn_glDrawElementArrayAPPLE = new Deno.UnsafeFnPointer(proc("glDrawElementArrayAPPLE"), def_glDrawElementArrayAPPLE); - fn_glDrawRangeElementArrayAPPLE = new Deno.UnsafeFnPointer(proc("glDrawRangeElementArrayAPPLE"), def_glDrawRangeElementArrayAPPLE); - fn_glMultiDrawElementArrayAPPLE = new Deno.UnsafeFnPointer(proc("glMultiDrawElementArrayAPPLE"), def_glMultiDrawElementArrayAPPLE); - fn_glMultiDrawRangeElementArrayAPPLE = new Deno.UnsafeFnPointer(proc("glMultiDrawRangeElementArrayAPPLE"), def_glMultiDrawRangeElementArrayAPPLE); + fn_glElementPointerAPPLE = new Deno.UnsafeFnPointer( + proc("glElementPointerAPPLE"), + def_glElementPointerAPPLE, + ); + fn_glDrawElementArrayAPPLE = new Deno.UnsafeFnPointer( + proc("glDrawElementArrayAPPLE"), + def_glDrawElementArrayAPPLE, + ); + fn_glDrawRangeElementArrayAPPLE = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementArrayAPPLE"), + def_glDrawRangeElementArrayAPPLE, + ); + fn_glMultiDrawElementArrayAPPLE = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementArrayAPPLE"), + def_glMultiDrawElementArrayAPPLE, + ); + fn_glMultiDrawRangeElementArrayAPPLE = new Deno.UnsafeFnPointer( + proc("glMultiDrawRangeElementArrayAPPLE"), + def_glMultiDrawRangeElementArrayAPPLE, + ); } diff --git a/api/ext/GL_APPLE_fence.ts b/api/ext/GL_APPLE_fence.ts index 8794c71..e1d967a 100644 --- a/api/ext/GL_APPLE_fence.ts +++ b/api/ext/GL_APPLE_fence.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -87,7 +95,9 @@ export const def_glDeleteFencesAPPLE = { result: "void", } as const; -let fn_glDeleteFencesAPPLE!: Deno.UnsafeFnPointer; +let fn_glDeleteFencesAPPLE!: Deno.UnsafeFnPointer< + typeof def_glDeleteFencesAPPLE +>; export function DeleteFencesAPPLE( n: GLsizei, @@ -181,7 +191,9 @@ export const def_glFinishObjectAPPLE = { result: "void", } as const; -let fn_glFinishObjectAPPLE!: Deno.UnsafeFnPointer; +let fn_glFinishObjectAPPLE!: Deno.UnsafeFnPointer< + typeof def_glFinishObjectAPPLE +>; export function FinishObjectAPPLE( object: GLenum, @@ -195,12 +207,36 @@ export function FinishObjectAPPLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGenFencesAPPLE = new Deno.UnsafeFnPointer(proc("glGenFencesAPPLE"), def_glGenFencesAPPLE); - fn_glDeleteFencesAPPLE = new Deno.UnsafeFnPointer(proc("glDeleteFencesAPPLE"), def_glDeleteFencesAPPLE); - fn_glSetFenceAPPLE = new Deno.UnsafeFnPointer(proc("glSetFenceAPPLE"), def_glSetFenceAPPLE); - fn_glIsFenceAPPLE = new Deno.UnsafeFnPointer(proc("glIsFenceAPPLE"), def_glIsFenceAPPLE); - fn_glTestFenceAPPLE = new Deno.UnsafeFnPointer(proc("glTestFenceAPPLE"), def_glTestFenceAPPLE); - fn_glFinishFenceAPPLE = new Deno.UnsafeFnPointer(proc("glFinishFenceAPPLE"), def_glFinishFenceAPPLE); - fn_glTestObjectAPPLE = new Deno.UnsafeFnPointer(proc("glTestObjectAPPLE"), def_glTestObjectAPPLE); - fn_glFinishObjectAPPLE = new Deno.UnsafeFnPointer(proc("glFinishObjectAPPLE"), def_glFinishObjectAPPLE); + fn_glGenFencesAPPLE = new Deno.UnsafeFnPointer( + proc("glGenFencesAPPLE"), + def_glGenFencesAPPLE, + ); + fn_glDeleteFencesAPPLE = new Deno.UnsafeFnPointer( + proc("glDeleteFencesAPPLE"), + def_glDeleteFencesAPPLE, + ); + fn_glSetFenceAPPLE = new Deno.UnsafeFnPointer( + proc("glSetFenceAPPLE"), + def_glSetFenceAPPLE, + ); + fn_glIsFenceAPPLE = new Deno.UnsafeFnPointer( + proc("glIsFenceAPPLE"), + def_glIsFenceAPPLE, + ); + fn_glTestFenceAPPLE = new Deno.UnsafeFnPointer( + proc("glTestFenceAPPLE"), + def_glTestFenceAPPLE, + ); + fn_glFinishFenceAPPLE = new Deno.UnsafeFnPointer( + proc("glFinishFenceAPPLE"), + def_glFinishFenceAPPLE, + ); + fn_glTestObjectAPPLE = new Deno.UnsafeFnPointer( + proc("glTestObjectAPPLE"), + def_glTestObjectAPPLE, + ); + fn_glFinishObjectAPPLE = new Deno.UnsafeFnPointer( + proc("glFinishObjectAPPLE"), + def_glFinishObjectAPPLE, + ); } diff --git a/api/ext/GL_APPLE_float_pixels.ts b/api/ext/GL_APPLE_float_pixels.ts index 9236464..a85b548 100644 --- a/api/ext/GL_APPLE_float_pixels.ts +++ b/api/ext/GL_APPLE_float_pixels.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_flush_buffer_range.ts b/api/ext/GL_APPLE_flush_buffer_range.ts index d201f5c..e6d9ebf 100644 --- a/api/ext/GL_APPLE_flush_buffer_range.ts +++ b/api/ext/GL_APPLE_flush_buffer_range.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glBufferParameteriAPPLE = { result: "void", } as const; -let fn_glBufferParameteriAPPLE!: Deno.UnsafeFnPointer; +let fn_glBufferParameteriAPPLE!: Deno.UnsafeFnPointer< + typeof def_glBufferParameteriAPPLE +>; export function BufferParameteriAPPLE( target: GLenum, @@ -89,7 +99,9 @@ export const def_glFlushMappedBufferRangeAPPLE = { result: "void", } as const; -let fn_glFlushMappedBufferRangeAPPLE!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRangeAPPLE!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRangeAPPLE +>; export function FlushMappedBufferRangeAPPLE( target: GLenum, @@ -105,6 +117,12 @@ export function FlushMappedBufferRangeAPPLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBufferParameteriAPPLE = new Deno.UnsafeFnPointer(proc("glBufferParameteriAPPLE"), def_glBufferParameteriAPPLE); - fn_glFlushMappedBufferRangeAPPLE = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRangeAPPLE"), def_glFlushMappedBufferRangeAPPLE); + fn_glBufferParameteriAPPLE = new Deno.UnsafeFnPointer( + proc("glBufferParameteriAPPLE"), + def_glBufferParameteriAPPLE, + ); + fn_glFlushMappedBufferRangeAPPLE = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRangeAPPLE"), + def_glFlushMappedBufferRangeAPPLE, + ); } diff --git a/api/ext/GL_APPLE_framebuffer_multisample.ts b/api/ext/GL_APPLE_framebuffer_multisample.ts index 593793c..1e76eae 100644 --- a/api/ext/GL_APPLE_framebuffer_multisample.ts +++ b/api/ext/GL_APPLE_framebuffer_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,7 +83,9 @@ export const def_glRenderbufferStorageMultisampleAPPLE = { result: "void", } as const; -let fn_glRenderbufferStorageMultisampleAPPLE!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisampleAPPLE!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisampleAPPLE +>; export function RenderbufferStorageMultisampleAPPLE( target: GLenum, @@ -98,7 +108,9 @@ export const def_glResolveMultisampleFramebufferAPPLE = { result: "void", } as const; -let fn_glResolveMultisampleFramebufferAPPLE!: Deno.UnsafeFnPointer; +let fn_glResolveMultisampleFramebufferAPPLE!: Deno.UnsafeFnPointer< + typeof def_glResolveMultisampleFramebufferAPPLE +>; export function ResolveMultisampleFramebufferAPPLE(): void { fn_glResolveMultisampleFramebufferAPPLE.call(); @@ -106,6 +118,12 @@ export function ResolveMultisampleFramebufferAPPLE(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glRenderbufferStorageMultisampleAPPLE = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisampleAPPLE"), def_glRenderbufferStorageMultisampleAPPLE); - fn_glResolveMultisampleFramebufferAPPLE = new Deno.UnsafeFnPointer(proc("glResolveMultisampleFramebufferAPPLE"), def_glResolveMultisampleFramebufferAPPLE); + fn_glRenderbufferStorageMultisampleAPPLE = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisampleAPPLE"), + def_glRenderbufferStorageMultisampleAPPLE, + ); + fn_glResolveMultisampleFramebufferAPPLE = new Deno.UnsafeFnPointer( + proc("glResolveMultisampleFramebufferAPPLE"), + def_glResolveMultisampleFramebufferAPPLE, + ); } diff --git a/api/ext/GL_APPLE_object_purgeable.ts b/api/ext/GL_APPLE_object_purgeable.ts index fe749fb..2b308f9 100644 --- a/api/ext/GL_APPLE_object_purgeable.ts +++ b/api/ext/GL_APPLE_object_purgeable.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,7 +82,9 @@ export const def_glObjectPurgeableAPPLE = { result: "u32", } as const; -let fn_glObjectPurgeableAPPLE!: Deno.UnsafeFnPointer; +let fn_glObjectPurgeableAPPLE!: Deno.UnsafeFnPointer< + typeof def_glObjectPurgeableAPPLE +>; export function ObjectPurgeableAPPLE( objectType: GLenum, @@ -93,7 +103,9 @@ export const def_glObjectUnpurgeableAPPLE = { result: "u32", } as const; -let fn_glObjectUnpurgeableAPPLE!: Deno.UnsafeFnPointer; +let fn_glObjectUnpurgeableAPPLE!: Deno.UnsafeFnPointer< + typeof def_glObjectUnpurgeableAPPLE +>; export function ObjectUnpurgeableAPPLE( objectType: GLenum, @@ -112,7 +124,9 @@ export const def_glGetObjectParameterivAPPLE = { result: "void", } as const; -let fn_glGetObjectParameterivAPPLE!: Deno.UnsafeFnPointer; +let fn_glGetObjectParameterivAPPLE!: Deno.UnsafeFnPointer< + typeof def_glGetObjectParameterivAPPLE +>; export function GetObjectParameterivAPPLE( objectType: GLenum, @@ -130,7 +144,16 @@ export function GetObjectParameterivAPPLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glObjectPurgeableAPPLE = new Deno.UnsafeFnPointer(proc("glObjectPurgeableAPPLE"), def_glObjectPurgeableAPPLE); - fn_glObjectUnpurgeableAPPLE = new Deno.UnsafeFnPointer(proc("glObjectUnpurgeableAPPLE"), def_glObjectUnpurgeableAPPLE); - fn_glGetObjectParameterivAPPLE = new Deno.UnsafeFnPointer(proc("glGetObjectParameterivAPPLE"), def_glGetObjectParameterivAPPLE); + fn_glObjectPurgeableAPPLE = new Deno.UnsafeFnPointer( + proc("glObjectPurgeableAPPLE"), + def_glObjectPurgeableAPPLE, + ); + fn_glObjectUnpurgeableAPPLE = new Deno.UnsafeFnPointer( + proc("glObjectUnpurgeableAPPLE"), + def_glObjectUnpurgeableAPPLE, + ); + fn_glGetObjectParameterivAPPLE = new Deno.UnsafeFnPointer( + proc("glGetObjectParameterivAPPLE"), + def_glGetObjectParameterivAPPLE, + ); } diff --git a/api/ext/GL_APPLE_rgb_422.ts b/api/ext/GL_APPLE_rgb_422.ts index 1e31166..4d6909b 100644 --- a/api/ext/GL_APPLE_rgb_422.ts +++ b/api/ext/GL_APPLE_rgb_422.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_row_bytes.ts b/api/ext/GL_APPLE_row_bytes.ts index fe0c201..cc7a4df 100644 --- a/api/ext/GL_APPLE_row_bytes.ts +++ b/api/ext/GL_APPLE_row_bytes.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_specular_vector.ts b/api/ext/GL_APPLE_specular_vector.ts index 0e0ba62..bbad3de 100644 --- a/api/ext/GL_APPLE_specular_vector.ts +++ b/api/ext/GL_APPLE_specular_vector.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_sync.ts b/api/ext/GL_APPLE_sync.ts index c6a5bc9..877340d 100644 --- a/api/ext/GL_APPLE_sync.ts +++ b/api/ext/GL_APPLE_sync.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -131,7 +139,9 @@ export const def_glClientWaitSyncAPPLE = { result: "u32", } as const; -let fn_glClientWaitSyncAPPLE!: Deno.UnsafeFnPointer; +let fn_glClientWaitSyncAPPLE!: Deno.UnsafeFnPointer< + typeof def_glClientWaitSyncAPPLE +>; export function ClientWaitSyncAPPLE( sync: GLsync, @@ -169,7 +179,9 @@ export const def_glGetInteger64vAPPLE = { result: "void", } as const; -let fn_glGetInteger64vAPPLE!: Deno.UnsafeFnPointer; +let fn_glGetInteger64vAPPLE!: Deno.UnsafeFnPointer< + typeof def_glGetInteger64vAPPLE +>; export function GetInteger64vAPPLE( pname: GLenum, @@ -206,11 +218,32 @@ export function GetSyncivAPPLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFenceSyncAPPLE = new Deno.UnsafeFnPointer(proc("glFenceSyncAPPLE"), def_glFenceSyncAPPLE); - fn_glIsSyncAPPLE = new Deno.UnsafeFnPointer(proc("glIsSyncAPPLE"), def_glIsSyncAPPLE); - fn_glDeleteSyncAPPLE = new Deno.UnsafeFnPointer(proc("glDeleteSyncAPPLE"), def_glDeleteSyncAPPLE); - fn_glClientWaitSyncAPPLE = new Deno.UnsafeFnPointer(proc("glClientWaitSyncAPPLE"), def_glClientWaitSyncAPPLE); - fn_glWaitSyncAPPLE = new Deno.UnsafeFnPointer(proc("glWaitSyncAPPLE"), def_glWaitSyncAPPLE); - fn_glGetInteger64vAPPLE = new Deno.UnsafeFnPointer(proc("glGetInteger64vAPPLE"), def_glGetInteger64vAPPLE); - fn_glGetSyncivAPPLE = new Deno.UnsafeFnPointer(proc("glGetSyncivAPPLE"), def_glGetSyncivAPPLE); + fn_glFenceSyncAPPLE = new Deno.UnsafeFnPointer( + proc("glFenceSyncAPPLE"), + def_glFenceSyncAPPLE, + ); + fn_glIsSyncAPPLE = new Deno.UnsafeFnPointer( + proc("glIsSyncAPPLE"), + def_glIsSyncAPPLE, + ); + fn_glDeleteSyncAPPLE = new Deno.UnsafeFnPointer( + proc("glDeleteSyncAPPLE"), + def_glDeleteSyncAPPLE, + ); + fn_glClientWaitSyncAPPLE = new Deno.UnsafeFnPointer( + proc("glClientWaitSyncAPPLE"), + def_glClientWaitSyncAPPLE, + ); + fn_glWaitSyncAPPLE = new Deno.UnsafeFnPointer( + proc("glWaitSyncAPPLE"), + def_glWaitSyncAPPLE, + ); + fn_glGetInteger64vAPPLE = new Deno.UnsafeFnPointer( + proc("glGetInteger64vAPPLE"), + def_glGetInteger64vAPPLE, + ); + fn_glGetSyncivAPPLE = new Deno.UnsafeFnPointer( + proc("glGetSyncivAPPLE"), + def_glGetSyncivAPPLE, + ); } diff --git a/api/ext/GL_APPLE_texture_2D_limited_npot.ts b/api/ext/GL_APPLE_texture_2D_limited_npot.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_APPLE_texture_2D_limited_npot.ts +++ b/api/ext/GL_APPLE_texture_2D_limited_npot.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_texture_format_BGRA8888.ts b/api/ext/GL_APPLE_texture_format_BGRA8888.ts index 0557cdd..dd7ad10 100644 --- a/api/ext/GL_APPLE_texture_format_BGRA8888.ts +++ b/api/ext/GL_APPLE_texture_format_BGRA8888.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_texture_max_level.ts b/api/ext/GL_APPLE_texture_max_level.ts index ce1595c..f2f4a83 100644 --- a/api/ext/GL_APPLE_texture_max_level.ts +++ b/api/ext/GL_APPLE_texture_max_level.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_texture_packed_float.ts b/api/ext/GL_APPLE_texture_packed_float.ts index 12bc9a6..c5bd984 100644 --- a/api/ext/GL_APPLE_texture_packed_float.ts +++ b/api/ext/GL_APPLE_texture_packed_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_texture_range.ts b/api/ext/GL_APPLE_texture_range.ts index e9d9830..9653f76 100644 --- a/api/ext/GL_APPLE_texture_range.ts +++ b/api/ext/GL_APPLE_texture_range.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,7 +82,9 @@ export const def_glTextureRangeAPPLE = { result: "void", } as const; -let fn_glTextureRangeAPPLE!: Deno.UnsafeFnPointer; +let fn_glTextureRangeAPPLE!: Deno.UnsafeFnPointer< + typeof def_glTextureRangeAPPLE +>; export function TextureRangeAPPLE( target: GLenum, @@ -93,7 +103,9 @@ export const def_glGetTexParameterPointervAPPLE = { result: "void", } as const; -let fn_glGetTexParameterPointervAPPLE!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterPointervAPPLE!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterPointervAPPLE +>; export function GetTexParameterPointervAPPLE( target: GLenum, @@ -109,6 +121,12 @@ export function GetTexParameterPointervAPPLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTextureRangeAPPLE = new Deno.UnsafeFnPointer(proc("glTextureRangeAPPLE"), def_glTextureRangeAPPLE); - fn_glGetTexParameterPointervAPPLE = new Deno.UnsafeFnPointer(proc("glGetTexParameterPointervAPPLE"), def_glGetTexParameterPointervAPPLE); + fn_glTextureRangeAPPLE = new Deno.UnsafeFnPointer( + proc("glTextureRangeAPPLE"), + def_glTextureRangeAPPLE, + ); + fn_glGetTexParameterPointervAPPLE = new Deno.UnsafeFnPointer( + proc("glGetTexParameterPointervAPPLE"), + def_glGetTexParameterPointervAPPLE, + ); } diff --git a/api/ext/GL_APPLE_transform_hint.ts b/api/ext/GL_APPLE_transform_hint.ts index d206eb4..c67b6c4 100644 --- a/api/ext/GL_APPLE_transform_hint.ts +++ b/api/ext/GL_APPLE_transform_hint.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_APPLE_vertex_array_object.ts b/api/ext/GL_APPLE_vertex_array_object.ts index 4d291af..5736286 100644 --- a/api/ext/GL_APPLE_vertex_array_object.ts +++ b/api/ext/GL_APPLE_vertex_array_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glBindVertexArrayAPPLE = { result: "void", } as const; -let fn_glBindVertexArrayAPPLE!: Deno.UnsafeFnPointer; +let fn_glBindVertexArrayAPPLE!: Deno.UnsafeFnPointer< + typeof def_glBindVertexArrayAPPLE +>; export function BindVertexArrayAPPLE( array: GLuint, @@ -84,7 +94,9 @@ export const def_glDeleteVertexArraysAPPLE = { result: "void", } as const; -let fn_glDeleteVertexArraysAPPLE!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArraysAPPLE!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArraysAPPLE +>; export function DeleteVertexArraysAPPLE( n: GLsizei, @@ -101,7 +113,9 @@ export const def_glGenVertexArraysAPPLE = { result: "void", } as const; -let fn_glGenVertexArraysAPPLE!: Deno.UnsafeFnPointer; +let fn_glGenVertexArraysAPPLE!: Deno.UnsafeFnPointer< + typeof def_glGenVertexArraysAPPLE +>; export function GenVertexArraysAPPLE( n: GLsizei, @@ -118,7 +132,9 @@ export const def_glIsVertexArrayAPPLE = { result: "u8", } as const; -let fn_glIsVertexArrayAPPLE!: Deno.UnsafeFnPointer; +let fn_glIsVertexArrayAPPLE!: Deno.UnsafeFnPointer< + typeof def_glIsVertexArrayAPPLE +>; export function IsVertexArrayAPPLE( array: GLuint, @@ -130,8 +146,20 @@ export function IsVertexArrayAPPLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindVertexArrayAPPLE = new Deno.UnsafeFnPointer(proc("glBindVertexArrayAPPLE"), def_glBindVertexArrayAPPLE); - fn_glDeleteVertexArraysAPPLE = new Deno.UnsafeFnPointer(proc("glDeleteVertexArraysAPPLE"), def_glDeleteVertexArraysAPPLE); - fn_glGenVertexArraysAPPLE = new Deno.UnsafeFnPointer(proc("glGenVertexArraysAPPLE"), def_glGenVertexArraysAPPLE); - fn_glIsVertexArrayAPPLE = new Deno.UnsafeFnPointer(proc("glIsVertexArrayAPPLE"), def_glIsVertexArrayAPPLE); + fn_glBindVertexArrayAPPLE = new Deno.UnsafeFnPointer( + proc("glBindVertexArrayAPPLE"), + def_glBindVertexArrayAPPLE, + ); + fn_glDeleteVertexArraysAPPLE = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArraysAPPLE"), + def_glDeleteVertexArraysAPPLE, + ); + fn_glGenVertexArraysAPPLE = new Deno.UnsafeFnPointer( + proc("glGenVertexArraysAPPLE"), + def_glGenVertexArraysAPPLE, + ); + fn_glIsVertexArrayAPPLE = new Deno.UnsafeFnPointer( + proc("glIsVertexArrayAPPLE"), + def_glIsVertexArrayAPPLE, + ); } diff --git a/api/ext/GL_APPLE_vertex_array_range.ts b/api/ext/GL_APPLE_vertex_array_range.ts index ed6e0e4..248f9f9 100644 --- a/api/ext/GL_APPLE_vertex_array_range.ts +++ b/api/ext/GL_APPLE_vertex_array_range.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,7 +83,9 @@ export const def_glVertexArrayRangeAPPLE = { result: "void", } as const; -let fn_glVertexArrayRangeAPPLE!: Deno.UnsafeFnPointer; +let fn_glVertexArrayRangeAPPLE!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayRangeAPPLE +>; export function VertexArrayRangeAPPLE( length: GLsizei, @@ -92,7 +102,9 @@ export const def_glFlushVertexArrayRangeAPPLE = { result: "void", } as const; -let fn_glFlushVertexArrayRangeAPPLE!: Deno.UnsafeFnPointer; +let fn_glFlushVertexArrayRangeAPPLE!: Deno.UnsafeFnPointer< + typeof def_glFlushVertexArrayRangeAPPLE +>; export function FlushVertexArrayRangeAPPLE( length: GLsizei, @@ -109,7 +121,9 @@ export const def_glVertexArrayParameteriAPPLE = { result: "void", } as const; -let fn_glVertexArrayParameteriAPPLE!: Deno.UnsafeFnPointer; +let fn_glVertexArrayParameteriAPPLE!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayParameteriAPPLE +>; export function VertexArrayParameteriAPPLE( pname: GLenum, @@ -123,7 +137,16 @@ export function VertexArrayParameteriAPPLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexArrayRangeAPPLE = new Deno.UnsafeFnPointer(proc("glVertexArrayRangeAPPLE"), def_glVertexArrayRangeAPPLE); - fn_glFlushVertexArrayRangeAPPLE = new Deno.UnsafeFnPointer(proc("glFlushVertexArrayRangeAPPLE"), def_glFlushVertexArrayRangeAPPLE); - fn_glVertexArrayParameteriAPPLE = new Deno.UnsafeFnPointer(proc("glVertexArrayParameteriAPPLE"), def_glVertexArrayParameteriAPPLE); + fn_glVertexArrayRangeAPPLE = new Deno.UnsafeFnPointer( + proc("glVertexArrayRangeAPPLE"), + def_glVertexArrayRangeAPPLE, + ); + fn_glFlushVertexArrayRangeAPPLE = new Deno.UnsafeFnPointer( + proc("glFlushVertexArrayRangeAPPLE"), + def_glFlushVertexArrayRangeAPPLE, + ); + fn_glVertexArrayParameteriAPPLE = new Deno.UnsafeFnPointer( + proc("glVertexArrayParameteriAPPLE"), + def_glVertexArrayParameteriAPPLE, + ); } diff --git a/api/ext/GL_APPLE_vertex_program_evaluators.ts b/api/ext/GL_APPLE_vertex_program_evaluators.ts index c20c66e..438d0c2 100644 --- a/api/ext/GL_APPLE_vertex_program_evaluators.ts +++ b/api/ext/GL_APPLE_vertex_program_evaluators.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -78,7 +86,9 @@ export const def_glEnableVertexAttribAPPLE = { result: "void", } as const; -let fn_glEnableVertexAttribAPPLE!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribAPPLE!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribAPPLE +>; export function EnableVertexAttribAPPLE( index: GLuint, @@ -95,7 +105,9 @@ export const def_glDisableVertexAttribAPPLE = { result: "void", } as const; -let fn_glDisableVertexAttribAPPLE!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribAPPLE!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribAPPLE +>; export function DisableVertexAttribAPPLE( index: GLuint, @@ -112,7 +124,9 @@ export const def_glIsVertexAttribEnabledAPPLE = { result: "u8", } as const; -let fn_glIsVertexAttribEnabledAPPLE!: Deno.UnsafeFnPointer; +let fn_glIsVertexAttribEnabledAPPLE!: Deno.UnsafeFnPointer< + typeof def_glIsVertexAttribEnabledAPPLE +>; export function IsVertexAttribEnabledAPPLE( index: GLuint, @@ -129,7 +143,9 @@ export const def_glMapVertexAttrib1dAPPLE = { result: "void", } as const; -let fn_glMapVertexAttrib1dAPPLE!: Deno.UnsafeFnPointer; +let fn_glMapVertexAttrib1dAPPLE!: Deno.UnsafeFnPointer< + typeof def_glMapVertexAttrib1dAPPLE +>; export function MapVertexAttrib1dAPPLE( index: GLuint, @@ -156,7 +172,9 @@ export const def_glMapVertexAttrib1fAPPLE = { result: "void", } as const; -let fn_glMapVertexAttrib1fAPPLE!: Deno.UnsafeFnPointer; +let fn_glMapVertexAttrib1fAPPLE!: Deno.UnsafeFnPointer< + typeof def_glMapVertexAttrib1fAPPLE +>; export function MapVertexAttrib1fAPPLE( index: GLuint, @@ -179,11 +197,25 @@ export function MapVertexAttrib1fAPPLE( } export const def_glMapVertexAttrib2dAPPLE = { - parameters: ["u32", "u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glMapVertexAttrib2dAPPLE!: Deno.UnsafeFnPointer; +let fn_glMapVertexAttrib2dAPPLE!: Deno.UnsafeFnPointer< + typeof def_glMapVertexAttrib2dAPPLE +>; export function MapVertexAttrib2dAPPLE( index: GLuint, @@ -214,11 +246,25 @@ export function MapVertexAttrib2dAPPLE( } export const def_glMapVertexAttrib2fAPPLE = { - parameters: ["u32", "u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glMapVertexAttrib2fAPPLE!: Deno.UnsafeFnPointer; +let fn_glMapVertexAttrib2fAPPLE!: Deno.UnsafeFnPointer< + typeof def_glMapVertexAttrib2fAPPLE +>; export function MapVertexAttrib2fAPPLE( index: GLuint, @@ -250,11 +296,32 @@ export function MapVertexAttrib2fAPPLE( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glEnableVertexAttribAPPLE = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribAPPLE"), def_glEnableVertexAttribAPPLE); - fn_glDisableVertexAttribAPPLE = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribAPPLE"), def_glDisableVertexAttribAPPLE); - fn_glIsVertexAttribEnabledAPPLE = new Deno.UnsafeFnPointer(proc("glIsVertexAttribEnabledAPPLE"), def_glIsVertexAttribEnabledAPPLE); - fn_glMapVertexAttrib1dAPPLE = new Deno.UnsafeFnPointer(proc("glMapVertexAttrib1dAPPLE"), def_glMapVertexAttrib1dAPPLE); - fn_glMapVertexAttrib1fAPPLE = new Deno.UnsafeFnPointer(proc("glMapVertexAttrib1fAPPLE"), def_glMapVertexAttrib1fAPPLE); - fn_glMapVertexAttrib2dAPPLE = new Deno.UnsafeFnPointer(proc("glMapVertexAttrib2dAPPLE"), def_glMapVertexAttrib2dAPPLE); - fn_glMapVertexAttrib2fAPPLE = new Deno.UnsafeFnPointer(proc("glMapVertexAttrib2fAPPLE"), def_glMapVertexAttrib2fAPPLE); + fn_glEnableVertexAttribAPPLE = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribAPPLE"), + def_glEnableVertexAttribAPPLE, + ); + fn_glDisableVertexAttribAPPLE = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribAPPLE"), + def_glDisableVertexAttribAPPLE, + ); + fn_glIsVertexAttribEnabledAPPLE = new Deno.UnsafeFnPointer( + proc("glIsVertexAttribEnabledAPPLE"), + def_glIsVertexAttribEnabledAPPLE, + ); + fn_glMapVertexAttrib1dAPPLE = new Deno.UnsafeFnPointer( + proc("glMapVertexAttrib1dAPPLE"), + def_glMapVertexAttrib1dAPPLE, + ); + fn_glMapVertexAttrib1fAPPLE = new Deno.UnsafeFnPointer( + proc("glMapVertexAttrib1fAPPLE"), + def_glMapVertexAttrib1fAPPLE, + ); + fn_glMapVertexAttrib2dAPPLE = new Deno.UnsafeFnPointer( + proc("glMapVertexAttrib2dAPPLE"), + def_glMapVertexAttrib2dAPPLE, + ); + fn_glMapVertexAttrib2fAPPLE = new Deno.UnsafeFnPointer( + proc("glMapVertexAttrib2fAPPLE"), + def_glMapVertexAttrib2fAPPLE, + ); } diff --git a/api/ext/GL_APPLE_ycbcr_422.ts b/api/ext/GL_APPLE_ycbcr_422.ts index 8378b05..8a6bd59 100644 --- a/api/ext/GL_APPLE_ycbcr_422.ts +++ b/api/ext/GL_APPLE_ycbcr_422.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_ES2_compatibility.ts b/api/ext/GL_ARB_ES2_compatibility.ts index 278b92d..2844afb 100644 --- a/api/ext/GL_ARB_ES2_compatibility.ts +++ b/api/ext/GL_ARB_ES2_compatibility.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,7 +92,9 @@ export const def_glReleaseShaderCompiler = { result: "void", } as const; -let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer; +let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer< + typeof def_glReleaseShaderCompiler +>; export function ReleaseShaderCompiler(): void { fn_glReleaseShaderCompiler.call(); @@ -118,7 +128,9 @@ export const def_glGetShaderPrecisionFormat = { result: "void", } as const; -let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer; +let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer< + typeof def_glGetShaderPrecisionFormat +>; export function GetShaderPrecisionFormat( shadertype: GLenum, @@ -168,9 +180,24 @@ export function ClearDepthf( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer(proc("glReleaseShaderCompiler"), def_glReleaseShaderCompiler); - fn_glShaderBinary = new Deno.UnsafeFnPointer(proc("glShaderBinary"), def_glShaderBinary); - fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer(proc("glGetShaderPrecisionFormat"), def_glGetShaderPrecisionFormat); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); + fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer( + proc("glReleaseShaderCompiler"), + def_glReleaseShaderCompiler, + ); + fn_glShaderBinary = new Deno.UnsafeFnPointer( + proc("glShaderBinary"), + def_glShaderBinary, + ); + fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer( + proc("glGetShaderPrecisionFormat"), + def_glGetShaderPrecisionFormat, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); } diff --git a/api/ext/GL_ARB_ES3_1_compatibility.ts b/api/ext/GL_ARB_ES3_1_compatibility.ts index 1baa85d..bfce08f 100644 --- a/api/ext/GL_ARB_ES3_1_compatibility.ts +++ b/api/ext/GL_ARB_ES3_1_compatibility.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glMemoryBarrierByRegion = { result: "void", } as const; -let fn_glMemoryBarrierByRegion!: Deno.UnsafeFnPointer; +let fn_glMemoryBarrierByRegion!: Deno.UnsafeFnPointer< + typeof def_glMemoryBarrierByRegion +>; export function MemoryBarrierByRegion( barriers: GLbitfield, @@ -81,5 +91,8 @@ export function MemoryBarrierByRegion( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMemoryBarrierByRegion = new Deno.UnsafeFnPointer(proc("glMemoryBarrierByRegion"), def_glMemoryBarrierByRegion); + fn_glMemoryBarrierByRegion = new Deno.UnsafeFnPointer( + proc("glMemoryBarrierByRegion"), + def_glMemoryBarrierByRegion, + ); } diff --git a/api/ext/GL_ARB_ES3_2_compatibility.ts b/api/ext/GL_ARB_ES3_2_compatibility.ts index e25e11b..23a6e6b 100644 --- a/api/ext/GL_ARB_ES3_2_compatibility.ts +++ b/api/ext/GL_ARB_ES3_2_compatibility.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glPrimitiveBoundingBoxARB = { result: "void", } as const; -let fn_glPrimitiveBoundingBoxARB!: Deno.UnsafeFnPointer; +let fn_glPrimitiveBoundingBoxARB!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveBoundingBoxARB +>; export function PrimitiveBoundingBoxARB( minX: GLfloat, @@ -97,5 +107,8 @@ export function PrimitiveBoundingBoxARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPrimitiveBoundingBoxARB = new Deno.UnsafeFnPointer(proc("glPrimitiveBoundingBoxARB"), def_glPrimitiveBoundingBoxARB); + fn_glPrimitiveBoundingBoxARB = new Deno.UnsafeFnPointer( + proc("glPrimitiveBoundingBoxARB"), + def_glPrimitiveBoundingBoxARB, + ); } diff --git a/api/ext/GL_ARB_ES3_compatibility.ts b/api/ext/GL_ARB_ES3_compatibility.ts index fa1fe1c..e0cb11a 100644 --- a/api/ext/GL_ARB_ES3_compatibility.ts +++ b/api/ext/GL_ARB_ES3_compatibility.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_arrays_of_arrays.ts b/api/ext/GL_ARB_arrays_of_arrays.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_arrays_of_arrays.ts +++ b/api/ext/GL_ARB_arrays_of_arrays.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_base_instance.ts b/api/ext/GL_ARB_base_instance.ts index d728846..fe7c556 100644 --- a/api/ext/GL_ARB_base_instance.ts +++ b/api/ext/GL_ARB_base_instance.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glDrawArraysInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedBaseInstance +>; export function DrawArraysInstancedBaseInstance( mode: GLenum, @@ -89,7 +99,9 @@ export const def_glDrawElementsInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseInstance +>; export function DrawElementsInstancedBaseInstance( mode: GLenum, @@ -114,7 +126,9 @@ export const def_glDrawElementsInstancedBaseVertexBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertexBaseInstance +>; export function DrawElementsInstancedBaseVertexBaseInstance( mode: GLenum, @@ -138,7 +152,16 @@ export function DrawElementsInstancedBaseVertexBaseInstance( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedBaseInstance"), def_glDrawArraysInstancedBaseInstance); - fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseInstance"), def_glDrawElementsInstancedBaseInstance); - fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertexBaseInstance"), def_glDrawElementsInstancedBaseVertexBaseInstance); + fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedBaseInstance"), + def_glDrawArraysInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseInstance"), + def_glDrawElementsInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertexBaseInstance"), + def_glDrawElementsInstancedBaseVertexBaseInstance, + ); } diff --git a/api/ext/GL_ARB_bindless_texture.ts b/api/ext/GL_ARB_bindless_texture.ts index 760c93b..0193ad2 100644 --- a/api/ext/GL_ARB_bindless_texture.ts +++ b/api/ext/GL_ARB_bindless_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glGetTextureHandleARB = { result: "u64", } as const; -let fn_glGetTextureHandleARB!: Deno.UnsafeFnPointer; +let fn_glGetTextureHandleARB!: Deno.UnsafeFnPointer< + typeof def_glGetTextureHandleARB +>; export function GetTextureHandleARB( texture: GLuint, @@ -84,7 +94,9 @@ export const def_glGetTextureSamplerHandleARB = { result: "u64", } as const; -let fn_glGetTextureSamplerHandleARB!: Deno.UnsafeFnPointer; +let fn_glGetTextureSamplerHandleARB!: Deno.UnsafeFnPointer< + typeof def_glGetTextureSamplerHandleARB +>; export function GetTextureSamplerHandleARB( texture: GLuint, @@ -101,7 +113,9 @@ export const def_glMakeTextureHandleResidentARB = { result: "void", } as const; -let fn_glMakeTextureHandleResidentARB!: Deno.UnsafeFnPointer; +let fn_glMakeTextureHandleResidentARB!: Deno.UnsafeFnPointer< + typeof def_glMakeTextureHandleResidentARB +>; export function MakeTextureHandleResidentARB( handle: GLuint64, @@ -116,7 +130,9 @@ export const def_glMakeTextureHandleNonResidentARB = { result: "void", } as const; -let fn_glMakeTextureHandleNonResidentARB!: Deno.UnsafeFnPointer; +let fn_glMakeTextureHandleNonResidentARB!: Deno.UnsafeFnPointer< + typeof def_glMakeTextureHandleNonResidentARB +>; export function MakeTextureHandleNonResidentARB( handle: GLuint64, @@ -131,7 +147,9 @@ export const def_glGetImageHandleARB = { result: "u64", } as const; -let fn_glGetImageHandleARB!: Deno.UnsafeFnPointer; +let fn_glGetImageHandleARB!: Deno.UnsafeFnPointer< + typeof def_glGetImageHandleARB +>; export function GetImageHandleARB( texture: GLuint, @@ -154,7 +172,9 @@ export const def_glMakeImageHandleResidentARB = { result: "void", } as const; -let fn_glMakeImageHandleResidentARB!: Deno.UnsafeFnPointer; +let fn_glMakeImageHandleResidentARB!: Deno.UnsafeFnPointer< + typeof def_glMakeImageHandleResidentARB +>; export function MakeImageHandleResidentARB( handle: GLuint64, @@ -171,7 +191,9 @@ export const def_glMakeImageHandleNonResidentARB = { result: "void", } as const; -let fn_glMakeImageHandleNonResidentARB!: Deno.UnsafeFnPointer; +let fn_glMakeImageHandleNonResidentARB!: Deno.UnsafeFnPointer< + typeof def_glMakeImageHandleNonResidentARB +>; export function MakeImageHandleNonResidentARB( handle: GLuint64, @@ -186,7 +208,9 @@ export const def_glUniformHandleui64ARB = { result: "void", } as const; -let fn_glUniformHandleui64ARB!: Deno.UnsafeFnPointer; +let fn_glUniformHandleui64ARB!: Deno.UnsafeFnPointer< + typeof def_glUniformHandleui64ARB +>; export function UniformHandleui64ARB( location: GLint, @@ -203,7 +227,9 @@ export const def_glUniformHandleui64vARB = { result: "void", } as const; -let fn_glUniformHandleui64vARB!: Deno.UnsafeFnPointer; +let fn_glUniformHandleui64vARB!: Deno.UnsafeFnPointer< + typeof def_glUniformHandleui64vARB +>; export function UniformHandleui64vARB( location: GLint, @@ -222,7 +248,9 @@ export const def_glProgramUniformHandleui64ARB = { result: "void", } as const; -let fn_glProgramUniformHandleui64ARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniformHandleui64ARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformHandleui64ARB +>; export function ProgramUniformHandleui64ARB( program: GLuint, @@ -241,7 +269,9 @@ export const def_glProgramUniformHandleui64vARB = { result: "void", } as const; -let fn_glProgramUniformHandleui64vARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniformHandleui64vARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformHandleui64vARB +>; export function ProgramUniformHandleui64vARB( program: GLuint, @@ -262,7 +292,9 @@ export const def_glIsTextureHandleResidentARB = { result: "u8", } as const; -let fn_glIsTextureHandleResidentARB!: Deno.UnsafeFnPointer; +let fn_glIsTextureHandleResidentARB!: Deno.UnsafeFnPointer< + typeof def_glIsTextureHandleResidentARB +>; export function IsTextureHandleResidentARB( handle: GLuint64, @@ -277,7 +309,9 @@ export const def_glIsImageHandleResidentARB = { result: "u8", } as const; -let fn_glIsImageHandleResidentARB!: Deno.UnsafeFnPointer; +let fn_glIsImageHandleResidentARB!: Deno.UnsafeFnPointer< + typeof def_glIsImageHandleResidentARB +>; export function IsImageHandleResidentARB( handle: GLuint64, @@ -292,7 +326,9 @@ export const def_glVertexAttribL1ui64ARB = { result: "void", } as const; -let fn_glVertexAttribL1ui64ARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL1ui64ARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL1ui64ARB +>; export function VertexAttribL1ui64ARB( index: GLuint, @@ -309,7 +345,9 @@ export const def_glVertexAttribL1ui64vARB = { result: "void", } as const; -let fn_glVertexAttribL1ui64vARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL1ui64vARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL1ui64vARB +>; export function VertexAttribL1ui64vARB( index: GLuint, @@ -326,7 +364,9 @@ export const def_glGetVertexAttribLui64vARB = { result: "void", } as const; -let fn_glGetVertexAttribLui64vARB!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribLui64vARB!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribLui64vARB +>; export function GetVertexAttribLui64vARB( index: GLuint, @@ -342,20 +382,68 @@ export function GetVertexAttribLui64vARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetTextureHandleARB = new Deno.UnsafeFnPointer(proc("glGetTextureHandleARB"), def_glGetTextureHandleARB); - fn_glGetTextureSamplerHandleARB = new Deno.UnsafeFnPointer(proc("glGetTextureSamplerHandleARB"), def_glGetTextureSamplerHandleARB); - fn_glMakeTextureHandleResidentARB = new Deno.UnsafeFnPointer(proc("glMakeTextureHandleResidentARB"), def_glMakeTextureHandleResidentARB); - fn_glMakeTextureHandleNonResidentARB = new Deno.UnsafeFnPointer(proc("glMakeTextureHandleNonResidentARB"), def_glMakeTextureHandleNonResidentARB); - fn_glGetImageHandleARB = new Deno.UnsafeFnPointer(proc("glGetImageHandleARB"), def_glGetImageHandleARB); - fn_glMakeImageHandleResidentARB = new Deno.UnsafeFnPointer(proc("glMakeImageHandleResidentARB"), def_glMakeImageHandleResidentARB); - fn_glMakeImageHandleNonResidentARB = new Deno.UnsafeFnPointer(proc("glMakeImageHandleNonResidentARB"), def_glMakeImageHandleNonResidentARB); - fn_glUniformHandleui64ARB = new Deno.UnsafeFnPointer(proc("glUniformHandleui64ARB"), def_glUniformHandleui64ARB); - fn_glUniformHandleui64vARB = new Deno.UnsafeFnPointer(proc("glUniformHandleui64vARB"), def_glUniformHandleui64vARB); - fn_glProgramUniformHandleui64ARB = new Deno.UnsafeFnPointer(proc("glProgramUniformHandleui64ARB"), def_glProgramUniformHandleui64ARB); - fn_glProgramUniformHandleui64vARB = new Deno.UnsafeFnPointer(proc("glProgramUniformHandleui64vARB"), def_glProgramUniformHandleui64vARB); - fn_glIsTextureHandleResidentARB = new Deno.UnsafeFnPointer(proc("glIsTextureHandleResidentARB"), def_glIsTextureHandleResidentARB); - fn_glIsImageHandleResidentARB = new Deno.UnsafeFnPointer(proc("glIsImageHandleResidentARB"), def_glIsImageHandleResidentARB); - fn_glVertexAttribL1ui64ARB = new Deno.UnsafeFnPointer(proc("glVertexAttribL1ui64ARB"), def_glVertexAttribL1ui64ARB); - fn_glVertexAttribL1ui64vARB = new Deno.UnsafeFnPointer(proc("glVertexAttribL1ui64vARB"), def_glVertexAttribL1ui64vARB); - fn_glGetVertexAttribLui64vARB = new Deno.UnsafeFnPointer(proc("glGetVertexAttribLui64vARB"), def_glGetVertexAttribLui64vARB); + fn_glGetTextureHandleARB = new Deno.UnsafeFnPointer( + proc("glGetTextureHandleARB"), + def_glGetTextureHandleARB, + ); + fn_glGetTextureSamplerHandleARB = new Deno.UnsafeFnPointer( + proc("glGetTextureSamplerHandleARB"), + def_glGetTextureSamplerHandleARB, + ); + fn_glMakeTextureHandleResidentARB = new Deno.UnsafeFnPointer( + proc("glMakeTextureHandleResidentARB"), + def_glMakeTextureHandleResidentARB, + ); + fn_glMakeTextureHandleNonResidentARB = new Deno.UnsafeFnPointer( + proc("glMakeTextureHandleNonResidentARB"), + def_glMakeTextureHandleNonResidentARB, + ); + fn_glGetImageHandleARB = new Deno.UnsafeFnPointer( + proc("glGetImageHandleARB"), + def_glGetImageHandleARB, + ); + fn_glMakeImageHandleResidentARB = new Deno.UnsafeFnPointer( + proc("glMakeImageHandleResidentARB"), + def_glMakeImageHandleResidentARB, + ); + fn_glMakeImageHandleNonResidentARB = new Deno.UnsafeFnPointer( + proc("glMakeImageHandleNonResidentARB"), + def_glMakeImageHandleNonResidentARB, + ); + fn_glUniformHandleui64ARB = new Deno.UnsafeFnPointer( + proc("glUniformHandleui64ARB"), + def_glUniformHandleui64ARB, + ); + fn_glUniformHandleui64vARB = new Deno.UnsafeFnPointer( + proc("glUniformHandleui64vARB"), + def_glUniformHandleui64vARB, + ); + fn_glProgramUniformHandleui64ARB = new Deno.UnsafeFnPointer( + proc("glProgramUniformHandleui64ARB"), + def_glProgramUniformHandleui64ARB, + ); + fn_glProgramUniformHandleui64vARB = new Deno.UnsafeFnPointer( + proc("glProgramUniformHandleui64vARB"), + def_glProgramUniformHandleui64vARB, + ); + fn_glIsTextureHandleResidentARB = new Deno.UnsafeFnPointer( + proc("glIsTextureHandleResidentARB"), + def_glIsTextureHandleResidentARB, + ); + fn_glIsImageHandleResidentARB = new Deno.UnsafeFnPointer( + proc("glIsImageHandleResidentARB"), + def_glIsImageHandleResidentARB, + ); + fn_glVertexAttribL1ui64ARB = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1ui64ARB"), + def_glVertexAttribL1ui64ARB, + ); + fn_glVertexAttribL1ui64vARB = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1ui64vARB"), + def_glVertexAttribL1ui64vARB, + ); + fn_glGetVertexAttribLui64vARB = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribLui64vARB"), + def_glGetVertexAttribLui64vARB, + ); } diff --git a/api/ext/GL_ARB_blend_func_extended.ts b/api/ext/GL_ARB_blend_func_extended.ts index 313bd2c..06d9037 100644 --- a/api/ext/GL_ARB_blend_func_extended.ts +++ b/api/ext/GL_ARB_blend_func_extended.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -73,7 +81,9 @@ export const def_glBindFragDataLocationIndexed = { result: "void", } as const; -let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationIndexed +>; export function BindFragDataLocationIndexed( program: GLuint, @@ -108,6 +118,12 @@ export function GetFragDataIndex( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationIndexed"), def_glBindFragDataLocationIndexed); - fn_glGetFragDataIndex = new Deno.UnsafeFnPointer(proc("glGetFragDataIndex"), def_glGetFragDataIndex); + fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationIndexed"), + def_glBindFragDataLocationIndexed, + ); + fn_glGetFragDataIndex = new Deno.UnsafeFnPointer( + proc("glGetFragDataIndex"), + def_glGetFragDataIndex, + ); } diff --git a/api/ext/GL_ARB_buffer_storage.ts b/api/ext/GL_ARB_buffer_storage.ts index 311ebc6..9651f99 100644 --- a/api/ext/GL_ARB_buffer_storage.ts +++ b/api/ext/GL_ARB_buffer_storage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -95,5 +103,8 @@ export function BufferStorage( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBufferStorage = new Deno.UnsafeFnPointer(proc("glBufferStorage"), def_glBufferStorage); + fn_glBufferStorage = new Deno.UnsafeFnPointer( + proc("glBufferStorage"), + def_glBufferStorage, + ); } diff --git a/api/ext/GL_ARB_cl_event.ts b/api/ext/GL_ARB_cl_event.ts index 1406537..f144348 100644 --- a/api/ext/GL_ARB_cl_event.ts +++ b/api/ext/GL_ARB_cl_event.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glCreateSyncFromCLeventARB = { result: "buffer", } as const; -let fn_glCreateSyncFromCLeventARB!: Deno.UnsafeFnPointer; +let fn_glCreateSyncFromCLeventARB!: Deno.UnsafeFnPointer< + typeof def_glCreateSyncFromCLeventARB +>; export function CreateSyncFromCLeventARB( context: Buffer, @@ -86,5 +96,8 @@ export function CreateSyncFromCLeventARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCreateSyncFromCLeventARB = new Deno.UnsafeFnPointer(proc("glCreateSyncFromCLeventARB"), def_glCreateSyncFromCLeventARB); + fn_glCreateSyncFromCLeventARB = new Deno.UnsafeFnPointer( + proc("glCreateSyncFromCLeventARB"), + def_glCreateSyncFromCLeventARB, + ); } diff --git a/api/ext/GL_ARB_clear_buffer_object.ts b/api/ext/GL_ARB_clear_buffer_object.ts index 6eeed75..d32e151 100644 --- a/api/ext/GL_ARB_clear_buffer_object.ts +++ b/api/ext/GL_ARB_clear_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -89,7 +97,9 @@ export const def_glClearBufferSubData = { result: "void", } as const; -let fn_glClearBufferSubData!: Deno.UnsafeFnPointer; +let fn_glClearBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glClearBufferSubData +>; export function ClearBufferSubData( target: GLenum, @@ -113,6 +123,12 @@ export function ClearBufferSubData( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glClearBufferData = new Deno.UnsafeFnPointer(proc("glClearBufferData"), def_glClearBufferData); - fn_glClearBufferSubData = new Deno.UnsafeFnPointer(proc("glClearBufferSubData"), def_glClearBufferSubData); + fn_glClearBufferData = new Deno.UnsafeFnPointer( + proc("glClearBufferData"), + def_glClearBufferData, + ); + fn_glClearBufferSubData = new Deno.UnsafeFnPointer( + proc("glClearBufferSubData"), + def_glClearBufferSubData, + ); } diff --git a/api/ext/GL_ARB_clear_texture.ts b/api/ext/GL_ARB_clear_texture.ts index 2c7fa88..cabf527 100644 --- a/api/ext/GL_ARB_clear_texture.ts +++ b/api/ext/GL_ARB_clear_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,7 +96,19 @@ export function ClearTexImage( } export const def_glClearTexSubImage = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -124,6 +144,12 @@ export function ClearTexSubImage( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glClearTexImage = new Deno.UnsafeFnPointer(proc("glClearTexImage"), def_glClearTexImage); - fn_glClearTexSubImage = new Deno.UnsafeFnPointer(proc("glClearTexSubImage"), def_glClearTexSubImage); + fn_glClearTexImage = new Deno.UnsafeFnPointer( + proc("glClearTexImage"), + def_glClearTexImage, + ); + fn_glClearTexSubImage = new Deno.UnsafeFnPointer( + proc("glClearTexSubImage"), + def_glClearTexSubImage, + ); } diff --git a/api/ext/GL_ARB_clip_control.ts b/api/ext/GL_ARB_clip_control.ts index 4ae42cb..2f3e5e9 100644 --- a/api/ext/GL_ARB_clip_control.ts +++ b/api/ext/GL_ARB_clip_control.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,5 +96,8 @@ export function ClipControl( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glClipControl = new Deno.UnsafeFnPointer(proc("glClipControl"), def_glClipControl); + fn_glClipControl = new Deno.UnsafeFnPointer( + proc("glClipControl"), + def_glClipControl, + ); } diff --git a/api/ext/GL_ARB_color_buffer_float.ts b/api/ext/GL_ARB_color_buffer_float.ts index 07433ac..91322f0 100644 --- a/api/ext/GL_ARB_color_buffer_float.ts +++ b/api/ext/GL_ARB_color_buffer_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -87,5 +95,8 @@ export function ClampColorARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glClampColorARB = new Deno.UnsafeFnPointer(proc("glClampColorARB"), def_glClampColorARB); + fn_glClampColorARB = new Deno.UnsafeFnPointer( + proc("glClampColorARB"), + def_glClampColorARB, + ); } diff --git a/api/ext/GL_ARB_compatibility.ts b/api/ext/GL_ARB_compatibility.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_compatibility.ts +++ b/api/ext/GL_ARB_compatibility.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_compressed_texture_pixel_storage.ts b/api/ext/GL_ARB_compressed_texture_pixel_storage.ts index 0113ae7..33a0ef2 100644 --- a/api/ext/GL_ARB_compressed_texture_pixel_storage.ts +++ b/api/ext/GL_ARB_compressed_texture_pixel_storage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_compute_shader.ts b/api/ext/GL_ARB_compute_shader.ts index 66ba080..8e65a28 100644 --- a/api/ext/GL_ARB_compute_shader.ts +++ b/api/ext/GL_ARB_compute_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -105,7 +113,9 @@ export const def_glDispatchComputeIndirect = { result: "void", } as const; -let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer; +let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer< + typeof def_glDispatchComputeIndirect +>; export function DispatchComputeIndirect( indirect: GLintptr, @@ -117,6 +127,12 @@ export function DispatchComputeIndirect( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDispatchCompute = new Deno.UnsafeFnPointer(proc("glDispatchCompute"), def_glDispatchCompute); - fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer(proc("glDispatchComputeIndirect"), def_glDispatchComputeIndirect); + fn_glDispatchCompute = new Deno.UnsafeFnPointer( + proc("glDispatchCompute"), + def_glDispatchCompute, + ); + fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer( + proc("glDispatchComputeIndirect"), + def_glDispatchComputeIndirect, + ); } diff --git a/api/ext/GL_ARB_compute_variable_group_size.ts b/api/ext/GL_ARB_compute_variable_group_size.ts index 4506a5c..744f12c 100644 --- a/api/ext/GL_ARB_compute_variable_group_size.ts +++ b/api/ext/GL_ARB_compute_variable_group_size.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glDispatchComputeGroupSizeARB = { result: "void", } as const; -let fn_glDispatchComputeGroupSizeARB!: Deno.UnsafeFnPointer; +let fn_glDispatchComputeGroupSizeARB!: Deno.UnsafeFnPointer< + typeof def_glDispatchComputeGroupSizeARB +>; export function DispatchComputeGroupSizeARB( num_groups_x: GLuint, @@ -94,5 +104,8 @@ export function DispatchComputeGroupSizeARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDispatchComputeGroupSizeARB = new Deno.UnsafeFnPointer(proc("glDispatchComputeGroupSizeARB"), def_glDispatchComputeGroupSizeARB); + fn_glDispatchComputeGroupSizeARB = new Deno.UnsafeFnPointer( + proc("glDispatchComputeGroupSizeARB"), + def_glDispatchComputeGroupSizeARB, + ); } diff --git a/api/ext/GL_ARB_conditional_render_inverted.ts b/api/ext/GL_ARB_conditional_render_inverted.ts index a15eafd..ccb79ef 100644 --- a/api/ext/GL_ARB_conditional_render_inverted.ts +++ b/api/ext/GL_ARB_conditional_render_inverted.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_conservative_depth.ts b/api/ext/GL_ARB_conservative_depth.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_conservative_depth.ts +++ b/api/ext/GL_ARB_conservative_depth.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_copy_buffer.ts b/api/ext/GL_ARB_copy_buffer.ts index e1b1da0..4448e57 100644 --- a/api/ext/GL_ARB_copy_buffer.ts +++ b/api/ext/GL_ARB_copy_buffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -90,5 +100,8 @@ export function CopyBufferSubData( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); } diff --git a/api/ext/GL_ARB_copy_image.ts b/api/ext/GL_ARB_copy_image.ts index 5fbf9fa..a208299 100644 --- a/api/ext/GL_ARB_copy_image.ts +++ b/api/ext/GL_ARB_copy_image.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -62,7 +70,23 @@ export type GLVULKANPROCNV = Buffer; /// Commands export const def_glCopyImageSubData = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; @@ -106,5 +130,8 @@ export function CopyImageSubData( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCopyImageSubData = new Deno.UnsafeFnPointer(proc("glCopyImageSubData"), def_glCopyImageSubData); + fn_glCopyImageSubData = new Deno.UnsafeFnPointer( + proc("glCopyImageSubData"), + def_glCopyImageSubData, + ); } diff --git a/api/ext/GL_ARB_cull_distance.ts b/api/ext/GL_ARB_cull_distance.ts index 4b106f3..686a542 100644 --- a/api/ext/GL_ARB_cull_distance.ts +++ b/api/ext/GL_ARB_cull_distance.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_debug_output.ts b/api/ext/GL_ARB_debug_output.ts index b6b845a..ad82fb2 100644 --- a/api/ext/GL_ARB_debug_output.ts +++ b/api/ext/GL_ARB_debug_output.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -90,7 +98,9 @@ export const def_glDebugMessageControlARB = { result: "void", } as const; -let fn_glDebugMessageControlARB!: Deno.UnsafeFnPointer; +let fn_glDebugMessageControlARB!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageControlARB +>; export function DebugMessageControlARB( source: GLenum, @@ -115,7 +125,9 @@ export const def_glDebugMessageInsertARB = { result: "void", } as const; -let fn_glDebugMessageInsertARB!: Deno.UnsafeFnPointer; +let fn_glDebugMessageInsertARB!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageInsertARB +>; export function DebugMessageInsertARB( source: GLenum, @@ -140,7 +152,9 @@ export const def_glDebugMessageCallbackARB = { result: "void", } as const; -let fn_glDebugMessageCallbackARB!: Deno.UnsafeFnPointer; +let fn_glDebugMessageCallbackARB!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageCallbackARB +>; export function DebugMessageCallbackARB( callback: GLDEBUGPROCARB, @@ -153,11 +167,22 @@ export function DebugMessageCallbackARB( } export const def_glGetDebugMessageLogARB = { - parameters: ["u32", "i32", "buffer", "buffer", "buffer", "buffer", "buffer", "buffer"], + parameters: [ + "u32", + "i32", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + ], result: "u32", } as const; -let fn_glGetDebugMessageLogARB!: Deno.UnsafeFnPointer; +let fn_glGetDebugMessageLogARB!: Deno.UnsafeFnPointer< + typeof def_glGetDebugMessageLogARB +>; export function GetDebugMessageLogARB( count: GLuint, @@ -183,8 +208,20 @@ export function GetDebugMessageLogARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDebugMessageControlARB = new Deno.UnsafeFnPointer(proc("glDebugMessageControlARB"), def_glDebugMessageControlARB); - fn_glDebugMessageInsertARB = new Deno.UnsafeFnPointer(proc("glDebugMessageInsertARB"), def_glDebugMessageInsertARB); - fn_glDebugMessageCallbackARB = new Deno.UnsafeFnPointer(proc("glDebugMessageCallbackARB"), def_glDebugMessageCallbackARB); - fn_glGetDebugMessageLogARB = new Deno.UnsafeFnPointer(proc("glGetDebugMessageLogARB"), def_glGetDebugMessageLogARB); + fn_glDebugMessageControlARB = new Deno.UnsafeFnPointer( + proc("glDebugMessageControlARB"), + def_glDebugMessageControlARB, + ); + fn_glDebugMessageInsertARB = new Deno.UnsafeFnPointer( + proc("glDebugMessageInsertARB"), + def_glDebugMessageInsertARB, + ); + fn_glDebugMessageCallbackARB = new Deno.UnsafeFnPointer( + proc("glDebugMessageCallbackARB"), + def_glDebugMessageCallbackARB, + ); + fn_glGetDebugMessageLogARB = new Deno.UnsafeFnPointer( + proc("glGetDebugMessageLogARB"), + def_glGetDebugMessageLogARB, + ); } diff --git a/api/ext/GL_ARB_depth_buffer_float.ts b/api/ext/GL_ARB_depth_buffer_float.ts index fc85402..9cd99df 100644 --- a/api/ext/GL_ARB_depth_buffer_float.ts +++ b/api/ext/GL_ARB_depth_buffer_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_depth_clamp.ts b/api/ext/GL_ARB_depth_clamp.ts index 5a01cd7..fd882ff 100644 --- a/api/ext/GL_ARB_depth_clamp.ts +++ b/api/ext/GL_ARB_depth_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_depth_texture.ts b/api/ext/GL_ARB_depth_texture.ts index 16deebc..a61b57b 100644 --- a/api/ext/GL_ARB_depth_texture.ts +++ b/api/ext/GL_ARB_depth_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_derivative_control.ts b/api/ext/GL_ARB_derivative_control.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_derivative_control.ts +++ b/api/ext/GL_ARB_derivative_control.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_direct_state_access.ts b/api/ext/GL_ARB_direct_state_access.ts index 9d4589d..bc63c37 100644 --- a/api/ext/GL_ARB_direct_state_access.ts +++ b/api/ext/GL_ARB_direct_state_access.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -81,7 +89,9 @@ export const def_glCreateTransformFeedbacks = { result: "void", } as const; -let fn_glCreateTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glCreateTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glCreateTransformFeedbacks +>; export function CreateTransformFeedbacks( n: GLsizei, @@ -98,7 +108,9 @@ export const def_glTransformFeedbackBufferBase = { result: "void", } as const; -let fn_glTransformFeedbackBufferBase!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackBufferBase!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackBufferBase +>; export function TransformFeedbackBufferBase( xfb: GLuint, @@ -117,7 +129,9 @@ export const def_glTransformFeedbackBufferRange = { result: "void", } as const; -let fn_glTransformFeedbackBufferRange!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackBufferRange!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackBufferRange +>; export function TransformFeedbackBufferRange( xfb: GLuint, @@ -140,7 +154,9 @@ export const def_glGetTransformFeedbackiv = { result: "void", } as const; -let fn_glGetTransformFeedbackiv!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackiv!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackiv +>; export function GetTransformFeedbackiv( xfb: GLuint, @@ -159,7 +175,9 @@ export const def_glGetTransformFeedbacki_v = { result: "void", } as const; -let fn_glGetTransformFeedbacki_v!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbacki_v!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbacki_v +>; export function GetTransformFeedbacki_v( xfb: GLuint, @@ -180,7 +198,9 @@ export const def_glGetTransformFeedbacki64_v = { result: "void", } as const; -let fn_glGetTransformFeedbacki64_v!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbacki64_v!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbacki64_v +>; export function GetTransformFeedbacki64_v( xfb: GLuint, @@ -218,7 +238,9 @@ export const def_glNamedBufferStorage = { result: "void", } as const; -let fn_glNamedBufferStorage!: Deno.UnsafeFnPointer; +let fn_glNamedBufferStorage!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferStorage +>; export function NamedBufferStorage( buffer: GLuint, @@ -260,7 +282,9 @@ export const def_glNamedBufferSubData = { result: "void", } as const; -let fn_glNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferSubData +>; export function NamedBufferSubData( buffer: GLuint, @@ -281,7 +305,9 @@ export const def_glCopyNamedBufferSubData = { result: "void", } as const; -let fn_glCopyNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyNamedBufferSubData +>; export function CopyNamedBufferSubData( readBuffer: GLuint, @@ -304,7 +330,9 @@ export const def_glClearNamedBufferData = { result: "void", } as const; -let fn_glClearNamedBufferData!: Deno.UnsafeFnPointer; +let fn_glClearNamedBufferData!: Deno.UnsafeFnPointer< + typeof def_glClearNamedBufferData +>; export function ClearNamedBufferData( buffer: GLuint, @@ -327,7 +355,9 @@ export const def_glClearNamedBufferSubData = { result: "void", } as const; -let fn_glClearNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glClearNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glClearNamedBufferSubData +>; export function ClearNamedBufferSubData( buffer: GLuint, @@ -371,7 +401,9 @@ export const def_glMapNamedBufferRange = { result: "buffer", } as const; -let fn_glMapNamedBufferRange!: Deno.UnsafeFnPointer; +let fn_glMapNamedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glMapNamedBufferRange +>; export function MapNamedBufferRange( buffer: GLuint, @@ -407,7 +439,9 @@ export const def_glFlushMappedNamedBufferRange = { result: "void", } as const; -let fn_glFlushMappedNamedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedNamedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedNamedBufferRange +>; export function FlushMappedNamedBufferRange( buffer: GLuint, @@ -426,7 +460,9 @@ export const def_glGetNamedBufferParameteriv = { result: "void", } as const; -let fn_glGetNamedBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferParameteriv +>; export function GetNamedBufferParameteriv( buffer: GLuint, @@ -445,7 +481,9 @@ export const def_glGetNamedBufferParameteri64v = { result: "void", } as const; -let fn_glGetNamedBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferParameteri64v +>; export function GetNamedBufferParameteri64v( buffer: GLuint, @@ -464,7 +502,9 @@ export const def_glGetNamedBufferPointerv = { result: "void", } as const; -let fn_glGetNamedBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferPointerv +>; export function GetNamedBufferPointerv( buffer: GLuint, @@ -483,7 +523,9 @@ export const def_glGetNamedBufferSubData = { result: "void", } as const; -let fn_glGetNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferSubData +>; export function GetNamedBufferSubData( buffer: GLuint, @@ -504,7 +546,9 @@ export const def_glCreateFramebuffers = { result: "void", } as const; -let fn_glCreateFramebuffers!: Deno.UnsafeFnPointer; +let fn_glCreateFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glCreateFramebuffers +>; export function CreateFramebuffers( n: GLsizei, @@ -521,7 +565,9 @@ export const def_glNamedFramebufferRenderbuffer = { result: "void", } as const; -let fn_glNamedFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferRenderbuffer +>; export function NamedFramebufferRenderbuffer( framebuffer: GLuint, @@ -542,7 +588,9 @@ export const def_glNamedFramebufferParameteri = { result: "void", } as const; -let fn_glNamedFramebufferParameteri!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferParameteri!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferParameteri +>; export function NamedFramebufferParameteri( framebuffer: GLuint, @@ -561,7 +609,9 @@ export const def_glNamedFramebufferTexture = { result: "void", } as const; -let fn_glNamedFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTexture +>; export function NamedFramebufferTexture( framebuffer: GLuint, @@ -582,7 +632,9 @@ export const def_glNamedFramebufferTextureLayer = { result: "void", } as const; -let fn_glNamedFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTextureLayer +>; export function NamedFramebufferTextureLayer( framebuffer: GLuint, @@ -605,7 +657,9 @@ export const def_glNamedFramebufferDrawBuffer = { result: "void", } as const; -let fn_glNamedFramebufferDrawBuffer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferDrawBuffer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferDrawBuffer +>; export function NamedFramebufferDrawBuffer( framebuffer: GLuint, @@ -622,7 +676,9 @@ export const def_glNamedFramebufferDrawBuffers = { result: "void", } as const; -let fn_glNamedFramebufferDrawBuffers!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferDrawBuffers!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferDrawBuffers +>; export function NamedFramebufferDrawBuffers( framebuffer: GLuint, @@ -641,7 +697,9 @@ export const def_glNamedFramebufferReadBuffer = { result: "void", } as const; -let fn_glNamedFramebufferReadBuffer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferReadBuffer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferReadBuffer +>; export function NamedFramebufferReadBuffer( framebuffer: GLuint, @@ -658,7 +716,9 @@ export const def_glInvalidateNamedFramebufferData = { result: "void", } as const; -let fn_glInvalidateNamedFramebufferData!: Deno.UnsafeFnPointer; +let fn_glInvalidateNamedFramebufferData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateNamedFramebufferData +>; export function InvalidateNamedFramebufferData( framebuffer: GLuint, @@ -677,7 +737,9 @@ export const def_glInvalidateNamedFramebufferSubData = { result: "void", } as const; -let fn_glInvalidateNamedFramebufferSubData!: Deno.UnsafeFnPointer; +let fn_glInvalidateNamedFramebufferSubData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateNamedFramebufferSubData +>; export function InvalidateNamedFramebufferSubData( framebuffer: GLuint, @@ -704,7 +766,9 @@ export const def_glClearNamedFramebufferiv = { result: "void", } as const; -let fn_glClearNamedFramebufferiv!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferiv!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferiv +>; export function ClearNamedFramebufferiv( framebuffer: GLuint, @@ -725,7 +789,9 @@ export const def_glClearNamedFramebufferuiv = { result: "void", } as const; -let fn_glClearNamedFramebufferuiv!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferuiv!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferuiv +>; export function ClearNamedFramebufferuiv( framebuffer: GLuint, @@ -746,7 +812,9 @@ export const def_glClearNamedFramebufferfv = { result: "void", } as const; -let fn_glClearNamedFramebufferfv!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferfv!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferfv +>; export function ClearNamedFramebufferfv( framebuffer: GLuint, @@ -767,7 +835,9 @@ export const def_glClearNamedFramebufferfi = { result: "void", } as const; -let fn_glClearNamedFramebufferfi!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferfi!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferfi +>; export function ClearNamedFramebufferfi( framebuffer: GLuint, @@ -786,11 +856,26 @@ export function ClearNamedFramebufferfi( } export const def_glBlitNamedFramebuffer = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], - result: "void", -} as const; - -let fn_glBlitNamedFramebuffer!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], + result: "void", +} as const; + +let fn_glBlitNamedFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glBlitNamedFramebuffer +>; export function BlitNamedFramebuffer( readFramebuffer: GLuint, @@ -827,7 +912,9 @@ export const def_glCheckNamedFramebufferStatus = { result: "u32", } as const; -let fn_glCheckNamedFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckNamedFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckNamedFramebufferStatus +>; export function CheckNamedFramebufferStatus( framebuffer: GLuint, @@ -844,7 +931,9 @@ export const def_glGetNamedFramebufferParameteriv = { result: "void", } as const; -let fn_glGetNamedFramebufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedFramebufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedFramebufferParameteriv +>; export function GetNamedFramebufferParameteriv( framebuffer: GLuint, @@ -863,7 +952,9 @@ export const def_glGetNamedFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetNamedFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedFramebufferAttachmentParameteriv +>; export function GetNamedFramebufferAttachmentParameteriv( framebuffer: GLuint, @@ -884,7 +975,9 @@ export const def_glCreateRenderbuffers = { result: "void", } as const; -let fn_glCreateRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glCreateRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glCreateRenderbuffers +>; export function CreateRenderbuffers( n: GLsizei, @@ -901,7 +994,9 @@ export const def_glNamedRenderbufferStorage = { result: "void", } as const; -let fn_glNamedRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glNamedRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glNamedRenderbufferStorage +>; export function NamedRenderbufferStorage( renderbuffer: GLuint, @@ -922,7 +1017,9 @@ export const def_glNamedRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glNamedRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glNamedRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glNamedRenderbufferStorageMultisample +>; export function NamedRenderbufferStorageMultisample( renderbuffer: GLuint, @@ -945,7 +1042,9 @@ export const def_glGetNamedRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetNamedRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedRenderbufferParameteriv +>; export function GetNamedRenderbufferParameteriv( renderbuffer: GLuint, @@ -1002,7 +1101,9 @@ export const def_glTextureBufferRange = { result: "void", } as const; -let fn_glTextureBufferRange!: Deno.UnsafeFnPointer; +let fn_glTextureBufferRange!: Deno.UnsafeFnPointer< + typeof def_glTextureBufferRange +>; export function TextureBufferRange( texture: GLuint, @@ -1094,7 +1195,9 @@ export const def_glTextureStorage2DMultisample = { result: "void", } as const; -let fn_glTextureStorage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTextureStorage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage2DMultisample +>; export function TextureStorage2DMultisample( texture: GLuint, @@ -1119,7 +1222,9 @@ export const def_glTextureStorage3DMultisample = { result: "void", } as const; -let fn_glTextureStorage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTextureStorage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage3DMultisample +>; export function TextureStorage3DMultisample( texture: GLuint, @@ -1146,7 +1251,9 @@ export const def_glTextureSubImage1D = { result: "void", } as const; -let fn_glTextureSubImage1D!: Deno.UnsafeFnPointer; +let fn_glTextureSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage1D +>; export function TextureSubImage1D( texture: GLuint, @@ -1169,11 +1276,23 @@ export function TextureSubImage1D( } export const def_glTextureSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glTextureSubImage2D!: Deno.UnsafeFnPointer; +let fn_glTextureSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage2D +>; export function TextureSubImage2D( texture: GLuint, @@ -1200,11 +1319,25 @@ export function TextureSubImage2D( } export const def_glTextureSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], - result: "void", -} as const; - -let fn_glTextureSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], + result: "void", +} as const; + +let fn_glTextureSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage3D +>; export function TextureSubImage3D( texture: GLuint, @@ -1239,7 +1372,9 @@ export const def_glCompressedTextureSubImage1D = { result: "void", } as const; -let fn_glCompressedTextureSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTextureSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage1D +>; export function CompressedTextureSubImage1D( texture: GLuint, @@ -1262,11 +1397,23 @@ export function CompressedTextureSubImage1D( } export const def_glCompressedTextureSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTextureSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTextureSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage2D +>; export function CompressedTextureSubImage2D( texture: GLuint, @@ -1293,11 +1440,25 @@ export function CompressedTextureSubImage2D( } export const def_glCompressedTextureSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTextureSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTextureSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage3D +>; export function CompressedTextureSubImage3D( texture: GLuint, @@ -1332,7 +1493,9 @@ export const def_glCopyTextureSubImage1D = { result: "void", } as const; -let fn_glCopyTextureSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage1D +>; export function CopyTextureSubImage1D( texture: GLuint, @@ -1357,7 +1520,9 @@ export const def_glCopyTextureSubImage2D = { result: "void", } as const; -let fn_glCopyTextureSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage2D +>; export function CopyTextureSubImage2D( texture: GLuint, @@ -1386,7 +1551,9 @@ export const def_glCopyTextureSubImage3D = { result: "void", } as const; -let fn_glCopyTextureSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage3D +>; export function CopyTextureSubImage3D( texture: GLuint, @@ -1417,7 +1584,9 @@ export const def_glTextureParameterf = { result: "void", } as const; -let fn_glTextureParameterf!: Deno.UnsafeFnPointer; +let fn_glTextureParameterf!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterf +>; export function TextureParameterf( texture: GLuint, @@ -1436,7 +1605,9 @@ export const def_glTextureParameterfv = { result: "void", } as const; -let fn_glTextureParameterfv!: Deno.UnsafeFnPointer; +let fn_glTextureParameterfv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterfv +>; export function TextureParameterfv( texture: GLuint, @@ -1455,7 +1626,9 @@ export const def_glTextureParameteri = { result: "void", } as const; -let fn_glTextureParameteri!: Deno.UnsafeFnPointer; +let fn_glTextureParameteri!: Deno.UnsafeFnPointer< + typeof def_glTextureParameteri +>; export function TextureParameteri( texture: GLuint, @@ -1474,7 +1647,9 @@ export const def_glTextureParameterIiv = { result: "void", } as const; -let fn_glTextureParameterIiv!: Deno.UnsafeFnPointer; +let fn_glTextureParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterIiv +>; export function TextureParameterIiv( texture: GLuint, @@ -1493,7 +1668,9 @@ export const def_glTextureParameterIuiv = { result: "void", } as const; -let fn_glTextureParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glTextureParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterIuiv +>; export function TextureParameterIuiv( texture: GLuint, @@ -1512,7 +1689,9 @@ export const def_glTextureParameteriv = { result: "void", } as const; -let fn_glTextureParameteriv!: Deno.UnsafeFnPointer; +let fn_glTextureParameteriv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameteriv +>; export function TextureParameteriv( texture: GLuint, @@ -1531,7 +1710,9 @@ export const def_glGenerateTextureMipmap = { result: "void", } as const; -let fn_glGenerateTextureMipmap!: Deno.UnsafeFnPointer; +let fn_glGenerateTextureMipmap!: Deno.UnsafeFnPointer< + typeof def_glGenerateTextureMipmap +>; export function GenerateTextureMipmap( texture: GLuint, @@ -1588,7 +1769,9 @@ export const def_glGetCompressedTextureImage = { result: "void", } as const; -let fn_glGetCompressedTextureImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTextureImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTextureImage +>; export function GetCompressedTextureImage( texture: GLuint, @@ -1609,7 +1792,9 @@ export const def_glGetTextureLevelParameterfv = { result: "void", } as const; -let fn_glGetTextureLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTextureLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureLevelParameterfv +>; export function GetTextureLevelParameterfv( texture: GLuint, @@ -1630,7 +1815,9 @@ export const def_glGetTextureLevelParameteriv = { result: "void", } as const; -let fn_glGetTextureLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTextureLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureLevelParameteriv +>; export function GetTextureLevelParameteriv( texture: GLuint, @@ -1651,7 +1838,9 @@ export const def_glGetTextureParameterfv = { result: "void", } as const; -let fn_glGetTextureParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterfv +>; export function GetTextureParameterfv( texture: GLuint, @@ -1670,7 +1859,9 @@ export const def_glGetTextureParameterIiv = { result: "void", } as const; -let fn_glGetTextureParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterIiv +>; export function GetTextureParameterIiv( texture: GLuint, @@ -1689,7 +1880,9 @@ export const def_glGetTextureParameterIuiv = { result: "void", } as const; -let fn_glGetTextureParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterIuiv +>; export function GetTextureParameterIuiv( texture: GLuint, @@ -1708,7 +1901,9 @@ export const def_glGetTextureParameteriv = { result: "void", } as const; -let fn_glGetTextureParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameteriv +>; export function GetTextureParameteriv( texture: GLuint, @@ -1727,7 +1922,9 @@ export const def_glCreateVertexArrays = { result: "void", } as const; -let fn_glCreateVertexArrays!: Deno.UnsafeFnPointer; +let fn_glCreateVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glCreateVertexArrays +>; export function CreateVertexArrays( n: GLsizei, @@ -1744,7 +1941,9 @@ export const def_glDisableVertexArrayAttrib = { result: "void", } as const; -let fn_glDisableVertexArrayAttrib!: Deno.UnsafeFnPointer; +let fn_glDisableVertexArrayAttrib!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexArrayAttrib +>; export function DisableVertexArrayAttrib( vaobj: GLuint, @@ -1761,7 +1960,9 @@ export const def_glEnableVertexArrayAttrib = { result: "void", } as const; -let fn_glEnableVertexArrayAttrib!: Deno.UnsafeFnPointer; +let fn_glEnableVertexArrayAttrib!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexArrayAttrib +>; export function EnableVertexArrayAttrib( vaobj: GLuint, @@ -1778,7 +1979,9 @@ export const def_glVertexArrayElementBuffer = { result: "void", } as const; -let fn_glVertexArrayElementBuffer!: Deno.UnsafeFnPointer; +let fn_glVertexArrayElementBuffer!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayElementBuffer +>; export function VertexArrayElementBuffer( vaobj: GLuint, @@ -1795,7 +1998,9 @@ export const def_glVertexArrayVertexBuffer = { result: "void", } as const; -let fn_glVertexArrayVertexBuffer!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexBuffer!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexBuffer +>; export function VertexArrayVertexBuffer( vaobj: GLuint, @@ -1818,7 +2023,9 @@ export const def_glVertexArrayVertexBuffers = { result: "void", } as const; -let fn_glVertexArrayVertexBuffers!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexBuffers!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexBuffers +>; export function VertexArrayVertexBuffers( vaobj: GLuint, @@ -1843,7 +2050,9 @@ export const def_glVertexArrayAttribBinding = { result: "void", } as const; -let fn_glVertexArrayAttribBinding!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribBinding!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribBinding +>; export function VertexArrayAttribBinding( vaobj: GLuint, @@ -1862,7 +2071,9 @@ export const def_glVertexArrayAttribFormat = { result: "void", } as const; -let fn_glVertexArrayAttribFormat!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribFormat +>; export function VertexArrayAttribFormat( vaobj: GLuint, @@ -1887,7 +2098,9 @@ export const def_glVertexArrayAttribIFormat = { result: "void", } as const; -let fn_glVertexArrayAttribIFormat!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribIFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribIFormat +>; export function VertexArrayAttribIFormat( vaobj: GLuint, @@ -1910,7 +2123,9 @@ export const def_glVertexArrayAttribLFormat = { result: "void", } as const; -let fn_glVertexArrayAttribLFormat!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribLFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribLFormat +>; export function VertexArrayAttribLFormat( vaobj: GLuint, @@ -1933,7 +2148,9 @@ export const def_glVertexArrayBindingDivisor = { result: "void", } as const; -let fn_glVertexArrayBindingDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexArrayBindingDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayBindingDivisor +>; export function VertexArrayBindingDivisor( vaobj: GLuint, @@ -1971,7 +2188,9 @@ export const def_glGetVertexArrayIndexediv = { result: "void", } as const; -let fn_glGetVertexArrayIndexediv!: Deno.UnsafeFnPointer; +let fn_glGetVertexArrayIndexediv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexArrayIndexediv +>; export function GetVertexArrayIndexediv( vaobj: GLuint, @@ -1992,7 +2211,9 @@ export const def_glGetVertexArrayIndexed64iv = { result: "void", } as const; -let fn_glGetVertexArrayIndexed64iv!: Deno.UnsafeFnPointer; +let fn_glGetVertexArrayIndexed64iv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexArrayIndexed64iv +>; export function GetVertexArrayIndexed64iv( vaobj: GLuint, @@ -2030,7 +2251,9 @@ export const def_glCreateProgramPipelines = { result: "void", } as const; -let fn_glCreateProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glCreateProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glCreateProgramPipelines +>; export function CreateProgramPipelines( n: GLsizei, @@ -2066,7 +2289,9 @@ export const def_glGetQueryBufferObjecti64v = { result: "void", } as const; -let fn_glGetQueryBufferObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjecti64v +>; export function GetQueryBufferObjecti64v( id: GLuint, @@ -2087,7 +2312,9 @@ export const def_glGetQueryBufferObjectiv = { result: "void", } as const; -let fn_glGetQueryBufferObjectiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjectiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjectiv +>; export function GetQueryBufferObjectiv( id: GLuint, @@ -2108,7 +2335,9 @@ export const def_glGetQueryBufferObjectui64v = { result: "void", } as const; -let fn_glGetQueryBufferObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjectui64v +>; export function GetQueryBufferObjectui64v( id: GLuint, @@ -2129,7 +2358,9 @@ export const def_glGetQueryBufferObjectuiv = { result: "void", } as const; -let fn_glGetQueryBufferObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjectuiv +>; export function GetQueryBufferObjectuiv( id: GLuint, @@ -2147,101 +2378,392 @@ export function GetQueryBufferObjectuiv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCreateTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glCreateTransformFeedbacks"), def_glCreateTransformFeedbacks); - fn_glTransformFeedbackBufferBase = new Deno.UnsafeFnPointer(proc("glTransformFeedbackBufferBase"), def_glTransformFeedbackBufferBase); - fn_glTransformFeedbackBufferRange = new Deno.UnsafeFnPointer(proc("glTransformFeedbackBufferRange"), def_glTransformFeedbackBufferRange); - fn_glGetTransformFeedbackiv = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackiv"), def_glGetTransformFeedbackiv); - fn_glGetTransformFeedbacki_v = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbacki_v"), def_glGetTransformFeedbacki_v); - fn_glGetTransformFeedbacki64_v = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbacki64_v"), def_glGetTransformFeedbacki64_v); - fn_glCreateBuffers = new Deno.UnsafeFnPointer(proc("glCreateBuffers"), def_glCreateBuffers); - fn_glNamedBufferStorage = new Deno.UnsafeFnPointer(proc("glNamedBufferStorage"), def_glNamedBufferStorage); - fn_glNamedBufferData = new Deno.UnsafeFnPointer(proc("glNamedBufferData"), def_glNamedBufferData); - fn_glNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glNamedBufferSubData"), def_glNamedBufferSubData); - fn_glCopyNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyNamedBufferSubData"), def_glCopyNamedBufferSubData); - fn_glClearNamedBufferData = new Deno.UnsafeFnPointer(proc("glClearNamedBufferData"), def_glClearNamedBufferData); - fn_glClearNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glClearNamedBufferSubData"), def_glClearNamedBufferSubData); - fn_glMapNamedBuffer = new Deno.UnsafeFnPointer(proc("glMapNamedBuffer"), def_glMapNamedBuffer); - fn_glMapNamedBufferRange = new Deno.UnsafeFnPointer(proc("glMapNamedBufferRange"), def_glMapNamedBufferRange); - fn_glUnmapNamedBuffer = new Deno.UnsafeFnPointer(proc("glUnmapNamedBuffer"), def_glUnmapNamedBuffer); - fn_glFlushMappedNamedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedNamedBufferRange"), def_glFlushMappedNamedBufferRange); - fn_glGetNamedBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedBufferParameteriv"), def_glGetNamedBufferParameteriv); - fn_glGetNamedBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetNamedBufferParameteri64v"), def_glGetNamedBufferParameteri64v); - fn_glGetNamedBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetNamedBufferPointerv"), def_glGetNamedBufferPointerv); - fn_glGetNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glGetNamedBufferSubData"), def_glGetNamedBufferSubData); - fn_glCreateFramebuffers = new Deno.UnsafeFnPointer(proc("glCreateFramebuffers"), def_glCreateFramebuffers); - fn_glNamedFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferRenderbuffer"), def_glNamedFramebufferRenderbuffer); - fn_glNamedFramebufferParameteri = new Deno.UnsafeFnPointer(proc("glNamedFramebufferParameteri"), def_glNamedFramebufferParameteri); - fn_glNamedFramebufferTexture = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTexture"), def_glNamedFramebufferTexture); - fn_glNamedFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTextureLayer"), def_glNamedFramebufferTextureLayer); - fn_glNamedFramebufferDrawBuffer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferDrawBuffer"), def_glNamedFramebufferDrawBuffer); - fn_glNamedFramebufferDrawBuffers = new Deno.UnsafeFnPointer(proc("glNamedFramebufferDrawBuffers"), def_glNamedFramebufferDrawBuffers); - fn_glNamedFramebufferReadBuffer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferReadBuffer"), def_glNamedFramebufferReadBuffer); - fn_glInvalidateNamedFramebufferData = new Deno.UnsafeFnPointer(proc("glInvalidateNamedFramebufferData"), def_glInvalidateNamedFramebufferData); - fn_glInvalidateNamedFramebufferSubData = new Deno.UnsafeFnPointer(proc("glInvalidateNamedFramebufferSubData"), def_glInvalidateNamedFramebufferSubData); - fn_glClearNamedFramebufferiv = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferiv"), def_glClearNamedFramebufferiv); - fn_glClearNamedFramebufferuiv = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferuiv"), def_glClearNamedFramebufferuiv); - fn_glClearNamedFramebufferfv = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferfv"), def_glClearNamedFramebufferfv); - fn_glClearNamedFramebufferfi = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferfi"), def_glClearNamedFramebufferfi); - fn_glBlitNamedFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitNamedFramebuffer"), def_glBlitNamedFramebuffer); - fn_glCheckNamedFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckNamedFramebufferStatus"), def_glCheckNamedFramebufferStatus); - fn_glGetNamedFramebufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedFramebufferParameteriv"), def_glGetNamedFramebufferParameteriv); - fn_glGetNamedFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedFramebufferAttachmentParameteriv"), def_glGetNamedFramebufferAttachmentParameteriv); - fn_glCreateRenderbuffers = new Deno.UnsafeFnPointer(proc("glCreateRenderbuffers"), def_glCreateRenderbuffers); - fn_glNamedRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glNamedRenderbufferStorage"), def_glNamedRenderbufferStorage); - fn_glNamedRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glNamedRenderbufferStorageMultisample"), def_glNamedRenderbufferStorageMultisample); - fn_glGetNamedRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedRenderbufferParameteriv"), def_glGetNamedRenderbufferParameteriv); - fn_glCreateTextures = new Deno.UnsafeFnPointer(proc("glCreateTextures"), def_glCreateTextures); - fn_glTextureBuffer = new Deno.UnsafeFnPointer(proc("glTextureBuffer"), def_glTextureBuffer); - fn_glTextureBufferRange = new Deno.UnsafeFnPointer(proc("glTextureBufferRange"), def_glTextureBufferRange); - fn_glTextureStorage1D = new Deno.UnsafeFnPointer(proc("glTextureStorage1D"), def_glTextureStorage1D); - fn_glTextureStorage2D = new Deno.UnsafeFnPointer(proc("glTextureStorage2D"), def_glTextureStorage2D); - fn_glTextureStorage3D = new Deno.UnsafeFnPointer(proc("glTextureStorage3D"), def_glTextureStorage3D); - fn_glTextureStorage2DMultisample = new Deno.UnsafeFnPointer(proc("glTextureStorage2DMultisample"), def_glTextureStorage2DMultisample); - fn_glTextureStorage3DMultisample = new Deno.UnsafeFnPointer(proc("glTextureStorage3DMultisample"), def_glTextureStorage3DMultisample); - fn_glTextureSubImage1D = new Deno.UnsafeFnPointer(proc("glTextureSubImage1D"), def_glTextureSubImage1D); - fn_glTextureSubImage2D = new Deno.UnsafeFnPointer(proc("glTextureSubImage2D"), def_glTextureSubImage2D); - fn_glTextureSubImage3D = new Deno.UnsafeFnPointer(proc("glTextureSubImage3D"), def_glTextureSubImage3D); - fn_glCompressedTextureSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage1D"), def_glCompressedTextureSubImage1D); - fn_glCompressedTextureSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage2D"), def_glCompressedTextureSubImage2D); - fn_glCompressedTextureSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage3D"), def_glCompressedTextureSubImage3D); - fn_glCopyTextureSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage1D"), def_glCopyTextureSubImage1D); - fn_glCopyTextureSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage2D"), def_glCopyTextureSubImage2D); - fn_glCopyTextureSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage3D"), def_glCopyTextureSubImage3D); - fn_glTextureParameterf = new Deno.UnsafeFnPointer(proc("glTextureParameterf"), def_glTextureParameterf); - fn_glTextureParameterfv = new Deno.UnsafeFnPointer(proc("glTextureParameterfv"), def_glTextureParameterfv); - fn_glTextureParameteri = new Deno.UnsafeFnPointer(proc("glTextureParameteri"), def_glTextureParameteri); - fn_glTextureParameterIiv = new Deno.UnsafeFnPointer(proc("glTextureParameterIiv"), def_glTextureParameterIiv); - fn_glTextureParameterIuiv = new Deno.UnsafeFnPointer(proc("glTextureParameterIuiv"), def_glTextureParameterIuiv); - fn_glTextureParameteriv = new Deno.UnsafeFnPointer(proc("glTextureParameteriv"), def_glTextureParameteriv); - fn_glGenerateTextureMipmap = new Deno.UnsafeFnPointer(proc("glGenerateTextureMipmap"), def_glGenerateTextureMipmap); - fn_glBindTextureUnit = new Deno.UnsafeFnPointer(proc("glBindTextureUnit"), def_glBindTextureUnit); - fn_glGetTextureImage = new Deno.UnsafeFnPointer(proc("glGetTextureImage"), def_glGetTextureImage); - fn_glGetCompressedTextureImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTextureImage"), def_glGetCompressedTextureImage); - fn_glGetTextureLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTextureLevelParameterfv"), def_glGetTextureLevelParameterfv); - fn_glGetTextureLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTextureLevelParameteriv"), def_glGetTextureLevelParameteriv); - fn_glGetTextureParameterfv = new Deno.UnsafeFnPointer(proc("glGetTextureParameterfv"), def_glGetTextureParameterfv); - fn_glGetTextureParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTextureParameterIiv"), def_glGetTextureParameterIiv); - fn_glGetTextureParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTextureParameterIuiv"), def_glGetTextureParameterIuiv); - fn_glGetTextureParameteriv = new Deno.UnsafeFnPointer(proc("glGetTextureParameteriv"), def_glGetTextureParameteriv); - fn_glCreateVertexArrays = new Deno.UnsafeFnPointer(proc("glCreateVertexArrays"), def_glCreateVertexArrays); - fn_glDisableVertexArrayAttrib = new Deno.UnsafeFnPointer(proc("glDisableVertexArrayAttrib"), def_glDisableVertexArrayAttrib); - fn_glEnableVertexArrayAttrib = new Deno.UnsafeFnPointer(proc("glEnableVertexArrayAttrib"), def_glEnableVertexArrayAttrib); - fn_glVertexArrayElementBuffer = new Deno.UnsafeFnPointer(proc("glVertexArrayElementBuffer"), def_glVertexArrayElementBuffer); - fn_glVertexArrayVertexBuffer = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexBuffer"), def_glVertexArrayVertexBuffer); - fn_glVertexArrayVertexBuffers = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexBuffers"), def_glVertexArrayVertexBuffers); - fn_glVertexArrayAttribBinding = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribBinding"), def_glVertexArrayAttribBinding); - fn_glVertexArrayAttribFormat = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribFormat"), def_glVertexArrayAttribFormat); - fn_glVertexArrayAttribIFormat = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribIFormat"), def_glVertexArrayAttribIFormat); - fn_glVertexArrayAttribLFormat = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribLFormat"), def_glVertexArrayAttribLFormat); - fn_glVertexArrayBindingDivisor = new Deno.UnsafeFnPointer(proc("glVertexArrayBindingDivisor"), def_glVertexArrayBindingDivisor); - fn_glGetVertexArrayiv = new Deno.UnsafeFnPointer(proc("glGetVertexArrayiv"), def_glGetVertexArrayiv); - fn_glGetVertexArrayIndexediv = new Deno.UnsafeFnPointer(proc("glGetVertexArrayIndexediv"), def_glGetVertexArrayIndexediv); - fn_glGetVertexArrayIndexed64iv = new Deno.UnsafeFnPointer(proc("glGetVertexArrayIndexed64iv"), def_glGetVertexArrayIndexed64iv); - fn_glCreateSamplers = new Deno.UnsafeFnPointer(proc("glCreateSamplers"), def_glCreateSamplers); - fn_glCreateProgramPipelines = new Deno.UnsafeFnPointer(proc("glCreateProgramPipelines"), def_glCreateProgramPipelines); - fn_glCreateQueries = new Deno.UnsafeFnPointer(proc("glCreateQueries"), def_glCreateQueries); - fn_glGetQueryBufferObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjecti64v"), def_glGetQueryBufferObjecti64v); - fn_glGetQueryBufferObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjectiv"), def_glGetQueryBufferObjectiv); - fn_glGetQueryBufferObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjectui64v"), def_glGetQueryBufferObjectui64v); - fn_glGetQueryBufferObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjectuiv"), def_glGetQueryBufferObjectuiv); + fn_glCreateTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glCreateTransformFeedbacks"), + def_glCreateTransformFeedbacks, + ); + fn_glTransformFeedbackBufferBase = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackBufferBase"), + def_glTransformFeedbackBufferBase, + ); + fn_glTransformFeedbackBufferRange = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackBufferRange"), + def_glTransformFeedbackBufferRange, + ); + fn_glGetTransformFeedbackiv = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackiv"), + def_glGetTransformFeedbackiv, + ); + fn_glGetTransformFeedbacki_v = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbacki_v"), + def_glGetTransformFeedbacki_v, + ); + fn_glGetTransformFeedbacki64_v = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbacki64_v"), + def_glGetTransformFeedbacki64_v, + ); + fn_glCreateBuffers = new Deno.UnsafeFnPointer( + proc("glCreateBuffers"), + def_glCreateBuffers, + ); + fn_glNamedBufferStorage = new Deno.UnsafeFnPointer( + proc("glNamedBufferStorage"), + def_glNamedBufferStorage, + ); + fn_glNamedBufferData = new Deno.UnsafeFnPointer( + proc("glNamedBufferData"), + def_glNamedBufferData, + ); + fn_glNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glNamedBufferSubData"), + def_glNamedBufferSubData, + ); + fn_glCopyNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyNamedBufferSubData"), + def_glCopyNamedBufferSubData, + ); + fn_glClearNamedBufferData = new Deno.UnsafeFnPointer( + proc("glClearNamedBufferData"), + def_glClearNamedBufferData, + ); + fn_glClearNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glClearNamedBufferSubData"), + def_glClearNamedBufferSubData, + ); + fn_glMapNamedBuffer = new Deno.UnsafeFnPointer( + proc("glMapNamedBuffer"), + def_glMapNamedBuffer, + ); + fn_glMapNamedBufferRange = new Deno.UnsafeFnPointer( + proc("glMapNamedBufferRange"), + def_glMapNamedBufferRange, + ); + fn_glUnmapNamedBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapNamedBuffer"), + def_glUnmapNamedBuffer, + ); + fn_glFlushMappedNamedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedNamedBufferRange"), + def_glFlushMappedNamedBufferRange, + ); + fn_glGetNamedBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferParameteriv"), + def_glGetNamedBufferParameteriv, + ); + fn_glGetNamedBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferParameteri64v"), + def_glGetNamedBufferParameteri64v, + ); + fn_glGetNamedBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferPointerv"), + def_glGetNamedBufferPointerv, + ); + fn_glGetNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferSubData"), + def_glGetNamedBufferSubData, + ); + fn_glCreateFramebuffers = new Deno.UnsafeFnPointer( + proc("glCreateFramebuffers"), + def_glCreateFramebuffers, + ); + fn_glNamedFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferRenderbuffer"), + def_glNamedFramebufferRenderbuffer, + ); + fn_glNamedFramebufferParameteri = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferParameteri"), + def_glNamedFramebufferParameteri, + ); + fn_glNamedFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTexture"), + def_glNamedFramebufferTexture, + ); + fn_glNamedFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTextureLayer"), + def_glNamedFramebufferTextureLayer, + ); + fn_glNamedFramebufferDrawBuffer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferDrawBuffer"), + def_glNamedFramebufferDrawBuffer, + ); + fn_glNamedFramebufferDrawBuffers = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferDrawBuffers"), + def_glNamedFramebufferDrawBuffers, + ); + fn_glNamedFramebufferReadBuffer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferReadBuffer"), + def_glNamedFramebufferReadBuffer, + ); + fn_glInvalidateNamedFramebufferData = new Deno.UnsafeFnPointer( + proc("glInvalidateNamedFramebufferData"), + def_glInvalidateNamedFramebufferData, + ); + fn_glInvalidateNamedFramebufferSubData = new Deno.UnsafeFnPointer( + proc("glInvalidateNamedFramebufferSubData"), + def_glInvalidateNamedFramebufferSubData, + ); + fn_glClearNamedFramebufferiv = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferiv"), + def_glClearNamedFramebufferiv, + ); + fn_glClearNamedFramebufferuiv = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferuiv"), + def_glClearNamedFramebufferuiv, + ); + fn_glClearNamedFramebufferfv = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferfv"), + def_glClearNamedFramebufferfv, + ); + fn_glClearNamedFramebufferfi = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferfi"), + def_glClearNamedFramebufferfi, + ); + fn_glBlitNamedFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitNamedFramebuffer"), + def_glBlitNamedFramebuffer, + ); + fn_glCheckNamedFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckNamedFramebufferStatus"), + def_glCheckNamedFramebufferStatus, + ); + fn_glGetNamedFramebufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedFramebufferParameteriv"), + def_glGetNamedFramebufferParameteriv, + ); + fn_glGetNamedFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedFramebufferAttachmentParameteriv"), + def_glGetNamedFramebufferAttachmentParameteriv, + ); + fn_glCreateRenderbuffers = new Deno.UnsafeFnPointer( + proc("glCreateRenderbuffers"), + def_glCreateRenderbuffers, + ); + fn_glNamedRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glNamedRenderbufferStorage"), + def_glNamedRenderbufferStorage, + ); + fn_glNamedRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glNamedRenderbufferStorageMultisample"), + def_glNamedRenderbufferStorageMultisample, + ); + fn_glGetNamedRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedRenderbufferParameteriv"), + def_glGetNamedRenderbufferParameteriv, + ); + fn_glCreateTextures = new Deno.UnsafeFnPointer( + proc("glCreateTextures"), + def_glCreateTextures, + ); + fn_glTextureBuffer = new Deno.UnsafeFnPointer( + proc("glTextureBuffer"), + def_glTextureBuffer, + ); + fn_glTextureBufferRange = new Deno.UnsafeFnPointer( + proc("glTextureBufferRange"), + def_glTextureBufferRange, + ); + fn_glTextureStorage1D = new Deno.UnsafeFnPointer( + proc("glTextureStorage1D"), + def_glTextureStorage1D, + ); + fn_glTextureStorage2D = new Deno.UnsafeFnPointer( + proc("glTextureStorage2D"), + def_glTextureStorage2D, + ); + fn_glTextureStorage3D = new Deno.UnsafeFnPointer( + proc("glTextureStorage3D"), + def_glTextureStorage3D, + ); + fn_glTextureStorage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTextureStorage2DMultisample"), + def_glTextureStorage2DMultisample, + ); + fn_glTextureStorage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTextureStorage3DMultisample"), + def_glTextureStorage3DMultisample, + ); + fn_glTextureSubImage1D = new Deno.UnsafeFnPointer( + proc("glTextureSubImage1D"), + def_glTextureSubImage1D, + ); + fn_glTextureSubImage2D = new Deno.UnsafeFnPointer( + proc("glTextureSubImage2D"), + def_glTextureSubImage2D, + ); + fn_glTextureSubImage3D = new Deno.UnsafeFnPointer( + proc("glTextureSubImage3D"), + def_glTextureSubImage3D, + ); + fn_glCompressedTextureSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage1D"), + def_glCompressedTextureSubImage1D, + ); + fn_glCompressedTextureSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage2D"), + def_glCompressedTextureSubImage2D, + ); + fn_glCompressedTextureSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage3D"), + def_glCompressedTextureSubImage3D, + ); + fn_glCopyTextureSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage1D"), + def_glCopyTextureSubImage1D, + ); + fn_glCopyTextureSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage2D"), + def_glCopyTextureSubImage2D, + ); + fn_glCopyTextureSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage3D"), + def_glCopyTextureSubImage3D, + ); + fn_glTextureParameterf = new Deno.UnsafeFnPointer( + proc("glTextureParameterf"), + def_glTextureParameterf, + ); + fn_glTextureParameterfv = new Deno.UnsafeFnPointer( + proc("glTextureParameterfv"), + def_glTextureParameterfv, + ); + fn_glTextureParameteri = new Deno.UnsafeFnPointer( + proc("glTextureParameteri"), + def_glTextureParameteri, + ); + fn_glTextureParameterIiv = new Deno.UnsafeFnPointer( + proc("glTextureParameterIiv"), + def_glTextureParameterIiv, + ); + fn_glTextureParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTextureParameterIuiv"), + def_glTextureParameterIuiv, + ); + fn_glTextureParameteriv = new Deno.UnsafeFnPointer( + proc("glTextureParameteriv"), + def_glTextureParameteriv, + ); + fn_glGenerateTextureMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateTextureMipmap"), + def_glGenerateTextureMipmap, + ); + fn_glBindTextureUnit = new Deno.UnsafeFnPointer( + proc("glBindTextureUnit"), + def_glBindTextureUnit, + ); + fn_glGetTextureImage = new Deno.UnsafeFnPointer( + proc("glGetTextureImage"), + def_glGetTextureImage, + ); + fn_glGetCompressedTextureImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTextureImage"), + def_glGetCompressedTextureImage, + ); + fn_glGetTextureLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTextureLevelParameterfv"), + def_glGetTextureLevelParameterfv, + ); + fn_glGetTextureLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTextureLevelParameteriv"), + def_glGetTextureLevelParameteriv, + ); + fn_glGetTextureParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterfv"), + def_glGetTextureParameterfv, + ); + fn_glGetTextureParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterIiv"), + def_glGetTextureParameterIiv, + ); + fn_glGetTextureParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterIuiv"), + def_glGetTextureParameterIuiv, + ); + fn_glGetTextureParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameteriv"), + def_glGetTextureParameteriv, + ); + fn_glCreateVertexArrays = new Deno.UnsafeFnPointer( + proc("glCreateVertexArrays"), + def_glCreateVertexArrays, + ); + fn_glDisableVertexArrayAttrib = new Deno.UnsafeFnPointer( + proc("glDisableVertexArrayAttrib"), + def_glDisableVertexArrayAttrib, + ); + fn_glEnableVertexArrayAttrib = new Deno.UnsafeFnPointer( + proc("glEnableVertexArrayAttrib"), + def_glEnableVertexArrayAttrib, + ); + fn_glVertexArrayElementBuffer = new Deno.UnsafeFnPointer( + proc("glVertexArrayElementBuffer"), + def_glVertexArrayElementBuffer, + ); + fn_glVertexArrayVertexBuffer = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexBuffer"), + def_glVertexArrayVertexBuffer, + ); + fn_glVertexArrayVertexBuffers = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexBuffers"), + def_glVertexArrayVertexBuffers, + ); + fn_glVertexArrayAttribBinding = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribBinding"), + def_glVertexArrayAttribBinding, + ); + fn_glVertexArrayAttribFormat = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribFormat"), + def_glVertexArrayAttribFormat, + ); + fn_glVertexArrayAttribIFormat = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribIFormat"), + def_glVertexArrayAttribIFormat, + ); + fn_glVertexArrayAttribLFormat = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribLFormat"), + def_glVertexArrayAttribLFormat, + ); + fn_glVertexArrayBindingDivisor = new Deno.UnsafeFnPointer( + proc("glVertexArrayBindingDivisor"), + def_glVertexArrayBindingDivisor, + ); + fn_glGetVertexArrayiv = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayiv"), + def_glGetVertexArrayiv, + ); + fn_glGetVertexArrayIndexediv = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayIndexediv"), + def_glGetVertexArrayIndexediv, + ); + fn_glGetVertexArrayIndexed64iv = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayIndexed64iv"), + def_glGetVertexArrayIndexed64iv, + ); + fn_glCreateSamplers = new Deno.UnsafeFnPointer( + proc("glCreateSamplers"), + def_glCreateSamplers, + ); + fn_glCreateProgramPipelines = new Deno.UnsafeFnPointer( + proc("glCreateProgramPipelines"), + def_glCreateProgramPipelines, + ); + fn_glCreateQueries = new Deno.UnsafeFnPointer( + proc("glCreateQueries"), + def_glCreateQueries, + ); + fn_glGetQueryBufferObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjecti64v"), + def_glGetQueryBufferObjecti64v, + ); + fn_glGetQueryBufferObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjectiv"), + def_glGetQueryBufferObjectiv, + ); + fn_glGetQueryBufferObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjectui64v"), + def_glGetQueryBufferObjectui64v, + ); + fn_glGetQueryBufferObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjectuiv"), + def_glGetQueryBufferObjectuiv, + ); } diff --git a/api/ext/GL_ARB_draw_buffers.ts b/api/ext/GL_ARB_draw_buffers.ts index f86c15c..3d515a4 100644 --- a/api/ext/GL_ARB_draw_buffers.ts +++ b/api/ext/GL_ARB_draw_buffers.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -99,5 +107,8 @@ export function DrawBuffersARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawBuffersARB = new Deno.UnsafeFnPointer(proc("glDrawBuffersARB"), def_glDrawBuffersARB); + fn_glDrawBuffersARB = new Deno.UnsafeFnPointer( + proc("glDrawBuffersARB"), + def_glDrawBuffersARB, + ); } diff --git a/api/ext/GL_ARB_draw_buffers_blend.ts b/api/ext/GL_ARB_draw_buffers_blend.ts index 53a32d8..998e9bd 100644 --- a/api/ext/GL_ARB_draw_buffers_blend.ts +++ b/api/ext/GL_ARB_draw_buffers_blend.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glBlendEquationiARB = { result: "void", } as const; -let fn_glBlendEquationiARB!: Deno.UnsafeFnPointer; +let fn_glBlendEquationiARB!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationiARB +>; export function BlendEquationiARB( buf: GLuint, @@ -83,7 +93,9 @@ export const def_glBlendEquationSeparateiARB = { result: "void", } as const; -let fn_glBlendEquationSeparateiARB!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparateiARB!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparateiARB +>; export function BlendEquationSeparateiARB( buf: GLuint, @@ -121,7 +133,9 @@ export const def_glBlendFuncSeparateiARB = { result: "void", } as const; -let fn_glBlendFuncSeparateiARB!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparateiARB!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparateiARB +>; export function BlendFuncSeparateiARB( buf: GLuint, @@ -141,8 +155,20 @@ export function BlendFuncSeparateiARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendEquationiARB = new Deno.UnsafeFnPointer(proc("glBlendEquationiARB"), def_glBlendEquationiARB); - fn_glBlendEquationSeparateiARB = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparateiARB"), def_glBlendEquationSeparateiARB); - fn_glBlendFunciARB = new Deno.UnsafeFnPointer(proc("glBlendFunciARB"), def_glBlendFunciARB); - fn_glBlendFuncSeparateiARB = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparateiARB"), def_glBlendFuncSeparateiARB); + fn_glBlendEquationiARB = new Deno.UnsafeFnPointer( + proc("glBlendEquationiARB"), + def_glBlendEquationiARB, + ); + fn_glBlendEquationSeparateiARB = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparateiARB"), + def_glBlendEquationSeparateiARB, + ); + fn_glBlendFunciARB = new Deno.UnsafeFnPointer( + proc("glBlendFunciARB"), + def_glBlendFunciARB, + ); + fn_glBlendFuncSeparateiARB = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparateiARB"), + def_glBlendFuncSeparateiARB, + ); } diff --git a/api/ext/GL_ARB_draw_elements_base_vertex.ts b/api/ext/GL_ARB_draw_elements_base_vertex.ts index 8824260..4cadfd0 100644 --- a/api/ext/GL_ARB_draw_elements_base_vertex.ts +++ b/api/ext/GL_ARB_draw_elements_base_vertex.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glDrawElementsBaseVertex = { result: "void", } as const; -let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertex +>; export function DrawElementsBaseVertex( mode: GLenum, @@ -89,7 +99,9 @@ export const def_glDrawRangeElementsBaseVertex = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertex +>; export function DrawRangeElementsBaseVertex( mode: GLenum, @@ -116,7 +128,9 @@ export const def_glDrawElementsInstancedBaseVertex = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertex +>; export function DrawElementsInstancedBaseVertex( mode: GLenum, @@ -141,7 +155,9 @@ export const def_glMultiDrawElementsBaseVertex = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertex +>; export function MultiDrawElementsBaseVertex( mode: GLenum, @@ -163,8 +179,20 @@ export function MultiDrawElementsBaseVertex( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertex"), def_glDrawElementsBaseVertex); - fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertex"), def_glDrawRangeElementsBaseVertex); - fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertex"), def_glDrawElementsInstancedBaseVertex); - fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertex"), def_glMultiDrawElementsBaseVertex); + fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertex"), + def_glDrawElementsBaseVertex, + ); + fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertex"), + def_glDrawRangeElementsBaseVertex, + ); + fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertex"), + def_glDrawElementsInstancedBaseVertex, + ); + fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertex"), + def_glMultiDrawElementsBaseVertex, + ); } diff --git a/api/ext/GL_ARB_draw_indirect.ts b/api/ext/GL_ARB_draw_indirect.ts index 87b6df1..2e3ab96 100644 --- a/api/ext/GL_ARB_draw_indirect.ts +++ b/api/ext/GL_ARB_draw_indirect.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glDrawArraysIndirect = { result: "void", } as const; -let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysIndirect +>; export function DrawArraysIndirect( mode: GLenum, @@ -87,7 +97,9 @@ export const def_glDrawElementsIndirect = { result: "void", } as const; -let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsIndirect +>; export function DrawElementsIndirect( mode: GLenum, @@ -103,6 +115,12 @@ export function DrawElementsIndirect( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glDrawArraysIndirect"), def_glDrawArraysIndirect); - fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glDrawElementsIndirect"), def_glDrawElementsIndirect); + fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glDrawArraysIndirect"), + def_glDrawArraysIndirect, + ); + fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glDrawElementsIndirect"), + def_glDrawElementsIndirect, + ); } diff --git a/api/ext/GL_ARB_draw_instanced.ts b/api/ext/GL_ARB_draw_instanced.ts index ed35265..4adb48a 100644 --- a/api/ext/GL_ARB_draw_instanced.ts +++ b/api/ext/GL_ARB_draw_instanced.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glDrawArraysInstancedARB = { result: "void", } as const; -let fn_glDrawArraysInstancedARB!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedARB!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedARB +>; export function DrawArraysInstancedARB( mode: GLenum, @@ -87,7 +97,9 @@ export const def_glDrawElementsInstancedARB = { result: "void", } as const; -let fn_glDrawElementsInstancedARB!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedARB!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedARB +>; export function DrawElementsInstancedARB( mode: GLenum, @@ -107,6 +119,12 @@ export function DrawElementsInstancedARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawArraysInstancedARB = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedARB"), def_glDrawArraysInstancedARB); - fn_glDrawElementsInstancedARB = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedARB"), def_glDrawElementsInstancedARB); + fn_glDrawArraysInstancedARB = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedARB"), + def_glDrawArraysInstancedARB, + ); + fn_glDrawElementsInstancedARB = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedARB"), + def_glDrawElementsInstancedARB, + ); } diff --git a/api/ext/GL_ARB_enhanced_layouts.ts b/api/ext/GL_ARB_enhanced_layouts.ts index cb5c72b..c055145 100644 --- a/api/ext/GL_ARB_enhanced_layouts.ts +++ b/api/ext/GL_ARB_enhanced_layouts.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_explicit_attrib_location.ts b/api/ext/GL_ARB_explicit_attrib_location.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_explicit_attrib_location.ts +++ b/api/ext/GL_ARB_explicit_attrib_location.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_explicit_uniform_location.ts b/api/ext/GL_ARB_explicit_uniform_location.ts index 148d81b..a648c8d 100644 --- a/api/ext/GL_ARB_explicit_uniform_location.ts +++ b/api/ext/GL_ARB_explicit_uniform_location.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_fragment_coord_conventions.ts b/api/ext/GL_ARB_fragment_coord_conventions.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_fragment_coord_conventions.ts +++ b/api/ext/GL_ARB_fragment_coord_conventions.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_fragment_layer_viewport.ts b/api/ext/GL_ARB_fragment_layer_viewport.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_fragment_layer_viewport.ts +++ b/api/ext/GL_ARB_fragment_layer_viewport.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_fragment_program.ts b/api/ext/GL_ARB_fragment_program.ts index 647ce96..8ad5fb7 100644 --- a/api/ext/GL_ARB_fragment_program.ts +++ b/api/ext/GL_ARB_fragment_program.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -184,7 +192,9 @@ export const def_glDeleteProgramsARB = { result: "void", } as const; -let fn_glDeleteProgramsARB!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramsARB!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramsARB +>; export function DeleteProgramsARB( n: GLsizei, @@ -218,7 +228,9 @@ export const def_glProgramEnvParameter4dARB = { result: "void", } as const; -let fn_glProgramEnvParameter4dARB!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameter4dARB!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameter4dARB +>; export function ProgramEnvParameter4dARB( target: GLenum, @@ -243,7 +255,9 @@ export const def_glProgramEnvParameter4dvARB = { result: "void", } as const; -let fn_glProgramEnvParameter4dvARB!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameter4dvARB!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameter4dvARB +>; export function ProgramEnvParameter4dvARB( target: GLenum, @@ -262,7 +276,9 @@ export const def_glProgramEnvParameter4fARB = { result: "void", } as const; -let fn_glProgramEnvParameter4fARB!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameter4fARB!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameter4fARB +>; export function ProgramEnvParameter4fARB( target: GLenum, @@ -287,7 +303,9 @@ export const def_glProgramEnvParameter4fvARB = { result: "void", } as const; -let fn_glProgramEnvParameter4fvARB!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameter4fvARB!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameter4fvARB +>; export function ProgramEnvParameter4fvARB( target: GLenum, @@ -306,7 +324,9 @@ export const def_glProgramLocalParameter4dARB = { result: "void", } as const; -let fn_glProgramLocalParameter4dARB!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameter4dARB!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameter4dARB +>; export function ProgramLocalParameter4dARB( target: GLenum, @@ -331,7 +351,9 @@ export const def_glProgramLocalParameter4dvARB = { result: "void", } as const; -let fn_glProgramLocalParameter4dvARB!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameter4dvARB!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameter4dvARB +>; export function ProgramLocalParameter4dvARB( target: GLenum, @@ -350,7 +372,9 @@ export const def_glProgramLocalParameter4fARB = { result: "void", } as const; -let fn_glProgramLocalParameter4fARB!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameter4fARB!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameter4fARB +>; export function ProgramLocalParameter4fARB( target: GLenum, @@ -375,7 +399,9 @@ export const def_glProgramLocalParameter4fvARB = { result: "void", } as const; -let fn_glProgramLocalParameter4fvARB!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameter4fvARB!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameter4fvARB +>; export function ProgramLocalParameter4fvARB( target: GLenum, @@ -394,7 +420,9 @@ export const def_glGetProgramEnvParameterdvARB = { result: "void", } as const; -let fn_glGetProgramEnvParameterdvARB!: Deno.UnsafeFnPointer; +let fn_glGetProgramEnvParameterdvARB!: Deno.UnsafeFnPointer< + typeof def_glGetProgramEnvParameterdvARB +>; export function GetProgramEnvParameterdvARB( target: GLenum, @@ -413,7 +441,9 @@ export const def_glGetProgramEnvParameterfvARB = { result: "void", } as const; -let fn_glGetProgramEnvParameterfvARB!: Deno.UnsafeFnPointer; +let fn_glGetProgramEnvParameterfvARB!: Deno.UnsafeFnPointer< + typeof def_glGetProgramEnvParameterfvARB +>; export function GetProgramEnvParameterfvARB( target: GLenum, @@ -432,7 +462,9 @@ export const def_glGetProgramLocalParameterdvARB = { result: "void", } as const; -let fn_glGetProgramLocalParameterdvARB!: Deno.UnsafeFnPointer; +let fn_glGetProgramLocalParameterdvARB!: Deno.UnsafeFnPointer< + typeof def_glGetProgramLocalParameterdvARB +>; export function GetProgramLocalParameterdvARB( target: GLenum, @@ -451,7 +483,9 @@ export const def_glGetProgramLocalParameterfvARB = { result: "void", } as const; -let fn_glGetProgramLocalParameterfvARB!: Deno.UnsafeFnPointer; +let fn_glGetProgramLocalParameterfvARB!: Deno.UnsafeFnPointer< + typeof def_glGetProgramLocalParameterfvARB +>; export function GetProgramLocalParameterfvARB( target: GLenum, @@ -489,7 +523,9 @@ export const def_glGetProgramStringARB = { result: "void", } as const; -let fn_glGetProgramStringARB!: Deno.UnsafeFnPointer; +let fn_glGetProgramStringARB!: Deno.UnsafeFnPointer< + typeof def_glGetProgramStringARB +>; export function GetProgramStringARB( target: GLenum, @@ -520,23 +556,80 @@ export function IsProgramARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glProgramStringARB = new Deno.UnsafeFnPointer(proc("glProgramStringARB"), def_glProgramStringARB); - fn_glBindProgramARB = new Deno.UnsafeFnPointer(proc("glBindProgramARB"), def_glBindProgramARB); - fn_glDeleteProgramsARB = new Deno.UnsafeFnPointer(proc("glDeleteProgramsARB"), def_glDeleteProgramsARB); - fn_glGenProgramsARB = new Deno.UnsafeFnPointer(proc("glGenProgramsARB"), def_glGenProgramsARB); - fn_glProgramEnvParameter4dARB = new Deno.UnsafeFnPointer(proc("glProgramEnvParameter4dARB"), def_glProgramEnvParameter4dARB); - fn_glProgramEnvParameter4dvARB = new Deno.UnsafeFnPointer(proc("glProgramEnvParameter4dvARB"), def_glProgramEnvParameter4dvARB); - fn_glProgramEnvParameter4fARB = new Deno.UnsafeFnPointer(proc("glProgramEnvParameter4fARB"), def_glProgramEnvParameter4fARB); - fn_glProgramEnvParameter4fvARB = new Deno.UnsafeFnPointer(proc("glProgramEnvParameter4fvARB"), def_glProgramEnvParameter4fvARB); - fn_glProgramLocalParameter4dARB = new Deno.UnsafeFnPointer(proc("glProgramLocalParameter4dARB"), def_glProgramLocalParameter4dARB); - fn_glProgramLocalParameter4dvARB = new Deno.UnsafeFnPointer(proc("glProgramLocalParameter4dvARB"), def_glProgramLocalParameter4dvARB); - fn_glProgramLocalParameter4fARB = new Deno.UnsafeFnPointer(proc("glProgramLocalParameter4fARB"), def_glProgramLocalParameter4fARB); - fn_glProgramLocalParameter4fvARB = new Deno.UnsafeFnPointer(proc("glProgramLocalParameter4fvARB"), def_glProgramLocalParameter4fvARB); - fn_glGetProgramEnvParameterdvARB = new Deno.UnsafeFnPointer(proc("glGetProgramEnvParameterdvARB"), def_glGetProgramEnvParameterdvARB); - fn_glGetProgramEnvParameterfvARB = new Deno.UnsafeFnPointer(proc("glGetProgramEnvParameterfvARB"), def_glGetProgramEnvParameterfvARB); - fn_glGetProgramLocalParameterdvARB = new Deno.UnsafeFnPointer(proc("glGetProgramLocalParameterdvARB"), def_glGetProgramLocalParameterdvARB); - fn_glGetProgramLocalParameterfvARB = new Deno.UnsafeFnPointer(proc("glGetProgramLocalParameterfvARB"), def_glGetProgramLocalParameterfvARB); - fn_glGetProgramivARB = new Deno.UnsafeFnPointer(proc("glGetProgramivARB"), def_glGetProgramivARB); - fn_glGetProgramStringARB = new Deno.UnsafeFnPointer(proc("glGetProgramStringARB"), def_glGetProgramStringARB); - fn_glIsProgramARB = new Deno.UnsafeFnPointer(proc("glIsProgramARB"), def_glIsProgramARB); + fn_glProgramStringARB = new Deno.UnsafeFnPointer( + proc("glProgramStringARB"), + def_glProgramStringARB, + ); + fn_glBindProgramARB = new Deno.UnsafeFnPointer( + proc("glBindProgramARB"), + def_glBindProgramARB, + ); + fn_glDeleteProgramsARB = new Deno.UnsafeFnPointer( + proc("glDeleteProgramsARB"), + def_glDeleteProgramsARB, + ); + fn_glGenProgramsARB = new Deno.UnsafeFnPointer( + proc("glGenProgramsARB"), + def_glGenProgramsARB, + ); + fn_glProgramEnvParameter4dARB = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameter4dARB"), + def_glProgramEnvParameter4dARB, + ); + fn_glProgramEnvParameter4dvARB = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameter4dvARB"), + def_glProgramEnvParameter4dvARB, + ); + fn_glProgramEnvParameter4fARB = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameter4fARB"), + def_glProgramEnvParameter4fARB, + ); + fn_glProgramEnvParameter4fvARB = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameter4fvARB"), + def_glProgramEnvParameter4fvARB, + ); + fn_glProgramLocalParameter4dARB = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameter4dARB"), + def_glProgramLocalParameter4dARB, + ); + fn_glProgramLocalParameter4dvARB = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameter4dvARB"), + def_glProgramLocalParameter4dvARB, + ); + fn_glProgramLocalParameter4fARB = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameter4fARB"), + def_glProgramLocalParameter4fARB, + ); + fn_glProgramLocalParameter4fvARB = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameter4fvARB"), + def_glProgramLocalParameter4fvARB, + ); + fn_glGetProgramEnvParameterdvARB = new Deno.UnsafeFnPointer( + proc("glGetProgramEnvParameterdvARB"), + def_glGetProgramEnvParameterdvARB, + ); + fn_glGetProgramEnvParameterfvARB = new Deno.UnsafeFnPointer( + proc("glGetProgramEnvParameterfvARB"), + def_glGetProgramEnvParameterfvARB, + ); + fn_glGetProgramLocalParameterdvARB = new Deno.UnsafeFnPointer( + proc("glGetProgramLocalParameterdvARB"), + def_glGetProgramLocalParameterdvARB, + ); + fn_glGetProgramLocalParameterfvARB = new Deno.UnsafeFnPointer( + proc("glGetProgramLocalParameterfvARB"), + def_glGetProgramLocalParameterfvARB, + ); + fn_glGetProgramivARB = new Deno.UnsafeFnPointer( + proc("glGetProgramivARB"), + def_glGetProgramivARB, + ); + fn_glGetProgramStringARB = new Deno.UnsafeFnPointer( + proc("glGetProgramStringARB"), + def_glGetProgramStringARB, + ); + fn_glIsProgramARB = new Deno.UnsafeFnPointer( + proc("glIsProgramARB"), + def_glIsProgramARB, + ); } diff --git a/api/ext/GL_ARB_fragment_program_shadow.ts b/api/ext/GL_ARB_fragment_program_shadow.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_fragment_program_shadow.ts +++ b/api/ext/GL_ARB_fragment_program_shadow.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_fragment_shader.ts b/api/ext/GL_ARB_fragment_shader.ts index 3c8f133..39f923a 100644 --- a/api/ext/GL_ARB_fragment_shader.ts +++ b/api/ext/GL_ARB_fragment_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_fragment_shader_interlock.ts b/api/ext/GL_ARB_fragment_shader_interlock.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_fragment_shader_interlock.ts +++ b/api/ext/GL_ARB_fragment_shader_interlock.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_framebuffer_no_attachments.ts b/api/ext/GL_ARB_framebuffer_no_attachments.ts index 21153a9..799b4fe 100644 --- a/api/ext/GL_ARB_framebuffer_no_attachments.ts +++ b/api/ext/GL_ARB_framebuffer_no_attachments.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -77,7 +85,9 @@ export const def_glFramebufferParameteri = { result: "void", } as const; -let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer; +let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer< + typeof def_glFramebufferParameteri +>; export function FramebufferParameteri( target: GLenum, @@ -96,7 +106,9 @@ export const def_glGetFramebufferParameteriv = { result: "void", } as const; -let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferParameteriv +>; export function GetFramebufferParameteriv( target: GLenum, @@ -112,6 +124,12 @@ export function GetFramebufferParameteriv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferParameteri = new Deno.UnsafeFnPointer(proc("glFramebufferParameteri"), def_glFramebufferParameteri); - fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferParameteriv"), def_glGetFramebufferParameteriv); + fn_glFramebufferParameteri = new Deno.UnsafeFnPointer( + proc("glFramebufferParameteri"), + def_glFramebufferParameteri, + ); + fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferParameteriv"), + def_glGetFramebufferParameteriv, + ); } diff --git a/api/ext/GL_ARB_framebuffer_object.ts b/api/ext/GL_ARB_framebuffer_object.ts index 029dc8f..426a245 100644 --- a/api/ext/GL_ARB_framebuffer_object.ts +++ b/api/ext/GL_ARB_framebuffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -173,7 +181,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -207,7 +217,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -228,7 +240,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -279,7 +293,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -313,7 +329,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -328,7 +346,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -351,7 +371,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -374,7 +396,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -399,7 +423,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -420,7 +446,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -452,7 +480,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -489,7 +528,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -512,7 +553,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -532,24 +575,84 @@ export function FramebufferTextureLayer( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); } diff --git a/api/ext/GL_ARB_framebuffer_sRGB.ts b/api/ext/GL_ARB_framebuffer_sRGB.ts index 21c4bbe..c33533d 100644 --- a/api/ext/GL_ARB_framebuffer_sRGB.ts +++ b/api/ext/GL_ARB_framebuffer_sRGB.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_geometry_shader4.ts b/api/ext/GL_ARB_geometry_shader4.ts index fb5442e..5560399 100644 --- a/api/ext/GL_ARB_geometry_shader4.ts +++ b/api/ext/GL_ARB_geometry_shader4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,7 +96,9 @@ export const def_glProgramParameteriARB = { result: "void", } as const; -let fn_glProgramParameteriARB!: Deno.UnsafeFnPointer; +let fn_glProgramParameteriARB!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteriARB +>; export function ProgramParameteriARB( program: GLuint, @@ -107,7 +117,9 @@ export const def_glFramebufferTextureARB = { result: "void", } as const; -let fn_glFramebufferTextureARB!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureARB!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureARB +>; export function FramebufferTextureARB( target: GLenum, @@ -128,7 +140,9 @@ export const def_glFramebufferTextureLayerARB = { result: "void", } as const; -let fn_glFramebufferTextureLayerARB!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayerARB!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayerARB +>; export function FramebufferTextureLayerARB( target: GLenum, @@ -151,7 +165,9 @@ export const def_glFramebufferTextureFaceARB = { result: "void", } as const; -let fn_glFramebufferTextureFaceARB!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureFaceARB!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureFaceARB +>; export function FramebufferTextureFaceARB( target: GLenum, @@ -171,8 +187,20 @@ export function FramebufferTextureFaceARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glProgramParameteriARB = new Deno.UnsafeFnPointer(proc("glProgramParameteriARB"), def_glProgramParameteriARB); - fn_glFramebufferTextureARB = new Deno.UnsafeFnPointer(proc("glFramebufferTextureARB"), def_glFramebufferTextureARB); - fn_glFramebufferTextureLayerARB = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayerARB"), def_glFramebufferTextureLayerARB); - fn_glFramebufferTextureFaceARB = new Deno.UnsafeFnPointer(proc("glFramebufferTextureFaceARB"), def_glFramebufferTextureFaceARB); + fn_glProgramParameteriARB = new Deno.UnsafeFnPointer( + proc("glProgramParameteriARB"), + def_glProgramParameteriARB, + ); + fn_glFramebufferTextureARB = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureARB"), + def_glFramebufferTextureARB, + ); + fn_glFramebufferTextureLayerARB = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayerARB"), + def_glFramebufferTextureLayerARB, + ); + fn_glFramebufferTextureFaceARB = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureFaceARB"), + def_glFramebufferTextureFaceARB, + ); } diff --git a/api/ext/GL_ARB_get_program_binary.ts b/api/ext/GL_ARB_get_program_binary.ts index 9e3655f..b37f9cd 100644 --- a/api/ext/GL_ARB_get_program_binary.ts +++ b/api/ext/GL_ARB_get_program_binary.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -116,7 +124,9 @@ export const def_glProgramParameteri = { result: "void", } as const; -let fn_glProgramParameteri!: Deno.UnsafeFnPointer; +let fn_glProgramParameteri!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteri +>; export function ProgramParameteri( program: GLuint, @@ -132,7 +142,16 @@ export function ProgramParameteri( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetProgramBinary = new Deno.UnsafeFnPointer(proc("glGetProgramBinary"), def_glGetProgramBinary); - fn_glProgramBinary = new Deno.UnsafeFnPointer(proc("glProgramBinary"), def_glProgramBinary); - fn_glProgramParameteri = new Deno.UnsafeFnPointer(proc("glProgramParameteri"), def_glProgramParameteri); + fn_glGetProgramBinary = new Deno.UnsafeFnPointer( + proc("glGetProgramBinary"), + def_glGetProgramBinary, + ); + fn_glProgramBinary = new Deno.UnsafeFnPointer( + proc("glProgramBinary"), + def_glProgramBinary, + ); + fn_glProgramParameteri = new Deno.UnsafeFnPointer( + proc("glProgramParameteri"), + def_glProgramParameteri, + ); } diff --git a/api/ext/GL_ARB_get_texture_sub_image.ts b/api/ext/GL_ARB_get_texture_sub_image.ts index b744328..f433652 100644 --- a/api/ext/GL_ARB_get_texture_sub_image.ts +++ b/api/ext/GL_ARB_get_texture_sub_image.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -62,11 +70,26 @@ export type GLVULKANPROCNV = Buffer; /// Commands export const def_glGetTextureSubImage = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glGetTextureSubImage!: Deno.UnsafeFnPointer; +let fn_glGetTextureSubImage!: Deno.UnsafeFnPointer< + typeof def_glGetTextureSubImage +>; export function GetTextureSubImage( texture: GLuint, @@ -99,11 +122,24 @@ export function GetTextureSubImage( } export const def_glGetCompressedTextureSubImage = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glGetCompressedTextureSubImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTextureSubImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTextureSubImage +>; export function GetCompressedTextureSubImage( texture: GLuint, @@ -133,6 +169,12 @@ export function GetCompressedTextureSubImage( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetTextureSubImage = new Deno.UnsafeFnPointer(proc("glGetTextureSubImage"), def_glGetTextureSubImage); - fn_glGetCompressedTextureSubImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTextureSubImage"), def_glGetCompressedTextureSubImage); + fn_glGetTextureSubImage = new Deno.UnsafeFnPointer( + proc("glGetTextureSubImage"), + def_glGetTextureSubImage, + ); + fn_glGetCompressedTextureSubImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTextureSubImage"), + def_glGetCompressedTextureSubImage, + ); } diff --git a/api/ext/GL_ARB_gl_spirv.ts b/api/ext/GL_ARB_gl_spirv.ts index aa98648..c5138ef 100644 --- a/api/ext/GL_ARB_gl_spirv.ts +++ b/api/ext/GL_ARB_gl_spirv.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glSpecializeShaderARB = { result: "void", } as const; -let fn_glSpecializeShaderARB!: Deno.UnsafeFnPointer; +let fn_glSpecializeShaderARB!: Deno.UnsafeFnPointer< + typeof def_glSpecializeShaderARB +>; export function SpecializeShaderARB( shader: GLuint, @@ -90,5 +100,8 @@ export function SpecializeShaderARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glSpecializeShaderARB = new Deno.UnsafeFnPointer(proc("glSpecializeShaderARB"), def_glSpecializeShaderARB); + fn_glSpecializeShaderARB = new Deno.UnsafeFnPointer( + proc("glSpecializeShaderARB"), + def_glSpecializeShaderARB, + ); } diff --git a/api/ext/GL_ARB_gpu_shader5.ts b/api/ext/GL_ARB_gpu_shader5.ts index 17f25ab..3d03841 100644 --- a/api/ext/GL_ARB_gpu_shader5.ts +++ b/api/ext/GL_ARB_gpu_shader5.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_gpu_shader_fp64.ts b/api/ext/GL_ARB_gpu_shader_fp64.ts index 77b0059..7133db6 100644 --- a/api/ext/GL_ARB_gpu_shader_fp64.ts +++ b/api/ext/GL_ARB_gpu_shader_fp64.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -300,7 +308,9 @@ export const def_glUniformMatrix2x3dv = { result: "void", } as const; -let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3dv +>; export function UniformMatrix2x3dv( location: GLint, @@ -321,7 +331,9 @@ export const def_glUniformMatrix2x4dv = { result: "void", } as const; -let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4dv +>; export function UniformMatrix2x4dv( location: GLint, @@ -342,7 +354,9 @@ export const def_glUniformMatrix3x2dv = { result: "void", } as const; -let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2dv +>; export function UniformMatrix3x2dv( location: GLint, @@ -363,7 +377,9 @@ export const def_glUniformMatrix3x4dv = { result: "void", } as const; -let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4dv +>; export function UniformMatrix3x4dv( location: GLint, @@ -384,7 +400,9 @@ export const def_glUniformMatrix4x2dv = { result: "void", } as const; -let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2dv +>; export function UniformMatrix4x2dv( location: GLint, @@ -405,7 +423,9 @@ export const def_glUniformMatrix4x3dv = { result: "void", } as const; -let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3dv +>; export function UniformMatrix4x3dv( location: GLint, @@ -442,22 +462,76 @@ export function GetUniformdv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glUniform1d = new Deno.UnsafeFnPointer(proc("glUniform1d"), def_glUniform1d); - fn_glUniform2d = new Deno.UnsafeFnPointer(proc("glUniform2d"), def_glUniform2d); - fn_glUniform3d = new Deno.UnsafeFnPointer(proc("glUniform3d"), def_glUniform3d); - fn_glUniform4d = new Deno.UnsafeFnPointer(proc("glUniform4d"), def_glUniform4d); - fn_glUniform1dv = new Deno.UnsafeFnPointer(proc("glUniform1dv"), def_glUniform1dv); - fn_glUniform2dv = new Deno.UnsafeFnPointer(proc("glUniform2dv"), def_glUniform2dv); - fn_glUniform3dv = new Deno.UnsafeFnPointer(proc("glUniform3dv"), def_glUniform3dv); - fn_glUniform4dv = new Deno.UnsafeFnPointer(proc("glUniform4dv"), def_glUniform4dv); - fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2dv"), def_glUniformMatrix2dv); - fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3dv"), def_glUniformMatrix3dv); - fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4dv"), def_glUniformMatrix4dv); - fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3dv"), def_glUniformMatrix2x3dv); - fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4dv"), def_glUniformMatrix2x4dv); - fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2dv"), def_glUniformMatrix3x2dv); - fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4dv"), def_glUniformMatrix3x4dv); - fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2dv"), def_glUniformMatrix4x2dv); - fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3dv"), def_glUniformMatrix4x3dv); - fn_glGetUniformdv = new Deno.UnsafeFnPointer(proc("glGetUniformdv"), def_glGetUniformdv); + fn_glUniform1d = new Deno.UnsafeFnPointer( + proc("glUniform1d"), + def_glUniform1d, + ); + fn_glUniform2d = new Deno.UnsafeFnPointer( + proc("glUniform2d"), + def_glUniform2d, + ); + fn_glUniform3d = new Deno.UnsafeFnPointer( + proc("glUniform3d"), + def_glUniform3d, + ); + fn_glUniform4d = new Deno.UnsafeFnPointer( + proc("glUniform4d"), + def_glUniform4d, + ); + fn_glUniform1dv = new Deno.UnsafeFnPointer( + proc("glUniform1dv"), + def_glUniform1dv, + ); + fn_glUniform2dv = new Deno.UnsafeFnPointer( + proc("glUniform2dv"), + def_glUniform2dv, + ); + fn_glUniform3dv = new Deno.UnsafeFnPointer( + proc("glUniform3dv"), + def_glUniform3dv, + ); + fn_glUniform4dv = new Deno.UnsafeFnPointer( + proc("glUniform4dv"), + def_glUniform4dv, + ); + fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2dv"), + def_glUniformMatrix2dv, + ); + fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3dv"), + def_glUniformMatrix3dv, + ); + fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4dv"), + def_glUniformMatrix4dv, + ); + fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3dv"), + def_glUniformMatrix2x3dv, + ); + fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4dv"), + def_glUniformMatrix2x4dv, + ); + fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2dv"), + def_glUniformMatrix3x2dv, + ); + fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4dv"), + def_glUniformMatrix3x4dv, + ); + fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2dv"), + def_glUniformMatrix4x2dv, + ); + fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3dv"), + def_glUniformMatrix4x3dv, + ); + fn_glGetUniformdv = new Deno.UnsafeFnPointer( + proc("glGetUniformdv"), + def_glGetUniformdv, + ); } diff --git a/api/ext/GL_ARB_gpu_shader_int64.ts b/api/ext/GL_ARB_gpu_shader_int64.ts index ef5a5bd..741f0cc 100644 --- a/api/ext/GL_ARB_gpu_shader_int64.ts +++ b/api/ext/GL_ARB_gpu_shader_int64.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -388,7 +396,9 @@ export const def_glGetUniformi64vARB = { result: "void", } as const; -let fn_glGetUniformi64vARB!: Deno.UnsafeFnPointer; +let fn_glGetUniformi64vARB!: Deno.UnsafeFnPointer< + typeof def_glGetUniformi64vARB +>; export function GetUniformi64vARB( program: GLuint, @@ -407,7 +417,9 @@ export const def_glGetUniformui64vARB = { result: "void", } as const; -let fn_glGetUniformui64vARB!: Deno.UnsafeFnPointer; +let fn_glGetUniformui64vARB!: Deno.UnsafeFnPointer< + typeof def_glGetUniformui64vARB +>; export function GetUniformui64vARB( program: GLuint, @@ -426,7 +438,9 @@ export const def_glGetnUniformi64vARB = { result: "void", } as const; -let fn_glGetnUniformi64vARB!: Deno.UnsafeFnPointer; +let fn_glGetnUniformi64vARB!: Deno.UnsafeFnPointer< + typeof def_glGetnUniformi64vARB +>; export function GetnUniformi64vARB( program: GLuint, @@ -447,7 +461,9 @@ export const def_glGetnUniformui64vARB = { result: "void", } as const; -let fn_glGetnUniformui64vARB!: Deno.UnsafeFnPointer; +let fn_glGetnUniformui64vARB!: Deno.UnsafeFnPointer< + typeof def_glGetnUniformui64vARB +>; export function GetnUniformui64vARB( program: GLuint, @@ -468,7 +484,9 @@ export const def_glProgramUniform1i64ARB = { result: "void", } as const; -let fn_glProgramUniform1i64ARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1i64ARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1i64ARB +>; export function ProgramUniform1i64ARB( program: GLuint, @@ -487,7 +505,9 @@ export const def_glProgramUniform2i64ARB = { result: "void", } as const; -let fn_glProgramUniform2i64ARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2i64ARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2i64ARB +>; export function ProgramUniform2i64ARB( program: GLuint, @@ -508,7 +528,9 @@ export const def_glProgramUniform3i64ARB = { result: "void", } as const; -let fn_glProgramUniform3i64ARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3i64ARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3i64ARB +>; export function ProgramUniform3i64ARB( program: GLuint, @@ -531,7 +553,9 @@ export const def_glProgramUniform4i64ARB = { result: "void", } as const; -let fn_glProgramUniform4i64ARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4i64ARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4i64ARB +>; export function ProgramUniform4i64ARB( program: GLuint, @@ -556,7 +580,9 @@ export const def_glProgramUniform1i64vARB = { result: "void", } as const; -let fn_glProgramUniform1i64vARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1i64vARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1i64vARB +>; export function ProgramUniform1i64vARB( program: GLuint, @@ -577,7 +603,9 @@ export const def_glProgramUniform2i64vARB = { result: "void", } as const; -let fn_glProgramUniform2i64vARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2i64vARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2i64vARB +>; export function ProgramUniform2i64vARB( program: GLuint, @@ -598,7 +626,9 @@ export const def_glProgramUniform3i64vARB = { result: "void", } as const; -let fn_glProgramUniform3i64vARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3i64vARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3i64vARB +>; export function ProgramUniform3i64vARB( program: GLuint, @@ -619,7 +649,9 @@ export const def_glProgramUniform4i64vARB = { result: "void", } as const; -let fn_glProgramUniform4i64vARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4i64vARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4i64vARB +>; export function ProgramUniform4i64vARB( program: GLuint, @@ -640,7 +672,9 @@ export const def_glProgramUniform1ui64ARB = { result: "void", } as const; -let fn_glProgramUniform1ui64ARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui64ARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui64ARB +>; export function ProgramUniform1ui64ARB( program: GLuint, @@ -659,7 +693,9 @@ export const def_glProgramUniform2ui64ARB = { result: "void", } as const; -let fn_glProgramUniform2ui64ARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui64ARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui64ARB +>; export function ProgramUniform2ui64ARB( program: GLuint, @@ -680,7 +716,9 @@ export const def_glProgramUniform3ui64ARB = { result: "void", } as const; -let fn_glProgramUniform3ui64ARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui64ARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui64ARB +>; export function ProgramUniform3ui64ARB( program: GLuint, @@ -703,7 +741,9 @@ export const def_glProgramUniform4ui64ARB = { result: "void", } as const; -let fn_glProgramUniform4ui64ARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui64ARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui64ARB +>; export function ProgramUniform4ui64ARB( program: GLuint, @@ -728,7 +768,9 @@ export const def_glProgramUniform1ui64vARB = { result: "void", } as const; -let fn_glProgramUniform1ui64vARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui64vARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui64vARB +>; export function ProgramUniform1ui64vARB( program: GLuint, @@ -749,7 +791,9 @@ export const def_glProgramUniform2ui64vARB = { result: "void", } as const; -let fn_glProgramUniform2ui64vARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui64vARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui64vARB +>; export function ProgramUniform2ui64vARB( program: GLuint, @@ -770,7 +814,9 @@ export const def_glProgramUniform3ui64vARB = { result: "void", } as const; -let fn_glProgramUniform3ui64vARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui64vARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui64vARB +>; export function ProgramUniform3ui64vARB( program: GLuint, @@ -791,7 +837,9 @@ export const def_glProgramUniform4ui64vARB = { result: "void", } as const; -let fn_glProgramUniform4ui64vARB!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui64vARB!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui64vARB +>; export function ProgramUniform4ui64vARB( program: GLuint, @@ -809,40 +857,148 @@ export function ProgramUniform4ui64vARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glUniform1i64ARB = new Deno.UnsafeFnPointer(proc("glUniform1i64ARB"), def_glUniform1i64ARB); - fn_glUniform2i64ARB = new Deno.UnsafeFnPointer(proc("glUniform2i64ARB"), def_glUniform2i64ARB); - fn_glUniform3i64ARB = new Deno.UnsafeFnPointer(proc("glUniform3i64ARB"), def_glUniform3i64ARB); - fn_glUniform4i64ARB = new Deno.UnsafeFnPointer(proc("glUniform4i64ARB"), def_glUniform4i64ARB); - fn_glUniform1i64vARB = new Deno.UnsafeFnPointer(proc("glUniform1i64vARB"), def_glUniform1i64vARB); - fn_glUniform2i64vARB = new Deno.UnsafeFnPointer(proc("glUniform2i64vARB"), def_glUniform2i64vARB); - fn_glUniform3i64vARB = new Deno.UnsafeFnPointer(proc("glUniform3i64vARB"), def_glUniform3i64vARB); - fn_glUniform4i64vARB = new Deno.UnsafeFnPointer(proc("glUniform4i64vARB"), def_glUniform4i64vARB); - fn_glUniform1ui64ARB = new Deno.UnsafeFnPointer(proc("glUniform1ui64ARB"), def_glUniform1ui64ARB); - fn_glUniform2ui64ARB = new Deno.UnsafeFnPointer(proc("glUniform2ui64ARB"), def_glUniform2ui64ARB); - fn_glUniform3ui64ARB = new Deno.UnsafeFnPointer(proc("glUniform3ui64ARB"), def_glUniform3ui64ARB); - fn_glUniform4ui64ARB = new Deno.UnsafeFnPointer(proc("glUniform4ui64ARB"), def_glUniform4ui64ARB); - fn_glUniform1ui64vARB = new Deno.UnsafeFnPointer(proc("glUniform1ui64vARB"), def_glUniform1ui64vARB); - fn_glUniform2ui64vARB = new Deno.UnsafeFnPointer(proc("glUniform2ui64vARB"), def_glUniform2ui64vARB); - fn_glUniform3ui64vARB = new Deno.UnsafeFnPointer(proc("glUniform3ui64vARB"), def_glUniform3ui64vARB); - fn_glUniform4ui64vARB = new Deno.UnsafeFnPointer(proc("glUniform4ui64vARB"), def_glUniform4ui64vARB); - fn_glGetUniformi64vARB = new Deno.UnsafeFnPointer(proc("glGetUniformi64vARB"), def_glGetUniformi64vARB); - fn_glGetUniformui64vARB = new Deno.UnsafeFnPointer(proc("glGetUniformui64vARB"), def_glGetUniformui64vARB); - fn_glGetnUniformi64vARB = new Deno.UnsafeFnPointer(proc("glGetnUniformi64vARB"), def_glGetnUniformi64vARB); - fn_glGetnUniformui64vARB = new Deno.UnsafeFnPointer(proc("glGetnUniformui64vARB"), def_glGetnUniformui64vARB); - fn_glProgramUniform1i64ARB = new Deno.UnsafeFnPointer(proc("glProgramUniform1i64ARB"), def_glProgramUniform1i64ARB); - fn_glProgramUniform2i64ARB = new Deno.UnsafeFnPointer(proc("glProgramUniform2i64ARB"), def_glProgramUniform2i64ARB); - fn_glProgramUniform3i64ARB = new Deno.UnsafeFnPointer(proc("glProgramUniform3i64ARB"), def_glProgramUniform3i64ARB); - fn_glProgramUniform4i64ARB = new Deno.UnsafeFnPointer(proc("glProgramUniform4i64ARB"), def_glProgramUniform4i64ARB); - fn_glProgramUniform1i64vARB = new Deno.UnsafeFnPointer(proc("glProgramUniform1i64vARB"), def_glProgramUniform1i64vARB); - fn_glProgramUniform2i64vARB = new Deno.UnsafeFnPointer(proc("glProgramUniform2i64vARB"), def_glProgramUniform2i64vARB); - fn_glProgramUniform3i64vARB = new Deno.UnsafeFnPointer(proc("glProgramUniform3i64vARB"), def_glProgramUniform3i64vARB); - fn_glProgramUniform4i64vARB = new Deno.UnsafeFnPointer(proc("glProgramUniform4i64vARB"), def_glProgramUniform4i64vARB); - fn_glProgramUniform1ui64ARB = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui64ARB"), def_glProgramUniform1ui64ARB); - fn_glProgramUniform2ui64ARB = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui64ARB"), def_glProgramUniform2ui64ARB); - fn_glProgramUniform3ui64ARB = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui64ARB"), def_glProgramUniform3ui64ARB); - fn_glProgramUniform4ui64ARB = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui64ARB"), def_glProgramUniform4ui64ARB); - fn_glProgramUniform1ui64vARB = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui64vARB"), def_glProgramUniform1ui64vARB); - fn_glProgramUniform2ui64vARB = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui64vARB"), def_glProgramUniform2ui64vARB); - fn_glProgramUniform3ui64vARB = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui64vARB"), def_glProgramUniform3ui64vARB); - fn_glProgramUniform4ui64vARB = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui64vARB"), def_glProgramUniform4ui64vARB); + fn_glUniform1i64ARB = new Deno.UnsafeFnPointer( + proc("glUniform1i64ARB"), + def_glUniform1i64ARB, + ); + fn_glUniform2i64ARB = new Deno.UnsafeFnPointer( + proc("glUniform2i64ARB"), + def_glUniform2i64ARB, + ); + fn_glUniform3i64ARB = new Deno.UnsafeFnPointer( + proc("glUniform3i64ARB"), + def_glUniform3i64ARB, + ); + fn_glUniform4i64ARB = new Deno.UnsafeFnPointer( + proc("glUniform4i64ARB"), + def_glUniform4i64ARB, + ); + fn_glUniform1i64vARB = new Deno.UnsafeFnPointer( + proc("glUniform1i64vARB"), + def_glUniform1i64vARB, + ); + fn_glUniform2i64vARB = new Deno.UnsafeFnPointer( + proc("glUniform2i64vARB"), + def_glUniform2i64vARB, + ); + fn_glUniform3i64vARB = new Deno.UnsafeFnPointer( + proc("glUniform3i64vARB"), + def_glUniform3i64vARB, + ); + fn_glUniform4i64vARB = new Deno.UnsafeFnPointer( + proc("glUniform4i64vARB"), + def_glUniform4i64vARB, + ); + fn_glUniform1ui64ARB = new Deno.UnsafeFnPointer( + proc("glUniform1ui64ARB"), + def_glUniform1ui64ARB, + ); + fn_glUniform2ui64ARB = new Deno.UnsafeFnPointer( + proc("glUniform2ui64ARB"), + def_glUniform2ui64ARB, + ); + fn_glUniform3ui64ARB = new Deno.UnsafeFnPointer( + proc("glUniform3ui64ARB"), + def_glUniform3ui64ARB, + ); + fn_glUniform4ui64ARB = new Deno.UnsafeFnPointer( + proc("glUniform4ui64ARB"), + def_glUniform4ui64ARB, + ); + fn_glUniform1ui64vARB = new Deno.UnsafeFnPointer( + proc("glUniform1ui64vARB"), + def_glUniform1ui64vARB, + ); + fn_glUniform2ui64vARB = new Deno.UnsafeFnPointer( + proc("glUniform2ui64vARB"), + def_glUniform2ui64vARB, + ); + fn_glUniform3ui64vARB = new Deno.UnsafeFnPointer( + proc("glUniform3ui64vARB"), + def_glUniform3ui64vARB, + ); + fn_glUniform4ui64vARB = new Deno.UnsafeFnPointer( + proc("glUniform4ui64vARB"), + def_glUniform4ui64vARB, + ); + fn_glGetUniformi64vARB = new Deno.UnsafeFnPointer( + proc("glGetUniformi64vARB"), + def_glGetUniformi64vARB, + ); + fn_glGetUniformui64vARB = new Deno.UnsafeFnPointer( + proc("glGetUniformui64vARB"), + def_glGetUniformui64vARB, + ); + fn_glGetnUniformi64vARB = new Deno.UnsafeFnPointer( + proc("glGetnUniformi64vARB"), + def_glGetnUniformi64vARB, + ); + fn_glGetnUniformui64vARB = new Deno.UnsafeFnPointer( + proc("glGetnUniformui64vARB"), + def_glGetnUniformui64vARB, + ); + fn_glProgramUniform1i64ARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i64ARB"), + def_glProgramUniform1i64ARB, + ); + fn_glProgramUniform2i64ARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i64ARB"), + def_glProgramUniform2i64ARB, + ); + fn_glProgramUniform3i64ARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i64ARB"), + def_glProgramUniform3i64ARB, + ); + fn_glProgramUniform4i64ARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i64ARB"), + def_glProgramUniform4i64ARB, + ); + fn_glProgramUniform1i64vARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i64vARB"), + def_glProgramUniform1i64vARB, + ); + fn_glProgramUniform2i64vARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i64vARB"), + def_glProgramUniform2i64vARB, + ); + fn_glProgramUniform3i64vARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i64vARB"), + def_glProgramUniform3i64vARB, + ); + fn_glProgramUniform4i64vARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i64vARB"), + def_glProgramUniform4i64vARB, + ); + fn_glProgramUniform1ui64ARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui64ARB"), + def_glProgramUniform1ui64ARB, + ); + fn_glProgramUniform2ui64ARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui64ARB"), + def_glProgramUniform2ui64ARB, + ); + fn_glProgramUniform3ui64ARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui64ARB"), + def_glProgramUniform3ui64ARB, + ); + fn_glProgramUniform4ui64ARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui64ARB"), + def_glProgramUniform4ui64ARB, + ); + fn_glProgramUniform1ui64vARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui64vARB"), + def_glProgramUniform1ui64vARB, + ); + fn_glProgramUniform2ui64vARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui64vARB"), + def_glProgramUniform2ui64vARB, + ); + fn_glProgramUniform3ui64vARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui64vARB"), + def_glProgramUniform3ui64vARB, + ); + fn_glProgramUniform4ui64vARB = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui64vARB"), + def_glProgramUniform4ui64vARB, + ); } diff --git a/api/ext/GL_ARB_half_float_pixel.ts b/api/ext/GL_ARB_half_float_pixel.ts index c48be28..421e845 100644 --- a/api/ext/GL_ARB_half_float_pixel.ts +++ b/api/ext/GL_ARB_half_float_pixel.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_half_float_vertex.ts b/api/ext/GL_ARB_half_float_vertex.ts index f315df9..0cecf49 100644 --- a/api/ext/GL_ARB_half_float_vertex.ts +++ b/api/ext/GL_ARB_half_float_vertex.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_imaging.ts b/api/ext/GL_ARB_imaging.ts index 7da106a..0ae86a6 100644 --- a/api/ext/GL_ARB_imaging.ts +++ b/api/ext/GL_ARB_imaging.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -204,7 +212,9 @@ export const def_glColorTableParameterfv = { result: "void", } as const; -let fn_glColorTableParameterfv!: Deno.UnsafeFnPointer; +let fn_glColorTableParameterfv!: Deno.UnsafeFnPointer< + typeof def_glColorTableParameterfv +>; export function ColorTableParameterfv( target: GLenum, @@ -223,7 +233,9 @@ export const def_glColorTableParameteriv = { result: "void", } as const; -let fn_glColorTableParameteriv!: Deno.UnsafeFnPointer; +let fn_glColorTableParameteriv!: Deno.UnsafeFnPointer< + typeof def_glColorTableParameteriv +>; export function ColorTableParameteriv( target: GLenum, @@ -286,7 +298,9 @@ export const def_glGetColorTableParameterfv = { result: "void", } as const; -let fn_glGetColorTableParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetColorTableParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetColorTableParameterfv +>; export function GetColorTableParameterfv( target: GLenum, @@ -305,7 +319,9 @@ export const def_glGetColorTableParameteriv = { result: "void", } as const; -let fn_glGetColorTableParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetColorTableParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetColorTableParameteriv +>; export function GetColorTableParameteriv( target: GLenum, @@ -349,7 +365,9 @@ export const def_glCopyColorSubTable = { result: "void", } as const; -let fn_glCopyColorSubTable!: Deno.UnsafeFnPointer; +let fn_glCopyColorSubTable!: Deno.UnsafeFnPointer< + typeof def_glCopyColorSubTable +>; export function CopyColorSubTable( target: GLenum, @@ -372,7 +390,9 @@ export const def_glConvolutionFilter1D = { result: "void", } as const; -let fn_glConvolutionFilter1D!: Deno.UnsafeFnPointer; +let fn_glConvolutionFilter1D!: Deno.UnsafeFnPointer< + typeof def_glConvolutionFilter1D +>; export function ConvolutionFilter1D( target: GLenum, @@ -397,7 +417,9 @@ export const def_glConvolutionFilter2D = { result: "void", } as const; -let fn_glConvolutionFilter2D!: Deno.UnsafeFnPointer; +let fn_glConvolutionFilter2D!: Deno.UnsafeFnPointer< + typeof def_glConvolutionFilter2D +>; export function ConvolutionFilter2D( target: GLenum, @@ -424,7 +446,9 @@ export const def_glConvolutionParameterf = { result: "void", } as const; -let fn_glConvolutionParameterf!: Deno.UnsafeFnPointer; +let fn_glConvolutionParameterf!: Deno.UnsafeFnPointer< + typeof def_glConvolutionParameterf +>; export function ConvolutionParameterf( target: GLenum, @@ -443,7 +467,9 @@ export const def_glConvolutionParameterfv = { result: "void", } as const; -let fn_glConvolutionParameterfv!: Deno.UnsafeFnPointer; +let fn_glConvolutionParameterfv!: Deno.UnsafeFnPointer< + typeof def_glConvolutionParameterfv +>; export function ConvolutionParameterfv( target: GLenum, @@ -462,7 +488,9 @@ export const def_glConvolutionParameteri = { result: "void", } as const; -let fn_glConvolutionParameteri!: Deno.UnsafeFnPointer; +let fn_glConvolutionParameteri!: Deno.UnsafeFnPointer< + typeof def_glConvolutionParameteri +>; export function ConvolutionParameteri( target: GLenum, @@ -481,7 +509,9 @@ export const def_glConvolutionParameteriv = { result: "void", } as const; -let fn_glConvolutionParameteriv!: Deno.UnsafeFnPointer; +let fn_glConvolutionParameteriv!: Deno.UnsafeFnPointer< + typeof def_glConvolutionParameteriv +>; export function ConvolutionParameteriv( target: GLenum, @@ -500,7 +530,9 @@ export const def_glCopyConvolutionFilter1D = { result: "void", } as const; -let fn_glCopyConvolutionFilter1D!: Deno.UnsafeFnPointer; +let fn_glCopyConvolutionFilter1D!: Deno.UnsafeFnPointer< + typeof def_glCopyConvolutionFilter1D +>; export function CopyConvolutionFilter1D( target: GLenum, @@ -523,7 +555,9 @@ export const def_glCopyConvolutionFilter2D = { result: "void", } as const; -let fn_glCopyConvolutionFilter2D!: Deno.UnsafeFnPointer; +let fn_glCopyConvolutionFilter2D!: Deno.UnsafeFnPointer< + typeof def_glCopyConvolutionFilter2D +>; export function CopyConvolutionFilter2D( target: GLenum, @@ -548,7 +582,9 @@ export const def_glGetConvolutionFilter = { result: "void", } as const; -let fn_glGetConvolutionFilter!: Deno.UnsafeFnPointer; +let fn_glGetConvolutionFilter!: Deno.UnsafeFnPointer< + typeof def_glGetConvolutionFilter +>; export function GetConvolutionFilter( target: GLenum, @@ -569,7 +605,9 @@ export const def_glGetConvolutionParameterfv = { result: "void", } as const; -let fn_glGetConvolutionParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetConvolutionParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetConvolutionParameterfv +>; export function GetConvolutionParameterfv( target: GLenum, @@ -588,7 +626,9 @@ export const def_glGetConvolutionParameteriv = { result: "void", } as const; -let fn_glGetConvolutionParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetConvolutionParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetConvolutionParameteriv +>; export function GetConvolutionParameteriv( target: GLenum, @@ -607,7 +647,9 @@ export const def_glGetSeparableFilter = { result: "void", } as const; -let fn_glGetSeparableFilter!: Deno.UnsafeFnPointer; +let fn_glGetSeparableFilter!: Deno.UnsafeFnPointer< + typeof def_glGetSeparableFilter +>; export function GetSeparableFilter( target: GLenum, @@ -632,7 +674,9 @@ export const def_glSeparableFilter2D = { result: "void", } as const; -let fn_glSeparableFilter2D!: Deno.UnsafeFnPointer; +let fn_glSeparableFilter2D!: Deno.UnsafeFnPointer< + typeof def_glSeparableFilter2D +>; export function SeparableFilter2D( target: GLenum, @@ -684,7 +728,9 @@ export const def_glGetHistogramParameterfv = { result: "void", } as const; -let fn_glGetHistogramParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetHistogramParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetHistogramParameterfv +>; export function GetHistogramParameterfv( target: GLenum, @@ -703,7 +749,9 @@ export const def_glGetHistogramParameteriv = { result: "void", } as const; -let fn_glGetHistogramParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetHistogramParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetHistogramParameteriv +>; export function GetHistogramParameteriv( target: GLenum, @@ -745,7 +793,9 @@ export const def_glGetMinmaxParameterfv = { result: "void", } as const; -let fn_glGetMinmaxParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetMinmaxParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetMinmaxParameterfv +>; export function GetMinmaxParameterfv( target: GLenum, @@ -764,7 +814,9 @@ export const def_glGetMinmaxParameteriv = { result: "void", } as const; -let fn_glGetMinmaxParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetMinmaxParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetMinmaxParameteriv +>; export function GetMinmaxParameteriv( target: GLenum, @@ -850,38 +902,137 @@ export function ResetMinmax( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glColorTable = new Deno.UnsafeFnPointer(proc("glColorTable"), def_glColorTable); - fn_glColorTableParameterfv = new Deno.UnsafeFnPointer(proc("glColorTableParameterfv"), def_glColorTableParameterfv); - fn_glColorTableParameteriv = new Deno.UnsafeFnPointer(proc("glColorTableParameteriv"), def_glColorTableParameteriv); - fn_glCopyColorTable = new Deno.UnsafeFnPointer(proc("glCopyColorTable"), def_glCopyColorTable); - fn_glGetColorTable = new Deno.UnsafeFnPointer(proc("glGetColorTable"), def_glGetColorTable); - fn_glGetColorTableParameterfv = new Deno.UnsafeFnPointer(proc("glGetColorTableParameterfv"), def_glGetColorTableParameterfv); - fn_glGetColorTableParameteriv = new Deno.UnsafeFnPointer(proc("glGetColorTableParameteriv"), def_glGetColorTableParameteriv); - fn_glColorSubTable = new Deno.UnsafeFnPointer(proc("glColorSubTable"), def_glColorSubTable); - fn_glCopyColorSubTable = new Deno.UnsafeFnPointer(proc("glCopyColorSubTable"), def_glCopyColorSubTable); - fn_glConvolutionFilter1D = new Deno.UnsafeFnPointer(proc("glConvolutionFilter1D"), def_glConvolutionFilter1D); - fn_glConvolutionFilter2D = new Deno.UnsafeFnPointer(proc("glConvolutionFilter2D"), def_glConvolutionFilter2D); - fn_glConvolutionParameterf = new Deno.UnsafeFnPointer(proc("glConvolutionParameterf"), def_glConvolutionParameterf); - fn_glConvolutionParameterfv = new Deno.UnsafeFnPointer(proc("glConvolutionParameterfv"), def_glConvolutionParameterfv); - fn_glConvolutionParameteri = new Deno.UnsafeFnPointer(proc("glConvolutionParameteri"), def_glConvolutionParameteri); - fn_glConvolutionParameteriv = new Deno.UnsafeFnPointer(proc("glConvolutionParameteriv"), def_glConvolutionParameteriv); - fn_glCopyConvolutionFilter1D = new Deno.UnsafeFnPointer(proc("glCopyConvolutionFilter1D"), def_glCopyConvolutionFilter1D); - fn_glCopyConvolutionFilter2D = new Deno.UnsafeFnPointer(proc("glCopyConvolutionFilter2D"), def_glCopyConvolutionFilter2D); - fn_glGetConvolutionFilter = new Deno.UnsafeFnPointer(proc("glGetConvolutionFilter"), def_glGetConvolutionFilter); - fn_glGetConvolutionParameterfv = new Deno.UnsafeFnPointer(proc("glGetConvolutionParameterfv"), def_glGetConvolutionParameterfv); - fn_glGetConvolutionParameteriv = new Deno.UnsafeFnPointer(proc("glGetConvolutionParameteriv"), def_glGetConvolutionParameteriv); - fn_glGetSeparableFilter = new Deno.UnsafeFnPointer(proc("glGetSeparableFilter"), def_glGetSeparableFilter); - fn_glSeparableFilter2D = new Deno.UnsafeFnPointer(proc("glSeparableFilter2D"), def_glSeparableFilter2D); - fn_glGetHistogram = new Deno.UnsafeFnPointer(proc("glGetHistogram"), def_glGetHistogram); - fn_glGetHistogramParameterfv = new Deno.UnsafeFnPointer(proc("glGetHistogramParameterfv"), def_glGetHistogramParameterfv); - fn_glGetHistogramParameteriv = new Deno.UnsafeFnPointer(proc("glGetHistogramParameteriv"), def_glGetHistogramParameteriv); - fn_glGetMinmax = new Deno.UnsafeFnPointer(proc("glGetMinmax"), def_glGetMinmax); - fn_glGetMinmaxParameterfv = new Deno.UnsafeFnPointer(proc("glGetMinmaxParameterfv"), def_glGetMinmaxParameterfv); - fn_glGetMinmaxParameteriv = new Deno.UnsafeFnPointer(proc("glGetMinmaxParameteriv"), def_glGetMinmaxParameteriv); - fn_glHistogram = new Deno.UnsafeFnPointer(proc("glHistogram"), def_glHistogram); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glColorTable = new Deno.UnsafeFnPointer( + proc("glColorTable"), + def_glColorTable, + ); + fn_glColorTableParameterfv = new Deno.UnsafeFnPointer( + proc("glColorTableParameterfv"), + def_glColorTableParameterfv, + ); + fn_glColorTableParameteriv = new Deno.UnsafeFnPointer( + proc("glColorTableParameteriv"), + def_glColorTableParameteriv, + ); + fn_glCopyColorTable = new Deno.UnsafeFnPointer( + proc("glCopyColorTable"), + def_glCopyColorTable, + ); + fn_glGetColorTable = new Deno.UnsafeFnPointer( + proc("glGetColorTable"), + def_glGetColorTable, + ); + fn_glGetColorTableParameterfv = new Deno.UnsafeFnPointer( + proc("glGetColorTableParameterfv"), + def_glGetColorTableParameterfv, + ); + fn_glGetColorTableParameteriv = new Deno.UnsafeFnPointer( + proc("glGetColorTableParameteriv"), + def_glGetColorTableParameteriv, + ); + fn_glColorSubTable = new Deno.UnsafeFnPointer( + proc("glColorSubTable"), + def_glColorSubTable, + ); + fn_glCopyColorSubTable = new Deno.UnsafeFnPointer( + proc("glCopyColorSubTable"), + def_glCopyColorSubTable, + ); + fn_glConvolutionFilter1D = new Deno.UnsafeFnPointer( + proc("glConvolutionFilter1D"), + def_glConvolutionFilter1D, + ); + fn_glConvolutionFilter2D = new Deno.UnsafeFnPointer( + proc("glConvolutionFilter2D"), + def_glConvolutionFilter2D, + ); + fn_glConvolutionParameterf = new Deno.UnsafeFnPointer( + proc("glConvolutionParameterf"), + def_glConvolutionParameterf, + ); + fn_glConvolutionParameterfv = new Deno.UnsafeFnPointer( + proc("glConvolutionParameterfv"), + def_glConvolutionParameterfv, + ); + fn_glConvolutionParameteri = new Deno.UnsafeFnPointer( + proc("glConvolutionParameteri"), + def_glConvolutionParameteri, + ); + fn_glConvolutionParameteriv = new Deno.UnsafeFnPointer( + proc("glConvolutionParameteriv"), + def_glConvolutionParameteriv, + ); + fn_glCopyConvolutionFilter1D = new Deno.UnsafeFnPointer( + proc("glCopyConvolutionFilter1D"), + def_glCopyConvolutionFilter1D, + ); + fn_glCopyConvolutionFilter2D = new Deno.UnsafeFnPointer( + proc("glCopyConvolutionFilter2D"), + def_glCopyConvolutionFilter2D, + ); + fn_glGetConvolutionFilter = new Deno.UnsafeFnPointer( + proc("glGetConvolutionFilter"), + def_glGetConvolutionFilter, + ); + fn_glGetConvolutionParameterfv = new Deno.UnsafeFnPointer( + proc("glGetConvolutionParameterfv"), + def_glGetConvolutionParameterfv, + ); + fn_glGetConvolutionParameteriv = new Deno.UnsafeFnPointer( + proc("glGetConvolutionParameteriv"), + def_glGetConvolutionParameteriv, + ); + fn_glGetSeparableFilter = new Deno.UnsafeFnPointer( + proc("glGetSeparableFilter"), + def_glGetSeparableFilter, + ); + fn_glSeparableFilter2D = new Deno.UnsafeFnPointer( + proc("glSeparableFilter2D"), + def_glSeparableFilter2D, + ); + fn_glGetHistogram = new Deno.UnsafeFnPointer( + proc("glGetHistogram"), + def_glGetHistogram, + ); + fn_glGetHistogramParameterfv = new Deno.UnsafeFnPointer( + proc("glGetHistogramParameterfv"), + def_glGetHistogramParameterfv, + ); + fn_glGetHistogramParameteriv = new Deno.UnsafeFnPointer( + proc("glGetHistogramParameteriv"), + def_glGetHistogramParameteriv, + ); + fn_glGetMinmax = new Deno.UnsafeFnPointer( + proc("glGetMinmax"), + def_glGetMinmax, + ); + fn_glGetMinmaxParameterfv = new Deno.UnsafeFnPointer( + proc("glGetMinmaxParameterfv"), + def_glGetMinmaxParameterfv, + ); + fn_glGetMinmaxParameteriv = new Deno.UnsafeFnPointer( + proc("glGetMinmaxParameteriv"), + def_glGetMinmaxParameteriv, + ); + fn_glHistogram = new Deno.UnsafeFnPointer( + proc("glHistogram"), + def_glHistogram, + ); fn_glMinmax = new Deno.UnsafeFnPointer(proc("glMinmax"), def_glMinmax); - fn_glResetHistogram = new Deno.UnsafeFnPointer(proc("glResetHistogram"), def_glResetHistogram); - fn_glResetMinmax = new Deno.UnsafeFnPointer(proc("glResetMinmax"), def_glResetMinmax); + fn_glResetHistogram = new Deno.UnsafeFnPointer( + proc("glResetHistogram"), + def_glResetHistogram, + ); + fn_glResetMinmax = new Deno.UnsafeFnPointer( + proc("glResetMinmax"), + def_glResetMinmax, + ); } diff --git a/api/ext/GL_ARB_indirect_parameters.ts b/api/ext/GL_ARB_indirect_parameters.ts index 2f09ca9..14e6239 100644 --- a/api/ext/GL_ARB_indirect_parameters.ts +++ b/api/ext/GL_ARB_indirect_parameters.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glMultiDrawArraysIndirectCountARB = { result: "void", } as const; -let fn_glMultiDrawArraysIndirectCountARB!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysIndirectCountARB!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysIndirectCountARB +>; export function MultiDrawArraysIndirectCountARB( mode: GLenum, @@ -93,7 +103,9 @@ export const def_glMultiDrawElementsIndirectCountARB = { result: "void", } as const; -let fn_glMultiDrawElementsIndirectCountARB!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsIndirectCountARB!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsIndirectCountARB +>; export function MultiDrawElementsIndirectCountARB( mode: GLenum, @@ -115,6 +127,12 @@ export function MultiDrawElementsIndirectCountARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMultiDrawArraysIndirectCountARB = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysIndirectCountARB"), def_glMultiDrawArraysIndirectCountARB); - fn_glMultiDrawElementsIndirectCountARB = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsIndirectCountARB"), def_glMultiDrawElementsIndirectCountARB); + fn_glMultiDrawArraysIndirectCountARB = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysIndirectCountARB"), + def_glMultiDrawArraysIndirectCountARB, + ); + fn_glMultiDrawElementsIndirectCountARB = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsIndirectCountARB"), + def_glMultiDrawElementsIndirectCountARB, + ); } diff --git a/api/ext/GL_ARB_instanced_arrays.ts b/api/ext/GL_ARB_instanced_arrays.ts index 97cc3a2..fa2619a 100644 --- a/api/ext/GL_ARB_instanced_arrays.ts +++ b/api/ext/GL_ARB_instanced_arrays.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glVertexAttribDivisorARB = { result: "void", } as const; -let fn_glVertexAttribDivisorARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisorARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisorARB +>; export function VertexAttribDivisorARB( index: GLuint, @@ -83,5 +93,8 @@ export function VertexAttribDivisorARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexAttribDivisorARB = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisorARB"), def_glVertexAttribDivisorARB); + fn_glVertexAttribDivisorARB = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisorARB"), + def_glVertexAttribDivisorARB, + ); } diff --git a/api/ext/GL_ARB_internalformat_query.ts b/api/ext/GL_ARB_internalformat_query.ts index 55b7e28..b588b62 100644 --- a/api/ext/GL_ARB_internalformat_query.ts +++ b/api/ext/GL_ARB_internalformat_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glGetInternalformativ = { result: "void", } as const; -let fn_glGetInternalformativ!: Deno.UnsafeFnPointer; +let fn_glGetInternalformativ!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformativ +>; export function GetInternalformativ( target: GLenum, @@ -89,5 +99,8 @@ export function GetInternalformativ( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetInternalformativ = new Deno.UnsafeFnPointer(proc("glGetInternalformativ"), def_glGetInternalformativ); + fn_glGetInternalformativ = new Deno.UnsafeFnPointer( + proc("glGetInternalformativ"), + def_glGetInternalformativ, + ); } diff --git a/api/ext/GL_ARB_internalformat_query2.ts b/api/ext/GL_ARB_internalformat_query2.ts index 034957c..4a107cc 100644 --- a/api/ext/GL_ARB_internalformat_query2.ts +++ b/api/ext/GL_ARB_internalformat_query2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -202,7 +210,9 @@ export const def_glGetInternalformati64v = { result: "void", } as const; -let fn_glGetInternalformati64v!: Deno.UnsafeFnPointer; +let fn_glGetInternalformati64v!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformati64v +>; export function GetInternalformati64v( target: GLenum, @@ -222,5 +232,8 @@ export function GetInternalformati64v( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetInternalformati64v = new Deno.UnsafeFnPointer(proc("glGetInternalformati64v"), def_glGetInternalformati64v); + fn_glGetInternalformati64v = new Deno.UnsafeFnPointer( + proc("glGetInternalformati64v"), + def_glGetInternalformati64v, + ); } diff --git a/api/ext/GL_ARB_invalidate_subdata.ts b/api/ext/GL_ARB_invalidate_subdata.ts index ec217a3..3ded793 100644 --- a/api/ext/GL_ARB_invalidate_subdata.ts +++ b/api/ext/GL_ARB_invalidate_subdata.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glInvalidateTexSubImage = { result: "void", } as const; -let fn_glInvalidateTexSubImage!: Deno.UnsafeFnPointer; +let fn_glInvalidateTexSubImage!: Deno.UnsafeFnPointer< + typeof def_glInvalidateTexSubImage +>; export function InvalidateTexSubImage( texture: GLuint, @@ -95,7 +105,9 @@ export const def_glInvalidateTexImage = { result: "void", } as const; -let fn_glInvalidateTexImage!: Deno.UnsafeFnPointer; +let fn_glInvalidateTexImage!: Deno.UnsafeFnPointer< + typeof def_glInvalidateTexImage +>; export function InvalidateTexImage( texture: GLuint, @@ -112,7 +124,9 @@ export const def_glInvalidateBufferSubData = { result: "void", } as const; -let fn_glInvalidateBufferSubData!: Deno.UnsafeFnPointer; +let fn_glInvalidateBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateBufferSubData +>; export function InvalidateBufferSubData( buffer: GLuint, @@ -131,7 +145,9 @@ export const def_glInvalidateBufferData = { result: "void", } as const; -let fn_glInvalidateBufferData!: Deno.UnsafeFnPointer; +let fn_glInvalidateBufferData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateBufferData +>; export function InvalidateBufferData( buffer: GLuint, @@ -146,7 +162,9 @@ export const def_glInvalidateFramebuffer = { result: "void", } as const; -let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateFramebuffer +>; export function InvalidateFramebuffer( target: GLenum, @@ -165,7 +183,9 @@ export const def_glInvalidateSubFramebuffer = { result: "void", } as const; -let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateSubFramebuffer +>; export function InvalidateSubFramebuffer( target: GLenum, @@ -189,10 +209,28 @@ export function InvalidateSubFramebuffer( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glInvalidateTexSubImage = new Deno.UnsafeFnPointer(proc("glInvalidateTexSubImage"), def_glInvalidateTexSubImage); - fn_glInvalidateTexImage = new Deno.UnsafeFnPointer(proc("glInvalidateTexImage"), def_glInvalidateTexImage); - fn_glInvalidateBufferSubData = new Deno.UnsafeFnPointer(proc("glInvalidateBufferSubData"), def_glInvalidateBufferSubData); - fn_glInvalidateBufferData = new Deno.UnsafeFnPointer(proc("glInvalidateBufferData"), def_glInvalidateBufferData); - fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateFramebuffer"), def_glInvalidateFramebuffer); - fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateSubFramebuffer"), def_glInvalidateSubFramebuffer); + fn_glInvalidateTexSubImage = new Deno.UnsafeFnPointer( + proc("glInvalidateTexSubImage"), + def_glInvalidateTexSubImage, + ); + fn_glInvalidateTexImage = new Deno.UnsafeFnPointer( + proc("glInvalidateTexImage"), + def_glInvalidateTexImage, + ); + fn_glInvalidateBufferSubData = new Deno.UnsafeFnPointer( + proc("glInvalidateBufferSubData"), + def_glInvalidateBufferSubData, + ); + fn_glInvalidateBufferData = new Deno.UnsafeFnPointer( + proc("glInvalidateBufferData"), + def_glInvalidateBufferData, + ); + fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateFramebuffer"), + def_glInvalidateFramebuffer, + ); + fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateSubFramebuffer"), + def_glInvalidateSubFramebuffer, + ); } diff --git a/api/ext/GL_ARB_map_buffer_alignment.ts b/api/ext/GL_ARB_map_buffer_alignment.ts index a2ed807..49d48a9 100644 --- a/api/ext/GL_ARB_map_buffer_alignment.ts +++ b/api/ext/GL_ARB_map_buffer_alignment.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_map_buffer_range.ts b/api/ext/GL_ARB_map_buffer_range.ts index 568abb9..757334d 100644 --- a/api/ext/GL_ARB_map_buffer_range.ts +++ b/api/ext/GL_ARB_map_buffer_range.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -95,7 +103,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -111,6 +121,12 @@ export function FlushMappedBufferRange( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); } diff --git a/api/ext/GL_ARB_matrix_palette.ts b/api/ext/GL_ARB_matrix_palette.ts index 69a7104..0ee3d96 100644 --- a/api/ext/GL_ARB_matrix_palette.ts +++ b/api/ext/GL_ARB_matrix_palette.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -78,7 +86,9 @@ export const def_glCurrentPaletteMatrixARB = { result: "void", } as const; -let fn_glCurrentPaletteMatrixARB!: Deno.UnsafeFnPointer; +let fn_glCurrentPaletteMatrixARB!: Deno.UnsafeFnPointer< + typeof def_glCurrentPaletteMatrixARB +>; export function CurrentPaletteMatrixARB( index: GLint, @@ -93,7 +103,9 @@ export const def_glMatrixIndexubvARB = { result: "void", } as const; -let fn_glMatrixIndexubvARB!: Deno.UnsafeFnPointer; +let fn_glMatrixIndexubvARB!: Deno.UnsafeFnPointer< + typeof def_glMatrixIndexubvARB +>; export function MatrixIndexubvARB( size: GLint, @@ -110,7 +122,9 @@ export const def_glMatrixIndexusvARB = { result: "void", } as const; -let fn_glMatrixIndexusvARB!: Deno.UnsafeFnPointer; +let fn_glMatrixIndexusvARB!: Deno.UnsafeFnPointer< + typeof def_glMatrixIndexusvARB +>; export function MatrixIndexusvARB( size: GLint, @@ -127,7 +141,9 @@ export const def_glMatrixIndexuivARB = { result: "void", } as const; -let fn_glMatrixIndexuivARB!: Deno.UnsafeFnPointer; +let fn_glMatrixIndexuivARB!: Deno.UnsafeFnPointer< + typeof def_glMatrixIndexuivARB +>; export function MatrixIndexuivARB( size: GLint, @@ -144,7 +160,9 @@ export const def_glMatrixIndexPointerARB = { result: "void", } as const; -let fn_glMatrixIndexPointerARB!: Deno.UnsafeFnPointer; +let fn_glMatrixIndexPointerARB!: Deno.UnsafeFnPointer< + typeof def_glMatrixIndexPointerARB +>; export function MatrixIndexPointerARB( size: GLint, @@ -162,9 +180,24 @@ export function MatrixIndexPointerARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCurrentPaletteMatrixARB = new Deno.UnsafeFnPointer(proc("glCurrentPaletteMatrixARB"), def_glCurrentPaletteMatrixARB); - fn_glMatrixIndexubvARB = new Deno.UnsafeFnPointer(proc("glMatrixIndexubvARB"), def_glMatrixIndexubvARB); - fn_glMatrixIndexusvARB = new Deno.UnsafeFnPointer(proc("glMatrixIndexusvARB"), def_glMatrixIndexusvARB); - fn_glMatrixIndexuivARB = new Deno.UnsafeFnPointer(proc("glMatrixIndexuivARB"), def_glMatrixIndexuivARB); - fn_glMatrixIndexPointerARB = new Deno.UnsafeFnPointer(proc("glMatrixIndexPointerARB"), def_glMatrixIndexPointerARB); + fn_glCurrentPaletteMatrixARB = new Deno.UnsafeFnPointer( + proc("glCurrentPaletteMatrixARB"), + def_glCurrentPaletteMatrixARB, + ); + fn_glMatrixIndexubvARB = new Deno.UnsafeFnPointer( + proc("glMatrixIndexubvARB"), + def_glMatrixIndexubvARB, + ); + fn_glMatrixIndexusvARB = new Deno.UnsafeFnPointer( + proc("glMatrixIndexusvARB"), + def_glMatrixIndexusvARB, + ); + fn_glMatrixIndexuivARB = new Deno.UnsafeFnPointer( + proc("glMatrixIndexuivARB"), + def_glMatrixIndexuivARB, + ); + fn_glMatrixIndexPointerARB = new Deno.UnsafeFnPointer( + proc("glMatrixIndexPointerARB"), + def_glMatrixIndexPointerARB, + ); } diff --git a/api/ext/GL_ARB_multi_bind.ts b/api/ext/GL_ARB_multi_bind.ts index 79470f7..6e2e842 100644 --- a/api/ext/GL_ARB_multi_bind.ts +++ b/api/ext/GL_ARB_multi_bind.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -150,7 +158,9 @@ export const def_glBindImageTextures = { result: "void", } as const; -let fn_glBindImageTextures!: Deno.UnsafeFnPointer; +let fn_glBindImageTextures!: Deno.UnsafeFnPointer< + typeof def_glBindImageTextures +>; export function BindImageTextures( first: GLuint, @@ -169,7 +179,9 @@ export const def_glBindVertexBuffers = { result: "void", } as const; -let fn_glBindVertexBuffers!: Deno.UnsafeFnPointer; +let fn_glBindVertexBuffers!: Deno.UnsafeFnPointer< + typeof def_glBindVertexBuffers +>; export function BindVertexBuffers( first: GLuint, @@ -189,10 +201,28 @@ export function BindVertexBuffers( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindBuffersBase = new Deno.UnsafeFnPointer(proc("glBindBuffersBase"), def_glBindBuffersBase); - fn_glBindBuffersRange = new Deno.UnsafeFnPointer(proc("glBindBuffersRange"), def_glBindBuffersRange); - fn_glBindTextures = new Deno.UnsafeFnPointer(proc("glBindTextures"), def_glBindTextures); - fn_glBindSamplers = new Deno.UnsafeFnPointer(proc("glBindSamplers"), def_glBindSamplers); - fn_glBindImageTextures = new Deno.UnsafeFnPointer(proc("glBindImageTextures"), def_glBindImageTextures); - fn_glBindVertexBuffers = new Deno.UnsafeFnPointer(proc("glBindVertexBuffers"), def_glBindVertexBuffers); + fn_glBindBuffersBase = new Deno.UnsafeFnPointer( + proc("glBindBuffersBase"), + def_glBindBuffersBase, + ); + fn_glBindBuffersRange = new Deno.UnsafeFnPointer( + proc("glBindBuffersRange"), + def_glBindBuffersRange, + ); + fn_glBindTextures = new Deno.UnsafeFnPointer( + proc("glBindTextures"), + def_glBindTextures, + ); + fn_glBindSamplers = new Deno.UnsafeFnPointer( + proc("glBindSamplers"), + def_glBindSamplers, + ); + fn_glBindImageTextures = new Deno.UnsafeFnPointer( + proc("glBindImageTextures"), + def_glBindImageTextures, + ); + fn_glBindVertexBuffers = new Deno.UnsafeFnPointer( + proc("glBindVertexBuffers"), + def_glBindVertexBuffers, + ); } diff --git a/api/ext/GL_ARB_multi_draw_indirect.ts b/api/ext/GL_ARB_multi_draw_indirect.ts index d445ea8..4cf269c 100644 --- a/api/ext/GL_ARB_multi_draw_indirect.ts +++ b/api/ext/GL_ARB_multi_draw_indirect.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glMultiDrawArraysIndirect = { result: "void", } as const; -let fn_glMultiDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysIndirect +>; export function MultiDrawArraysIndirect( mode: GLenum, @@ -87,7 +97,9 @@ export const def_glMultiDrawElementsIndirect = { result: "void", } as const; -let fn_glMultiDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsIndirect +>; export function MultiDrawElementsIndirect( mode: GLenum, @@ -107,6 +119,12 @@ export function MultiDrawElementsIndirect( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMultiDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysIndirect"), def_glMultiDrawArraysIndirect); - fn_glMultiDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsIndirect"), def_glMultiDrawElementsIndirect); + fn_glMultiDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysIndirect"), + def_glMultiDrawArraysIndirect, + ); + fn_glMultiDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsIndirect"), + def_glMultiDrawElementsIndirect, + ); } diff --git a/api/ext/GL_ARB_multisample.ts b/api/ext/GL_ARB_multisample.ts index 6c4001d..52fffa5 100644 --- a/api/ext/GL_ARB_multisample.ts +++ b/api/ext/GL_ARB_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -77,7 +85,9 @@ export const def_glSampleCoverageARB = { result: "void", } as const; -let fn_glSampleCoverageARB!: Deno.UnsafeFnPointer; +let fn_glSampleCoverageARB!: Deno.UnsafeFnPointer< + typeof def_glSampleCoverageARB +>; export function SampleCoverageARB( value: GLfloat, @@ -91,5 +101,8 @@ export function SampleCoverageARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glSampleCoverageARB = new Deno.UnsafeFnPointer(proc("glSampleCoverageARB"), def_glSampleCoverageARB); + fn_glSampleCoverageARB = new Deno.UnsafeFnPointer( + proc("glSampleCoverageARB"), + def_glSampleCoverageARB, + ); } diff --git a/api/ext/GL_ARB_multitexture.ts b/api/ext/GL_ARB_multitexture.ts index c769f77..c6ae90d 100644 --- a/api/ext/GL_ARB_multitexture.ts +++ b/api/ext/GL_ARB_multitexture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -118,7 +126,9 @@ export const def_glClientActiveTextureARB = { result: "void", } as const; -let fn_glClientActiveTextureARB!: Deno.UnsafeFnPointer; +let fn_glClientActiveTextureARB!: Deno.UnsafeFnPointer< + typeof def_glClientActiveTextureARB +>; export function ClientActiveTextureARB( texture: GLenum, @@ -133,7 +143,9 @@ export const def_glMultiTexCoord1dARB = { result: "void", } as const; -let fn_glMultiTexCoord1dARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1dARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1dARB +>; export function MultiTexCoord1dARB( target: GLenum, @@ -150,7 +162,9 @@ export const def_glMultiTexCoord1dvARB = { result: "void", } as const; -let fn_glMultiTexCoord1dvARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1dvARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1dvARB +>; export function MultiTexCoord1dvARB( target: GLenum, @@ -167,7 +181,9 @@ export const def_glMultiTexCoord1fARB = { result: "void", } as const; -let fn_glMultiTexCoord1fARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1fARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1fARB +>; export function MultiTexCoord1fARB( target: GLenum, @@ -184,7 +200,9 @@ export const def_glMultiTexCoord1fvARB = { result: "void", } as const; -let fn_glMultiTexCoord1fvARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1fvARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1fvARB +>; export function MultiTexCoord1fvARB( target: GLenum, @@ -201,7 +219,9 @@ export const def_glMultiTexCoord1iARB = { result: "void", } as const; -let fn_glMultiTexCoord1iARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1iARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1iARB +>; export function MultiTexCoord1iARB( target: GLenum, @@ -218,7 +238,9 @@ export const def_glMultiTexCoord1ivARB = { result: "void", } as const; -let fn_glMultiTexCoord1ivARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1ivARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1ivARB +>; export function MultiTexCoord1ivARB( target: GLenum, @@ -235,7 +257,9 @@ export const def_glMultiTexCoord1sARB = { result: "void", } as const; -let fn_glMultiTexCoord1sARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1sARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1sARB +>; export function MultiTexCoord1sARB( target: GLenum, @@ -252,7 +276,9 @@ export const def_glMultiTexCoord1svARB = { result: "void", } as const; -let fn_glMultiTexCoord1svARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1svARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1svARB +>; export function MultiTexCoord1svARB( target: GLenum, @@ -269,7 +295,9 @@ export const def_glMultiTexCoord2dARB = { result: "void", } as const; -let fn_glMultiTexCoord2dARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2dARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2dARB +>; export function MultiTexCoord2dARB( target: GLenum, @@ -288,7 +316,9 @@ export const def_glMultiTexCoord2dvARB = { result: "void", } as const; -let fn_glMultiTexCoord2dvARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2dvARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2dvARB +>; export function MultiTexCoord2dvARB( target: GLenum, @@ -305,7 +335,9 @@ export const def_glMultiTexCoord2fARB = { result: "void", } as const; -let fn_glMultiTexCoord2fARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2fARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2fARB +>; export function MultiTexCoord2fARB( target: GLenum, @@ -324,7 +356,9 @@ export const def_glMultiTexCoord2fvARB = { result: "void", } as const; -let fn_glMultiTexCoord2fvARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2fvARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2fvARB +>; export function MultiTexCoord2fvARB( target: GLenum, @@ -341,7 +375,9 @@ export const def_glMultiTexCoord2iARB = { result: "void", } as const; -let fn_glMultiTexCoord2iARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2iARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2iARB +>; export function MultiTexCoord2iARB( target: GLenum, @@ -360,7 +396,9 @@ export const def_glMultiTexCoord2ivARB = { result: "void", } as const; -let fn_glMultiTexCoord2ivARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2ivARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2ivARB +>; export function MultiTexCoord2ivARB( target: GLenum, @@ -377,7 +415,9 @@ export const def_glMultiTexCoord2sARB = { result: "void", } as const; -let fn_glMultiTexCoord2sARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2sARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2sARB +>; export function MultiTexCoord2sARB( target: GLenum, @@ -396,7 +436,9 @@ export const def_glMultiTexCoord2svARB = { result: "void", } as const; -let fn_glMultiTexCoord2svARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2svARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2svARB +>; export function MultiTexCoord2svARB( target: GLenum, @@ -413,7 +455,9 @@ export const def_glMultiTexCoord3dARB = { result: "void", } as const; -let fn_glMultiTexCoord3dARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3dARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3dARB +>; export function MultiTexCoord3dARB( target: GLenum, @@ -434,7 +478,9 @@ export const def_glMultiTexCoord3dvARB = { result: "void", } as const; -let fn_glMultiTexCoord3dvARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3dvARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3dvARB +>; export function MultiTexCoord3dvARB( target: GLenum, @@ -451,7 +497,9 @@ export const def_glMultiTexCoord3fARB = { result: "void", } as const; -let fn_glMultiTexCoord3fARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3fARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3fARB +>; export function MultiTexCoord3fARB( target: GLenum, @@ -472,7 +520,9 @@ export const def_glMultiTexCoord3fvARB = { result: "void", } as const; -let fn_glMultiTexCoord3fvARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3fvARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3fvARB +>; export function MultiTexCoord3fvARB( target: GLenum, @@ -489,7 +539,9 @@ export const def_glMultiTexCoord3iARB = { result: "void", } as const; -let fn_glMultiTexCoord3iARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3iARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3iARB +>; export function MultiTexCoord3iARB( target: GLenum, @@ -510,7 +562,9 @@ export const def_glMultiTexCoord3ivARB = { result: "void", } as const; -let fn_glMultiTexCoord3ivARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3ivARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3ivARB +>; export function MultiTexCoord3ivARB( target: GLenum, @@ -527,7 +581,9 @@ export const def_glMultiTexCoord3sARB = { result: "void", } as const; -let fn_glMultiTexCoord3sARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3sARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3sARB +>; export function MultiTexCoord3sARB( target: GLenum, @@ -548,7 +604,9 @@ export const def_glMultiTexCoord3svARB = { result: "void", } as const; -let fn_glMultiTexCoord3svARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3svARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3svARB +>; export function MultiTexCoord3svARB( target: GLenum, @@ -565,7 +623,9 @@ export const def_glMultiTexCoord4dARB = { result: "void", } as const; -let fn_glMultiTexCoord4dARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4dARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4dARB +>; export function MultiTexCoord4dARB( target: GLenum, @@ -588,7 +648,9 @@ export const def_glMultiTexCoord4dvARB = { result: "void", } as const; -let fn_glMultiTexCoord4dvARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4dvARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4dvARB +>; export function MultiTexCoord4dvARB( target: GLenum, @@ -605,7 +667,9 @@ export const def_glMultiTexCoord4fARB = { result: "void", } as const; -let fn_glMultiTexCoord4fARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4fARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4fARB +>; export function MultiTexCoord4fARB( target: GLenum, @@ -628,7 +692,9 @@ export const def_glMultiTexCoord4fvARB = { result: "void", } as const; -let fn_glMultiTexCoord4fvARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4fvARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4fvARB +>; export function MultiTexCoord4fvARB( target: GLenum, @@ -645,7 +711,9 @@ export const def_glMultiTexCoord4iARB = { result: "void", } as const; -let fn_glMultiTexCoord4iARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4iARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4iARB +>; export function MultiTexCoord4iARB( target: GLenum, @@ -668,7 +736,9 @@ export const def_glMultiTexCoord4ivARB = { result: "void", } as const; -let fn_glMultiTexCoord4ivARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4ivARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4ivARB +>; export function MultiTexCoord4ivARB( target: GLenum, @@ -685,7 +755,9 @@ export const def_glMultiTexCoord4sARB = { result: "void", } as const; -let fn_glMultiTexCoord4sARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4sARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4sARB +>; export function MultiTexCoord4sARB( target: GLenum, @@ -708,7 +780,9 @@ export const def_glMultiTexCoord4svARB = { result: "void", } as const; -let fn_glMultiTexCoord4svARB!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4svARB!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4svARB +>; export function MultiTexCoord4svARB( target: GLenum, @@ -722,38 +796,140 @@ export function MultiTexCoord4svARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glActiveTextureARB = new Deno.UnsafeFnPointer(proc("glActiveTextureARB"), def_glActiveTextureARB); - fn_glClientActiveTextureARB = new Deno.UnsafeFnPointer(proc("glClientActiveTextureARB"), def_glClientActiveTextureARB); - fn_glMultiTexCoord1dARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1dARB"), def_glMultiTexCoord1dARB); - fn_glMultiTexCoord1dvARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1dvARB"), def_glMultiTexCoord1dvARB); - fn_glMultiTexCoord1fARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1fARB"), def_glMultiTexCoord1fARB); - fn_glMultiTexCoord1fvARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1fvARB"), def_glMultiTexCoord1fvARB); - fn_glMultiTexCoord1iARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1iARB"), def_glMultiTexCoord1iARB); - fn_glMultiTexCoord1ivARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1ivARB"), def_glMultiTexCoord1ivARB); - fn_glMultiTexCoord1sARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1sARB"), def_glMultiTexCoord1sARB); - fn_glMultiTexCoord1svARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1svARB"), def_glMultiTexCoord1svARB); - fn_glMultiTexCoord2dARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2dARB"), def_glMultiTexCoord2dARB); - fn_glMultiTexCoord2dvARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2dvARB"), def_glMultiTexCoord2dvARB); - fn_glMultiTexCoord2fARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2fARB"), def_glMultiTexCoord2fARB); - fn_glMultiTexCoord2fvARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2fvARB"), def_glMultiTexCoord2fvARB); - fn_glMultiTexCoord2iARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2iARB"), def_glMultiTexCoord2iARB); - fn_glMultiTexCoord2ivARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2ivARB"), def_glMultiTexCoord2ivARB); - fn_glMultiTexCoord2sARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2sARB"), def_glMultiTexCoord2sARB); - fn_glMultiTexCoord2svARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2svARB"), def_glMultiTexCoord2svARB); - fn_glMultiTexCoord3dARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3dARB"), def_glMultiTexCoord3dARB); - fn_glMultiTexCoord3dvARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3dvARB"), def_glMultiTexCoord3dvARB); - fn_glMultiTexCoord3fARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3fARB"), def_glMultiTexCoord3fARB); - fn_glMultiTexCoord3fvARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3fvARB"), def_glMultiTexCoord3fvARB); - fn_glMultiTexCoord3iARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3iARB"), def_glMultiTexCoord3iARB); - fn_glMultiTexCoord3ivARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3ivARB"), def_glMultiTexCoord3ivARB); - fn_glMultiTexCoord3sARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3sARB"), def_glMultiTexCoord3sARB); - fn_glMultiTexCoord3svARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3svARB"), def_glMultiTexCoord3svARB); - fn_glMultiTexCoord4dARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4dARB"), def_glMultiTexCoord4dARB); - fn_glMultiTexCoord4dvARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4dvARB"), def_glMultiTexCoord4dvARB); - fn_glMultiTexCoord4fARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4fARB"), def_glMultiTexCoord4fARB); - fn_glMultiTexCoord4fvARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4fvARB"), def_glMultiTexCoord4fvARB); - fn_glMultiTexCoord4iARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4iARB"), def_glMultiTexCoord4iARB); - fn_glMultiTexCoord4ivARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4ivARB"), def_glMultiTexCoord4ivARB); - fn_glMultiTexCoord4sARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4sARB"), def_glMultiTexCoord4sARB); - fn_glMultiTexCoord4svARB = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4svARB"), def_glMultiTexCoord4svARB); + fn_glActiveTextureARB = new Deno.UnsafeFnPointer( + proc("glActiveTextureARB"), + def_glActiveTextureARB, + ); + fn_glClientActiveTextureARB = new Deno.UnsafeFnPointer( + proc("glClientActiveTextureARB"), + def_glClientActiveTextureARB, + ); + fn_glMultiTexCoord1dARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1dARB"), + def_glMultiTexCoord1dARB, + ); + fn_glMultiTexCoord1dvARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1dvARB"), + def_glMultiTexCoord1dvARB, + ); + fn_glMultiTexCoord1fARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1fARB"), + def_glMultiTexCoord1fARB, + ); + fn_glMultiTexCoord1fvARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1fvARB"), + def_glMultiTexCoord1fvARB, + ); + fn_glMultiTexCoord1iARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1iARB"), + def_glMultiTexCoord1iARB, + ); + fn_glMultiTexCoord1ivARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1ivARB"), + def_glMultiTexCoord1ivARB, + ); + fn_glMultiTexCoord1sARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1sARB"), + def_glMultiTexCoord1sARB, + ); + fn_glMultiTexCoord1svARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1svARB"), + def_glMultiTexCoord1svARB, + ); + fn_glMultiTexCoord2dARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2dARB"), + def_glMultiTexCoord2dARB, + ); + fn_glMultiTexCoord2dvARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2dvARB"), + def_glMultiTexCoord2dvARB, + ); + fn_glMultiTexCoord2fARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2fARB"), + def_glMultiTexCoord2fARB, + ); + fn_glMultiTexCoord2fvARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2fvARB"), + def_glMultiTexCoord2fvARB, + ); + fn_glMultiTexCoord2iARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2iARB"), + def_glMultiTexCoord2iARB, + ); + fn_glMultiTexCoord2ivARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2ivARB"), + def_glMultiTexCoord2ivARB, + ); + fn_glMultiTexCoord2sARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2sARB"), + def_glMultiTexCoord2sARB, + ); + fn_glMultiTexCoord2svARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2svARB"), + def_glMultiTexCoord2svARB, + ); + fn_glMultiTexCoord3dARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3dARB"), + def_glMultiTexCoord3dARB, + ); + fn_glMultiTexCoord3dvARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3dvARB"), + def_glMultiTexCoord3dvARB, + ); + fn_glMultiTexCoord3fARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3fARB"), + def_glMultiTexCoord3fARB, + ); + fn_glMultiTexCoord3fvARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3fvARB"), + def_glMultiTexCoord3fvARB, + ); + fn_glMultiTexCoord3iARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3iARB"), + def_glMultiTexCoord3iARB, + ); + fn_glMultiTexCoord3ivARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3ivARB"), + def_glMultiTexCoord3ivARB, + ); + fn_glMultiTexCoord3sARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3sARB"), + def_glMultiTexCoord3sARB, + ); + fn_glMultiTexCoord3svARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3svARB"), + def_glMultiTexCoord3svARB, + ); + fn_glMultiTexCoord4dARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4dARB"), + def_glMultiTexCoord4dARB, + ); + fn_glMultiTexCoord4dvARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4dvARB"), + def_glMultiTexCoord4dvARB, + ); + fn_glMultiTexCoord4fARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4fARB"), + def_glMultiTexCoord4fARB, + ); + fn_glMultiTexCoord4fvARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4fvARB"), + def_glMultiTexCoord4fvARB, + ); + fn_glMultiTexCoord4iARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4iARB"), + def_glMultiTexCoord4iARB, + ); + fn_glMultiTexCoord4ivARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4ivARB"), + def_glMultiTexCoord4ivARB, + ); + fn_glMultiTexCoord4sARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4sARB"), + def_glMultiTexCoord4sARB, + ); + fn_glMultiTexCoord4svARB = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4svARB"), + def_glMultiTexCoord4svARB, + ); } diff --git a/api/ext/GL_ARB_occlusion_query.ts b/api/ext/GL_ARB_occlusion_query.ts index 37934a3..c58e58e 100644 --- a/api/ext/GL_ARB_occlusion_query.ts +++ b/api/ext/GL_ARB_occlusion_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -173,7 +181,9 @@ export const def_glGetQueryObjectivARB = { result: "void", } as const; -let fn_glGetQueryObjectivARB!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectivARB!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectivARB +>; export function GetQueryObjectivARB( id: GLuint, @@ -192,7 +202,9 @@ export const def_glGetQueryObjectuivARB = { result: "void", } as const; -let fn_glGetQueryObjectuivARB!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuivARB!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuivARB +>; export function GetQueryObjectuivARB( id: GLuint, @@ -208,12 +220,36 @@ export function GetQueryObjectuivARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGenQueriesARB = new Deno.UnsafeFnPointer(proc("glGenQueriesARB"), def_glGenQueriesARB); - fn_glDeleteQueriesARB = new Deno.UnsafeFnPointer(proc("glDeleteQueriesARB"), def_glDeleteQueriesARB); - fn_glIsQueryARB = new Deno.UnsafeFnPointer(proc("glIsQueryARB"), def_glIsQueryARB); - fn_glBeginQueryARB = new Deno.UnsafeFnPointer(proc("glBeginQueryARB"), def_glBeginQueryARB); - fn_glEndQueryARB = new Deno.UnsafeFnPointer(proc("glEndQueryARB"), def_glEndQueryARB); - fn_glGetQueryivARB = new Deno.UnsafeFnPointer(proc("glGetQueryivARB"), def_glGetQueryivARB); - fn_glGetQueryObjectivARB = new Deno.UnsafeFnPointer(proc("glGetQueryObjectivARB"), def_glGetQueryObjectivARB); - fn_glGetQueryObjectuivARB = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuivARB"), def_glGetQueryObjectuivARB); + fn_glGenQueriesARB = new Deno.UnsafeFnPointer( + proc("glGenQueriesARB"), + def_glGenQueriesARB, + ); + fn_glDeleteQueriesARB = new Deno.UnsafeFnPointer( + proc("glDeleteQueriesARB"), + def_glDeleteQueriesARB, + ); + fn_glIsQueryARB = new Deno.UnsafeFnPointer( + proc("glIsQueryARB"), + def_glIsQueryARB, + ); + fn_glBeginQueryARB = new Deno.UnsafeFnPointer( + proc("glBeginQueryARB"), + def_glBeginQueryARB, + ); + fn_glEndQueryARB = new Deno.UnsafeFnPointer( + proc("glEndQueryARB"), + def_glEndQueryARB, + ); + fn_glGetQueryivARB = new Deno.UnsafeFnPointer( + proc("glGetQueryivARB"), + def_glGetQueryivARB, + ); + fn_glGetQueryObjectivARB = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectivARB"), + def_glGetQueryObjectivARB, + ); + fn_glGetQueryObjectuivARB = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuivARB"), + def_glGetQueryObjectuivARB, + ); } diff --git a/api/ext/GL_ARB_occlusion_query2.ts b/api/ext/GL_ARB_occlusion_query2.ts index a24818b..5c3b09f 100644 --- a/api/ext/GL_ARB_occlusion_query2.ts +++ b/api/ext/GL_ARB_occlusion_query2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_parallel_shader_compile.ts b/api/ext/GL_ARB_parallel_shader_compile.ts index 8521ae8..6c21b5a 100644 --- a/api/ext/GL_ARB_parallel_shader_compile.ts +++ b/api/ext/GL_ARB_parallel_shader_compile.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glMaxShaderCompilerThreadsARB = { result: "void", } as const; -let fn_glMaxShaderCompilerThreadsARB!: Deno.UnsafeFnPointer; +let fn_glMaxShaderCompilerThreadsARB!: Deno.UnsafeFnPointer< + typeof def_glMaxShaderCompilerThreadsARB +>; export function MaxShaderCompilerThreadsARB( count: GLuint, @@ -82,5 +92,8 @@ export function MaxShaderCompilerThreadsARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMaxShaderCompilerThreadsARB = new Deno.UnsafeFnPointer(proc("glMaxShaderCompilerThreadsARB"), def_glMaxShaderCompilerThreadsARB); + fn_glMaxShaderCompilerThreadsARB = new Deno.UnsafeFnPointer( + proc("glMaxShaderCompilerThreadsARB"), + def_glMaxShaderCompilerThreadsARB, + ); } diff --git a/api/ext/GL_ARB_pipeline_statistics_query.ts b/api/ext/GL_ARB_pipeline_statistics_query.ts index 3a61a22..2cb10a4 100644 --- a/api/ext/GL_ARB_pipeline_statistics_query.ts +++ b/api/ext/GL_ARB_pipeline_statistics_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_pixel_buffer_object.ts b/api/ext/GL_ARB_pixel_buffer_object.ts index 82504ce..5365dd2 100644 --- a/api/ext/GL_ARB_pixel_buffer_object.ts +++ b/api/ext/GL_ARB_pixel_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_point_parameters.ts b/api/ext/GL_ARB_point_parameters.ts index b4d5fd8..369151c 100644 --- a/api/ext/GL_ARB_point_parameters.ts +++ b/api/ext/GL_ARB_point_parameters.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glPointParameterfARB = { result: "void", } as const; -let fn_glPointParameterfARB!: Deno.UnsafeFnPointer; +let fn_glPointParameterfARB!: Deno.UnsafeFnPointer< + typeof def_glPointParameterfARB +>; export function PointParameterfARB( pname: GLenum, @@ -89,7 +99,9 @@ export const def_glPointParameterfvARB = { result: "void", } as const; -let fn_glPointParameterfvARB!: Deno.UnsafeFnPointer; +let fn_glPointParameterfvARB!: Deno.UnsafeFnPointer< + typeof def_glPointParameterfvARB +>; export function PointParameterfvARB( pname: GLenum, @@ -103,6 +115,12 @@ export function PointParameterfvARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPointParameterfARB = new Deno.UnsafeFnPointer(proc("glPointParameterfARB"), def_glPointParameterfARB); - fn_glPointParameterfvARB = new Deno.UnsafeFnPointer(proc("glPointParameterfvARB"), def_glPointParameterfvARB); + fn_glPointParameterfARB = new Deno.UnsafeFnPointer( + proc("glPointParameterfARB"), + def_glPointParameterfARB, + ); + fn_glPointParameterfvARB = new Deno.UnsafeFnPointer( + proc("glPointParameterfvARB"), + def_glPointParameterfvARB, + ); } diff --git a/api/ext/GL_ARB_point_sprite.ts b/api/ext/GL_ARB_point_sprite.ts index 82b3e62..ce9f32d 100644 --- a/api/ext/GL_ARB_point_sprite.ts +++ b/api/ext/GL_ARB_point_sprite.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_polygon_offset_clamp.ts b/api/ext/GL_ARB_polygon_offset_clamp.ts index 86ccf22..ca5dc5e 100644 --- a/api/ext/GL_ARB_polygon_offset_clamp.ts +++ b/api/ext/GL_ARB_polygon_offset_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glPolygonOffsetClamp = { result: "void", } as const; -let fn_glPolygonOffsetClamp!: Deno.UnsafeFnPointer; +let fn_glPolygonOffsetClamp!: Deno.UnsafeFnPointer< + typeof def_glPolygonOffsetClamp +>; export function PolygonOffsetClamp( factor: GLfloat, @@ -85,5 +95,8 @@ export function PolygonOffsetClamp( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPolygonOffsetClamp = new Deno.UnsafeFnPointer(proc("glPolygonOffsetClamp"), def_glPolygonOffsetClamp); + fn_glPolygonOffsetClamp = new Deno.UnsafeFnPointer( + proc("glPolygonOffsetClamp"), + def_glPolygonOffsetClamp, + ); } diff --git a/api/ext/GL_ARB_post_depth_coverage.ts b/api/ext/GL_ARB_post_depth_coverage.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_post_depth_coverage.ts +++ b/api/ext/GL_ARB_post_depth_coverage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_program_interface_query.ts b/api/ext/GL_ARB_program_interface_query.ts index 6f1140a..55ee133 100644 --- a/api/ext/GL_ARB_program_interface_query.ts +++ b/api/ext/GL_ARB_program_interface_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -118,7 +126,9 @@ export const def_glGetProgramInterfaceiv = { result: "void", } as const; -let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInterfaceiv +>; export function GetProgramInterfaceiv( program: GLuint, @@ -139,7 +149,9 @@ export const def_glGetProgramResourceIndex = { result: "u32", } as const; -let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceIndex +>; export function GetProgramResourceIndex( program: GLuint, @@ -158,7 +170,9 @@ export const def_glGetProgramResourceName = { result: "void", } as const; -let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceName +>; export function GetProgramResourceName( program: GLuint, @@ -183,7 +197,9 @@ export const def_glGetProgramResourceiv = { result: "void", } as const; -let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceiv +>; export function GetProgramResourceiv( program: GLuint, @@ -212,7 +228,9 @@ export const def_glGetProgramResourceLocation = { result: "i32", } as const; -let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocation +>; export function GetProgramResourceLocation( program: GLuint, @@ -231,7 +249,9 @@ export const def_glGetProgramResourceLocationIndex = { result: "i32", } as const; -let fn_glGetProgramResourceLocationIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocationIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocationIndex +>; export function GetProgramResourceLocationIndex( program: GLuint, @@ -247,10 +267,28 @@ export function GetProgramResourceLocationIndex( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer(proc("glGetProgramInterfaceiv"), def_glGetProgramInterfaceiv); - fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceIndex"), def_glGetProgramResourceIndex); - fn_glGetProgramResourceName = new Deno.UnsafeFnPointer(proc("glGetProgramResourceName"), def_glGetProgramResourceName); - fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer(proc("glGetProgramResourceiv"), def_glGetProgramResourceiv); - fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocation"), def_glGetProgramResourceLocation); - fn_glGetProgramResourceLocationIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocationIndex"), def_glGetProgramResourceLocationIndex); + fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramInterfaceiv"), + def_glGetProgramInterfaceiv, + ); + fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceIndex"), + def_glGetProgramResourceIndex, + ); + fn_glGetProgramResourceName = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceName"), + def_glGetProgramResourceName, + ); + fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceiv"), + def_glGetProgramResourceiv, + ); + fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocation"), + def_glGetProgramResourceLocation, + ); + fn_glGetProgramResourceLocationIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocationIndex"), + def_glGetProgramResourceLocationIndex, + ); } diff --git a/api/ext/GL_ARB_provoking_vertex.ts b/api/ext/GL_ARB_provoking_vertex.ts index 3ab2a5b..b20e7db 100644 --- a/api/ext/GL_ARB_provoking_vertex.ts +++ b/api/ext/GL_ARB_provoking_vertex.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,5 +92,8 @@ export function ProvokingVertex( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glProvokingVertex = new Deno.UnsafeFnPointer(proc("glProvokingVertex"), def_glProvokingVertex); + fn_glProvokingVertex = new Deno.UnsafeFnPointer( + proc("glProvokingVertex"), + def_glProvokingVertex, + ); } diff --git a/api/ext/GL_ARB_query_buffer_object.ts b/api/ext/GL_ARB_query_buffer_object.ts index dc2483c..8d3ff1e 100644 --- a/api/ext/GL_ARB_query_buffer_object.ts +++ b/api/ext/GL_ARB_query_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_robust_buffer_access_behavior.ts b/api/ext/GL_ARB_robust_buffer_access_behavior.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_robust_buffer_access_behavior.ts +++ b/api/ext/GL_ARB_robust_buffer_access_behavior.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_robustness.ts b/api/ext/GL_ARB_robustness.ts index 2f41674..a7776f5 100644 --- a/api/ext/GL_ARB_robustness.ts +++ b/api/ext/GL_ARB_robustness.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -76,7 +84,9 @@ export const def_glGetGraphicsResetStatusARB = { result: "u32", } as const; -let fn_glGetGraphicsResetStatusARB!: Deno.UnsafeFnPointer; +let fn_glGetGraphicsResetStatusARB!: Deno.UnsafeFnPointer< + typeof def_glGetGraphicsResetStatusARB +>; export function GetGraphicsResetStatusARB(): GLenum { return fn_glGetGraphicsResetStatusARB.call(); @@ -141,7 +151,9 @@ export const def_glGetnCompressedTexImageARB = { result: "void", } as const; -let fn_glGetnCompressedTexImageARB!: Deno.UnsafeFnPointer; +let fn_glGetnCompressedTexImageARB!: Deno.UnsafeFnPointer< + typeof def_glGetnCompressedTexImageARB +>; export function GetnCompressedTexImageARB( target: GLenum, @@ -204,7 +216,9 @@ export const def_glGetnUniformuivARB = { result: "void", } as const; -let fn_glGetnUniformuivARB!: Deno.UnsafeFnPointer; +let fn_glGetnUniformuivARB!: Deno.UnsafeFnPointer< + typeof def_glGetnUniformuivARB +>; export function GetnUniformuivARB( program: GLuint, @@ -309,7 +323,9 @@ export const def_glGetnPixelMapfvARB = { result: "void", } as const; -let fn_glGetnPixelMapfvARB!: Deno.UnsafeFnPointer; +let fn_glGetnPixelMapfvARB!: Deno.UnsafeFnPointer< + typeof def_glGetnPixelMapfvARB +>; export function GetnPixelMapfvARB( map: GLenum, @@ -328,7 +344,9 @@ export const def_glGetnPixelMapuivARB = { result: "void", } as const; -let fn_glGetnPixelMapuivARB!: Deno.UnsafeFnPointer; +let fn_glGetnPixelMapuivARB!: Deno.UnsafeFnPointer< + typeof def_glGetnPixelMapuivARB +>; export function GetnPixelMapuivARB( map: GLenum, @@ -347,7 +365,9 @@ export const def_glGetnPixelMapusvARB = { result: "void", } as const; -let fn_glGetnPixelMapusvARB!: Deno.UnsafeFnPointer; +let fn_glGetnPixelMapusvARB!: Deno.UnsafeFnPointer< + typeof def_glGetnPixelMapusvARB +>; export function GetnPixelMapusvARB( map: GLenum, @@ -366,7 +386,9 @@ export const def_glGetnPolygonStippleARB = { result: "void", } as const; -let fn_glGetnPolygonStippleARB!: Deno.UnsafeFnPointer; +let fn_glGetnPolygonStippleARB!: Deno.UnsafeFnPointer< + typeof def_glGetnPolygonStippleARB +>; export function GetnPolygonStippleARB( bufSize: GLsizei, @@ -383,7 +405,9 @@ export const def_glGetnColorTableARB = { result: "void", } as const; -let fn_glGetnColorTableARB!: Deno.UnsafeFnPointer; +let fn_glGetnColorTableARB!: Deno.UnsafeFnPointer< + typeof def_glGetnColorTableARB +>; export function GetnColorTableARB( target: GLenum, @@ -406,7 +430,9 @@ export const def_glGetnConvolutionFilterARB = { result: "void", } as const; -let fn_glGetnConvolutionFilterARB!: Deno.UnsafeFnPointer; +let fn_glGetnConvolutionFilterARB!: Deno.UnsafeFnPointer< + typeof def_glGetnConvolutionFilterARB +>; export function GetnConvolutionFilterARB( target: GLenum, @@ -429,7 +455,9 @@ export const def_glGetnSeparableFilterARB = { result: "void", } as const; -let fn_glGetnSeparableFilterARB!: Deno.UnsafeFnPointer; +let fn_glGetnSeparableFilterARB!: Deno.UnsafeFnPointer< + typeof def_glGetnSeparableFilterARB +>; export function GetnSeparableFilterARB( target: GLenum, @@ -505,24 +533,84 @@ export function GetnMinmaxARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetGraphicsResetStatusARB = new Deno.UnsafeFnPointer(proc("glGetGraphicsResetStatusARB"), def_glGetGraphicsResetStatusARB); - fn_glGetnTexImageARB = new Deno.UnsafeFnPointer(proc("glGetnTexImageARB"), def_glGetnTexImageARB); - fn_glReadnPixelsARB = new Deno.UnsafeFnPointer(proc("glReadnPixelsARB"), def_glReadnPixelsARB); - fn_glGetnCompressedTexImageARB = new Deno.UnsafeFnPointer(proc("glGetnCompressedTexImageARB"), def_glGetnCompressedTexImageARB); - fn_glGetnUniformfvARB = new Deno.UnsafeFnPointer(proc("glGetnUniformfvARB"), def_glGetnUniformfvARB); - fn_glGetnUniformivARB = new Deno.UnsafeFnPointer(proc("glGetnUniformivARB"), def_glGetnUniformivARB); - fn_glGetnUniformuivARB = new Deno.UnsafeFnPointer(proc("glGetnUniformuivARB"), def_glGetnUniformuivARB); - fn_glGetnUniformdvARB = new Deno.UnsafeFnPointer(proc("glGetnUniformdvARB"), def_glGetnUniformdvARB); - fn_glGetnMapdvARB = new Deno.UnsafeFnPointer(proc("glGetnMapdvARB"), def_glGetnMapdvARB); - fn_glGetnMapfvARB = new Deno.UnsafeFnPointer(proc("glGetnMapfvARB"), def_glGetnMapfvARB); - fn_glGetnMapivARB = new Deno.UnsafeFnPointer(proc("glGetnMapivARB"), def_glGetnMapivARB); - fn_glGetnPixelMapfvARB = new Deno.UnsafeFnPointer(proc("glGetnPixelMapfvARB"), def_glGetnPixelMapfvARB); - fn_glGetnPixelMapuivARB = new Deno.UnsafeFnPointer(proc("glGetnPixelMapuivARB"), def_glGetnPixelMapuivARB); - fn_glGetnPixelMapusvARB = new Deno.UnsafeFnPointer(proc("glGetnPixelMapusvARB"), def_glGetnPixelMapusvARB); - fn_glGetnPolygonStippleARB = new Deno.UnsafeFnPointer(proc("glGetnPolygonStippleARB"), def_glGetnPolygonStippleARB); - fn_glGetnColorTableARB = new Deno.UnsafeFnPointer(proc("glGetnColorTableARB"), def_glGetnColorTableARB); - fn_glGetnConvolutionFilterARB = new Deno.UnsafeFnPointer(proc("glGetnConvolutionFilterARB"), def_glGetnConvolutionFilterARB); - fn_glGetnSeparableFilterARB = new Deno.UnsafeFnPointer(proc("glGetnSeparableFilterARB"), def_glGetnSeparableFilterARB); - fn_glGetnHistogramARB = new Deno.UnsafeFnPointer(proc("glGetnHistogramARB"), def_glGetnHistogramARB); - fn_glGetnMinmaxARB = new Deno.UnsafeFnPointer(proc("glGetnMinmaxARB"), def_glGetnMinmaxARB); + fn_glGetGraphicsResetStatusARB = new Deno.UnsafeFnPointer( + proc("glGetGraphicsResetStatusARB"), + def_glGetGraphicsResetStatusARB, + ); + fn_glGetnTexImageARB = new Deno.UnsafeFnPointer( + proc("glGetnTexImageARB"), + def_glGetnTexImageARB, + ); + fn_glReadnPixelsARB = new Deno.UnsafeFnPointer( + proc("glReadnPixelsARB"), + def_glReadnPixelsARB, + ); + fn_glGetnCompressedTexImageARB = new Deno.UnsafeFnPointer( + proc("glGetnCompressedTexImageARB"), + def_glGetnCompressedTexImageARB, + ); + fn_glGetnUniformfvARB = new Deno.UnsafeFnPointer( + proc("glGetnUniformfvARB"), + def_glGetnUniformfvARB, + ); + fn_glGetnUniformivARB = new Deno.UnsafeFnPointer( + proc("glGetnUniformivARB"), + def_glGetnUniformivARB, + ); + fn_glGetnUniformuivARB = new Deno.UnsafeFnPointer( + proc("glGetnUniformuivARB"), + def_glGetnUniformuivARB, + ); + fn_glGetnUniformdvARB = new Deno.UnsafeFnPointer( + proc("glGetnUniformdvARB"), + def_glGetnUniformdvARB, + ); + fn_glGetnMapdvARB = new Deno.UnsafeFnPointer( + proc("glGetnMapdvARB"), + def_glGetnMapdvARB, + ); + fn_glGetnMapfvARB = new Deno.UnsafeFnPointer( + proc("glGetnMapfvARB"), + def_glGetnMapfvARB, + ); + fn_glGetnMapivARB = new Deno.UnsafeFnPointer( + proc("glGetnMapivARB"), + def_glGetnMapivARB, + ); + fn_glGetnPixelMapfvARB = new Deno.UnsafeFnPointer( + proc("glGetnPixelMapfvARB"), + def_glGetnPixelMapfvARB, + ); + fn_glGetnPixelMapuivARB = new Deno.UnsafeFnPointer( + proc("glGetnPixelMapuivARB"), + def_glGetnPixelMapuivARB, + ); + fn_glGetnPixelMapusvARB = new Deno.UnsafeFnPointer( + proc("glGetnPixelMapusvARB"), + def_glGetnPixelMapusvARB, + ); + fn_glGetnPolygonStippleARB = new Deno.UnsafeFnPointer( + proc("glGetnPolygonStippleARB"), + def_glGetnPolygonStippleARB, + ); + fn_glGetnColorTableARB = new Deno.UnsafeFnPointer( + proc("glGetnColorTableARB"), + def_glGetnColorTableARB, + ); + fn_glGetnConvolutionFilterARB = new Deno.UnsafeFnPointer( + proc("glGetnConvolutionFilterARB"), + def_glGetnConvolutionFilterARB, + ); + fn_glGetnSeparableFilterARB = new Deno.UnsafeFnPointer( + proc("glGetnSeparableFilterARB"), + def_glGetnSeparableFilterARB, + ); + fn_glGetnHistogramARB = new Deno.UnsafeFnPointer( + proc("glGetnHistogramARB"), + def_glGetnHistogramARB, + ); + fn_glGetnMinmaxARB = new Deno.UnsafeFnPointer( + proc("glGetnMinmaxARB"), + def_glGetnMinmaxARB, + ); } diff --git a/api/ext/GL_ARB_robustness_isolation.ts b/api/ext/GL_ARB_robustness_isolation.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_robustness_isolation.ts +++ b/api/ext/GL_ARB_robustness_isolation.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_sample_locations.ts b/api/ext/GL_ARB_sample_locations.ts index e5a25f0..7568c1a 100644 --- a/api/ext/GL_ARB_sample_locations.ts +++ b/api/ext/GL_ARB_sample_locations.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -76,7 +84,9 @@ export const def_glFramebufferSampleLocationsfvARB = { result: "void", } as const; -let fn_glFramebufferSampleLocationsfvARB!: Deno.UnsafeFnPointer; +let fn_glFramebufferSampleLocationsfvARB!: Deno.UnsafeFnPointer< + typeof def_glFramebufferSampleLocationsfvARB +>; export function FramebufferSampleLocationsfvARB( target: GLenum, @@ -97,7 +107,9 @@ export const def_glNamedFramebufferSampleLocationsfvARB = { result: "void", } as const; -let fn_glNamedFramebufferSampleLocationsfvARB!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferSampleLocationsfvARB!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferSampleLocationsfvARB +>; export function NamedFramebufferSampleLocationsfvARB( framebuffer: GLuint, @@ -118,7 +130,9 @@ export const def_glEvaluateDepthValuesARB = { result: "void", } as const; -let fn_glEvaluateDepthValuesARB!: Deno.UnsafeFnPointer; +let fn_glEvaluateDepthValuesARB!: Deno.UnsafeFnPointer< + typeof def_glEvaluateDepthValuesARB +>; export function EvaluateDepthValuesARB(): void { fn_glEvaluateDepthValuesARB.call(); @@ -126,7 +140,16 @@ export function EvaluateDepthValuesARB(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferSampleLocationsfvARB = new Deno.UnsafeFnPointer(proc("glFramebufferSampleLocationsfvARB"), def_glFramebufferSampleLocationsfvARB); - fn_glNamedFramebufferSampleLocationsfvARB = new Deno.UnsafeFnPointer(proc("glNamedFramebufferSampleLocationsfvARB"), def_glNamedFramebufferSampleLocationsfvARB); - fn_glEvaluateDepthValuesARB = new Deno.UnsafeFnPointer(proc("glEvaluateDepthValuesARB"), def_glEvaluateDepthValuesARB); + fn_glFramebufferSampleLocationsfvARB = new Deno.UnsafeFnPointer( + proc("glFramebufferSampleLocationsfvARB"), + def_glFramebufferSampleLocationsfvARB, + ); + fn_glNamedFramebufferSampleLocationsfvARB = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferSampleLocationsfvARB"), + def_glNamedFramebufferSampleLocationsfvARB, + ); + fn_glEvaluateDepthValuesARB = new Deno.UnsafeFnPointer( + proc("glEvaluateDepthValuesARB"), + def_glEvaluateDepthValuesARB, + ); } diff --git a/api/ext/GL_ARB_sample_shading.ts b/api/ext/GL_ARB_sample_shading.ts index f895b16..1bbea4d 100644 --- a/api/ext/GL_ARB_sample_shading.ts +++ b/api/ext/GL_ARB_sample_shading.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glMinSampleShadingARB = { result: "void", } as const; -let fn_glMinSampleShadingARB!: Deno.UnsafeFnPointer; +let fn_glMinSampleShadingARB!: Deno.UnsafeFnPointer< + typeof def_glMinSampleShadingARB +>; export function MinSampleShadingARB( value: GLfloat, @@ -82,5 +92,8 @@ export function MinSampleShadingARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMinSampleShadingARB = new Deno.UnsafeFnPointer(proc("glMinSampleShadingARB"), def_glMinSampleShadingARB); + fn_glMinSampleShadingARB = new Deno.UnsafeFnPointer( + proc("glMinSampleShadingARB"), + def_glMinSampleShadingARB, + ); } diff --git a/api/ext/GL_ARB_sampler_objects.ts b/api/ext/GL_ARB_sampler_objects.ts index e440b3e..dcbeb78 100644 --- a/api/ext/GL_ARB_sampler_objects.ts +++ b/api/ext/GL_ARB_sampler_objects.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -135,7 +143,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -154,7 +164,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -173,7 +185,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -192,7 +206,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -211,7 +227,9 @@ export const def_glSamplerParameterIiv = { result: "void", } as const; -let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIiv +>; export function SamplerParameterIiv( sampler: GLuint, @@ -230,7 +248,9 @@ export const def_glSamplerParameterIuiv = { result: "void", } as const; -let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuiv +>; export function SamplerParameterIuiv( sampler: GLuint, @@ -249,7 +269,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -268,7 +290,9 @@ export const def_glGetSamplerParameterIiv = { result: "void", } as const; -let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIiv +>; export function GetSamplerParameterIiv( sampler: GLuint, @@ -287,7 +311,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -306,7 +332,9 @@ export const def_glGetSamplerParameterIuiv = { result: "void", } as const; -let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuiv +>; export function GetSamplerParameterIuiv( sampler: GLuint, @@ -322,18 +350,60 @@ export function GetSamplerParameterIuiv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIiv"), def_glSamplerParameterIiv); - fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuiv"), def_glSamplerParameterIuiv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIiv"), def_glGetSamplerParameterIiv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuiv"), def_glGetSamplerParameterIuiv); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIiv"), + def_glSamplerParameterIiv, + ); + fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuiv"), + def_glSamplerParameterIuiv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIiv"), + def_glGetSamplerParameterIiv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuiv"), + def_glGetSamplerParameterIuiv, + ); } diff --git a/api/ext/GL_ARB_seamless_cube_map.ts b/api/ext/GL_ARB_seamless_cube_map.ts index 7850b65..ccf8e88 100644 --- a/api/ext/GL_ARB_seamless_cube_map.ts +++ b/api/ext/GL_ARB_seamless_cube_map.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_seamless_cubemap_per_texture.ts b/api/ext/GL_ARB_seamless_cubemap_per_texture.ts index 7850b65..ccf8e88 100644 --- a/api/ext/GL_ARB_seamless_cubemap_per_texture.ts +++ b/api/ext/GL_ARB_seamless_cubemap_per_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_separate_shader_objects.ts b/api/ext/GL_ARB_separate_shader_objects.ts index 8c7cb97..51ffaa9 100644 --- a/api/ext/GL_ARB_separate_shader_objects.ts +++ b/api/ext/GL_ARB_separate_shader_objects.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -96,7 +104,9 @@ export const def_glActiveShaderProgram = { result: "void", } as const; -let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer; +let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer< + typeof def_glActiveShaderProgram +>; export function ActiveShaderProgram( pipeline: GLuint, @@ -113,7 +123,9 @@ export const def_glCreateShaderProgramv = { result: "u32", } as const; -let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer; +let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderProgramv +>; export function CreateShaderProgramv( type: GLenum, @@ -132,7 +144,9 @@ export const def_glBindProgramPipeline = { result: "void", } as const; -let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glBindProgramPipeline +>; export function BindProgramPipeline( pipeline: GLuint, @@ -147,7 +161,9 @@ export const def_glDeleteProgramPipelines = { result: "void", } as const; -let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramPipelines +>; export function DeleteProgramPipelines( n: GLsizei, @@ -164,7 +180,9 @@ export const def_glGenProgramPipelines = { result: "void", } as const; -let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glGenProgramPipelines +>; export function GenProgramPipelines( n: GLsizei, @@ -181,7 +199,9 @@ export const def_glIsProgramPipeline = { result: "u8", } as const; -let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glIsProgramPipeline +>; export function IsProgramPipeline( pipeline: GLuint, @@ -196,7 +216,9 @@ export const def_glGetProgramPipelineiv = { result: "void", } as const; -let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineiv +>; export function GetProgramPipelineiv( pipeline: GLuint, @@ -215,7 +237,9 @@ export const def_glProgramParameteri = { result: "void", } as const; -let fn_glProgramParameteri!: Deno.UnsafeFnPointer; +let fn_glProgramParameteri!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteri +>; export function ProgramParameteri( program: GLuint, @@ -253,7 +277,9 @@ export const def_glProgramUniform1iv = { result: "void", } as const; -let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1iv +>; export function ProgramUniform1iv( program: GLuint, @@ -293,7 +319,9 @@ export const def_glProgramUniform1fv = { result: "void", } as const; -let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fv +>; export function ProgramUniform1fv( program: GLuint, @@ -333,7 +361,9 @@ export const def_glProgramUniform1dv = { result: "void", } as const; -let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1dv +>; export function ProgramUniform1dv( program: GLuint, @@ -354,7 +384,9 @@ export const def_glProgramUniform1ui = { result: "void", } as const; -let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui +>; export function ProgramUniform1ui( program: GLuint, @@ -373,7 +405,9 @@ export const def_glProgramUniform1uiv = { result: "void", } as const; -let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uiv +>; export function ProgramUniform1uiv( program: GLuint, @@ -415,7 +449,9 @@ export const def_glProgramUniform2iv = { result: "void", } as const; -let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2iv +>; export function ProgramUniform2iv( program: GLuint, @@ -457,7 +493,9 @@ export const def_glProgramUniform2fv = { result: "void", } as const; -let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fv +>; export function ProgramUniform2fv( program: GLuint, @@ -499,7 +537,9 @@ export const def_glProgramUniform2dv = { result: "void", } as const; -let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2dv +>; export function ProgramUniform2dv( program: GLuint, @@ -520,7 +560,9 @@ export const def_glProgramUniform2ui = { result: "void", } as const; -let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui +>; export function ProgramUniform2ui( program: GLuint, @@ -541,7 +583,9 @@ export const def_glProgramUniform2uiv = { result: "void", } as const; -let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uiv +>; export function ProgramUniform2uiv( program: GLuint, @@ -585,7 +629,9 @@ export const def_glProgramUniform3iv = { result: "void", } as const; -let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3iv +>; export function ProgramUniform3iv( program: GLuint, @@ -629,7 +675,9 @@ export const def_glProgramUniform3fv = { result: "void", } as const; -let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fv +>; export function ProgramUniform3fv( program: GLuint, @@ -673,7 +721,9 @@ export const def_glProgramUniform3dv = { result: "void", } as const; -let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3dv +>; export function ProgramUniform3dv( program: GLuint, @@ -694,7 +744,9 @@ export const def_glProgramUniform3ui = { result: "void", } as const; -let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui +>; export function ProgramUniform3ui( program: GLuint, @@ -717,7 +769,9 @@ export const def_glProgramUniform3uiv = { result: "void", } as const; -let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uiv +>; export function ProgramUniform3uiv( program: GLuint, @@ -763,7 +817,9 @@ export const def_glProgramUniform4iv = { result: "void", } as const; -let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4iv +>; export function ProgramUniform4iv( program: GLuint, @@ -809,7 +865,9 @@ export const def_glProgramUniform4fv = { result: "void", } as const; -let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fv +>; export function ProgramUniform4fv( program: GLuint, @@ -855,7 +913,9 @@ export const def_glProgramUniform4dv = { result: "void", } as const; -let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4dv +>; export function ProgramUniform4dv( program: GLuint, @@ -876,7 +936,9 @@ export const def_glProgramUniform4ui = { result: "void", } as const; -let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui +>; export function ProgramUniform4ui( program: GLuint, @@ -901,7 +963,9 @@ export const def_glProgramUniform4uiv = { result: "void", } as const; -let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uiv +>; export function ProgramUniform4uiv( program: GLuint, @@ -922,7 +986,9 @@ export const def_glProgramUniformMatrix2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2fv +>; export function ProgramUniformMatrix2fv( program: GLuint, @@ -945,7 +1011,9 @@ export const def_glProgramUniformMatrix3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3fv +>; export function ProgramUniformMatrix3fv( program: GLuint, @@ -968,7 +1036,9 @@ export const def_glProgramUniformMatrix4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4fv +>; export function ProgramUniformMatrix4fv( program: GLuint, @@ -991,7 +1061,9 @@ export const def_glProgramUniformMatrix2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2dv +>; export function ProgramUniformMatrix2dv( program: GLuint, @@ -1014,7 +1086,9 @@ export const def_glProgramUniformMatrix3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3dv +>; export function ProgramUniformMatrix3dv( program: GLuint, @@ -1037,7 +1111,9 @@ export const def_glProgramUniformMatrix4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4dv +>; export function ProgramUniformMatrix4dv( program: GLuint, @@ -1060,7 +1136,9 @@ export const def_glProgramUniformMatrix2x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3fv +>; export function ProgramUniformMatrix2x3fv( program: GLuint, @@ -1083,7 +1161,9 @@ export const def_glProgramUniformMatrix3x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2fv +>; export function ProgramUniformMatrix3x2fv( program: GLuint, @@ -1106,7 +1186,9 @@ export const def_glProgramUniformMatrix2x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4fv +>; export function ProgramUniformMatrix2x4fv( program: GLuint, @@ -1129,7 +1211,9 @@ export const def_glProgramUniformMatrix4x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2fv +>; export function ProgramUniformMatrix4x2fv( program: GLuint, @@ -1152,7 +1236,9 @@ export const def_glProgramUniformMatrix3x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4fv +>; export function ProgramUniformMatrix3x4fv( program: GLuint, @@ -1175,7 +1261,9 @@ export const def_glProgramUniformMatrix4x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3fv +>; export function ProgramUniformMatrix4x3fv( program: GLuint, @@ -1198,7 +1286,9 @@ export const def_glProgramUniformMatrix2x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3dv +>; export function ProgramUniformMatrix2x3dv( program: GLuint, @@ -1221,7 +1311,9 @@ export const def_glProgramUniformMatrix3x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2dv +>; export function ProgramUniformMatrix3x2dv( program: GLuint, @@ -1244,7 +1336,9 @@ export const def_glProgramUniformMatrix2x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4dv +>; export function ProgramUniformMatrix2x4dv( program: GLuint, @@ -1267,7 +1361,9 @@ export const def_glProgramUniformMatrix4x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2dv +>; export function ProgramUniformMatrix4x2dv( program: GLuint, @@ -1290,7 +1386,9 @@ export const def_glProgramUniformMatrix3x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4dv +>; export function ProgramUniformMatrix3x4dv( program: GLuint, @@ -1313,7 +1411,9 @@ export const def_glProgramUniformMatrix4x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3dv +>; export function ProgramUniformMatrix4x3dv( program: GLuint, @@ -1336,7 +1436,9 @@ export const def_glValidateProgramPipeline = { result: "void", } as const; -let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glValidateProgramPipeline +>; export function ValidateProgramPipeline( pipeline: GLuint, @@ -1351,7 +1453,9 @@ export const def_glGetProgramPipelineInfoLog = { result: "void", } as const; -let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineInfoLog +>; export function GetProgramPipelineInfoLog( pipeline: GLuint, @@ -1369,65 +1473,248 @@ export function GetProgramPipelineInfoLog( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glUseProgramStages = new Deno.UnsafeFnPointer(proc("glUseProgramStages"), def_glUseProgramStages); - fn_glActiveShaderProgram = new Deno.UnsafeFnPointer(proc("glActiveShaderProgram"), def_glActiveShaderProgram); - fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer(proc("glCreateShaderProgramv"), def_glCreateShaderProgramv); - fn_glBindProgramPipeline = new Deno.UnsafeFnPointer(proc("glBindProgramPipeline"), def_glBindProgramPipeline); - fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer(proc("glDeleteProgramPipelines"), def_glDeleteProgramPipelines); - fn_glGenProgramPipelines = new Deno.UnsafeFnPointer(proc("glGenProgramPipelines"), def_glGenProgramPipelines); - fn_glIsProgramPipeline = new Deno.UnsafeFnPointer(proc("glIsProgramPipeline"), def_glIsProgramPipeline); - fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineiv"), def_glGetProgramPipelineiv); - fn_glProgramParameteri = new Deno.UnsafeFnPointer(proc("glProgramParameteri"), def_glProgramParameteri); - fn_glProgramUniform1i = new Deno.UnsafeFnPointer(proc("glProgramUniform1i"), def_glProgramUniform1i); - fn_glProgramUniform1iv = new Deno.UnsafeFnPointer(proc("glProgramUniform1iv"), def_glProgramUniform1iv); - fn_glProgramUniform1f = new Deno.UnsafeFnPointer(proc("glProgramUniform1f"), def_glProgramUniform1f); - fn_glProgramUniform1fv = new Deno.UnsafeFnPointer(proc("glProgramUniform1fv"), def_glProgramUniform1fv); - fn_glProgramUniform1d = new Deno.UnsafeFnPointer(proc("glProgramUniform1d"), def_glProgramUniform1d); - fn_glProgramUniform1dv = new Deno.UnsafeFnPointer(proc("glProgramUniform1dv"), def_glProgramUniform1dv); - fn_glProgramUniform1ui = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui"), def_glProgramUniform1ui); - fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform1uiv"), def_glProgramUniform1uiv); - fn_glProgramUniform2i = new Deno.UnsafeFnPointer(proc("glProgramUniform2i"), def_glProgramUniform2i); - fn_glProgramUniform2iv = new Deno.UnsafeFnPointer(proc("glProgramUniform2iv"), def_glProgramUniform2iv); - fn_glProgramUniform2f = new Deno.UnsafeFnPointer(proc("glProgramUniform2f"), def_glProgramUniform2f); - fn_glProgramUniform2fv = new Deno.UnsafeFnPointer(proc("glProgramUniform2fv"), def_glProgramUniform2fv); - fn_glProgramUniform2d = new Deno.UnsafeFnPointer(proc("glProgramUniform2d"), def_glProgramUniform2d); - fn_glProgramUniform2dv = new Deno.UnsafeFnPointer(proc("glProgramUniform2dv"), def_glProgramUniform2dv); - fn_glProgramUniform2ui = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui"), def_glProgramUniform2ui); - fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform2uiv"), def_glProgramUniform2uiv); - fn_glProgramUniform3i = new Deno.UnsafeFnPointer(proc("glProgramUniform3i"), def_glProgramUniform3i); - fn_glProgramUniform3iv = new Deno.UnsafeFnPointer(proc("glProgramUniform3iv"), def_glProgramUniform3iv); - fn_glProgramUniform3f = new Deno.UnsafeFnPointer(proc("glProgramUniform3f"), def_glProgramUniform3f); - fn_glProgramUniform3fv = new Deno.UnsafeFnPointer(proc("glProgramUniform3fv"), def_glProgramUniform3fv); - fn_glProgramUniform3d = new Deno.UnsafeFnPointer(proc("glProgramUniform3d"), def_glProgramUniform3d); - fn_glProgramUniform3dv = new Deno.UnsafeFnPointer(proc("glProgramUniform3dv"), def_glProgramUniform3dv); - fn_glProgramUniform3ui = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui"), def_glProgramUniform3ui); - fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform3uiv"), def_glProgramUniform3uiv); - fn_glProgramUniform4i = new Deno.UnsafeFnPointer(proc("glProgramUniform4i"), def_glProgramUniform4i); - fn_glProgramUniform4iv = new Deno.UnsafeFnPointer(proc("glProgramUniform4iv"), def_glProgramUniform4iv); - fn_glProgramUniform4f = new Deno.UnsafeFnPointer(proc("glProgramUniform4f"), def_glProgramUniform4f); - fn_glProgramUniform4fv = new Deno.UnsafeFnPointer(proc("glProgramUniform4fv"), def_glProgramUniform4fv); - fn_glProgramUniform4d = new Deno.UnsafeFnPointer(proc("glProgramUniform4d"), def_glProgramUniform4d); - fn_glProgramUniform4dv = new Deno.UnsafeFnPointer(proc("glProgramUniform4dv"), def_glProgramUniform4dv); - fn_glProgramUniform4ui = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui"), def_glProgramUniform4ui); - fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform4uiv"), def_glProgramUniform4uiv); - fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2fv"), def_glProgramUniformMatrix2fv); - fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3fv"), def_glProgramUniformMatrix3fv); - fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4fv"), def_glProgramUniformMatrix4fv); - fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2dv"), def_glProgramUniformMatrix2dv); - fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3dv"), def_glProgramUniformMatrix3dv); - fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4dv"), def_glProgramUniformMatrix4dv); - fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3fv"), def_glProgramUniformMatrix2x3fv); - fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2fv"), def_glProgramUniformMatrix3x2fv); - fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4fv"), def_glProgramUniformMatrix2x4fv); - fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2fv"), def_glProgramUniformMatrix4x2fv); - fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4fv"), def_glProgramUniformMatrix3x4fv); - fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3fv"), def_glProgramUniformMatrix4x3fv); - fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3dv"), def_glProgramUniformMatrix2x3dv); - fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2dv"), def_glProgramUniformMatrix3x2dv); - fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4dv"), def_glProgramUniformMatrix2x4dv); - fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2dv"), def_glProgramUniformMatrix4x2dv); - fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4dv"), def_glProgramUniformMatrix3x4dv); - fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3dv"), def_glProgramUniformMatrix4x3dv); - fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer(proc("glValidateProgramPipeline"), def_glValidateProgramPipeline); - fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineInfoLog"), def_glGetProgramPipelineInfoLog); + fn_glUseProgramStages = new Deno.UnsafeFnPointer( + proc("glUseProgramStages"), + def_glUseProgramStages, + ); + fn_glActiveShaderProgram = new Deno.UnsafeFnPointer( + proc("glActiveShaderProgram"), + def_glActiveShaderProgram, + ); + fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer( + proc("glCreateShaderProgramv"), + def_glCreateShaderProgramv, + ); + fn_glBindProgramPipeline = new Deno.UnsafeFnPointer( + proc("glBindProgramPipeline"), + def_glBindProgramPipeline, + ); + fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer( + proc("glDeleteProgramPipelines"), + def_glDeleteProgramPipelines, + ); + fn_glGenProgramPipelines = new Deno.UnsafeFnPointer( + proc("glGenProgramPipelines"), + def_glGenProgramPipelines, + ); + fn_glIsProgramPipeline = new Deno.UnsafeFnPointer( + proc("glIsProgramPipeline"), + def_glIsProgramPipeline, + ); + fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineiv"), + def_glGetProgramPipelineiv, + ); + fn_glProgramParameteri = new Deno.UnsafeFnPointer( + proc("glProgramParameteri"), + def_glProgramParameteri, + ); + fn_glProgramUniform1i = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i"), + def_glProgramUniform1i, + ); + fn_glProgramUniform1iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1iv"), + def_glProgramUniform1iv, + ); + fn_glProgramUniform1f = new Deno.UnsafeFnPointer( + proc("glProgramUniform1f"), + def_glProgramUniform1f, + ); + fn_glProgramUniform1fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fv"), + def_glProgramUniform1fv, + ); + fn_glProgramUniform1d = new Deno.UnsafeFnPointer( + proc("glProgramUniform1d"), + def_glProgramUniform1d, + ); + fn_glProgramUniform1dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1dv"), + def_glProgramUniform1dv, + ); + fn_glProgramUniform1ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui"), + def_glProgramUniform1ui, + ); + fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uiv"), + def_glProgramUniform1uiv, + ); + fn_glProgramUniform2i = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i"), + def_glProgramUniform2i, + ); + fn_glProgramUniform2iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2iv"), + def_glProgramUniform2iv, + ); + fn_glProgramUniform2f = new Deno.UnsafeFnPointer( + proc("glProgramUniform2f"), + def_glProgramUniform2f, + ); + fn_glProgramUniform2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fv"), + def_glProgramUniform2fv, + ); + fn_glProgramUniform2d = new Deno.UnsafeFnPointer( + proc("glProgramUniform2d"), + def_glProgramUniform2d, + ); + fn_glProgramUniform2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2dv"), + def_glProgramUniform2dv, + ); + fn_glProgramUniform2ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui"), + def_glProgramUniform2ui, + ); + fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uiv"), + def_glProgramUniform2uiv, + ); + fn_glProgramUniform3i = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i"), + def_glProgramUniform3i, + ); + fn_glProgramUniform3iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3iv"), + def_glProgramUniform3iv, + ); + fn_glProgramUniform3f = new Deno.UnsafeFnPointer( + proc("glProgramUniform3f"), + def_glProgramUniform3f, + ); + fn_glProgramUniform3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fv"), + def_glProgramUniform3fv, + ); + fn_glProgramUniform3d = new Deno.UnsafeFnPointer( + proc("glProgramUniform3d"), + def_glProgramUniform3d, + ); + fn_glProgramUniform3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3dv"), + def_glProgramUniform3dv, + ); + fn_glProgramUniform3ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui"), + def_glProgramUniform3ui, + ); + fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uiv"), + def_glProgramUniform3uiv, + ); + fn_glProgramUniform4i = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i"), + def_glProgramUniform4i, + ); + fn_glProgramUniform4iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4iv"), + def_glProgramUniform4iv, + ); + fn_glProgramUniform4f = new Deno.UnsafeFnPointer( + proc("glProgramUniform4f"), + def_glProgramUniform4f, + ); + fn_glProgramUniform4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fv"), + def_glProgramUniform4fv, + ); + fn_glProgramUniform4d = new Deno.UnsafeFnPointer( + proc("glProgramUniform4d"), + def_glProgramUniform4d, + ); + fn_glProgramUniform4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4dv"), + def_glProgramUniform4dv, + ); + fn_glProgramUniform4ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui"), + def_glProgramUniform4ui, + ); + fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uiv"), + def_glProgramUniform4uiv, + ); + fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2fv"), + def_glProgramUniformMatrix2fv, + ); + fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3fv"), + def_glProgramUniformMatrix3fv, + ); + fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4fv"), + def_glProgramUniformMatrix4fv, + ); + fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2dv"), + def_glProgramUniformMatrix2dv, + ); + fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3dv"), + def_glProgramUniformMatrix3dv, + ); + fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4dv"), + def_glProgramUniformMatrix4dv, + ); + fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3fv"), + def_glProgramUniformMatrix2x3fv, + ); + fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2fv"), + def_glProgramUniformMatrix3x2fv, + ); + fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4fv"), + def_glProgramUniformMatrix2x4fv, + ); + fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2fv"), + def_glProgramUniformMatrix4x2fv, + ); + fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4fv"), + def_glProgramUniformMatrix3x4fv, + ); + fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3fv"), + def_glProgramUniformMatrix4x3fv, + ); + fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3dv"), + def_glProgramUniformMatrix2x3dv, + ); + fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2dv"), + def_glProgramUniformMatrix3x2dv, + ); + fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4dv"), + def_glProgramUniformMatrix2x4dv, + ); + fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2dv"), + def_glProgramUniformMatrix4x2dv, + ); + fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4dv"), + def_glProgramUniformMatrix3x4dv, + ); + fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3dv"), + def_glProgramUniformMatrix4x3dv, + ); + fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer( + proc("glValidateProgramPipeline"), + def_glValidateProgramPipeline, + ); + fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineInfoLog"), + def_glGetProgramPipelineInfoLog, + ); } diff --git a/api/ext/GL_ARB_shader_atomic_counter_ops.ts b/api/ext/GL_ARB_shader_atomic_counter_ops.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_atomic_counter_ops.ts +++ b/api/ext/GL_ARB_shader_atomic_counter_ops.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shader_atomic_counters.ts b/api/ext/GL_ARB_shader_atomic_counters.ts index 7a1144f..00e13e9 100644 --- a/api/ext/GL_ARB_shader_atomic_counters.ts +++ b/api/ext/GL_ARB_shader_atomic_counters.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,8 @@ export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS = 0x92c5; export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES = 0x92c6; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER = 0x92c7; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER = 0x92c8; -export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x92c9; +export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = + 0x92c9; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER = 0x92ca; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER = 0x92cb; export const MAX_VERTEX_ATOMIC_COUNTER_BUFFERS = 0x92cc; @@ -97,7 +106,9 @@ export const def_glGetActiveAtomicCounterBufferiv = { result: "void", } as const; -let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveAtomicCounterBufferiv +>; export function GetActiveAtomicCounterBufferiv( program: GLuint, @@ -115,5 +126,8 @@ export function GetActiveAtomicCounterBufferiv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer(proc("glGetActiveAtomicCounterBufferiv"), def_glGetActiveAtomicCounterBufferiv); + fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer( + proc("glGetActiveAtomicCounterBufferiv"), + def_glGetActiveAtomicCounterBufferiv, + ); } diff --git a/api/ext/GL_ARB_shader_ballot.ts b/api/ext/GL_ARB_shader_ballot.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_ballot.ts +++ b/api/ext/GL_ARB_shader_ballot.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shader_bit_encoding.ts b/api/ext/GL_ARB_shader_bit_encoding.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_bit_encoding.ts +++ b/api/ext/GL_ARB_shader_bit_encoding.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shader_clock.ts b/api/ext/GL_ARB_shader_clock.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_clock.ts +++ b/api/ext/GL_ARB_shader_clock.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shader_draw_parameters.ts b/api/ext/GL_ARB_shader_draw_parameters.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_draw_parameters.ts +++ b/api/ext/GL_ARB_shader_draw_parameters.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shader_group_vote.ts b/api/ext/GL_ARB_shader_group_vote.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_group_vote.ts +++ b/api/ext/GL_ARB_shader_group_vote.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shader_image_load_store.ts b/api/ext/GL_ARB_shader_image_load_store.ts index 90900e5..32a9077 100644 --- a/api/ext/GL_ARB_shader_image_load_store.ts +++ b/api/ext/GL_ARB_shader_image_load_store.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -171,6 +179,12 @@ export function MemoryBarrier( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindImageTexture = new Deno.UnsafeFnPointer(proc("glBindImageTexture"), def_glBindImageTexture); - fn_glMemoryBarrier = new Deno.UnsafeFnPointer(proc("glMemoryBarrier"), def_glMemoryBarrier); + fn_glBindImageTexture = new Deno.UnsafeFnPointer( + proc("glBindImageTexture"), + def_glBindImageTexture, + ); + fn_glMemoryBarrier = new Deno.UnsafeFnPointer( + proc("glMemoryBarrier"), + def_glMemoryBarrier, + ); } diff --git a/api/ext/GL_ARB_shader_image_size.ts b/api/ext/GL_ARB_shader_image_size.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_image_size.ts +++ b/api/ext/GL_ARB_shader_image_size.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shader_objects.ts b/api/ext/GL_ARB_shader_objects.ts index d0a33b0..5b24623 100644 --- a/api/ext/GL_ARB_shader_objects.ts +++ b/api/ext/GL_ARB_shader_objects.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -149,7 +157,9 @@ export const def_glCreateShaderObjectARB = { result: "buffer", } as const; -let fn_glCreateShaderObjectARB!: Deno.UnsafeFnPointer; +let fn_glCreateShaderObjectARB!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderObjectARB +>; export function CreateShaderObjectARB( shaderType: GLenum, @@ -200,7 +210,9 @@ export const def_glCreateProgramObjectARB = { result: "buffer", } as const; -let fn_glCreateProgramObjectARB!: Deno.UnsafeFnPointer; +let fn_glCreateProgramObjectARB!: Deno.UnsafeFnPointer< + typeof def_glCreateProgramObjectARB +>; export function CreateProgramObjectARB(): GLhandleARB { return fn_glCreateProgramObjectARB.call(); @@ -243,7 +255,9 @@ export const def_glUseProgramObjectARB = { result: "void", } as const; -let fn_glUseProgramObjectARB!: Deno.UnsafeFnPointer; +let fn_glUseProgramObjectARB!: Deno.UnsafeFnPointer< + typeof def_glUseProgramObjectARB +>; export function UseProgramObjectARB( programObj: GLhandleARB, @@ -258,7 +272,9 @@ export const def_glValidateProgramARB = { result: "void", } as const; -let fn_glValidateProgramARB!: Deno.UnsafeFnPointer; +let fn_glValidateProgramARB!: Deno.UnsafeFnPointer< + typeof def_glValidateProgramARB +>; export function ValidateProgramARB( programObj: GLhandleARB, @@ -585,7 +601,9 @@ export const def_glUniformMatrix2fvARB = { result: "void", } as const; -let fn_glUniformMatrix2fvARB!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2fvARB!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2fvARB +>; export function UniformMatrix2fvARB( location: GLint, @@ -606,7 +624,9 @@ export const def_glUniformMatrix3fvARB = { result: "void", } as const; -let fn_glUniformMatrix3fvARB!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3fvARB!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3fvARB +>; export function UniformMatrix3fvARB( location: GLint, @@ -627,7 +647,9 @@ export const def_glUniformMatrix4fvARB = { result: "void", } as const; -let fn_glUniformMatrix4fvARB!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4fvARB!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4fvARB +>; export function UniformMatrix4fvARB( location: GLint, @@ -648,7 +670,9 @@ export const def_glGetObjectParameterfvARB = { result: "void", } as const; -let fn_glGetObjectParameterfvARB!: Deno.UnsafeFnPointer; +let fn_glGetObjectParameterfvARB!: Deno.UnsafeFnPointer< + typeof def_glGetObjectParameterfvARB +>; export function GetObjectParameterfvARB( obj: GLhandleARB, @@ -667,7 +691,9 @@ export const def_glGetObjectParameterivARB = { result: "void", } as const; -let fn_glGetObjectParameterivARB!: Deno.UnsafeFnPointer; +let fn_glGetObjectParameterivARB!: Deno.UnsafeFnPointer< + typeof def_glGetObjectParameterivARB +>; export function GetObjectParameterivARB( obj: GLhandleARB, @@ -707,7 +733,9 @@ export const def_glGetAttachedObjectsARB = { result: "void", } as const; -let fn_glGetAttachedObjectsARB!: Deno.UnsafeFnPointer; +let fn_glGetAttachedObjectsARB!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedObjectsARB +>; export function GetAttachedObjectsARB( containerObj: GLhandleARB, @@ -728,7 +756,9 @@ export const def_glGetUniformLocationARB = { result: "i32", } as const; -let fn_glGetUniformLocationARB!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocationARB!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocationARB +>; export function GetUniformLocationARB( programObj: GLhandleARB, @@ -745,7 +775,9 @@ export const def_glGetActiveUniformARB = { result: "void", } as const; -let fn_glGetActiveUniformARB!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformARB!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformARB +>; export function GetActiveUniformARB( programObj: GLhandleARB, @@ -810,7 +842,9 @@ export const def_glGetShaderSourceARB = { result: "void", } as const; -let fn_glGetShaderSourceARB!: Deno.UnsafeFnPointer; +let fn_glGetShaderSourceARB!: Deno.UnsafeFnPointer< + typeof def_glGetShaderSourceARB +>; export function GetShaderSourceARB( obj: GLhandleARB, @@ -828,43 +862,160 @@ export function GetShaderSourceARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDeleteObjectARB = new Deno.UnsafeFnPointer(proc("glDeleteObjectARB"), def_glDeleteObjectARB); - fn_glGetHandleARB = new Deno.UnsafeFnPointer(proc("glGetHandleARB"), def_glGetHandleARB); - fn_glDetachObjectARB = new Deno.UnsafeFnPointer(proc("glDetachObjectARB"), def_glDetachObjectARB); - fn_glCreateShaderObjectARB = new Deno.UnsafeFnPointer(proc("glCreateShaderObjectARB"), def_glCreateShaderObjectARB); - fn_glShaderSourceARB = new Deno.UnsafeFnPointer(proc("glShaderSourceARB"), def_glShaderSourceARB); - fn_glCompileShaderARB = new Deno.UnsafeFnPointer(proc("glCompileShaderARB"), def_glCompileShaderARB); - fn_glCreateProgramObjectARB = new Deno.UnsafeFnPointer(proc("glCreateProgramObjectARB"), def_glCreateProgramObjectARB); - fn_glAttachObjectARB = new Deno.UnsafeFnPointer(proc("glAttachObjectARB"), def_glAttachObjectARB); - fn_glLinkProgramARB = new Deno.UnsafeFnPointer(proc("glLinkProgramARB"), def_glLinkProgramARB); - fn_glUseProgramObjectARB = new Deno.UnsafeFnPointer(proc("glUseProgramObjectARB"), def_glUseProgramObjectARB); - fn_glValidateProgramARB = new Deno.UnsafeFnPointer(proc("glValidateProgramARB"), def_glValidateProgramARB); - fn_glUniform1fARB = new Deno.UnsafeFnPointer(proc("glUniform1fARB"), def_glUniform1fARB); - fn_glUniform2fARB = new Deno.UnsafeFnPointer(proc("glUniform2fARB"), def_glUniform2fARB); - fn_glUniform3fARB = new Deno.UnsafeFnPointer(proc("glUniform3fARB"), def_glUniform3fARB); - fn_glUniform4fARB = new Deno.UnsafeFnPointer(proc("glUniform4fARB"), def_glUniform4fARB); - fn_glUniform1iARB = new Deno.UnsafeFnPointer(proc("glUniform1iARB"), def_glUniform1iARB); - fn_glUniform2iARB = new Deno.UnsafeFnPointer(proc("glUniform2iARB"), def_glUniform2iARB); - fn_glUniform3iARB = new Deno.UnsafeFnPointer(proc("glUniform3iARB"), def_glUniform3iARB); - fn_glUniform4iARB = new Deno.UnsafeFnPointer(proc("glUniform4iARB"), def_glUniform4iARB); - fn_glUniform1fvARB = new Deno.UnsafeFnPointer(proc("glUniform1fvARB"), def_glUniform1fvARB); - fn_glUniform2fvARB = new Deno.UnsafeFnPointer(proc("glUniform2fvARB"), def_glUniform2fvARB); - fn_glUniform3fvARB = new Deno.UnsafeFnPointer(proc("glUniform3fvARB"), def_glUniform3fvARB); - fn_glUniform4fvARB = new Deno.UnsafeFnPointer(proc("glUniform4fvARB"), def_glUniform4fvARB); - fn_glUniform1ivARB = new Deno.UnsafeFnPointer(proc("glUniform1ivARB"), def_glUniform1ivARB); - fn_glUniform2ivARB = new Deno.UnsafeFnPointer(proc("glUniform2ivARB"), def_glUniform2ivARB); - fn_glUniform3ivARB = new Deno.UnsafeFnPointer(proc("glUniform3ivARB"), def_glUniform3ivARB); - fn_glUniform4ivARB = new Deno.UnsafeFnPointer(proc("glUniform4ivARB"), def_glUniform4ivARB); - fn_glUniformMatrix2fvARB = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fvARB"), def_glUniformMatrix2fvARB); - fn_glUniformMatrix3fvARB = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fvARB"), def_glUniformMatrix3fvARB); - fn_glUniformMatrix4fvARB = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fvARB"), def_glUniformMatrix4fvARB); - fn_glGetObjectParameterfvARB = new Deno.UnsafeFnPointer(proc("glGetObjectParameterfvARB"), def_glGetObjectParameterfvARB); - fn_glGetObjectParameterivARB = new Deno.UnsafeFnPointer(proc("glGetObjectParameterivARB"), def_glGetObjectParameterivARB); - fn_glGetInfoLogARB = new Deno.UnsafeFnPointer(proc("glGetInfoLogARB"), def_glGetInfoLogARB); - fn_glGetAttachedObjectsARB = new Deno.UnsafeFnPointer(proc("glGetAttachedObjectsARB"), def_glGetAttachedObjectsARB); - fn_glGetUniformLocationARB = new Deno.UnsafeFnPointer(proc("glGetUniformLocationARB"), def_glGetUniformLocationARB); - fn_glGetActiveUniformARB = new Deno.UnsafeFnPointer(proc("glGetActiveUniformARB"), def_glGetActiveUniformARB); - fn_glGetUniformfvARB = new Deno.UnsafeFnPointer(proc("glGetUniformfvARB"), def_glGetUniformfvARB); - fn_glGetUniformivARB = new Deno.UnsafeFnPointer(proc("glGetUniformivARB"), def_glGetUniformivARB); - fn_glGetShaderSourceARB = new Deno.UnsafeFnPointer(proc("glGetShaderSourceARB"), def_glGetShaderSourceARB); + fn_glDeleteObjectARB = new Deno.UnsafeFnPointer( + proc("glDeleteObjectARB"), + def_glDeleteObjectARB, + ); + fn_glGetHandleARB = new Deno.UnsafeFnPointer( + proc("glGetHandleARB"), + def_glGetHandleARB, + ); + fn_glDetachObjectARB = new Deno.UnsafeFnPointer( + proc("glDetachObjectARB"), + def_glDetachObjectARB, + ); + fn_glCreateShaderObjectARB = new Deno.UnsafeFnPointer( + proc("glCreateShaderObjectARB"), + def_glCreateShaderObjectARB, + ); + fn_glShaderSourceARB = new Deno.UnsafeFnPointer( + proc("glShaderSourceARB"), + def_glShaderSourceARB, + ); + fn_glCompileShaderARB = new Deno.UnsafeFnPointer( + proc("glCompileShaderARB"), + def_glCompileShaderARB, + ); + fn_glCreateProgramObjectARB = new Deno.UnsafeFnPointer( + proc("glCreateProgramObjectARB"), + def_glCreateProgramObjectARB, + ); + fn_glAttachObjectARB = new Deno.UnsafeFnPointer( + proc("glAttachObjectARB"), + def_glAttachObjectARB, + ); + fn_glLinkProgramARB = new Deno.UnsafeFnPointer( + proc("glLinkProgramARB"), + def_glLinkProgramARB, + ); + fn_glUseProgramObjectARB = new Deno.UnsafeFnPointer( + proc("glUseProgramObjectARB"), + def_glUseProgramObjectARB, + ); + fn_glValidateProgramARB = new Deno.UnsafeFnPointer( + proc("glValidateProgramARB"), + def_glValidateProgramARB, + ); + fn_glUniform1fARB = new Deno.UnsafeFnPointer( + proc("glUniform1fARB"), + def_glUniform1fARB, + ); + fn_glUniform2fARB = new Deno.UnsafeFnPointer( + proc("glUniform2fARB"), + def_glUniform2fARB, + ); + fn_glUniform3fARB = new Deno.UnsafeFnPointer( + proc("glUniform3fARB"), + def_glUniform3fARB, + ); + fn_glUniform4fARB = new Deno.UnsafeFnPointer( + proc("glUniform4fARB"), + def_glUniform4fARB, + ); + fn_glUniform1iARB = new Deno.UnsafeFnPointer( + proc("glUniform1iARB"), + def_glUniform1iARB, + ); + fn_glUniform2iARB = new Deno.UnsafeFnPointer( + proc("glUniform2iARB"), + def_glUniform2iARB, + ); + fn_glUniform3iARB = new Deno.UnsafeFnPointer( + proc("glUniform3iARB"), + def_glUniform3iARB, + ); + fn_glUniform4iARB = new Deno.UnsafeFnPointer( + proc("glUniform4iARB"), + def_glUniform4iARB, + ); + fn_glUniform1fvARB = new Deno.UnsafeFnPointer( + proc("glUniform1fvARB"), + def_glUniform1fvARB, + ); + fn_glUniform2fvARB = new Deno.UnsafeFnPointer( + proc("glUniform2fvARB"), + def_glUniform2fvARB, + ); + fn_glUniform3fvARB = new Deno.UnsafeFnPointer( + proc("glUniform3fvARB"), + def_glUniform3fvARB, + ); + fn_glUniform4fvARB = new Deno.UnsafeFnPointer( + proc("glUniform4fvARB"), + def_glUniform4fvARB, + ); + fn_glUniform1ivARB = new Deno.UnsafeFnPointer( + proc("glUniform1ivARB"), + def_glUniform1ivARB, + ); + fn_glUniform2ivARB = new Deno.UnsafeFnPointer( + proc("glUniform2ivARB"), + def_glUniform2ivARB, + ); + fn_glUniform3ivARB = new Deno.UnsafeFnPointer( + proc("glUniform3ivARB"), + def_glUniform3ivARB, + ); + fn_glUniform4ivARB = new Deno.UnsafeFnPointer( + proc("glUniform4ivARB"), + def_glUniform4ivARB, + ); + fn_glUniformMatrix2fvARB = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fvARB"), + def_glUniformMatrix2fvARB, + ); + fn_glUniformMatrix3fvARB = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fvARB"), + def_glUniformMatrix3fvARB, + ); + fn_glUniformMatrix4fvARB = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fvARB"), + def_glUniformMatrix4fvARB, + ); + fn_glGetObjectParameterfvARB = new Deno.UnsafeFnPointer( + proc("glGetObjectParameterfvARB"), + def_glGetObjectParameterfvARB, + ); + fn_glGetObjectParameterivARB = new Deno.UnsafeFnPointer( + proc("glGetObjectParameterivARB"), + def_glGetObjectParameterivARB, + ); + fn_glGetInfoLogARB = new Deno.UnsafeFnPointer( + proc("glGetInfoLogARB"), + def_glGetInfoLogARB, + ); + fn_glGetAttachedObjectsARB = new Deno.UnsafeFnPointer( + proc("glGetAttachedObjectsARB"), + def_glGetAttachedObjectsARB, + ); + fn_glGetUniformLocationARB = new Deno.UnsafeFnPointer( + proc("glGetUniformLocationARB"), + def_glGetUniformLocationARB, + ); + fn_glGetActiveUniformARB = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformARB"), + def_glGetActiveUniformARB, + ); + fn_glGetUniformfvARB = new Deno.UnsafeFnPointer( + proc("glGetUniformfvARB"), + def_glGetUniformfvARB, + ); + fn_glGetUniformivARB = new Deno.UnsafeFnPointer( + proc("glGetUniformivARB"), + def_glGetUniformivARB, + ); + fn_glGetShaderSourceARB = new Deno.UnsafeFnPointer( + proc("glGetShaderSourceARB"), + def_glGetShaderSourceARB, + ); } diff --git a/api/ext/GL_ARB_shader_precision.ts b/api/ext/GL_ARB_shader_precision.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_precision.ts +++ b/api/ext/GL_ARB_shader_precision.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shader_stencil_export.ts b/api/ext/GL_ARB_shader_stencil_export.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_stencil_export.ts +++ b/api/ext/GL_ARB_shader_stencil_export.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shader_storage_buffer_object.ts b/api/ext/GL_ARB_shader_storage_buffer_object.ts index 5de9ce8..fc12722 100644 --- a/api/ext/GL_ARB_shader_storage_buffer_object.ts +++ b/api/ext/GL_ARB_shader_storage_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -85,7 +93,9 @@ export const def_glShaderStorageBlockBinding = { result: "void", } as const; -let fn_glShaderStorageBlockBinding!: Deno.UnsafeFnPointer; +let fn_glShaderStorageBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glShaderStorageBlockBinding +>; export function ShaderStorageBlockBinding( program: GLuint, @@ -101,5 +111,8 @@ export function ShaderStorageBlockBinding( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glShaderStorageBlockBinding = new Deno.UnsafeFnPointer(proc("glShaderStorageBlockBinding"), def_glShaderStorageBlockBinding); + fn_glShaderStorageBlockBinding = new Deno.UnsafeFnPointer( + proc("glShaderStorageBlockBinding"), + def_glShaderStorageBlockBinding, + ); } diff --git a/api/ext/GL_ARB_shader_subroutine.ts b/api/ext/GL_ARB_shader_subroutine.ts index 89ff388..8ddbd62 100644 --- a/api/ext/GL_ARB_shader_subroutine.ts +++ b/api/ext/GL_ARB_shader_subroutine.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -79,7 +87,9 @@ export const def_glGetSubroutineUniformLocation = { result: "i32", } as const; -let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineUniformLocation +>; export function GetSubroutineUniformLocation( program: GLuint, @@ -98,7 +108,9 @@ export const def_glGetSubroutineIndex = { result: "u32", } as const; -let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineIndex +>; export function GetSubroutineIndex( program: GLuint, @@ -117,7 +129,9 @@ export const def_glGetActiveSubroutineUniformiv = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformiv +>; export function GetActiveSubroutineUniformiv( program: GLuint, @@ -140,7 +154,9 @@ export const def_glGetActiveSubroutineUniformName = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformName +>; export function GetActiveSubroutineUniformName( program: GLuint, @@ -165,7 +181,9 @@ export const def_glGetActiveSubroutineName = { result: "void", } as const; -let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineName +>; export function GetActiveSubroutineName( program: GLuint, @@ -190,7 +208,9 @@ export const def_glUniformSubroutinesuiv = { result: "void", } as const; -let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer; +let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer< + typeof def_glUniformSubroutinesuiv +>; export function UniformSubroutinesuiv( shadertype: GLenum, @@ -209,7 +229,9 @@ export const def_glGetUniformSubroutineuiv = { result: "void", } as const; -let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer; +let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer< + typeof def_glGetUniformSubroutineuiv +>; export function GetUniformSubroutineuiv( shadertype: GLenum, @@ -228,7 +250,9 @@ export const def_glGetProgramStageiv = { result: "void", } as const; -let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramStageiv +>; export function GetProgramStageiv( program: GLuint, @@ -246,12 +270,36 @@ export function GetProgramStageiv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer(proc("glGetSubroutineUniformLocation"), def_glGetSubroutineUniformLocation); - fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer(proc("glGetSubroutineIndex"), def_glGetSubroutineIndex); - fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformiv"), def_glGetActiveSubroutineUniformiv); - fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformName"), def_glGetActiveSubroutineUniformName); - fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineName"), def_glGetActiveSubroutineName); - fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer(proc("glUniformSubroutinesuiv"), def_glUniformSubroutinesuiv); - fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer(proc("glGetUniformSubroutineuiv"), def_glGetUniformSubroutineuiv); - fn_glGetProgramStageiv = new Deno.UnsafeFnPointer(proc("glGetProgramStageiv"), def_glGetProgramStageiv); + fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetSubroutineUniformLocation"), + def_glGetSubroutineUniformLocation, + ); + fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer( + proc("glGetSubroutineIndex"), + def_glGetSubroutineIndex, + ); + fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformiv"), + def_glGetActiveSubroutineUniformiv, + ); + fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformName"), + def_glGetActiveSubroutineUniformName, + ); + fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineName"), + def_glGetActiveSubroutineName, + ); + fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer( + proc("glUniformSubroutinesuiv"), + def_glUniformSubroutinesuiv, + ); + fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformSubroutineuiv"), + def_glGetUniformSubroutineuiv, + ); + fn_glGetProgramStageiv = new Deno.UnsafeFnPointer( + proc("glGetProgramStageiv"), + def_glGetProgramStageiv, + ); } diff --git a/api/ext/GL_ARB_shader_texture_image_samples.ts b/api/ext/GL_ARB_shader_texture_image_samples.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_texture_image_samples.ts +++ b/api/ext/GL_ARB_shader_texture_image_samples.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shader_texture_lod.ts b/api/ext/GL_ARB_shader_texture_lod.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_texture_lod.ts +++ b/api/ext/GL_ARB_shader_texture_lod.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shader_viewport_layer_array.ts b/api/ext/GL_ARB_shader_viewport_layer_array.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shader_viewport_layer_array.ts +++ b/api/ext/GL_ARB_shader_viewport_layer_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shading_language_100.ts b/api/ext/GL_ARB_shading_language_100.ts index 7a37b12..43059f6 100644 --- a/api/ext/GL_ARB_shading_language_100.ts +++ b/api/ext/GL_ARB_shading_language_100.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shading_language_420pack.ts b/api/ext/GL_ARB_shading_language_420pack.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shading_language_420pack.ts +++ b/api/ext/GL_ARB_shading_language_420pack.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shading_language_include.ts b/api/ext/GL_ARB_shading_language_include.ts index 760b7b6..66fcac5 100644 --- a/api/ext/GL_ARB_shading_language_include.ts +++ b/api/ext/GL_ARB_shading_language_include.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -94,7 +102,9 @@ export const def_glDeleteNamedStringARB = { result: "void", } as const; -let fn_glDeleteNamedStringARB!: Deno.UnsafeFnPointer; +let fn_glDeleteNamedStringARB!: Deno.UnsafeFnPointer< + typeof def_glDeleteNamedStringARB +>; export function DeleteNamedStringARB( namelen: GLint, @@ -111,7 +121,9 @@ export const def_glCompileShaderIncludeARB = { result: "void", } as const; -let fn_glCompileShaderIncludeARB!: Deno.UnsafeFnPointer; +let fn_glCompileShaderIncludeARB!: Deno.UnsafeFnPointer< + typeof def_glCompileShaderIncludeARB +>; export function CompileShaderIncludeARB( shader: GLuint, @@ -149,7 +161,9 @@ export const def_glGetNamedStringARB = { result: "void", } as const; -let fn_glGetNamedStringARB!: Deno.UnsafeFnPointer; +let fn_glGetNamedStringARB!: Deno.UnsafeFnPointer< + typeof def_glGetNamedStringARB +>; export function GetNamedStringARB( namelen: GLint, @@ -172,7 +186,9 @@ export const def_glGetNamedStringivARB = { result: "void", } as const; -let fn_glGetNamedStringivARB!: Deno.UnsafeFnPointer; +let fn_glGetNamedStringivARB!: Deno.UnsafeFnPointer< + typeof def_glGetNamedStringivARB +>; export function GetNamedStringivARB( namelen: GLint, @@ -190,10 +206,28 @@ export function GetNamedStringivARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glNamedStringARB = new Deno.UnsafeFnPointer(proc("glNamedStringARB"), def_glNamedStringARB); - fn_glDeleteNamedStringARB = new Deno.UnsafeFnPointer(proc("glDeleteNamedStringARB"), def_glDeleteNamedStringARB); - fn_glCompileShaderIncludeARB = new Deno.UnsafeFnPointer(proc("glCompileShaderIncludeARB"), def_glCompileShaderIncludeARB); - fn_glIsNamedStringARB = new Deno.UnsafeFnPointer(proc("glIsNamedStringARB"), def_glIsNamedStringARB); - fn_glGetNamedStringARB = new Deno.UnsafeFnPointer(proc("glGetNamedStringARB"), def_glGetNamedStringARB); - fn_glGetNamedStringivARB = new Deno.UnsafeFnPointer(proc("glGetNamedStringivARB"), def_glGetNamedStringivARB); + fn_glNamedStringARB = new Deno.UnsafeFnPointer( + proc("glNamedStringARB"), + def_glNamedStringARB, + ); + fn_glDeleteNamedStringARB = new Deno.UnsafeFnPointer( + proc("glDeleteNamedStringARB"), + def_glDeleteNamedStringARB, + ); + fn_glCompileShaderIncludeARB = new Deno.UnsafeFnPointer( + proc("glCompileShaderIncludeARB"), + def_glCompileShaderIncludeARB, + ); + fn_glIsNamedStringARB = new Deno.UnsafeFnPointer( + proc("glIsNamedStringARB"), + def_glIsNamedStringARB, + ); + fn_glGetNamedStringARB = new Deno.UnsafeFnPointer( + proc("glGetNamedStringARB"), + def_glGetNamedStringARB, + ); + fn_glGetNamedStringivARB = new Deno.UnsafeFnPointer( + proc("glGetNamedStringivARB"), + def_glGetNamedStringivARB, + ); } diff --git a/api/ext/GL_ARB_shading_language_packing.ts b/api/ext/GL_ARB_shading_language_packing.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_shading_language_packing.ts +++ b/api/ext/GL_ARB_shading_language_packing.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shadow.ts b/api/ext/GL_ARB_shadow.ts index d4d8011..21d43e3 100644 --- a/api/ext/GL_ARB_shadow.ts +++ b/api/ext/GL_ARB_shadow.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_shadow_ambient.ts b/api/ext/GL_ARB_shadow_ambient.ts index b4ccea7..7262fe8 100644 --- a/api/ext/GL_ARB_shadow_ambient.ts +++ b/api/ext/GL_ARB_shadow_ambient.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_sparse_buffer.ts b/api/ext/GL_ARB_sparse_buffer.ts index 3cbad4b..edb579e 100644 --- a/api/ext/GL_ARB_sparse_buffer.ts +++ b/api/ext/GL_ARB_sparse_buffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glBufferPageCommitmentARB = { result: "void", } as const; -let fn_glBufferPageCommitmentARB!: Deno.UnsafeFnPointer; +let fn_glBufferPageCommitmentARB!: Deno.UnsafeFnPointer< + typeof def_glBufferPageCommitmentARB +>; export function BufferPageCommitmentARB( target: GLenum, @@ -91,7 +101,9 @@ export const def_glNamedBufferPageCommitmentEXT = { result: "void", } as const; -let fn_glNamedBufferPageCommitmentEXT!: Deno.UnsafeFnPointer; +let fn_glNamedBufferPageCommitmentEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferPageCommitmentEXT +>; export function NamedBufferPageCommitmentEXT( buffer: GLuint, @@ -112,7 +124,9 @@ export const def_glNamedBufferPageCommitmentARB = { result: "void", } as const; -let fn_glNamedBufferPageCommitmentARB!: Deno.UnsafeFnPointer; +let fn_glNamedBufferPageCommitmentARB!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferPageCommitmentARB +>; export function NamedBufferPageCommitmentARB( buffer: GLuint, @@ -130,7 +144,16 @@ export function NamedBufferPageCommitmentARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBufferPageCommitmentARB = new Deno.UnsafeFnPointer(proc("glBufferPageCommitmentARB"), def_glBufferPageCommitmentARB); - fn_glNamedBufferPageCommitmentEXT = new Deno.UnsafeFnPointer(proc("glNamedBufferPageCommitmentEXT"), def_glNamedBufferPageCommitmentEXT); - fn_glNamedBufferPageCommitmentARB = new Deno.UnsafeFnPointer(proc("glNamedBufferPageCommitmentARB"), def_glNamedBufferPageCommitmentARB); + fn_glBufferPageCommitmentARB = new Deno.UnsafeFnPointer( + proc("glBufferPageCommitmentARB"), + def_glBufferPageCommitmentARB, + ); + fn_glNamedBufferPageCommitmentEXT = new Deno.UnsafeFnPointer( + proc("glNamedBufferPageCommitmentEXT"), + def_glNamedBufferPageCommitmentEXT, + ); + fn_glNamedBufferPageCommitmentARB = new Deno.UnsafeFnPointer( + proc("glNamedBufferPageCommitmentARB"), + def_glNamedBufferPageCommitmentARB, + ); } diff --git a/api/ext/GL_ARB_sparse_texture.ts b/api/ext/GL_ARB_sparse_texture.ts index e059e27..a6da232 100644 --- a/api/ext/GL_ARB_sparse_texture.ts +++ b/api/ext/GL_ARB_sparse_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -79,7 +87,9 @@ export const def_glTexPageCommitmentARB = { result: "void", } as const; -let fn_glTexPageCommitmentARB!: Deno.UnsafeFnPointer; +let fn_glTexPageCommitmentARB!: Deno.UnsafeFnPointer< + typeof def_glTexPageCommitmentARB +>; export function TexPageCommitmentARB( target: GLenum, @@ -107,5 +117,8 @@ export function TexPageCommitmentARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexPageCommitmentARB = new Deno.UnsafeFnPointer(proc("glTexPageCommitmentARB"), def_glTexPageCommitmentARB); + fn_glTexPageCommitmentARB = new Deno.UnsafeFnPointer( + proc("glTexPageCommitmentARB"), + def_glTexPageCommitmentARB, + ); } diff --git a/api/ext/GL_ARB_sparse_texture2.ts b/api/ext/GL_ARB_sparse_texture2.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_sparse_texture2.ts +++ b/api/ext/GL_ARB_sparse_texture2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_sparse_texture_clamp.ts b/api/ext/GL_ARB_sparse_texture_clamp.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_sparse_texture_clamp.ts +++ b/api/ext/GL_ARB_sparse_texture_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_spirv_extensions.ts b/api/ext/GL_ARB_spirv_extensions.ts index b37851b..a9a290b 100644 --- a/api/ext/GL_ARB_spirv_extensions.ts +++ b/api/ext/GL_ARB_spirv_extensions.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_stencil_texturing.ts b/api/ext/GL_ARB_stencil_texturing.ts index 9363e29..cd3fc60 100644 --- a/api/ext/GL_ARB_stencil_texturing.ts +++ b/api/ext/GL_ARB_stencil_texturing.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_sync.ts b/api/ext/GL_ARB_sync.ts index 29df5f3..3c285d3 100644 --- a/api/ext/GL_ARB_sync.ts +++ b/api/ext/GL_ARB_sync.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -205,11 +213,26 @@ export function GetSynciv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); } diff --git a/api/ext/GL_ARB_tessellation_shader.ts b/api/ext/GL_ARB_tessellation_shader.ts index b299d19..0947c69 100644 --- a/api/ext/GL_ARB_tessellation_shader.ts +++ b/api/ext/GL_ARB_tessellation_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -136,6 +144,12 @@ export function PatchParameterfv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPatchParameteri = new Deno.UnsafeFnPointer(proc("glPatchParameteri"), def_glPatchParameteri); - fn_glPatchParameterfv = new Deno.UnsafeFnPointer(proc("glPatchParameterfv"), def_glPatchParameterfv); + fn_glPatchParameteri = new Deno.UnsafeFnPointer( + proc("glPatchParameteri"), + def_glPatchParameteri, + ); + fn_glPatchParameterfv = new Deno.UnsafeFnPointer( + proc("glPatchParameterfv"), + def_glPatchParameterfv, + ); } diff --git a/api/ext/GL_ARB_texture_barrier.ts b/api/ext/GL_ARB_texture_barrier.ts index 889e5aa..9bb3caa 100644 --- a/api/ext/GL_ARB_texture_barrier.ts +++ b/api/ext/GL_ARB_texture_barrier.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,5 +82,8 @@ export function TextureBarrier(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTextureBarrier = new Deno.UnsafeFnPointer(proc("glTextureBarrier"), def_glTextureBarrier); + fn_glTextureBarrier = new Deno.UnsafeFnPointer( + proc("glTextureBarrier"), + def_glTextureBarrier, + ); } diff --git a/api/ext/GL_ARB_texture_border_clamp.ts b/api/ext/GL_ARB_texture_border_clamp.ts index 3e5fe07..913f873 100644 --- a/api/ext/GL_ARB_texture_border_clamp.ts +++ b/api/ext/GL_ARB_texture_border_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_buffer_object.ts b/api/ext/GL_ARB_texture_buffer_object.ts index 5725f5f..dd8490a 100644 --- a/api/ext/GL_ARB_texture_buffer_object.ts +++ b/api/ext/GL_ARB_texture_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -89,5 +97,8 @@ export function TexBufferARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexBufferARB = new Deno.UnsafeFnPointer(proc("glTexBufferARB"), def_glTexBufferARB); + fn_glTexBufferARB = new Deno.UnsafeFnPointer( + proc("glTexBufferARB"), + def_glTexBufferARB, + ); } diff --git a/api/ext/GL_ARB_texture_buffer_object_rgb32.ts b/api/ext/GL_ARB_texture_buffer_object_rgb32.ts index 4974a96..4c22950 100644 --- a/api/ext/GL_ARB_texture_buffer_object_rgb32.ts +++ b/api/ext/GL_ARB_texture_buffer_object_rgb32.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_buffer_range.ts b/api/ext/GL_ARB_texture_buffer_range.ts index def572b..915de69 100644 --- a/api/ext/GL_ARB_texture_buffer_range.ts +++ b/api/ext/GL_ARB_texture_buffer_range.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -91,5 +99,8 @@ export function TexBufferRange( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexBufferRange = new Deno.UnsafeFnPointer(proc("glTexBufferRange"), def_glTexBufferRange); + fn_glTexBufferRange = new Deno.UnsafeFnPointer( + proc("glTexBufferRange"), + def_glTexBufferRange, + ); } diff --git a/api/ext/GL_ARB_texture_compression.ts b/api/ext/GL_ARB_texture_compression.ts index 8884c32..8aa5017 100644 --- a/api/ext/GL_ARB_texture_compression.ts +++ b/api/ext/GL_ARB_texture_compression.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,11 +83,23 @@ export const COMPRESSED_TEXTURE_FORMATS_ARB = 0x86a3; /// Commands export const def_glCompressedTexImage3DARB = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3DARB!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3DARB!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3DARB +>; export function CompressedTexImage3DARB( target: GLenum, @@ -110,7 +130,9 @@ export const def_glCompressedTexImage2DARB = { result: "void", } as const; -let fn_glCompressedTexImage2DARB!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2DARB!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2DARB +>; export function CompressedTexImage2DARB( target: GLenum, @@ -139,7 +161,9 @@ export const def_glCompressedTexImage1DARB = { result: "void", } as const; -let fn_glCompressedTexImage1DARB!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1DARB!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1DARB +>; export function CompressedTexImage1DARB( target: GLenum, @@ -162,11 +186,25 @@ export function CompressedTexImage1DARB( } export const def_glCompressedTexSubImage3DARB = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage3DARB!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage3DARB!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3DARB +>; export function CompressedTexSubImage3DARB( target: GLenum, @@ -197,11 +235,23 @@ export function CompressedTexSubImage3DARB( } export const def_glCompressedTexSubImage2DARB = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2DARB!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2DARB!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2DARB +>; export function CompressedTexSubImage2DARB( target: GLenum, @@ -232,7 +282,9 @@ export const def_glCompressedTexSubImage1DARB = { result: "void", } as const; -let fn_glCompressedTexSubImage1DARB!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1DARB!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1DARB +>; export function CompressedTexSubImage1DARB( target: GLenum, @@ -259,7 +311,9 @@ export const def_glGetCompressedTexImageARB = { result: "void", } as const; -let fn_glGetCompressedTexImageARB!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImageARB!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImageARB +>; export function GetCompressedTexImageARB( target: GLenum, @@ -275,11 +329,32 @@ export function GetCompressedTexImageARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCompressedTexImage3DARB = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3DARB"), def_glCompressedTexImage3DARB); - fn_glCompressedTexImage2DARB = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2DARB"), def_glCompressedTexImage2DARB); - fn_glCompressedTexImage1DARB = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1DARB"), def_glCompressedTexImage1DARB); - fn_glCompressedTexSubImage3DARB = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3DARB"), def_glCompressedTexSubImage3DARB); - fn_glCompressedTexSubImage2DARB = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2DARB"), def_glCompressedTexSubImage2DARB); - fn_glCompressedTexSubImage1DARB = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1DARB"), def_glCompressedTexSubImage1DARB); - fn_glGetCompressedTexImageARB = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImageARB"), def_glGetCompressedTexImageARB); + fn_glCompressedTexImage3DARB = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3DARB"), + def_glCompressedTexImage3DARB, + ); + fn_glCompressedTexImage2DARB = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2DARB"), + def_glCompressedTexImage2DARB, + ); + fn_glCompressedTexImage1DARB = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1DARB"), + def_glCompressedTexImage1DARB, + ); + fn_glCompressedTexSubImage3DARB = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3DARB"), + def_glCompressedTexSubImage3DARB, + ); + fn_glCompressedTexSubImage2DARB = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2DARB"), + def_glCompressedTexSubImage2DARB, + ); + fn_glCompressedTexSubImage1DARB = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1DARB"), + def_glCompressedTexSubImage1DARB, + ); + fn_glGetCompressedTexImageARB = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImageARB"), + def_glGetCompressedTexImageARB, + ); } diff --git a/api/ext/GL_ARB_texture_compression_bptc.ts b/api/ext/GL_ARB_texture_compression_bptc.ts index e4bae5c..88eb224 100644 --- a/api/ext/GL_ARB_texture_compression_bptc.ts +++ b/api/ext/GL_ARB_texture_compression_bptc.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_compression_rgtc.ts b/api/ext/GL_ARB_texture_compression_rgtc.ts index ad06faa..8d4f0ac 100644 --- a/api/ext/GL_ARB_texture_compression_rgtc.ts +++ b/api/ext/GL_ARB_texture_compression_rgtc.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_cube_map.ts b/api/ext/GL_ARB_texture_cube_map.ts index 04af1c2..e7ad874 100644 --- a/api/ext/GL_ARB_texture_cube_map.ts +++ b/api/ext/GL_ARB_texture_cube_map.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_cube_map_array.ts b/api/ext/GL_ARB_texture_cube_map_array.ts index 55d9a2b..40c2b0a 100644 --- a/api/ext/GL_ARB_texture_cube_map_array.ts +++ b/api/ext/GL_ARB_texture_cube_map_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_env_add.ts b/api/ext/GL_ARB_texture_env_add.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_texture_env_add.ts +++ b/api/ext/GL_ARB_texture_env_add.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_env_combine.ts b/api/ext/GL_ARB_texture_env_combine.ts index bd8c426..382c1cb 100644 --- a/api/ext/GL_ARB_texture_env_combine.ts +++ b/api/ext/GL_ARB_texture_env_combine.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_env_crossbar.ts b/api/ext/GL_ARB_texture_env_crossbar.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_texture_env_crossbar.ts +++ b/api/ext/GL_ARB_texture_env_crossbar.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_env_dot3.ts b/api/ext/GL_ARB_texture_env_dot3.ts index 420a326..7a0b67f 100644 --- a/api/ext/GL_ARB_texture_env_dot3.ts +++ b/api/ext/GL_ARB_texture_env_dot3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_filter_anisotropic.ts b/api/ext/GL_ARB_texture_filter_anisotropic.ts index b250a87..c2769cc 100644 --- a/api/ext/GL_ARB_texture_filter_anisotropic.ts +++ b/api/ext/GL_ARB_texture_filter_anisotropic.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_filter_minmax.ts b/api/ext/GL_ARB_texture_filter_minmax.ts index 2b99edc..279014f 100644 --- a/api/ext/GL_ARB_texture_filter_minmax.ts +++ b/api/ext/GL_ARB_texture_filter_minmax.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_float.ts b/api/ext/GL_ARB_texture_float.ts index d6bf622..724edf1 100644 --- a/api/ext/GL_ARB_texture_float.ts +++ b/api/ext/GL_ARB_texture_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_gather.ts b/api/ext/GL_ARB_texture_gather.ts index 8355d9d..fde822f 100644 --- a/api/ext/GL_ARB_texture_gather.ts +++ b/api/ext/GL_ARB_texture_gather.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_mirror_clamp_to_edge.ts b/api/ext/GL_ARB_texture_mirror_clamp_to_edge.ts index 5acce55..a9ec0fa 100644 --- a/api/ext/GL_ARB_texture_mirror_clamp_to_edge.ts +++ b/api/ext/GL_ARB_texture_mirror_clamp_to_edge.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_mirrored_repeat.ts b/api/ext/GL_ARB_texture_mirrored_repeat.ts index 3e4750f..666fb99 100644 --- a/api/ext/GL_ARB_texture_mirrored_repeat.ts +++ b/api/ext/GL_ARB_texture_mirrored_repeat.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_multisample.ts b/api/ext/GL_ARB_texture_multisample.ts index 287a846..8f1e084 100644 --- a/api/ext/GL_ARB_texture_multisample.ts +++ b/api/ext/GL_ARB_texture_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -89,7 +97,9 @@ export const def_glTexImage2DMultisample = { result: "void", } as const; -let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage2DMultisample +>; export function TexImage2DMultisample( target: GLenum, @@ -114,7 +124,9 @@ export const def_glTexImage3DMultisample = { result: "void", } as const; -let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage3DMultisample +>; export function TexImage3DMultisample( target: GLenum, @@ -174,8 +186,20 @@ export function SampleMaski( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage2DMultisample"), def_glTexImage2DMultisample); - fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage3DMultisample"), def_glTexImage3DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); + fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage2DMultisample"), + def_glTexImage2DMultisample, + ); + fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage3DMultisample"), + def_glTexImage3DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); } diff --git a/api/ext/GL_ARB_texture_non_power_of_two.ts b/api/ext/GL_ARB_texture_non_power_of_two.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_texture_non_power_of_two.ts +++ b/api/ext/GL_ARB_texture_non_power_of_two.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_query_levels.ts b/api/ext/GL_ARB_texture_query_levels.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_texture_query_levels.ts +++ b/api/ext/GL_ARB_texture_query_levels.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_query_lod.ts b/api/ext/GL_ARB_texture_query_lod.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARB_texture_query_lod.ts +++ b/api/ext/GL_ARB_texture_query_lod.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_rectangle.ts b/api/ext/GL_ARB_texture_rectangle.ts index 2e8d758..54a48fb 100644 --- a/api/ext/GL_ARB_texture_rectangle.ts +++ b/api/ext/GL_ARB_texture_rectangle.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_rg.ts b/api/ext/GL_ARB_texture_rg.ts index 68fec5b..3a09f38 100644 --- a/api/ext/GL_ARB_texture_rg.ts +++ b/api/ext/GL_ARB_texture_rg.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_rgb10_a2ui.ts b/api/ext/GL_ARB_texture_rgb10_a2ui.ts index 17e0926..00cb2c7 100644 --- a/api/ext/GL_ARB_texture_rgb10_a2ui.ts +++ b/api/ext/GL_ARB_texture_rgb10_a2ui.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_stencil8.ts b/api/ext/GL_ARB_texture_stencil8.ts index 6b399d3..ef72565 100644 --- a/api/ext/GL_ARB_texture_stencil8.ts +++ b/api/ext/GL_ARB_texture_stencil8.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_storage.ts b/api/ext/GL_ARB_texture_storage.ts index 7d21d97..fbba731 100644 --- a/api/ext/GL_ARB_texture_storage.ts +++ b/api/ext/GL_ARB_texture_storage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -135,7 +143,16 @@ export function TexStorage3D( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexStorage1D = new Deno.UnsafeFnPointer(proc("glTexStorage1D"), def_glTexStorage1D); - fn_glTexStorage2D = new Deno.UnsafeFnPointer(proc("glTexStorage2D"), def_glTexStorage2D); - fn_glTexStorage3D = new Deno.UnsafeFnPointer(proc("glTexStorage3D"), def_glTexStorage3D); + fn_glTexStorage1D = new Deno.UnsafeFnPointer( + proc("glTexStorage1D"), + def_glTexStorage1D, + ); + fn_glTexStorage2D = new Deno.UnsafeFnPointer( + proc("glTexStorage2D"), + def_glTexStorage2D, + ); + fn_glTexStorage3D = new Deno.UnsafeFnPointer( + proc("glTexStorage3D"), + def_glTexStorage3D, + ); } diff --git a/api/ext/GL_ARB_texture_storage_multisample.ts b/api/ext/GL_ARB_texture_storage_multisample.ts index 1e9d92d..be0002a 100644 --- a/api/ext/GL_ARB_texture_storage_multisample.ts +++ b/api/ext/GL_ARB_texture_storage_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glTexStorage2DMultisample = { result: "void", } as const; -let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage2DMultisample +>; export function TexStorage2DMultisample( target: GLenum, @@ -91,7 +101,9 @@ export const def_glTexStorage3DMultisample = { result: "void", } as const; -let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage3DMultisample +>; export function TexStorage3DMultisample( target: GLenum, @@ -115,6 +127,12 @@ export function TexStorage3DMultisample( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage2DMultisample"), def_glTexStorage2DMultisample); - fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage3DMultisample"), def_glTexStorage3DMultisample); + fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage2DMultisample"), + def_glTexStorage2DMultisample, + ); + fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage3DMultisample"), + def_glTexStorage3DMultisample, + ); } diff --git a/api/ext/GL_ARB_texture_swizzle.ts b/api/ext/GL_ARB_texture_swizzle.ts index d2bffb7..ecbe340 100644 --- a/api/ext/GL_ARB_texture_swizzle.ts +++ b/api/ext/GL_ARB_texture_swizzle.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_texture_view.ts b/api/ext/GL_ARB_texture_view.ts index 3a3638f..cc07c7b 100644 --- a/api/ext/GL_ARB_texture_view.ts +++ b/api/ext/GL_ARB_texture_view.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -99,5 +107,8 @@ export function TextureView( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTextureView = new Deno.UnsafeFnPointer(proc("glTextureView"), def_glTextureView); + fn_glTextureView = new Deno.UnsafeFnPointer( + proc("glTextureView"), + def_glTextureView, + ); } diff --git a/api/ext/GL_ARB_timer_query.ts b/api/ext/GL_ARB_timer_query.ts index f6f4c98..e153bc2 100644 --- a/api/ext/GL_ARB_timer_query.ts +++ b/api/ext/GL_ARB_timer_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -87,7 +95,9 @@ export const def_glGetQueryObjecti64v = { result: "void", } as const; -let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjecti64v +>; export function GetQueryObjecti64v( id: GLuint, @@ -106,7 +116,9 @@ export const def_glGetQueryObjectui64v = { result: "void", } as const; -let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectui64v +>; export function GetQueryObjectui64v( id: GLuint, @@ -122,7 +134,16 @@ export function GetQueryObjectui64v( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glQueryCounter = new Deno.UnsafeFnPointer(proc("glQueryCounter"), def_glQueryCounter); - fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjecti64v"), def_glGetQueryObjecti64v); - fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjectui64v"), def_glGetQueryObjectui64v); + fn_glQueryCounter = new Deno.UnsafeFnPointer( + proc("glQueryCounter"), + def_glQueryCounter, + ); + fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjecti64v"), + def_glGetQueryObjecti64v, + ); + fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectui64v"), + def_glGetQueryObjectui64v, + ); } diff --git a/api/ext/GL_ARB_transform_feedback2.ts b/api/ext/GL_ARB_transform_feedback2.ts index 9962e72..fed900b 100644 --- a/api/ext/GL_ARB_transform_feedback2.ts +++ b/api/ext/GL_ARB_transform_feedback2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glBindTransformFeedback = { result: "void", } as const; -let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedback +>; export function BindTransformFeedback( target: GLenum, @@ -89,7 +99,9 @@ export const def_glDeleteTransformFeedbacks = { result: "void", } as const; -let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacks +>; export function DeleteTransformFeedbacks( n: GLsizei, @@ -106,7 +118,9 @@ export const def_glGenTransformFeedbacks = { result: "void", } as const; -let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacks +>; export function GenTransformFeedbacks( n: GLsizei, @@ -123,7 +137,9 @@ export const def_glIsTransformFeedback = { result: "u8", } as const; -let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedback +>; export function IsTransformFeedback( id: GLuint, @@ -138,7 +154,9 @@ export const def_glPauseTransformFeedback = { result: "void", } as const; -let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedback +>; export function PauseTransformFeedback(): void { fn_glPauseTransformFeedback.call(); @@ -149,7 +167,9 @@ export const def_glResumeTransformFeedback = { result: "void", } as const; -let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedback +>; export function ResumeTransformFeedback(): void { fn_glResumeTransformFeedback.call(); @@ -160,7 +180,9 @@ export const def_glDrawTransformFeedback = { result: "void", } as const; -let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedback +>; export function DrawTransformFeedback( mode: GLenum, @@ -174,11 +196,32 @@ export function DrawTransformFeedback( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindTransformFeedback = new Deno.UnsafeFnPointer(proc("glBindTransformFeedback"), def_glBindTransformFeedback); - fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacks"), def_glDeleteTransformFeedbacks); - fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacks"), def_glGenTransformFeedbacks); - fn_glIsTransformFeedback = new Deno.UnsafeFnPointer(proc("glIsTransformFeedback"), def_glIsTransformFeedback); - fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedback"), def_glPauseTransformFeedback); - fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedback"), def_glResumeTransformFeedback); - fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedback"), def_glDrawTransformFeedback); + fn_glBindTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedback"), + def_glBindTransformFeedback, + ); + fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacks"), + def_glDeleteTransformFeedbacks, + ); + fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacks"), + def_glGenTransformFeedbacks, + ); + fn_glIsTransformFeedback = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedback"), + def_glIsTransformFeedback, + ); + fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedback"), + def_glPauseTransformFeedback, + ); + fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedback"), + def_glResumeTransformFeedback, + ); + fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedback"), + def_glDrawTransformFeedback, + ); } diff --git a/api/ext/GL_ARB_transform_feedback3.ts b/api/ext/GL_ARB_transform_feedback3.ts index ee5b38e..2afca1f 100644 --- a/api/ext/GL_ARB_transform_feedback3.ts +++ b/api/ext/GL_ARB_transform_feedback3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glDrawTransformFeedbackStream = { result: "void", } as const; -let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStream +>; export function DrawTransformFeedbackStream( mode: GLenum, @@ -89,7 +99,9 @@ export const def_glBeginQueryIndexed = { result: "void", } as const; -let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer; +let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer< + typeof def_glBeginQueryIndexed +>; export function BeginQueryIndexed( target: GLenum, @@ -125,7 +137,9 @@ export const def_glGetQueryIndexediv = { result: "void", } as const; -let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer; +let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryIndexediv +>; export function GetQueryIndexediv( target: GLenum, @@ -143,8 +157,20 @@ export function GetQueryIndexediv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStream"), def_glDrawTransformFeedbackStream); - fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer(proc("glBeginQueryIndexed"), def_glBeginQueryIndexed); - fn_glEndQueryIndexed = new Deno.UnsafeFnPointer(proc("glEndQueryIndexed"), def_glEndQueryIndexed); - fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer(proc("glGetQueryIndexediv"), def_glGetQueryIndexediv); + fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStream"), + def_glDrawTransformFeedbackStream, + ); + fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer( + proc("glBeginQueryIndexed"), + def_glBeginQueryIndexed, + ); + fn_glEndQueryIndexed = new Deno.UnsafeFnPointer( + proc("glEndQueryIndexed"), + def_glEndQueryIndexed, + ); + fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer( + proc("glGetQueryIndexediv"), + def_glGetQueryIndexediv, + ); } diff --git a/api/ext/GL_ARB_transform_feedback_instanced.ts b/api/ext/GL_ARB_transform_feedback_instanced.ts index 2079a3a..0c70d52 100644 --- a/api/ext/GL_ARB_transform_feedback_instanced.ts +++ b/api/ext/GL_ARB_transform_feedback_instanced.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glDrawTransformFeedbackInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackInstanced +>; export function DrawTransformFeedbackInstanced( mode: GLenum, @@ -85,7 +95,9 @@ export const def_glDrawTransformFeedbackStreamInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStreamInstanced +>; export function DrawTransformFeedbackStreamInstanced( mode: GLenum, @@ -103,6 +115,12 @@ export function DrawTransformFeedbackStreamInstanced( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackInstanced"), def_glDrawTransformFeedbackInstanced); - fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStreamInstanced"), def_glDrawTransformFeedbackStreamInstanced); + fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackInstanced"), + def_glDrawTransformFeedbackInstanced, + ); + fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStreamInstanced"), + def_glDrawTransformFeedbackStreamInstanced, + ); } diff --git a/api/ext/GL_ARB_transform_feedback_overflow_query.ts b/api/ext/GL_ARB_transform_feedback_overflow_query.ts index fb37971..57fbb4f 100644 --- a/api/ext/GL_ARB_transform_feedback_overflow_query.ts +++ b/api/ext/GL_ARB_transform_feedback_overflow_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_transpose_matrix.ts b/api/ext/GL_ARB_transpose_matrix.ts index ac82e3c..37e9f6d 100644 --- a/api/ext/GL_ARB_transpose_matrix.ts +++ b/api/ext/GL_ARB_transpose_matrix.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glLoadTransposeMatrixfARB = { result: "void", } as const; -let fn_glLoadTransposeMatrixfARB!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixfARB!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixfARB +>; export function LoadTransposeMatrixfARB( m: Buffer, @@ -87,7 +97,9 @@ export const def_glLoadTransposeMatrixdARB = { result: "void", } as const; -let fn_glLoadTransposeMatrixdARB!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixdARB!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixdARB +>; export function LoadTransposeMatrixdARB( m: Buffer, @@ -102,7 +114,9 @@ export const def_glMultTransposeMatrixfARB = { result: "void", } as const; -let fn_glMultTransposeMatrixfARB!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixfARB!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixfARB +>; export function MultTransposeMatrixfARB( m: Buffer, @@ -117,7 +131,9 @@ export const def_glMultTransposeMatrixdARB = { result: "void", } as const; -let fn_glMultTransposeMatrixdARB!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixdARB!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixdARB +>; export function MultTransposeMatrixdARB( m: Buffer, @@ -129,8 +145,20 @@ export function MultTransposeMatrixdARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glLoadTransposeMatrixfARB = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixfARB"), def_glLoadTransposeMatrixfARB); - fn_glLoadTransposeMatrixdARB = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixdARB"), def_glLoadTransposeMatrixdARB); - fn_glMultTransposeMatrixfARB = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixfARB"), def_glMultTransposeMatrixfARB); - fn_glMultTransposeMatrixdARB = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixdARB"), def_glMultTransposeMatrixdARB); + fn_glLoadTransposeMatrixfARB = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixfARB"), + def_glLoadTransposeMatrixfARB, + ); + fn_glLoadTransposeMatrixdARB = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixdARB"), + def_glLoadTransposeMatrixdARB, + ); + fn_glMultTransposeMatrixfARB = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixfARB"), + def_glMultTransposeMatrixfARB, + ); + fn_glMultTransposeMatrixdARB = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixdARB"), + def_glMultTransposeMatrixdARB, + ); } diff --git a/api/ext/GL_ARB_uniform_buffer_object.ts b/api/ext/GL_ARB_uniform_buffer_object.ts index d4bd4bb..cc4709b 100644 --- a/api/ext/GL_ARB_uniform_buffer_object.ts +++ b/api/ext/GL_ARB_uniform_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -101,7 +109,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -122,7 +132,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -145,7 +157,9 @@ export const def_glGetActiveUniformName = { result: "void", } as const; -let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformName +>; export function GetActiveUniformName( program: GLuint, @@ -168,7 +182,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -185,7 +201,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -206,7 +224,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -229,7 +249,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -306,14 +328,44 @@ export function GetIntegeri_v( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetActiveUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformName"), def_glGetActiveUniformName); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetActiveUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformName"), + def_glGetActiveUniformName, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); } diff --git a/api/ext/GL_ARB_vertex_array_bgra.ts b/api/ext/GL_ARB_vertex_array_bgra.ts index 00f8378..2ab4f28 100644 --- a/api/ext/GL_ARB_vertex_array_bgra.ts +++ b/api/ext/GL_ARB_vertex_array_bgra.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_vertex_array_object.ts b/api/ext/GL_ARB_vertex_array_object.ts index df365ac..d76f2b4 100644 --- a/api/ext/GL_ARB_vertex_array_object.ts +++ b/api/ext/GL_ARB_vertex_array_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,7 +92,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -130,8 +140,20 @@ export function IsVertexArray( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); } diff --git a/api/ext/GL_ARB_vertex_attrib_64bit.ts b/api/ext/GL_ARB_vertex_attrib_64bit.ts index 6f9f9ef..d619f33 100644 --- a/api/ext/GL_ARB_vertex_attrib_64bit.ts +++ b/api/ext/GL_ARB_vertex_attrib_64bit.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -229,7 +237,9 @@ export const def_glVertexAttribLPointer = { result: "void", } as const; -let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLPointer +>; export function VertexAttribLPointer( index: GLuint, @@ -252,7 +262,9 @@ export const def_glGetVertexAttribLdv = { result: "void", } as const; -let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribLdv +>; export function GetVertexAttribLdv( index: GLuint, @@ -268,14 +280,44 @@ export function GetVertexAttribLdv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexAttribL1d = new Deno.UnsafeFnPointer(proc("glVertexAttribL1d"), def_glVertexAttribL1d); - fn_glVertexAttribL2d = new Deno.UnsafeFnPointer(proc("glVertexAttribL2d"), def_glVertexAttribL2d); - fn_glVertexAttribL3d = new Deno.UnsafeFnPointer(proc("glVertexAttribL3d"), def_glVertexAttribL3d); - fn_glVertexAttribL4d = new Deno.UnsafeFnPointer(proc("glVertexAttribL4d"), def_glVertexAttribL4d); - fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL1dv"), def_glVertexAttribL1dv); - fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL2dv"), def_glVertexAttribL2dv); - fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL3dv"), def_glVertexAttribL3dv); - fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL4dv"), def_glVertexAttribL4dv); - fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribLPointer"), def_glVertexAttribLPointer); - fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribLdv"), def_glGetVertexAttribLdv); + fn_glVertexAttribL1d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1d"), + def_glVertexAttribL1d, + ); + fn_glVertexAttribL2d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2d"), + def_glVertexAttribL2d, + ); + fn_glVertexAttribL3d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3d"), + def_glVertexAttribL3d, + ); + fn_glVertexAttribL4d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4d"), + def_glVertexAttribL4d, + ); + fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1dv"), + def_glVertexAttribL1dv, + ); + fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2dv"), + def_glVertexAttribL2dv, + ); + fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3dv"), + def_glVertexAttribL3dv, + ); + fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4dv"), + def_glVertexAttribL4dv, + ); + fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribLPointer"), + def_glVertexAttribLPointer, + ); + fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribLdv"), + def_glGetVertexAttribLdv, + ); } diff --git a/api/ext/GL_ARB_vertex_attrib_binding.ts b/api/ext/GL_ARB_vertex_attrib_binding.ts index 208075b..c62c71c 100644 --- a/api/ext/GL_ARB_vertex_attrib_binding.ts +++ b/api/ext/GL_ARB_vertex_attrib_binding.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -96,7 +104,9 @@ export const def_glVertexAttribFormat = { result: "void", } as const; -let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribFormat +>; export function VertexAttribFormat( attribindex: GLuint, @@ -119,7 +129,9 @@ export const def_glVertexAttribIFormat = { result: "void", } as const; -let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIFormat +>; export function VertexAttribIFormat( attribindex: GLuint, @@ -140,7 +152,9 @@ export const def_glVertexAttribLFormat = { result: "void", } as const; -let fn_glVertexAttribLFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLFormat +>; export function VertexAttribLFormat( attribindex: GLuint, @@ -161,7 +175,9 @@ export const def_glVertexAttribBinding = { result: "void", } as const; -let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer; +let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribBinding +>; export function VertexAttribBinding( attribindex: GLuint, @@ -178,7 +194,9 @@ export const def_glVertexBindingDivisor = { result: "void", } as const; -let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexBindingDivisor +>; export function VertexBindingDivisor( bindingindex: GLuint, @@ -192,10 +210,28 @@ export function VertexBindingDivisor( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindVertexBuffer = new Deno.UnsafeFnPointer(proc("glBindVertexBuffer"), def_glBindVertexBuffer); - fn_glVertexAttribFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribFormat"), def_glVertexAttribFormat); - fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribIFormat"), def_glVertexAttribIFormat); - fn_glVertexAttribLFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribLFormat"), def_glVertexAttribLFormat); - fn_glVertexAttribBinding = new Deno.UnsafeFnPointer(proc("glVertexAttribBinding"), def_glVertexAttribBinding); - fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer(proc("glVertexBindingDivisor"), def_glVertexBindingDivisor); + fn_glBindVertexBuffer = new Deno.UnsafeFnPointer( + proc("glBindVertexBuffer"), + def_glBindVertexBuffer, + ); + fn_glVertexAttribFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribFormat"), + def_glVertexAttribFormat, + ); + fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribIFormat"), + def_glVertexAttribIFormat, + ); + fn_glVertexAttribLFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribLFormat"), + def_glVertexAttribLFormat, + ); + fn_glVertexAttribBinding = new Deno.UnsafeFnPointer( + proc("glVertexAttribBinding"), + def_glVertexAttribBinding, + ); + fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer( + proc("glVertexBindingDivisor"), + def_glVertexBindingDivisor, + ); } diff --git a/api/ext/GL_ARB_vertex_blend.ts b/api/ext/GL_ARB_vertex_blend.ts index b5898e0..aeec2d0 100644 --- a/api/ext/GL_ARB_vertex_blend.ts +++ b/api/ext/GL_ARB_vertex_blend.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -279,14 +287,44 @@ export function VertexBlendARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glWeightbvARB = new Deno.UnsafeFnPointer(proc("glWeightbvARB"), def_glWeightbvARB); - fn_glWeightsvARB = new Deno.UnsafeFnPointer(proc("glWeightsvARB"), def_glWeightsvARB); - fn_glWeightivARB = new Deno.UnsafeFnPointer(proc("glWeightivARB"), def_glWeightivARB); - fn_glWeightfvARB = new Deno.UnsafeFnPointer(proc("glWeightfvARB"), def_glWeightfvARB); - fn_glWeightdvARB = new Deno.UnsafeFnPointer(proc("glWeightdvARB"), def_glWeightdvARB); - fn_glWeightubvARB = new Deno.UnsafeFnPointer(proc("glWeightubvARB"), def_glWeightubvARB); - fn_glWeightusvARB = new Deno.UnsafeFnPointer(proc("glWeightusvARB"), def_glWeightusvARB); - fn_glWeightuivARB = new Deno.UnsafeFnPointer(proc("glWeightuivARB"), def_glWeightuivARB); - fn_glWeightPointerARB = new Deno.UnsafeFnPointer(proc("glWeightPointerARB"), def_glWeightPointerARB); - fn_glVertexBlendARB = new Deno.UnsafeFnPointer(proc("glVertexBlendARB"), def_glVertexBlendARB); + fn_glWeightbvARB = new Deno.UnsafeFnPointer( + proc("glWeightbvARB"), + def_glWeightbvARB, + ); + fn_glWeightsvARB = new Deno.UnsafeFnPointer( + proc("glWeightsvARB"), + def_glWeightsvARB, + ); + fn_glWeightivARB = new Deno.UnsafeFnPointer( + proc("glWeightivARB"), + def_glWeightivARB, + ); + fn_glWeightfvARB = new Deno.UnsafeFnPointer( + proc("glWeightfvARB"), + def_glWeightfvARB, + ); + fn_glWeightdvARB = new Deno.UnsafeFnPointer( + proc("glWeightdvARB"), + def_glWeightdvARB, + ); + fn_glWeightubvARB = new Deno.UnsafeFnPointer( + proc("glWeightubvARB"), + def_glWeightubvARB, + ); + fn_glWeightusvARB = new Deno.UnsafeFnPointer( + proc("glWeightusvARB"), + def_glWeightusvARB, + ); + fn_glWeightuivARB = new Deno.UnsafeFnPointer( + proc("glWeightuivARB"), + def_glWeightuivARB, + ); + fn_glWeightPointerARB = new Deno.UnsafeFnPointer( + proc("glWeightPointerARB"), + def_glWeightPointerARB, + ); + fn_glVertexBlendARB = new Deno.UnsafeFnPointer( + proc("glVertexBlendARB"), + def_glVertexBlendARB, + ); } diff --git a/api/ext/GL_ARB_vertex_buffer_object.ts b/api/ext/GL_ARB_vertex_buffer_object.ts index 730f212..cdf7b50 100644 --- a/api/ext/GL_ARB_vertex_buffer_object.ts +++ b/api/ext/GL_ARB_vertex_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -207,7 +215,9 @@ export const def_glGetBufferSubDataARB = { result: "void", } as const; -let fn_glGetBufferSubDataARB!: Deno.UnsafeFnPointer; +let fn_glGetBufferSubDataARB!: Deno.UnsafeFnPointer< + typeof def_glGetBufferSubDataARB +>; export function GetBufferSubDataARB( target: GLenum, @@ -260,7 +270,9 @@ export const def_glGetBufferParameterivARB = { result: "void", } as const; -let fn_glGetBufferParameterivARB!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameterivARB!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameterivARB +>; export function GetBufferParameterivARB( target: GLenum, @@ -279,7 +291,9 @@ export const def_glGetBufferPointervARB = { result: "void", } as const; -let fn_glGetBufferPointervARB!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointervARB!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointervARB +>; export function GetBufferPointervARB( target: GLenum, @@ -295,15 +309,48 @@ export function GetBufferPointervARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindBufferARB = new Deno.UnsafeFnPointer(proc("glBindBufferARB"), def_glBindBufferARB); - fn_glDeleteBuffersARB = new Deno.UnsafeFnPointer(proc("glDeleteBuffersARB"), def_glDeleteBuffersARB); - fn_glGenBuffersARB = new Deno.UnsafeFnPointer(proc("glGenBuffersARB"), def_glGenBuffersARB); - fn_glIsBufferARB = new Deno.UnsafeFnPointer(proc("glIsBufferARB"), def_glIsBufferARB); - fn_glBufferDataARB = new Deno.UnsafeFnPointer(proc("glBufferDataARB"), def_glBufferDataARB); - fn_glBufferSubDataARB = new Deno.UnsafeFnPointer(proc("glBufferSubDataARB"), def_glBufferSubDataARB); - fn_glGetBufferSubDataARB = new Deno.UnsafeFnPointer(proc("glGetBufferSubDataARB"), def_glGetBufferSubDataARB); - fn_glMapBufferARB = new Deno.UnsafeFnPointer(proc("glMapBufferARB"), def_glMapBufferARB); - fn_glUnmapBufferARB = new Deno.UnsafeFnPointer(proc("glUnmapBufferARB"), def_glUnmapBufferARB); - fn_glGetBufferParameterivARB = new Deno.UnsafeFnPointer(proc("glGetBufferParameterivARB"), def_glGetBufferParameterivARB); - fn_glGetBufferPointervARB = new Deno.UnsafeFnPointer(proc("glGetBufferPointervARB"), def_glGetBufferPointervARB); + fn_glBindBufferARB = new Deno.UnsafeFnPointer( + proc("glBindBufferARB"), + def_glBindBufferARB, + ); + fn_glDeleteBuffersARB = new Deno.UnsafeFnPointer( + proc("glDeleteBuffersARB"), + def_glDeleteBuffersARB, + ); + fn_glGenBuffersARB = new Deno.UnsafeFnPointer( + proc("glGenBuffersARB"), + def_glGenBuffersARB, + ); + fn_glIsBufferARB = new Deno.UnsafeFnPointer( + proc("glIsBufferARB"), + def_glIsBufferARB, + ); + fn_glBufferDataARB = new Deno.UnsafeFnPointer( + proc("glBufferDataARB"), + def_glBufferDataARB, + ); + fn_glBufferSubDataARB = new Deno.UnsafeFnPointer( + proc("glBufferSubDataARB"), + def_glBufferSubDataARB, + ); + fn_glGetBufferSubDataARB = new Deno.UnsafeFnPointer( + proc("glGetBufferSubDataARB"), + def_glGetBufferSubDataARB, + ); + fn_glMapBufferARB = new Deno.UnsafeFnPointer( + proc("glMapBufferARB"), + def_glMapBufferARB, + ); + fn_glUnmapBufferARB = new Deno.UnsafeFnPointer( + proc("glUnmapBufferARB"), + def_glUnmapBufferARB, + ); + fn_glGetBufferParameterivARB = new Deno.UnsafeFnPointer( + proc("glGetBufferParameterivARB"), + def_glGetBufferParameterivARB, + ); + fn_glGetBufferPointervARB = new Deno.UnsafeFnPointer( + proc("glGetBufferPointervARB"), + def_glGetBufferPointervARB, + ); } diff --git a/api/ext/GL_ARB_vertex_program.ts b/api/ext/GL_ARB_vertex_program.ts index f2afe09..0a46914 100644 --- a/api/ext/GL_ARB_vertex_program.ts +++ b/api/ext/GL_ARB_vertex_program.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -147,7 +155,9 @@ export const def_glVertexAttrib1dARB = { result: "void", } as const; -let fn_glVertexAttrib1dARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1dARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1dARB +>; export function VertexAttrib1dARB( index: GLuint, @@ -164,7 +174,9 @@ export const def_glVertexAttrib1dvARB = { result: "void", } as const; -let fn_glVertexAttrib1dvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1dvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1dvARB +>; export function VertexAttrib1dvARB( index: GLuint, @@ -181,7 +193,9 @@ export const def_glVertexAttrib1fARB = { result: "void", } as const; -let fn_glVertexAttrib1fARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1fARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1fARB +>; export function VertexAttrib1fARB( index: GLuint, @@ -198,7 +212,9 @@ export const def_glVertexAttrib1fvARB = { result: "void", } as const; -let fn_glVertexAttrib1fvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1fvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1fvARB +>; export function VertexAttrib1fvARB( index: GLuint, @@ -215,7 +231,9 @@ export const def_glVertexAttrib1sARB = { result: "void", } as const; -let fn_glVertexAttrib1sARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1sARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1sARB +>; export function VertexAttrib1sARB( index: GLuint, @@ -232,7 +250,9 @@ export const def_glVertexAttrib1svARB = { result: "void", } as const; -let fn_glVertexAttrib1svARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1svARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1svARB +>; export function VertexAttrib1svARB( index: GLuint, @@ -249,7 +269,9 @@ export const def_glVertexAttrib2dARB = { result: "void", } as const; -let fn_glVertexAttrib2dARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2dARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2dARB +>; export function VertexAttrib2dARB( index: GLuint, @@ -268,7 +290,9 @@ export const def_glVertexAttrib2dvARB = { result: "void", } as const; -let fn_glVertexAttrib2dvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2dvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2dvARB +>; export function VertexAttrib2dvARB( index: GLuint, @@ -285,7 +309,9 @@ export const def_glVertexAttrib2fARB = { result: "void", } as const; -let fn_glVertexAttrib2fARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2fARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2fARB +>; export function VertexAttrib2fARB( index: GLuint, @@ -304,7 +330,9 @@ export const def_glVertexAttrib2fvARB = { result: "void", } as const; -let fn_glVertexAttrib2fvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2fvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2fvARB +>; export function VertexAttrib2fvARB( index: GLuint, @@ -321,7 +349,9 @@ export const def_glVertexAttrib2sARB = { result: "void", } as const; -let fn_glVertexAttrib2sARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2sARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2sARB +>; export function VertexAttrib2sARB( index: GLuint, @@ -340,7 +370,9 @@ export const def_glVertexAttrib2svARB = { result: "void", } as const; -let fn_glVertexAttrib2svARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2svARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2svARB +>; export function VertexAttrib2svARB( index: GLuint, @@ -357,7 +389,9 @@ export const def_glVertexAttrib3dARB = { result: "void", } as const; -let fn_glVertexAttrib3dARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3dARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3dARB +>; export function VertexAttrib3dARB( index: GLuint, @@ -378,7 +412,9 @@ export const def_glVertexAttrib3dvARB = { result: "void", } as const; -let fn_glVertexAttrib3dvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3dvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3dvARB +>; export function VertexAttrib3dvARB( index: GLuint, @@ -395,7 +431,9 @@ export const def_glVertexAttrib3fARB = { result: "void", } as const; -let fn_glVertexAttrib3fARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3fARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3fARB +>; export function VertexAttrib3fARB( index: GLuint, @@ -416,7 +454,9 @@ export const def_glVertexAttrib3fvARB = { result: "void", } as const; -let fn_glVertexAttrib3fvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3fvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3fvARB +>; export function VertexAttrib3fvARB( index: GLuint, @@ -433,7 +473,9 @@ export const def_glVertexAttrib3sARB = { result: "void", } as const; -let fn_glVertexAttrib3sARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3sARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3sARB +>; export function VertexAttrib3sARB( index: GLuint, @@ -454,7 +496,9 @@ export const def_glVertexAttrib3svARB = { result: "void", } as const; -let fn_glVertexAttrib3svARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3svARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3svARB +>; export function VertexAttrib3svARB( index: GLuint, @@ -471,7 +515,9 @@ export const def_glVertexAttrib4NbvARB = { result: "void", } as const; -let fn_glVertexAttrib4NbvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NbvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NbvARB +>; export function VertexAttrib4NbvARB( index: GLuint, @@ -488,7 +534,9 @@ export const def_glVertexAttrib4NivARB = { result: "void", } as const; -let fn_glVertexAttrib4NivARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NivARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NivARB +>; export function VertexAttrib4NivARB( index: GLuint, @@ -505,7 +553,9 @@ export const def_glVertexAttrib4NsvARB = { result: "void", } as const; -let fn_glVertexAttrib4NsvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NsvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NsvARB +>; export function VertexAttrib4NsvARB( index: GLuint, @@ -522,7 +572,9 @@ export const def_glVertexAttrib4NubARB = { result: "void", } as const; -let fn_glVertexAttrib4NubARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NubARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NubARB +>; export function VertexAttrib4NubARB( index: GLuint, @@ -545,7 +597,9 @@ export const def_glVertexAttrib4NubvARB = { result: "void", } as const; -let fn_glVertexAttrib4NubvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NubvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NubvARB +>; export function VertexAttrib4NubvARB( index: GLuint, @@ -562,7 +616,9 @@ export const def_glVertexAttrib4NuivARB = { result: "void", } as const; -let fn_glVertexAttrib4NuivARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NuivARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NuivARB +>; export function VertexAttrib4NuivARB( index: GLuint, @@ -579,7 +635,9 @@ export const def_glVertexAttrib4NusvARB = { result: "void", } as const; -let fn_glVertexAttrib4NusvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NusvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NusvARB +>; export function VertexAttrib4NusvARB( index: GLuint, @@ -596,7 +654,9 @@ export const def_glVertexAttrib4bvARB = { result: "void", } as const; -let fn_glVertexAttrib4bvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4bvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4bvARB +>; export function VertexAttrib4bvARB( index: GLuint, @@ -613,7 +673,9 @@ export const def_glVertexAttrib4dARB = { result: "void", } as const; -let fn_glVertexAttrib4dARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4dARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4dARB +>; export function VertexAttrib4dARB( index: GLuint, @@ -636,7 +698,9 @@ export const def_glVertexAttrib4dvARB = { result: "void", } as const; -let fn_glVertexAttrib4dvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4dvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4dvARB +>; export function VertexAttrib4dvARB( index: GLuint, @@ -653,7 +717,9 @@ export const def_glVertexAttrib4fARB = { result: "void", } as const; -let fn_glVertexAttrib4fARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4fARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4fARB +>; export function VertexAttrib4fARB( index: GLuint, @@ -676,7 +742,9 @@ export const def_glVertexAttrib4fvARB = { result: "void", } as const; -let fn_glVertexAttrib4fvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4fvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4fvARB +>; export function VertexAttrib4fvARB( index: GLuint, @@ -693,7 +761,9 @@ export const def_glVertexAttrib4ivARB = { result: "void", } as const; -let fn_glVertexAttrib4ivARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4ivARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4ivARB +>; export function VertexAttrib4ivARB( index: GLuint, @@ -710,7 +780,9 @@ export const def_glVertexAttrib4sARB = { result: "void", } as const; -let fn_glVertexAttrib4sARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4sARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4sARB +>; export function VertexAttrib4sARB( index: GLuint, @@ -733,7 +805,9 @@ export const def_glVertexAttrib4svARB = { result: "void", } as const; -let fn_glVertexAttrib4svARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4svARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4svARB +>; export function VertexAttrib4svARB( index: GLuint, @@ -750,7 +824,9 @@ export const def_glVertexAttrib4ubvARB = { result: "void", } as const; -let fn_glVertexAttrib4ubvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4ubvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4ubvARB +>; export function VertexAttrib4ubvARB( index: GLuint, @@ -767,7 +843,9 @@ export const def_glVertexAttrib4uivARB = { result: "void", } as const; -let fn_glVertexAttrib4uivARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4uivARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4uivARB +>; export function VertexAttrib4uivARB( index: GLuint, @@ -784,7 +862,9 @@ export const def_glVertexAttrib4usvARB = { result: "void", } as const; -let fn_glVertexAttrib4usvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4usvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4usvARB +>; export function VertexAttrib4usvARB( index: GLuint, @@ -801,7 +881,9 @@ export const def_glVertexAttribPointerARB = { result: "void", } as const; -let fn_glVertexAttribPointerARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointerARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointerARB +>; export function VertexAttribPointerARB( index: GLuint, @@ -826,7 +908,9 @@ export const def_glEnableVertexAttribArrayARB = { result: "void", } as const; -let fn_glEnableVertexAttribArrayARB!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArrayARB!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArrayARB +>; export function EnableVertexAttribArrayARB( index: GLuint, @@ -841,7 +925,9 @@ export const def_glDisableVertexAttribArrayARB = { result: "void", } as const; -let fn_glDisableVertexAttribArrayARB!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArrayARB!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArrayARB +>; export function DisableVertexAttribArrayARB( index: GLuint, @@ -894,7 +980,9 @@ export const def_glDeleteProgramsARB = { result: "void", } as const; -let fn_glDeleteProgramsARB!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramsARB!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramsARB +>; export function DeleteProgramsARB( n: GLsizei, @@ -928,7 +1016,9 @@ export const def_glProgramEnvParameter4dARB = { result: "void", } as const; -let fn_glProgramEnvParameter4dARB!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameter4dARB!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameter4dARB +>; export function ProgramEnvParameter4dARB( target: GLenum, @@ -953,7 +1043,9 @@ export const def_glProgramEnvParameter4dvARB = { result: "void", } as const; -let fn_glProgramEnvParameter4dvARB!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameter4dvARB!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameter4dvARB +>; export function ProgramEnvParameter4dvARB( target: GLenum, @@ -972,7 +1064,9 @@ export const def_glProgramEnvParameter4fARB = { result: "void", } as const; -let fn_glProgramEnvParameter4fARB!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameter4fARB!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameter4fARB +>; export function ProgramEnvParameter4fARB( target: GLenum, @@ -997,7 +1091,9 @@ export const def_glProgramEnvParameter4fvARB = { result: "void", } as const; -let fn_glProgramEnvParameter4fvARB!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameter4fvARB!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameter4fvARB +>; export function ProgramEnvParameter4fvARB( target: GLenum, @@ -1016,7 +1112,9 @@ export const def_glProgramLocalParameter4dARB = { result: "void", } as const; -let fn_glProgramLocalParameter4dARB!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameter4dARB!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameter4dARB +>; export function ProgramLocalParameter4dARB( target: GLenum, @@ -1041,7 +1139,9 @@ export const def_glProgramLocalParameter4dvARB = { result: "void", } as const; -let fn_glProgramLocalParameter4dvARB!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameter4dvARB!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameter4dvARB +>; export function ProgramLocalParameter4dvARB( target: GLenum, @@ -1060,7 +1160,9 @@ export const def_glProgramLocalParameter4fARB = { result: "void", } as const; -let fn_glProgramLocalParameter4fARB!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameter4fARB!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameter4fARB +>; export function ProgramLocalParameter4fARB( target: GLenum, @@ -1085,7 +1187,9 @@ export const def_glProgramLocalParameter4fvARB = { result: "void", } as const; -let fn_glProgramLocalParameter4fvARB!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameter4fvARB!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameter4fvARB +>; export function ProgramLocalParameter4fvARB( target: GLenum, @@ -1104,7 +1208,9 @@ export const def_glGetProgramEnvParameterdvARB = { result: "void", } as const; -let fn_glGetProgramEnvParameterdvARB!: Deno.UnsafeFnPointer; +let fn_glGetProgramEnvParameterdvARB!: Deno.UnsafeFnPointer< + typeof def_glGetProgramEnvParameterdvARB +>; export function GetProgramEnvParameterdvARB( target: GLenum, @@ -1123,7 +1229,9 @@ export const def_glGetProgramEnvParameterfvARB = { result: "void", } as const; -let fn_glGetProgramEnvParameterfvARB!: Deno.UnsafeFnPointer; +let fn_glGetProgramEnvParameterfvARB!: Deno.UnsafeFnPointer< + typeof def_glGetProgramEnvParameterfvARB +>; export function GetProgramEnvParameterfvARB( target: GLenum, @@ -1142,7 +1250,9 @@ export const def_glGetProgramLocalParameterdvARB = { result: "void", } as const; -let fn_glGetProgramLocalParameterdvARB!: Deno.UnsafeFnPointer; +let fn_glGetProgramLocalParameterdvARB!: Deno.UnsafeFnPointer< + typeof def_glGetProgramLocalParameterdvARB +>; export function GetProgramLocalParameterdvARB( target: GLenum, @@ -1161,7 +1271,9 @@ export const def_glGetProgramLocalParameterfvARB = { result: "void", } as const; -let fn_glGetProgramLocalParameterfvARB!: Deno.UnsafeFnPointer; +let fn_glGetProgramLocalParameterfvARB!: Deno.UnsafeFnPointer< + typeof def_glGetProgramLocalParameterfvARB +>; export function GetProgramLocalParameterfvARB( target: GLenum, @@ -1199,7 +1311,9 @@ export const def_glGetProgramStringARB = { result: "void", } as const; -let fn_glGetProgramStringARB!: Deno.UnsafeFnPointer; +let fn_glGetProgramStringARB!: Deno.UnsafeFnPointer< + typeof def_glGetProgramStringARB +>; export function GetProgramStringARB( target: GLenum, @@ -1218,7 +1332,9 @@ export const def_glGetVertexAttribdvARB = { result: "void", } as const; -let fn_glGetVertexAttribdvARB!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdvARB!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdvARB +>; export function GetVertexAttribdvARB( index: GLuint, @@ -1237,7 +1353,9 @@ export const def_glGetVertexAttribfvARB = { result: "void", } as const; -let fn_glGetVertexAttribfvARB!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfvARB!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfvARB +>; export function GetVertexAttribfvARB( index: GLuint, @@ -1256,7 +1374,9 @@ export const def_glGetVertexAttribivARB = { result: "void", } as const; -let fn_glGetVertexAttribivARB!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribivARB!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribivARB +>; export function GetVertexAttribivARB( index: GLuint, @@ -1275,7 +1395,9 @@ export const def_glGetVertexAttribPointervARB = { result: "void", } as const; -let fn_glGetVertexAttribPointervARB!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointervARB!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointervARB +>; export function GetVertexAttribPointervARB( index: GLuint, @@ -1306,66 +1428,252 @@ export function IsProgramARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexAttrib1dARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dARB"), def_glVertexAttrib1dARB); - fn_glVertexAttrib1dvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dvARB"), def_glVertexAttrib1dvARB); - fn_glVertexAttrib1fARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fARB"), def_glVertexAttrib1fARB); - fn_glVertexAttrib1fvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fvARB"), def_glVertexAttrib1fvARB); - fn_glVertexAttrib1sARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sARB"), def_glVertexAttrib1sARB); - fn_glVertexAttrib1svARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1svARB"), def_glVertexAttrib1svARB); - fn_glVertexAttrib2dARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dARB"), def_glVertexAttrib2dARB); - fn_glVertexAttrib2dvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dvARB"), def_glVertexAttrib2dvARB); - fn_glVertexAttrib2fARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fARB"), def_glVertexAttrib2fARB); - fn_glVertexAttrib2fvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fvARB"), def_glVertexAttrib2fvARB); - fn_glVertexAttrib2sARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sARB"), def_glVertexAttrib2sARB); - fn_glVertexAttrib2svARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2svARB"), def_glVertexAttrib2svARB); - fn_glVertexAttrib3dARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dARB"), def_glVertexAttrib3dARB); - fn_glVertexAttrib3dvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dvARB"), def_glVertexAttrib3dvARB); - fn_glVertexAttrib3fARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fARB"), def_glVertexAttrib3fARB); - fn_glVertexAttrib3fvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fvARB"), def_glVertexAttrib3fvARB); - fn_glVertexAttrib3sARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sARB"), def_glVertexAttrib3sARB); - fn_glVertexAttrib3svARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3svARB"), def_glVertexAttrib3svARB); - fn_glVertexAttrib4NbvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NbvARB"), def_glVertexAttrib4NbvARB); - fn_glVertexAttrib4NivARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NivARB"), def_glVertexAttrib4NivARB); - fn_glVertexAttrib4NsvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NsvARB"), def_glVertexAttrib4NsvARB); - fn_glVertexAttrib4NubARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NubARB"), def_glVertexAttrib4NubARB); - fn_glVertexAttrib4NubvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NubvARB"), def_glVertexAttrib4NubvARB); - fn_glVertexAttrib4NuivARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NuivARB"), def_glVertexAttrib4NuivARB); - fn_glVertexAttrib4NusvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NusvARB"), def_glVertexAttrib4NusvARB); - fn_glVertexAttrib4bvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bvARB"), def_glVertexAttrib4bvARB); - fn_glVertexAttrib4dARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dARB"), def_glVertexAttrib4dARB); - fn_glVertexAttrib4dvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dvARB"), def_glVertexAttrib4dvARB); - fn_glVertexAttrib4fARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fARB"), def_glVertexAttrib4fARB); - fn_glVertexAttrib4fvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fvARB"), def_glVertexAttrib4fvARB); - fn_glVertexAttrib4ivARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ivARB"), def_glVertexAttrib4ivARB); - fn_glVertexAttrib4sARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sARB"), def_glVertexAttrib4sARB); - fn_glVertexAttrib4svARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4svARB"), def_glVertexAttrib4svARB); - fn_glVertexAttrib4ubvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubvARB"), def_glVertexAttrib4ubvARB); - fn_glVertexAttrib4uivARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uivARB"), def_glVertexAttrib4uivARB); - fn_glVertexAttrib4usvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usvARB"), def_glVertexAttrib4usvARB); - fn_glVertexAttribPointerARB = new Deno.UnsafeFnPointer(proc("glVertexAttribPointerARB"), def_glVertexAttribPointerARB); - fn_glEnableVertexAttribArrayARB = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArrayARB"), def_glEnableVertexAttribArrayARB); - fn_glDisableVertexAttribArrayARB = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArrayARB"), def_glDisableVertexAttribArrayARB); - fn_glProgramStringARB = new Deno.UnsafeFnPointer(proc("glProgramStringARB"), def_glProgramStringARB); - fn_glBindProgramARB = new Deno.UnsafeFnPointer(proc("glBindProgramARB"), def_glBindProgramARB); - fn_glDeleteProgramsARB = new Deno.UnsafeFnPointer(proc("glDeleteProgramsARB"), def_glDeleteProgramsARB); - fn_glGenProgramsARB = new Deno.UnsafeFnPointer(proc("glGenProgramsARB"), def_glGenProgramsARB); - fn_glProgramEnvParameter4dARB = new Deno.UnsafeFnPointer(proc("glProgramEnvParameter4dARB"), def_glProgramEnvParameter4dARB); - fn_glProgramEnvParameter4dvARB = new Deno.UnsafeFnPointer(proc("glProgramEnvParameter4dvARB"), def_glProgramEnvParameter4dvARB); - fn_glProgramEnvParameter4fARB = new Deno.UnsafeFnPointer(proc("glProgramEnvParameter4fARB"), def_glProgramEnvParameter4fARB); - fn_glProgramEnvParameter4fvARB = new Deno.UnsafeFnPointer(proc("glProgramEnvParameter4fvARB"), def_glProgramEnvParameter4fvARB); - fn_glProgramLocalParameter4dARB = new Deno.UnsafeFnPointer(proc("glProgramLocalParameter4dARB"), def_glProgramLocalParameter4dARB); - fn_glProgramLocalParameter4dvARB = new Deno.UnsafeFnPointer(proc("glProgramLocalParameter4dvARB"), def_glProgramLocalParameter4dvARB); - fn_glProgramLocalParameter4fARB = new Deno.UnsafeFnPointer(proc("glProgramLocalParameter4fARB"), def_glProgramLocalParameter4fARB); - fn_glProgramLocalParameter4fvARB = new Deno.UnsafeFnPointer(proc("glProgramLocalParameter4fvARB"), def_glProgramLocalParameter4fvARB); - fn_glGetProgramEnvParameterdvARB = new Deno.UnsafeFnPointer(proc("glGetProgramEnvParameterdvARB"), def_glGetProgramEnvParameterdvARB); - fn_glGetProgramEnvParameterfvARB = new Deno.UnsafeFnPointer(proc("glGetProgramEnvParameterfvARB"), def_glGetProgramEnvParameterfvARB); - fn_glGetProgramLocalParameterdvARB = new Deno.UnsafeFnPointer(proc("glGetProgramLocalParameterdvARB"), def_glGetProgramLocalParameterdvARB); - fn_glGetProgramLocalParameterfvARB = new Deno.UnsafeFnPointer(proc("glGetProgramLocalParameterfvARB"), def_glGetProgramLocalParameterfvARB); - fn_glGetProgramivARB = new Deno.UnsafeFnPointer(proc("glGetProgramivARB"), def_glGetProgramivARB); - fn_glGetProgramStringARB = new Deno.UnsafeFnPointer(proc("glGetProgramStringARB"), def_glGetProgramStringARB); - fn_glGetVertexAttribdvARB = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdvARB"), def_glGetVertexAttribdvARB); - fn_glGetVertexAttribfvARB = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfvARB"), def_glGetVertexAttribfvARB); - fn_glGetVertexAttribivARB = new Deno.UnsafeFnPointer(proc("glGetVertexAttribivARB"), def_glGetVertexAttribivARB); - fn_glGetVertexAttribPointervARB = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointervARB"), def_glGetVertexAttribPointervARB); - fn_glIsProgramARB = new Deno.UnsafeFnPointer(proc("glIsProgramARB"), def_glIsProgramARB); + fn_glVertexAttrib1dARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dARB"), + def_glVertexAttrib1dARB, + ); + fn_glVertexAttrib1dvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dvARB"), + def_glVertexAttrib1dvARB, + ); + fn_glVertexAttrib1fARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fARB"), + def_glVertexAttrib1fARB, + ); + fn_glVertexAttrib1fvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fvARB"), + def_glVertexAttrib1fvARB, + ); + fn_glVertexAttrib1sARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sARB"), + def_glVertexAttrib1sARB, + ); + fn_glVertexAttrib1svARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1svARB"), + def_glVertexAttrib1svARB, + ); + fn_glVertexAttrib2dARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dARB"), + def_glVertexAttrib2dARB, + ); + fn_glVertexAttrib2dvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dvARB"), + def_glVertexAttrib2dvARB, + ); + fn_glVertexAttrib2fARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fARB"), + def_glVertexAttrib2fARB, + ); + fn_glVertexAttrib2fvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fvARB"), + def_glVertexAttrib2fvARB, + ); + fn_glVertexAttrib2sARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sARB"), + def_glVertexAttrib2sARB, + ); + fn_glVertexAttrib2svARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2svARB"), + def_glVertexAttrib2svARB, + ); + fn_glVertexAttrib3dARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dARB"), + def_glVertexAttrib3dARB, + ); + fn_glVertexAttrib3dvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dvARB"), + def_glVertexAttrib3dvARB, + ); + fn_glVertexAttrib3fARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fARB"), + def_glVertexAttrib3fARB, + ); + fn_glVertexAttrib3fvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fvARB"), + def_glVertexAttrib3fvARB, + ); + fn_glVertexAttrib3sARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sARB"), + def_glVertexAttrib3sARB, + ); + fn_glVertexAttrib3svARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3svARB"), + def_glVertexAttrib3svARB, + ); + fn_glVertexAttrib4NbvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NbvARB"), + def_glVertexAttrib4NbvARB, + ); + fn_glVertexAttrib4NivARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NivARB"), + def_glVertexAttrib4NivARB, + ); + fn_glVertexAttrib4NsvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NsvARB"), + def_glVertexAttrib4NsvARB, + ); + fn_glVertexAttrib4NubARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NubARB"), + def_glVertexAttrib4NubARB, + ); + fn_glVertexAttrib4NubvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NubvARB"), + def_glVertexAttrib4NubvARB, + ); + fn_glVertexAttrib4NuivARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NuivARB"), + def_glVertexAttrib4NuivARB, + ); + fn_glVertexAttrib4NusvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NusvARB"), + def_glVertexAttrib4NusvARB, + ); + fn_glVertexAttrib4bvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bvARB"), + def_glVertexAttrib4bvARB, + ); + fn_glVertexAttrib4dARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dARB"), + def_glVertexAttrib4dARB, + ); + fn_glVertexAttrib4dvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dvARB"), + def_glVertexAttrib4dvARB, + ); + fn_glVertexAttrib4fARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fARB"), + def_glVertexAttrib4fARB, + ); + fn_glVertexAttrib4fvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fvARB"), + def_glVertexAttrib4fvARB, + ); + fn_glVertexAttrib4ivARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ivARB"), + def_glVertexAttrib4ivARB, + ); + fn_glVertexAttrib4sARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sARB"), + def_glVertexAttrib4sARB, + ); + fn_glVertexAttrib4svARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4svARB"), + def_glVertexAttrib4svARB, + ); + fn_glVertexAttrib4ubvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubvARB"), + def_glVertexAttrib4ubvARB, + ); + fn_glVertexAttrib4uivARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uivARB"), + def_glVertexAttrib4uivARB, + ); + fn_glVertexAttrib4usvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usvARB"), + def_glVertexAttrib4usvARB, + ); + fn_glVertexAttribPointerARB = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointerARB"), + def_glVertexAttribPointerARB, + ); + fn_glEnableVertexAttribArrayARB = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArrayARB"), + def_glEnableVertexAttribArrayARB, + ); + fn_glDisableVertexAttribArrayARB = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArrayARB"), + def_glDisableVertexAttribArrayARB, + ); + fn_glProgramStringARB = new Deno.UnsafeFnPointer( + proc("glProgramStringARB"), + def_glProgramStringARB, + ); + fn_glBindProgramARB = new Deno.UnsafeFnPointer( + proc("glBindProgramARB"), + def_glBindProgramARB, + ); + fn_glDeleteProgramsARB = new Deno.UnsafeFnPointer( + proc("glDeleteProgramsARB"), + def_glDeleteProgramsARB, + ); + fn_glGenProgramsARB = new Deno.UnsafeFnPointer( + proc("glGenProgramsARB"), + def_glGenProgramsARB, + ); + fn_glProgramEnvParameter4dARB = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameter4dARB"), + def_glProgramEnvParameter4dARB, + ); + fn_glProgramEnvParameter4dvARB = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameter4dvARB"), + def_glProgramEnvParameter4dvARB, + ); + fn_glProgramEnvParameter4fARB = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameter4fARB"), + def_glProgramEnvParameter4fARB, + ); + fn_glProgramEnvParameter4fvARB = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameter4fvARB"), + def_glProgramEnvParameter4fvARB, + ); + fn_glProgramLocalParameter4dARB = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameter4dARB"), + def_glProgramLocalParameter4dARB, + ); + fn_glProgramLocalParameter4dvARB = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameter4dvARB"), + def_glProgramLocalParameter4dvARB, + ); + fn_glProgramLocalParameter4fARB = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameter4fARB"), + def_glProgramLocalParameter4fARB, + ); + fn_glProgramLocalParameter4fvARB = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameter4fvARB"), + def_glProgramLocalParameter4fvARB, + ); + fn_glGetProgramEnvParameterdvARB = new Deno.UnsafeFnPointer( + proc("glGetProgramEnvParameterdvARB"), + def_glGetProgramEnvParameterdvARB, + ); + fn_glGetProgramEnvParameterfvARB = new Deno.UnsafeFnPointer( + proc("glGetProgramEnvParameterfvARB"), + def_glGetProgramEnvParameterfvARB, + ); + fn_glGetProgramLocalParameterdvARB = new Deno.UnsafeFnPointer( + proc("glGetProgramLocalParameterdvARB"), + def_glGetProgramLocalParameterdvARB, + ); + fn_glGetProgramLocalParameterfvARB = new Deno.UnsafeFnPointer( + proc("glGetProgramLocalParameterfvARB"), + def_glGetProgramLocalParameterfvARB, + ); + fn_glGetProgramivARB = new Deno.UnsafeFnPointer( + proc("glGetProgramivARB"), + def_glGetProgramivARB, + ); + fn_glGetProgramStringARB = new Deno.UnsafeFnPointer( + proc("glGetProgramStringARB"), + def_glGetProgramStringARB, + ); + fn_glGetVertexAttribdvARB = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdvARB"), + def_glGetVertexAttribdvARB, + ); + fn_glGetVertexAttribfvARB = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfvARB"), + def_glGetVertexAttribfvARB, + ); + fn_glGetVertexAttribivARB = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribivARB"), + def_glGetVertexAttribivARB, + ); + fn_glGetVertexAttribPointervARB = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointervARB"), + def_glGetVertexAttribPointervARB, + ); + fn_glIsProgramARB = new Deno.UnsafeFnPointer( + proc("glIsProgramARB"), + def_glIsProgramARB, + ); } diff --git a/api/ext/GL_ARB_vertex_shader.ts b/api/ext/GL_ARB_vertex_shader.ts index a8d6305..6d28063 100644 --- a/api/ext/GL_ARB_vertex_shader.ts +++ b/api/ext/GL_ARB_vertex_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -94,7 +102,9 @@ export const def_glVertexAttrib1fARB = { result: "void", } as const; -let fn_glVertexAttrib1fARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1fARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1fARB +>; export function VertexAttrib1fARB( index: GLuint, @@ -111,7 +121,9 @@ export const def_glVertexAttrib1sARB = { result: "void", } as const; -let fn_glVertexAttrib1sARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1sARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1sARB +>; export function VertexAttrib1sARB( index: GLuint, @@ -128,7 +140,9 @@ export const def_glVertexAttrib1dARB = { result: "void", } as const; -let fn_glVertexAttrib1dARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1dARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1dARB +>; export function VertexAttrib1dARB( index: GLuint, @@ -145,7 +159,9 @@ export const def_glVertexAttrib2fARB = { result: "void", } as const; -let fn_glVertexAttrib2fARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2fARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2fARB +>; export function VertexAttrib2fARB( index: GLuint, @@ -164,7 +180,9 @@ export const def_glVertexAttrib2sARB = { result: "void", } as const; -let fn_glVertexAttrib2sARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2sARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2sARB +>; export function VertexAttrib2sARB( index: GLuint, @@ -183,7 +201,9 @@ export const def_glVertexAttrib2dARB = { result: "void", } as const; -let fn_glVertexAttrib2dARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2dARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2dARB +>; export function VertexAttrib2dARB( index: GLuint, @@ -202,7 +222,9 @@ export const def_glVertexAttrib3fARB = { result: "void", } as const; -let fn_glVertexAttrib3fARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3fARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3fARB +>; export function VertexAttrib3fARB( index: GLuint, @@ -223,7 +245,9 @@ export const def_glVertexAttrib3sARB = { result: "void", } as const; -let fn_glVertexAttrib3sARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3sARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3sARB +>; export function VertexAttrib3sARB( index: GLuint, @@ -244,7 +268,9 @@ export const def_glVertexAttrib3dARB = { result: "void", } as const; -let fn_glVertexAttrib3dARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3dARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3dARB +>; export function VertexAttrib3dARB( index: GLuint, @@ -265,7 +291,9 @@ export const def_glVertexAttrib4fARB = { result: "void", } as const; -let fn_glVertexAttrib4fARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4fARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4fARB +>; export function VertexAttrib4fARB( index: GLuint, @@ -288,7 +316,9 @@ export const def_glVertexAttrib4sARB = { result: "void", } as const; -let fn_glVertexAttrib4sARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4sARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4sARB +>; export function VertexAttrib4sARB( index: GLuint, @@ -311,7 +341,9 @@ export const def_glVertexAttrib4dARB = { result: "void", } as const; -let fn_glVertexAttrib4dARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4dARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4dARB +>; export function VertexAttrib4dARB( index: GLuint, @@ -334,7 +366,9 @@ export const def_glVertexAttrib4NubARB = { result: "void", } as const; -let fn_glVertexAttrib4NubARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NubARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NubARB +>; export function VertexAttrib4NubARB( index: GLuint, @@ -357,7 +391,9 @@ export const def_glVertexAttrib1fvARB = { result: "void", } as const; -let fn_glVertexAttrib1fvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1fvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1fvARB +>; export function VertexAttrib1fvARB( index: GLuint, @@ -374,7 +410,9 @@ export const def_glVertexAttrib1svARB = { result: "void", } as const; -let fn_glVertexAttrib1svARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1svARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1svARB +>; export function VertexAttrib1svARB( index: GLuint, @@ -391,7 +429,9 @@ export const def_glVertexAttrib1dvARB = { result: "void", } as const; -let fn_glVertexAttrib1dvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1dvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1dvARB +>; export function VertexAttrib1dvARB( index: GLuint, @@ -408,7 +448,9 @@ export const def_glVertexAttrib2fvARB = { result: "void", } as const; -let fn_glVertexAttrib2fvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2fvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2fvARB +>; export function VertexAttrib2fvARB( index: GLuint, @@ -425,7 +467,9 @@ export const def_glVertexAttrib2svARB = { result: "void", } as const; -let fn_glVertexAttrib2svARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2svARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2svARB +>; export function VertexAttrib2svARB( index: GLuint, @@ -442,7 +486,9 @@ export const def_glVertexAttrib2dvARB = { result: "void", } as const; -let fn_glVertexAttrib2dvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2dvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2dvARB +>; export function VertexAttrib2dvARB( index: GLuint, @@ -459,7 +505,9 @@ export const def_glVertexAttrib3fvARB = { result: "void", } as const; -let fn_glVertexAttrib3fvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3fvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3fvARB +>; export function VertexAttrib3fvARB( index: GLuint, @@ -476,7 +524,9 @@ export const def_glVertexAttrib3svARB = { result: "void", } as const; -let fn_glVertexAttrib3svARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3svARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3svARB +>; export function VertexAttrib3svARB( index: GLuint, @@ -493,7 +543,9 @@ export const def_glVertexAttrib3dvARB = { result: "void", } as const; -let fn_glVertexAttrib3dvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3dvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3dvARB +>; export function VertexAttrib3dvARB( index: GLuint, @@ -510,7 +562,9 @@ export const def_glVertexAttrib4fvARB = { result: "void", } as const; -let fn_glVertexAttrib4fvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4fvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4fvARB +>; export function VertexAttrib4fvARB( index: GLuint, @@ -527,7 +581,9 @@ export const def_glVertexAttrib4svARB = { result: "void", } as const; -let fn_glVertexAttrib4svARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4svARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4svARB +>; export function VertexAttrib4svARB( index: GLuint, @@ -544,7 +600,9 @@ export const def_glVertexAttrib4dvARB = { result: "void", } as const; -let fn_glVertexAttrib4dvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4dvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4dvARB +>; export function VertexAttrib4dvARB( index: GLuint, @@ -561,7 +619,9 @@ export const def_glVertexAttrib4ivARB = { result: "void", } as const; -let fn_glVertexAttrib4ivARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4ivARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4ivARB +>; export function VertexAttrib4ivARB( index: GLuint, @@ -578,7 +638,9 @@ export const def_glVertexAttrib4bvARB = { result: "void", } as const; -let fn_glVertexAttrib4bvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4bvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4bvARB +>; export function VertexAttrib4bvARB( index: GLuint, @@ -595,7 +657,9 @@ export const def_glVertexAttrib4ubvARB = { result: "void", } as const; -let fn_glVertexAttrib4ubvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4ubvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4ubvARB +>; export function VertexAttrib4ubvARB( index: GLuint, @@ -612,7 +676,9 @@ export const def_glVertexAttrib4usvARB = { result: "void", } as const; -let fn_glVertexAttrib4usvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4usvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4usvARB +>; export function VertexAttrib4usvARB( index: GLuint, @@ -629,7 +695,9 @@ export const def_glVertexAttrib4uivARB = { result: "void", } as const; -let fn_glVertexAttrib4uivARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4uivARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4uivARB +>; export function VertexAttrib4uivARB( index: GLuint, @@ -646,7 +714,9 @@ export const def_glVertexAttrib4NbvARB = { result: "void", } as const; -let fn_glVertexAttrib4NbvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NbvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NbvARB +>; export function VertexAttrib4NbvARB( index: GLuint, @@ -663,7 +733,9 @@ export const def_glVertexAttrib4NsvARB = { result: "void", } as const; -let fn_glVertexAttrib4NsvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NsvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NsvARB +>; export function VertexAttrib4NsvARB( index: GLuint, @@ -680,7 +752,9 @@ export const def_glVertexAttrib4NivARB = { result: "void", } as const; -let fn_glVertexAttrib4NivARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NivARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NivARB +>; export function VertexAttrib4NivARB( index: GLuint, @@ -697,7 +771,9 @@ export const def_glVertexAttrib4NubvARB = { result: "void", } as const; -let fn_glVertexAttrib4NubvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NubvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NubvARB +>; export function VertexAttrib4NubvARB( index: GLuint, @@ -714,7 +790,9 @@ export const def_glVertexAttrib4NusvARB = { result: "void", } as const; -let fn_glVertexAttrib4NusvARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NusvARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NusvARB +>; export function VertexAttrib4NusvARB( index: GLuint, @@ -731,7 +809,9 @@ export const def_glVertexAttrib4NuivARB = { result: "void", } as const; -let fn_glVertexAttrib4NuivARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4NuivARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4NuivARB +>; export function VertexAttrib4NuivARB( index: GLuint, @@ -748,7 +828,9 @@ export const def_glVertexAttribPointerARB = { result: "void", } as const; -let fn_glVertexAttribPointerARB!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointerARB!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointerARB +>; export function VertexAttribPointerARB( index: GLuint, @@ -773,7 +855,9 @@ export const def_glEnableVertexAttribArrayARB = { result: "void", } as const; -let fn_glEnableVertexAttribArrayARB!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArrayARB!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArrayARB +>; export function EnableVertexAttribArrayARB( index: GLuint, @@ -788,7 +872,9 @@ export const def_glDisableVertexAttribArrayARB = { result: "void", } as const; -let fn_glDisableVertexAttribArrayARB!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArrayARB!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArrayARB +>; export function DisableVertexAttribArrayARB( index: GLuint, @@ -803,7 +889,9 @@ export const def_glBindAttribLocationARB = { result: "void", } as const; -let fn_glBindAttribLocationARB!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocationARB!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocationARB +>; export function BindAttribLocationARB( programObj: GLhandleARB, @@ -822,7 +910,9 @@ export const def_glGetActiveAttribARB = { result: "void", } as const; -let fn_glGetActiveAttribARB!: Deno.UnsafeFnPointer; +let fn_glGetActiveAttribARB!: Deno.UnsafeFnPointer< + typeof def_glGetActiveAttribARB +>; export function GetActiveAttribARB( programObj: GLhandleARB, @@ -849,7 +939,9 @@ export const def_glGetAttribLocationARB = { result: "i32", } as const; -let fn_glGetAttribLocationARB!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocationARB!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocationARB +>; export function GetAttribLocationARB( programObj: GLhandleARB, @@ -866,7 +958,9 @@ export const def_glGetVertexAttribdvARB = { result: "void", } as const; -let fn_glGetVertexAttribdvARB!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdvARB!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdvARB +>; export function GetVertexAttribdvARB( index: GLuint, @@ -885,7 +979,9 @@ export const def_glGetVertexAttribfvARB = { result: "void", } as const; -let fn_glGetVertexAttribfvARB!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfvARB!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfvARB +>; export function GetVertexAttribfvARB( index: GLuint, @@ -904,7 +1000,9 @@ export const def_glGetVertexAttribivARB = { result: "void", } as const; -let fn_glGetVertexAttribivARB!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribivARB!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribivARB +>; export function GetVertexAttribivARB( index: GLuint, @@ -923,7 +1021,9 @@ export const def_glGetVertexAttribPointervARB = { result: "void", } as const; -let fn_glGetVertexAttribPointervARB!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointervARB!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointervARB +>; export function GetVertexAttribPointervARB( index: GLuint, @@ -939,50 +1039,188 @@ export function GetVertexAttribPointervARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexAttrib1fARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fARB"), def_glVertexAttrib1fARB); - fn_glVertexAttrib1sARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sARB"), def_glVertexAttrib1sARB); - fn_glVertexAttrib1dARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dARB"), def_glVertexAttrib1dARB); - fn_glVertexAttrib2fARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fARB"), def_glVertexAttrib2fARB); - fn_glVertexAttrib2sARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sARB"), def_glVertexAttrib2sARB); - fn_glVertexAttrib2dARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dARB"), def_glVertexAttrib2dARB); - fn_glVertexAttrib3fARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fARB"), def_glVertexAttrib3fARB); - fn_glVertexAttrib3sARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sARB"), def_glVertexAttrib3sARB); - fn_glVertexAttrib3dARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dARB"), def_glVertexAttrib3dARB); - fn_glVertexAttrib4fARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fARB"), def_glVertexAttrib4fARB); - fn_glVertexAttrib4sARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sARB"), def_glVertexAttrib4sARB); - fn_glVertexAttrib4dARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dARB"), def_glVertexAttrib4dARB); - fn_glVertexAttrib4NubARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NubARB"), def_glVertexAttrib4NubARB); - fn_glVertexAttrib1fvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fvARB"), def_glVertexAttrib1fvARB); - fn_glVertexAttrib1svARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1svARB"), def_glVertexAttrib1svARB); - fn_glVertexAttrib1dvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dvARB"), def_glVertexAttrib1dvARB); - fn_glVertexAttrib2fvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fvARB"), def_glVertexAttrib2fvARB); - fn_glVertexAttrib2svARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2svARB"), def_glVertexAttrib2svARB); - fn_glVertexAttrib2dvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dvARB"), def_glVertexAttrib2dvARB); - fn_glVertexAttrib3fvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fvARB"), def_glVertexAttrib3fvARB); - fn_glVertexAttrib3svARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3svARB"), def_glVertexAttrib3svARB); - fn_glVertexAttrib3dvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dvARB"), def_glVertexAttrib3dvARB); - fn_glVertexAttrib4fvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fvARB"), def_glVertexAttrib4fvARB); - fn_glVertexAttrib4svARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4svARB"), def_glVertexAttrib4svARB); - fn_glVertexAttrib4dvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dvARB"), def_glVertexAttrib4dvARB); - fn_glVertexAttrib4ivARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ivARB"), def_glVertexAttrib4ivARB); - fn_glVertexAttrib4bvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bvARB"), def_glVertexAttrib4bvARB); - fn_glVertexAttrib4ubvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubvARB"), def_glVertexAttrib4ubvARB); - fn_glVertexAttrib4usvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usvARB"), def_glVertexAttrib4usvARB); - fn_glVertexAttrib4uivARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uivARB"), def_glVertexAttrib4uivARB); - fn_glVertexAttrib4NbvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NbvARB"), def_glVertexAttrib4NbvARB); - fn_glVertexAttrib4NsvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NsvARB"), def_glVertexAttrib4NsvARB); - fn_glVertexAttrib4NivARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NivARB"), def_glVertexAttrib4NivARB); - fn_glVertexAttrib4NubvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NubvARB"), def_glVertexAttrib4NubvARB); - fn_glVertexAttrib4NusvARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NusvARB"), def_glVertexAttrib4NusvARB); - fn_glVertexAttrib4NuivARB = new Deno.UnsafeFnPointer(proc("glVertexAttrib4NuivARB"), def_glVertexAttrib4NuivARB); - fn_glVertexAttribPointerARB = new Deno.UnsafeFnPointer(proc("glVertexAttribPointerARB"), def_glVertexAttribPointerARB); - fn_glEnableVertexAttribArrayARB = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArrayARB"), def_glEnableVertexAttribArrayARB); - fn_glDisableVertexAttribArrayARB = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArrayARB"), def_glDisableVertexAttribArrayARB); - fn_glBindAttribLocationARB = new Deno.UnsafeFnPointer(proc("glBindAttribLocationARB"), def_glBindAttribLocationARB); - fn_glGetActiveAttribARB = new Deno.UnsafeFnPointer(proc("glGetActiveAttribARB"), def_glGetActiveAttribARB); - fn_glGetAttribLocationARB = new Deno.UnsafeFnPointer(proc("glGetAttribLocationARB"), def_glGetAttribLocationARB); - fn_glGetVertexAttribdvARB = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdvARB"), def_glGetVertexAttribdvARB); - fn_glGetVertexAttribfvARB = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfvARB"), def_glGetVertexAttribfvARB); - fn_glGetVertexAttribivARB = new Deno.UnsafeFnPointer(proc("glGetVertexAttribivARB"), def_glGetVertexAttribivARB); - fn_glGetVertexAttribPointervARB = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointervARB"), def_glGetVertexAttribPointervARB); + fn_glVertexAttrib1fARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fARB"), + def_glVertexAttrib1fARB, + ); + fn_glVertexAttrib1sARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sARB"), + def_glVertexAttrib1sARB, + ); + fn_glVertexAttrib1dARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dARB"), + def_glVertexAttrib1dARB, + ); + fn_glVertexAttrib2fARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fARB"), + def_glVertexAttrib2fARB, + ); + fn_glVertexAttrib2sARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sARB"), + def_glVertexAttrib2sARB, + ); + fn_glVertexAttrib2dARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dARB"), + def_glVertexAttrib2dARB, + ); + fn_glVertexAttrib3fARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fARB"), + def_glVertexAttrib3fARB, + ); + fn_glVertexAttrib3sARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sARB"), + def_glVertexAttrib3sARB, + ); + fn_glVertexAttrib3dARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dARB"), + def_glVertexAttrib3dARB, + ); + fn_glVertexAttrib4fARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fARB"), + def_glVertexAttrib4fARB, + ); + fn_glVertexAttrib4sARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sARB"), + def_glVertexAttrib4sARB, + ); + fn_glVertexAttrib4dARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dARB"), + def_glVertexAttrib4dARB, + ); + fn_glVertexAttrib4NubARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NubARB"), + def_glVertexAttrib4NubARB, + ); + fn_glVertexAttrib1fvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fvARB"), + def_glVertexAttrib1fvARB, + ); + fn_glVertexAttrib1svARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1svARB"), + def_glVertexAttrib1svARB, + ); + fn_glVertexAttrib1dvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dvARB"), + def_glVertexAttrib1dvARB, + ); + fn_glVertexAttrib2fvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fvARB"), + def_glVertexAttrib2fvARB, + ); + fn_glVertexAttrib2svARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2svARB"), + def_glVertexAttrib2svARB, + ); + fn_glVertexAttrib2dvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dvARB"), + def_glVertexAttrib2dvARB, + ); + fn_glVertexAttrib3fvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fvARB"), + def_glVertexAttrib3fvARB, + ); + fn_glVertexAttrib3svARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3svARB"), + def_glVertexAttrib3svARB, + ); + fn_glVertexAttrib3dvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dvARB"), + def_glVertexAttrib3dvARB, + ); + fn_glVertexAttrib4fvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fvARB"), + def_glVertexAttrib4fvARB, + ); + fn_glVertexAttrib4svARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4svARB"), + def_glVertexAttrib4svARB, + ); + fn_glVertexAttrib4dvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dvARB"), + def_glVertexAttrib4dvARB, + ); + fn_glVertexAttrib4ivARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ivARB"), + def_glVertexAttrib4ivARB, + ); + fn_glVertexAttrib4bvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bvARB"), + def_glVertexAttrib4bvARB, + ); + fn_glVertexAttrib4ubvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubvARB"), + def_glVertexAttrib4ubvARB, + ); + fn_glVertexAttrib4usvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usvARB"), + def_glVertexAttrib4usvARB, + ); + fn_glVertexAttrib4uivARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uivARB"), + def_glVertexAttrib4uivARB, + ); + fn_glVertexAttrib4NbvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NbvARB"), + def_glVertexAttrib4NbvARB, + ); + fn_glVertexAttrib4NsvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NsvARB"), + def_glVertexAttrib4NsvARB, + ); + fn_glVertexAttrib4NivARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NivARB"), + def_glVertexAttrib4NivARB, + ); + fn_glVertexAttrib4NubvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NubvARB"), + def_glVertexAttrib4NubvARB, + ); + fn_glVertexAttrib4NusvARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NusvARB"), + def_glVertexAttrib4NusvARB, + ); + fn_glVertexAttrib4NuivARB = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4NuivARB"), + def_glVertexAttrib4NuivARB, + ); + fn_glVertexAttribPointerARB = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointerARB"), + def_glVertexAttribPointerARB, + ); + fn_glEnableVertexAttribArrayARB = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArrayARB"), + def_glEnableVertexAttribArrayARB, + ); + fn_glDisableVertexAttribArrayARB = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArrayARB"), + def_glDisableVertexAttribArrayARB, + ); + fn_glBindAttribLocationARB = new Deno.UnsafeFnPointer( + proc("glBindAttribLocationARB"), + def_glBindAttribLocationARB, + ); + fn_glGetActiveAttribARB = new Deno.UnsafeFnPointer( + proc("glGetActiveAttribARB"), + def_glGetActiveAttribARB, + ); + fn_glGetAttribLocationARB = new Deno.UnsafeFnPointer( + proc("glGetAttribLocationARB"), + def_glGetAttribLocationARB, + ); + fn_glGetVertexAttribdvARB = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdvARB"), + def_glGetVertexAttribdvARB, + ); + fn_glGetVertexAttribfvARB = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfvARB"), + def_glGetVertexAttribfvARB, + ); + fn_glGetVertexAttribivARB = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribivARB"), + def_glGetVertexAttribivARB, + ); + fn_glGetVertexAttribPointervARB = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointervARB"), + def_glGetVertexAttribPointervARB, + ); } diff --git a/api/ext/GL_ARB_vertex_type_10f_11f_11f_rev.ts b/api/ext/GL_ARB_vertex_type_10f_11f_11f_rev.ts index 12cc489..417eee2 100644 --- a/api/ext/GL_ARB_vertex_type_10f_11f_11f_rev.ts +++ b/api/ext/GL_ARB_vertex_type_10f_11f_11f_rev.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARB_vertex_type_2_10_10_10_rev.ts b/api/ext/GL_ARB_vertex_type_2_10_10_10_rev.ts index dc193e6..e22303a 100644 --- a/api/ext/GL_ARB_vertex_type_2_10_10_10_rev.ts +++ b/api/ext/GL_ARB_vertex_type_2_10_10_10_rev.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -91,7 +99,9 @@ export const def_glVertexAttribP1uiv = { result: "void", } as const; -let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP1uiv +>; export function VertexAttribP1uiv( index: GLuint, @@ -133,7 +143,9 @@ export const def_glVertexAttribP2uiv = { result: "void", } as const; -let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP2uiv +>; export function VertexAttribP2uiv( index: GLuint, @@ -175,7 +187,9 @@ export const def_glVertexAttribP3uiv = { result: "void", } as const; -let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP3uiv +>; export function VertexAttribP3uiv( index: GLuint, @@ -217,7 +231,9 @@ export const def_glVertexAttribP4uiv = { result: "void", } as const; -let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP4uiv +>; export function VertexAttribP4uiv( index: GLuint, @@ -476,7 +492,9 @@ export const def_glMultiTexCoordP1ui = { result: "void", } as const; -let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1ui +>; export function MultiTexCoordP1ui( texture: GLenum, @@ -495,7 +513,9 @@ export const def_glMultiTexCoordP1uiv = { result: "void", } as const; -let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1uiv +>; export function MultiTexCoordP1uiv( texture: GLenum, @@ -514,7 +534,9 @@ export const def_glMultiTexCoordP2ui = { result: "void", } as const; -let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2ui +>; export function MultiTexCoordP2ui( texture: GLenum, @@ -533,7 +555,9 @@ export const def_glMultiTexCoordP2uiv = { result: "void", } as const; -let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2uiv +>; export function MultiTexCoordP2uiv( texture: GLenum, @@ -552,7 +576,9 @@ export const def_glMultiTexCoordP3ui = { result: "void", } as const; -let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3ui +>; export function MultiTexCoordP3ui( texture: GLenum, @@ -571,7 +597,9 @@ export const def_glMultiTexCoordP3uiv = { result: "void", } as const; -let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3uiv +>; export function MultiTexCoordP3uiv( texture: GLenum, @@ -590,7 +618,9 @@ export const def_glMultiTexCoordP4ui = { result: "void", } as const; -let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4ui +>; export function MultiTexCoordP4ui( texture: GLenum, @@ -609,7 +639,9 @@ export const def_glMultiTexCoordP4uiv = { result: "void", } as const; -let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4uiv +>; export function MultiTexCoordP4uiv( texture: GLenum, @@ -730,7 +762,9 @@ export const def_glSecondaryColorP3ui = { result: "void", } as const; -let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3ui +>; export function SecondaryColorP3ui( type: GLenum, @@ -747,7 +781,9 @@ export const def_glSecondaryColorP3uiv = { result: "void", } as const; -let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3uiv +>; export function SecondaryColorP3uiv( type: GLenum, @@ -761,42 +797,156 @@ export function SecondaryColorP3uiv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP1ui"), def_glVertexAttribP1ui); - fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP1uiv"), def_glVertexAttribP1uiv); - fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP2ui"), def_glVertexAttribP2ui); - fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP2uiv"), def_glVertexAttribP2uiv); - fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP3ui"), def_glVertexAttribP3ui); - fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP3uiv"), def_glVertexAttribP3uiv); - fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP4ui"), def_glVertexAttribP4ui); - fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP4uiv"), def_glVertexAttribP4uiv); - fn_glVertexP2ui = new Deno.UnsafeFnPointer(proc("glVertexP2ui"), def_glVertexP2ui); - fn_glVertexP2uiv = new Deno.UnsafeFnPointer(proc("glVertexP2uiv"), def_glVertexP2uiv); - fn_glVertexP3ui = new Deno.UnsafeFnPointer(proc("glVertexP3ui"), def_glVertexP3ui); - fn_glVertexP3uiv = new Deno.UnsafeFnPointer(proc("glVertexP3uiv"), def_glVertexP3uiv); - fn_glVertexP4ui = new Deno.UnsafeFnPointer(proc("glVertexP4ui"), def_glVertexP4ui); - fn_glVertexP4uiv = new Deno.UnsafeFnPointer(proc("glVertexP4uiv"), def_glVertexP4uiv); - fn_glTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glTexCoordP1ui"), def_glTexCoordP1ui); - fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP1uiv"), def_glTexCoordP1uiv); - fn_glTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glTexCoordP2ui"), def_glTexCoordP2ui); - fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP2uiv"), def_glTexCoordP2uiv); - fn_glTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glTexCoordP3ui"), def_glTexCoordP3ui); - fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP3uiv"), def_glTexCoordP3uiv); - fn_glTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glTexCoordP4ui"), def_glTexCoordP4ui); - fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP4uiv"), def_glTexCoordP4uiv); - fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1ui"), def_glMultiTexCoordP1ui); - fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1uiv"), def_glMultiTexCoordP1uiv); - fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2ui"), def_glMultiTexCoordP2ui); - fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2uiv"), def_glMultiTexCoordP2uiv); - fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3ui"), def_glMultiTexCoordP3ui); - fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3uiv"), def_glMultiTexCoordP3uiv); - fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4ui"), def_glMultiTexCoordP4ui); - fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4uiv"), def_glMultiTexCoordP4uiv); - fn_glNormalP3ui = new Deno.UnsafeFnPointer(proc("glNormalP3ui"), def_glNormalP3ui); - fn_glNormalP3uiv = new Deno.UnsafeFnPointer(proc("glNormalP3uiv"), def_glNormalP3uiv); - fn_glColorP3ui = new Deno.UnsafeFnPointer(proc("glColorP3ui"), def_glColorP3ui); - fn_glColorP3uiv = new Deno.UnsafeFnPointer(proc("glColorP3uiv"), def_glColorP3uiv); - fn_glColorP4ui = new Deno.UnsafeFnPointer(proc("glColorP4ui"), def_glColorP4ui); - fn_glColorP4uiv = new Deno.UnsafeFnPointer(proc("glColorP4uiv"), def_glColorP4uiv); - fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3ui"), def_glSecondaryColorP3ui); - fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3uiv"), def_glSecondaryColorP3uiv); + fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1ui"), + def_glVertexAttribP1ui, + ); + fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1uiv"), + def_glVertexAttribP1uiv, + ); + fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2ui"), + def_glVertexAttribP2ui, + ); + fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2uiv"), + def_glVertexAttribP2uiv, + ); + fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3ui"), + def_glVertexAttribP3ui, + ); + fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3uiv"), + def_glVertexAttribP3uiv, + ); + fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4ui"), + def_glVertexAttribP4ui, + ); + fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4uiv"), + def_glVertexAttribP4uiv, + ); + fn_glVertexP2ui = new Deno.UnsafeFnPointer( + proc("glVertexP2ui"), + def_glVertexP2ui, + ); + fn_glVertexP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexP2uiv"), + def_glVertexP2uiv, + ); + fn_glVertexP3ui = new Deno.UnsafeFnPointer( + proc("glVertexP3ui"), + def_glVertexP3ui, + ); + fn_glVertexP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexP3uiv"), + def_glVertexP3uiv, + ); + fn_glVertexP4ui = new Deno.UnsafeFnPointer( + proc("glVertexP4ui"), + def_glVertexP4ui, + ); + fn_glVertexP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexP4uiv"), + def_glVertexP4uiv, + ); + fn_glTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP1ui"), + def_glTexCoordP1ui, + ); + fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP1uiv"), + def_glTexCoordP1uiv, + ); + fn_glTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP2ui"), + def_glTexCoordP2ui, + ); + fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP2uiv"), + def_glTexCoordP2uiv, + ); + fn_glTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP3ui"), + def_glTexCoordP3ui, + ); + fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP3uiv"), + def_glTexCoordP3uiv, + ); + fn_glTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP4ui"), + def_glTexCoordP4ui, + ); + fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP4uiv"), + def_glTexCoordP4uiv, + ); + fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1ui"), + def_glMultiTexCoordP1ui, + ); + fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1uiv"), + def_glMultiTexCoordP1uiv, + ); + fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2ui"), + def_glMultiTexCoordP2ui, + ); + fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2uiv"), + def_glMultiTexCoordP2uiv, + ); + fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3ui"), + def_glMultiTexCoordP3ui, + ); + fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3uiv"), + def_glMultiTexCoordP3uiv, + ); + fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4ui"), + def_glMultiTexCoordP4ui, + ); + fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4uiv"), + def_glMultiTexCoordP4uiv, + ); + fn_glNormalP3ui = new Deno.UnsafeFnPointer( + proc("glNormalP3ui"), + def_glNormalP3ui, + ); + fn_glNormalP3uiv = new Deno.UnsafeFnPointer( + proc("glNormalP3uiv"), + def_glNormalP3uiv, + ); + fn_glColorP3ui = new Deno.UnsafeFnPointer( + proc("glColorP3ui"), + def_glColorP3ui, + ); + fn_glColorP3uiv = new Deno.UnsafeFnPointer( + proc("glColorP3uiv"), + def_glColorP3uiv, + ); + fn_glColorP4ui = new Deno.UnsafeFnPointer( + proc("glColorP4ui"), + def_glColorP4ui, + ); + fn_glColorP4uiv = new Deno.UnsafeFnPointer( + proc("glColorP4uiv"), + def_glColorP4uiv, + ); + fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3ui"), + def_glSecondaryColorP3ui, + ); + fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3uiv"), + def_glSecondaryColorP3uiv, + ); } diff --git a/api/ext/GL_ARB_viewport_array.ts b/api/ext/GL_ARB_viewport_array.ts index 7fb703b..546bde5 100644 --- a/api/ext/GL_ARB_viewport_array.ts +++ b/api/ext/GL_ARB_viewport_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -123,7 +131,9 @@ export const def_glViewportIndexedfv = { result: "void", } as const; -let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer; +let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer< + typeof def_glViewportIndexedfv +>; export function ViewportIndexedfv( index: GLuint, @@ -218,7 +228,9 @@ export const def_glDepthRangeIndexed = { result: "void", } as const; -let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer; +let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeIndexed +>; export function DepthRangeIndexed( index: GLuint, @@ -275,7 +287,9 @@ export const def_glDepthRangeArraydvNV = { result: "void", } as const; -let fn_glDepthRangeArraydvNV!: Deno.UnsafeFnPointer; +let fn_glDepthRangeArraydvNV!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeArraydvNV +>; export function DepthRangeArraydvNV( first: GLuint, @@ -294,7 +308,9 @@ export const def_glDepthRangeIndexeddNV = { result: "void", } as const; -let fn_glDepthRangeIndexeddNV!: Deno.UnsafeFnPointer; +let fn_glDepthRangeIndexeddNV!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeIndexeddNV +>; export function DepthRangeIndexeddNV( index: GLuint, @@ -310,16 +326,52 @@ export function DepthRangeIndexeddNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glViewportArrayv = new Deno.UnsafeFnPointer(proc("glViewportArrayv"), def_glViewportArrayv); - fn_glViewportIndexedf = new Deno.UnsafeFnPointer(proc("glViewportIndexedf"), def_glViewportIndexedf); - fn_glViewportIndexedfv = new Deno.UnsafeFnPointer(proc("glViewportIndexedfv"), def_glViewportIndexedfv); - fn_glScissorArrayv = new Deno.UnsafeFnPointer(proc("glScissorArrayv"), def_glScissorArrayv); - fn_glScissorIndexed = new Deno.UnsafeFnPointer(proc("glScissorIndexed"), def_glScissorIndexed); - fn_glScissorIndexedv = new Deno.UnsafeFnPointer(proc("glScissorIndexedv"), def_glScissorIndexedv); - fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer(proc("glDepthRangeArrayv"), def_glDepthRangeArrayv); - fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer(proc("glDepthRangeIndexed"), def_glDepthRangeIndexed); - fn_glGetFloati_v = new Deno.UnsafeFnPointer(proc("glGetFloati_v"), def_glGetFloati_v); - fn_glGetDoublei_v = new Deno.UnsafeFnPointer(proc("glGetDoublei_v"), def_glGetDoublei_v); - fn_glDepthRangeArraydvNV = new Deno.UnsafeFnPointer(proc("glDepthRangeArraydvNV"), def_glDepthRangeArraydvNV); - fn_glDepthRangeIndexeddNV = new Deno.UnsafeFnPointer(proc("glDepthRangeIndexeddNV"), def_glDepthRangeIndexeddNV); + fn_glViewportArrayv = new Deno.UnsafeFnPointer( + proc("glViewportArrayv"), + def_glViewportArrayv, + ); + fn_glViewportIndexedf = new Deno.UnsafeFnPointer( + proc("glViewportIndexedf"), + def_glViewportIndexedf, + ); + fn_glViewportIndexedfv = new Deno.UnsafeFnPointer( + proc("glViewportIndexedfv"), + def_glViewportIndexedfv, + ); + fn_glScissorArrayv = new Deno.UnsafeFnPointer( + proc("glScissorArrayv"), + def_glScissorArrayv, + ); + fn_glScissorIndexed = new Deno.UnsafeFnPointer( + proc("glScissorIndexed"), + def_glScissorIndexed, + ); + fn_glScissorIndexedv = new Deno.UnsafeFnPointer( + proc("glScissorIndexedv"), + def_glScissorIndexedv, + ); + fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer( + proc("glDepthRangeArrayv"), + def_glDepthRangeArrayv, + ); + fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer( + proc("glDepthRangeIndexed"), + def_glDepthRangeIndexed, + ); + fn_glGetFloati_v = new Deno.UnsafeFnPointer( + proc("glGetFloati_v"), + def_glGetFloati_v, + ); + fn_glGetDoublei_v = new Deno.UnsafeFnPointer( + proc("glGetDoublei_v"), + def_glGetDoublei_v, + ); + fn_glDepthRangeArraydvNV = new Deno.UnsafeFnPointer( + proc("glDepthRangeArraydvNV"), + def_glDepthRangeArraydvNV, + ); + fn_glDepthRangeIndexeddNV = new Deno.UnsafeFnPointer( + proc("glDepthRangeIndexeddNV"), + def_glDepthRangeIndexeddNV, + ); } diff --git a/api/ext/GL_ARB_window_pos.ts b/api/ext/GL_ARB_window_pos.ts index ac3bd90..9aefbb0 100644 --- a/api/ext/GL_ARB_window_pos.ts +++ b/api/ext/GL_ARB_window_pos.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -327,20 +335,68 @@ export function WindowPos3svARB( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glWindowPos2dARB = new Deno.UnsafeFnPointer(proc("glWindowPos2dARB"), def_glWindowPos2dARB); - fn_glWindowPos2dvARB = new Deno.UnsafeFnPointer(proc("glWindowPos2dvARB"), def_glWindowPos2dvARB); - fn_glWindowPos2fARB = new Deno.UnsafeFnPointer(proc("glWindowPos2fARB"), def_glWindowPos2fARB); - fn_glWindowPos2fvARB = new Deno.UnsafeFnPointer(proc("glWindowPos2fvARB"), def_glWindowPos2fvARB); - fn_glWindowPos2iARB = new Deno.UnsafeFnPointer(proc("glWindowPos2iARB"), def_glWindowPos2iARB); - fn_glWindowPos2ivARB = new Deno.UnsafeFnPointer(proc("glWindowPos2ivARB"), def_glWindowPos2ivARB); - fn_glWindowPos2sARB = new Deno.UnsafeFnPointer(proc("glWindowPos2sARB"), def_glWindowPos2sARB); - fn_glWindowPos2svARB = new Deno.UnsafeFnPointer(proc("glWindowPos2svARB"), def_glWindowPos2svARB); - fn_glWindowPos3dARB = new Deno.UnsafeFnPointer(proc("glWindowPos3dARB"), def_glWindowPos3dARB); - fn_glWindowPos3dvARB = new Deno.UnsafeFnPointer(proc("glWindowPos3dvARB"), def_glWindowPos3dvARB); - fn_glWindowPos3fARB = new Deno.UnsafeFnPointer(proc("glWindowPos3fARB"), def_glWindowPos3fARB); - fn_glWindowPos3fvARB = new Deno.UnsafeFnPointer(proc("glWindowPos3fvARB"), def_glWindowPos3fvARB); - fn_glWindowPos3iARB = new Deno.UnsafeFnPointer(proc("glWindowPos3iARB"), def_glWindowPos3iARB); - fn_glWindowPos3ivARB = new Deno.UnsafeFnPointer(proc("glWindowPos3ivARB"), def_glWindowPos3ivARB); - fn_glWindowPos3sARB = new Deno.UnsafeFnPointer(proc("glWindowPos3sARB"), def_glWindowPos3sARB); - fn_glWindowPos3svARB = new Deno.UnsafeFnPointer(proc("glWindowPos3svARB"), def_glWindowPos3svARB); + fn_glWindowPos2dARB = new Deno.UnsafeFnPointer( + proc("glWindowPos2dARB"), + def_glWindowPos2dARB, + ); + fn_glWindowPos2dvARB = new Deno.UnsafeFnPointer( + proc("glWindowPos2dvARB"), + def_glWindowPos2dvARB, + ); + fn_glWindowPos2fARB = new Deno.UnsafeFnPointer( + proc("glWindowPos2fARB"), + def_glWindowPos2fARB, + ); + fn_glWindowPos2fvARB = new Deno.UnsafeFnPointer( + proc("glWindowPos2fvARB"), + def_glWindowPos2fvARB, + ); + fn_glWindowPos2iARB = new Deno.UnsafeFnPointer( + proc("glWindowPos2iARB"), + def_glWindowPos2iARB, + ); + fn_glWindowPos2ivARB = new Deno.UnsafeFnPointer( + proc("glWindowPos2ivARB"), + def_glWindowPos2ivARB, + ); + fn_glWindowPos2sARB = new Deno.UnsafeFnPointer( + proc("glWindowPos2sARB"), + def_glWindowPos2sARB, + ); + fn_glWindowPos2svARB = new Deno.UnsafeFnPointer( + proc("glWindowPos2svARB"), + def_glWindowPos2svARB, + ); + fn_glWindowPos3dARB = new Deno.UnsafeFnPointer( + proc("glWindowPos3dARB"), + def_glWindowPos3dARB, + ); + fn_glWindowPos3dvARB = new Deno.UnsafeFnPointer( + proc("glWindowPos3dvARB"), + def_glWindowPos3dvARB, + ); + fn_glWindowPos3fARB = new Deno.UnsafeFnPointer( + proc("glWindowPos3fARB"), + def_glWindowPos3fARB, + ); + fn_glWindowPos3fvARB = new Deno.UnsafeFnPointer( + proc("glWindowPos3fvARB"), + def_glWindowPos3fvARB, + ); + fn_glWindowPos3iARB = new Deno.UnsafeFnPointer( + proc("glWindowPos3iARB"), + def_glWindowPos3iARB, + ); + fn_glWindowPos3ivARB = new Deno.UnsafeFnPointer( + proc("glWindowPos3ivARB"), + def_glWindowPos3ivARB, + ); + fn_glWindowPos3sARB = new Deno.UnsafeFnPointer( + proc("glWindowPos3sARB"), + def_glWindowPos3sARB, + ); + fn_glWindowPos3svARB = new Deno.UnsafeFnPointer( + proc("glWindowPos3svARB"), + def_glWindowPos3svARB, + ); } diff --git a/api/ext/GL_ARM_mali_program_binary.ts b/api/ext/GL_ARM_mali_program_binary.ts index 61a7353..6c7c710 100644 --- a/api/ext/GL_ARM_mali_program_binary.ts +++ b/api/ext/GL_ARM_mali_program_binary.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARM_mali_shader_binary.ts b/api/ext/GL_ARM_mali_shader_binary.ts index b334b8e..457fa35 100644 --- a/api/ext/GL_ARM_mali_shader_binary.ts +++ b/api/ext/GL_ARM_mali_shader_binary.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARM_rgba8.ts b/api/ext/GL_ARM_rgba8.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARM_rgba8.ts +++ b/api/ext/GL_ARM_rgba8.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARM_shader_framebuffer_fetch.ts b/api/ext/GL_ARM_shader_framebuffer_fetch.ts index c7b5db7..7cf03b6 100644 --- a/api/ext/GL_ARM_shader_framebuffer_fetch.ts +++ b/api/ext/GL_ARM_shader_framebuffer_fetch.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARM_shader_framebuffer_fetch_depth_stencil.ts b/api/ext/GL_ARM_shader_framebuffer_fetch_depth_stencil.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_ARM_shader_framebuffer_fetch_depth_stencil.ts +++ b/api/ext/GL_ARM_shader_framebuffer_fetch_depth_stencil.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ARM_texture_unnormalized_coordinates.ts b/api/ext/GL_ARM_texture_unnormalized_coordinates.ts index 077c6d1..bcea525 100644 --- a/api/ext/GL_ARM_texture_unnormalized_coordinates.ts +++ b/api/ext/GL_ARM_texture_unnormalized_coordinates.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ATI_draw_buffers.ts b/api/ext/GL_ATI_draw_buffers.ts index 5b66242..172fe76 100644 --- a/api/ext/GL_ATI_draw_buffers.ts +++ b/api/ext/GL_ATI_draw_buffers.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -99,5 +107,8 @@ export function DrawBuffersATI( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawBuffersATI = new Deno.UnsafeFnPointer(proc("glDrawBuffersATI"), def_glDrawBuffersATI); + fn_glDrawBuffersATI = new Deno.UnsafeFnPointer( + proc("glDrawBuffersATI"), + def_glDrawBuffersATI, + ); } diff --git a/api/ext/GL_ATI_element_array.ts b/api/ext/GL_ATI_element_array.ts index 7853f7f..fea2430 100644 --- a/api/ext/GL_ATI_element_array.ts +++ b/api/ext/GL_ATI_element_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glElementPointerATI = { result: "void", } as const; -let fn_glElementPointerATI!: Deno.UnsafeFnPointer; +let fn_glElementPointerATI!: Deno.UnsafeFnPointer< + typeof def_glElementPointerATI +>; export function ElementPointerATI( type: GLenum, @@ -88,7 +98,9 @@ export const def_glDrawElementArrayATI = { result: "void", } as const; -let fn_glDrawElementArrayATI!: Deno.UnsafeFnPointer; +let fn_glDrawElementArrayATI!: Deno.UnsafeFnPointer< + typeof def_glDrawElementArrayATI +>; export function DrawElementArrayATI( mode: GLenum, @@ -105,7 +117,9 @@ export const def_glDrawRangeElementArrayATI = { result: "void", } as const; -let fn_glDrawRangeElementArrayATI!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementArrayATI!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementArrayATI +>; export function DrawRangeElementArrayATI( mode: GLenum, @@ -123,7 +137,16 @@ export function DrawRangeElementArrayATI( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glElementPointerATI = new Deno.UnsafeFnPointer(proc("glElementPointerATI"), def_glElementPointerATI); - fn_glDrawElementArrayATI = new Deno.UnsafeFnPointer(proc("glDrawElementArrayATI"), def_glDrawElementArrayATI); - fn_glDrawRangeElementArrayATI = new Deno.UnsafeFnPointer(proc("glDrawRangeElementArrayATI"), def_glDrawRangeElementArrayATI); + fn_glElementPointerATI = new Deno.UnsafeFnPointer( + proc("glElementPointerATI"), + def_glElementPointerATI, + ); + fn_glDrawElementArrayATI = new Deno.UnsafeFnPointer( + proc("glDrawElementArrayATI"), + def_glDrawElementArrayATI, + ); + fn_glDrawRangeElementArrayATI = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementArrayATI"), + def_glDrawRangeElementArrayATI, + ); } diff --git a/api/ext/GL_ATI_envmap_bumpmap.ts b/api/ext/GL_ATI_envmap_bumpmap.ts index 54dda5b..13be810 100644 --- a/api/ext/GL_ATI_envmap_bumpmap.ts +++ b/api/ext/GL_ATI_envmap_bumpmap.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -76,7 +84,9 @@ export const def_glTexBumpParameterivATI = { result: "void", } as const; -let fn_glTexBumpParameterivATI!: Deno.UnsafeFnPointer; +let fn_glTexBumpParameterivATI!: Deno.UnsafeFnPointer< + typeof def_glTexBumpParameterivATI +>; export function TexBumpParameterivATI( pname: GLenum, @@ -93,7 +103,9 @@ export const def_glTexBumpParameterfvATI = { result: "void", } as const; -let fn_glTexBumpParameterfvATI!: Deno.UnsafeFnPointer; +let fn_glTexBumpParameterfvATI!: Deno.UnsafeFnPointer< + typeof def_glTexBumpParameterfvATI +>; export function TexBumpParameterfvATI( pname: GLenum, @@ -110,7 +122,9 @@ export const def_glGetTexBumpParameterivATI = { result: "void", } as const; -let fn_glGetTexBumpParameterivATI!: Deno.UnsafeFnPointer; +let fn_glGetTexBumpParameterivATI!: Deno.UnsafeFnPointer< + typeof def_glGetTexBumpParameterivATI +>; export function GetTexBumpParameterivATI( pname: GLenum, @@ -127,7 +141,9 @@ export const def_glGetTexBumpParameterfvATI = { result: "void", } as const; -let fn_glGetTexBumpParameterfvATI!: Deno.UnsafeFnPointer; +let fn_glGetTexBumpParameterfvATI!: Deno.UnsafeFnPointer< + typeof def_glGetTexBumpParameterfvATI +>; export function GetTexBumpParameterfvATI( pname: GLenum, @@ -141,8 +157,20 @@ export function GetTexBumpParameterfvATI( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexBumpParameterivATI = new Deno.UnsafeFnPointer(proc("glTexBumpParameterivATI"), def_glTexBumpParameterivATI); - fn_glTexBumpParameterfvATI = new Deno.UnsafeFnPointer(proc("glTexBumpParameterfvATI"), def_glTexBumpParameterfvATI); - fn_glGetTexBumpParameterivATI = new Deno.UnsafeFnPointer(proc("glGetTexBumpParameterivATI"), def_glGetTexBumpParameterivATI); - fn_glGetTexBumpParameterfvATI = new Deno.UnsafeFnPointer(proc("glGetTexBumpParameterfvATI"), def_glGetTexBumpParameterfvATI); + fn_glTexBumpParameterivATI = new Deno.UnsafeFnPointer( + proc("glTexBumpParameterivATI"), + def_glTexBumpParameterivATI, + ); + fn_glTexBumpParameterfvATI = new Deno.UnsafeFnPointer( + proc("glTexBumpParameterfvATI"), + def_glTexBumpParameterfvATI, + ); + fn_glGetTexBumpParameterivATI = new Deno.UnsafeFnPointer( + proc("glGetTexBumpParameterivATI"), + def_glGetTexBumpParameterivATI, + ); + fn_glGetTexBumpParameterfvATI = new Deno.UnsafeFnPointer( + proc("glGetTexBumpParameterfvATI"), + def_glGetTexBumpParameterfvATI, + ); } diff --git a/api/ext/GL_ATI_fragment_shader.ts b/api/ext/GL_ATI_fragment_shader.ts index 9bb4618..c58e1c7 100644 --- a/api/ext/GL_ATI_fragment_shader.ts +++ b/api/ext/GL_ATI_fragment_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -172,7 +180,9 @@ export const def_glGenFragmentShadersATI = { result: "u32", } as const; -let fn_glGenFragmentShadersATI!: Deno.UnsafeFnPointer; +let fn_glGenFragmentShadersATI!: Deno.UnsafeFnPointer< + typeof def_glGenFragmentShadersATI +>; export function GenFragmentShadersATI( range: GLuint, @@ -187,7 +197,9 @@ export const def_glBindFragmentShaderATI = { result: "void", } as const; -let fn_glBindFragmentShaderATI!: Deno.UnsafeFnPointer; +let fn_glBindFragmentShaderATI!: Deno.UnsafeFnPointer< + typeof def_glBindFragmentShaderATI +>; export function BindFragmentShaderATI( id: GLuint, @@ -202,7 +214,9 @@ export const def_glDeleteFragmentShaderATI = { result: "void", } as const; -let fn_glDeleteFragmentShaderATI!: Deno.UnsafeFnPointer; +let fn_glDeleteFragmentShaderATI!: Deno.UnsafeFnPointer< + typeof def_glDeleteFragmentShaderATI +>; export function DeleteFragmentShaderATI( id: GLuint, @@ -217,7 +231,9 @@ export const def_glBeginFragmentShaderATI = { result: "void", } as const; -let fn_glBeginFragmentShaderATI!: Deno.UnsafeFnPointer; +let fn_glBeginFragmentShaderATI!: Deno.UnsafeFnPointer< + typeof def_glBeginFragmentShaderATI +>; export function BeginFragmentShaderATI(): void { fn_glBeginFragmentShaderATI.call(); @@ -228,7 +244,9 @@ export const def_glEndFragmentShaderATI = { result: "void", } as const; -let fn_glEndFragmentShaderATI!: Deno.UnsafeFnPointer; +let fn_glEndFragmentShaderATI!: Deno.UnsafeFnPointer< + typeof def_glEndFragmentShaderATI +>; export function EndFragmentShaderATI(): void { fn_glEndFragmentShaderATI.call(); @@ -277,7 +295,9 @@ export const def_glColorFragmentOp1ATI = { result: "void", } as const; -let fn_glColorFragmentOp1ATI!: Deno.UnsafeFnPointer; +let fn_glColorFragmentOp1ATI!: Deno.UnsafeFnPointer< + typeof def_glColorFragmentOp1ATI +>; export function ColorFragmentOp1ATI( op: GLenum, @@ -300,11 +320,24 @@ export function ColorFragmentOp1ATI( } export const def_glColorFragmentOp2ATI = { - parameters: ["u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32"], + parameters: [ + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + ], result: "void", } as const; -let fn_glColorFragmentOp2ATI!: Deno.UnsafeFnPointer; +let fn_glColorFragmentOp2ATI!: Deno.UnsafeFnPointer< + typeof def_glColorFragmentOp2ATI +>; export function ColorFragmentOp2ATI( op: GLenum, @@ -333,11 +366,27 @@ export function ColorFragmentOp2ATI( } export const def_glColorFragmentOp3ATI = { - parameters: ["u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32"], + parameters: [ + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + ], result: "void", } as const; -let fn_glColorFragmentOp3ATI!: Deno.UnsafeFnPointer; +let fn_glColorFragmentOp3ATI!: Deno.UnsafeFnPointer< + typeof def_glColorFragmentOp3ATI +>; export function ColorFragmentOp3ATI( op: GLenum, @@ -376,7 +425,9 @@ export const def_glAlphaFragmentOp1ATI = { result: "void", } as const; -let fn_glAlphaFragmentOp1ATI!: Deno.UnsafeFnPointer; +let fn_glAlphaFragmentOp1ATI!: Deno.UnsafeFnPointer< + typeof def_glAlphaFragmentOp1ATI +>; export function AlphaFragmentOp1ATI( op: GLenum, @@ -401,7 +452,9 @@ export const def_glAlphaFragmentOp2ATI = { result: "void", } as const; -let fn_glAlphaFragmentOp2ATI!: Deno.UnsafeFnPointer; +let fn_glAlphaFragmentOp2ATI!: Deno.UnsafeFnPointer< + typeof def_glAlphaFragmentOp2ATI +>; export function AlphaFragmentOp2ATI( op: GLenum, @@ -428,11 +481,26 @@ export function AlphaFragmentOp2ATI( } export const def_glAlphaFragmentOp3ATI = { - parameters: ["u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32"], + parameters: [ + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + ], result: "void", } as const; -let fn_glAlphaFragmentOp3ATI!: Deno.UnsafeFnPointer; +let fn_glAlphaFragmentOp3ATI!: Deno.UnsafeFnPointer< + typeof def_glAlphaFragmentOp3ATI +>; export function AlphaFragmentOp3ATI( op: GLenum, @@ -469,7 +537,9 @@ export const def_glSetFragmentShaderConstantATI = { result: "void", } as const; -let fn_glSetFragmentShaderConstantATI!: Deno.UnsafeFnPointer; +let fn_glSetFragmentShaderConstantATI!: Deno.UnsafeFnPointer< + typeof def_glSetFragmentShaderConstantATI +>; export function SetFragmentShaderConstantATI( dst: GLuint, @@ -483,18 +553,60 @@ export function SetFragmentShaderConstantATI( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGenFragmentShadersATI = new Deno.UnsafeFnPointer(proc("glGenFragmentShadersATI"), def_glGenFragmentShadersATI); - fn_glBindFragmentShaderATI = new Deno.UnsafeFnPointer(proc("glBindFragmentShaderATI"), def_glBindFragmentShaderATI); - fn_glDeleteFragmentShaderATI = new Deno.UnsafeFnPointer(proc("glDeleteFragmentShaderATI"), def_glDeleteFragmentShaderATI); - fn_glBeginFragmentShaderATI = new Deno.UnsafeFnPointer(proc("glBeginFragmentShaderATI"), def_glBeginFragmentShaderATI); - fn_glEndFragmentShaderATI = new Deno.UnsafeFnPointer(proc("glEndFragmentShaderATI"), def_glEndFragmentShaderATI); - fn_glPassTexCoordATI = new Deno.UnsafeFnPointer(proc("glPassTexCoordATI"), def_glPassTexCoordATI); - fn_glSampleMapATI = new Deno.UnsafeFnPointer(proc("glSampleMapATI"), def_glSampleMapATI); - fn_glColorFragmentOp1ATI = new Deno.UnsafeFnPointer(proc("glColorFragmentOp1ATI"), def_glColorFragmentOp1ATI); - fn_glColorFragmentOp2ATI = new Deno.UnsafeFnPointer(proc("glColorFragmentOp2ATI"), def_glColorFragmentOp2ATI); - fn_glColorFragmentOp3ATI = new Deno.UnsafeFnPointer(proc("glColorFragmentOp3ATI"), def_glColorFragmentOp3ATI); - fn_glAlphaFragmentOp1ATI = new Deno.UnsafeFnPointer(proc("glAlphaFragmentOp1ATI"), def_glAlphaFragmentOp1ATI); - fn_glAlphaFragmentOp2ATI = new Deno.UnsafeFnPointer(proc("glAlphaFragmentOp2ATI"), def_glAlphaFragmentOp2ATI); - fn_glAlphaFragmentOp3ATI = new Deno.UnsafeFnPointer(proc("glAlphaFragmentOp3ATI"), def_glAlphaFragmentOp3ATI); - fn_glSetFragmentShaderConstantATI = new Deno.UnsafeFnPointer(proc("glSetFragmentShaderConstantATI"), def_glSetFragmentShaderConstantATI); + fn_glGenFragmentShadersATI = new Deno.UnsafeFnPointer( + proc("glGenFragmentShadersATI"), + def_glGenFragmentShadersATI, + ); + fn_glBindFragmentShaderATI = new Deno.UnsafeFnPointer( + proc("glBindFragmentShaderATI"), + def_glBindFragmentShaderATI, + ); + fn_glDeleteFragmentShaderATI = new Deno.UnsafeFnPointer( + proc("glDeleteFragmentShaderATI"), + def_glDeleteFragmentShaderATI, + ); + fn_glBeginFragmentShaderATI = new Deno.UnsafeFnPointer( + proc("glBeginFragmentShaderATI"), + def_glBeginFragmentShaderATI, + ); + fn_glEndFragmentShaderATI = new Deno.UnsafeFnPointer( + proc("glEndFragmentShaderATI"), + def_glEndFragmentShaderATI, + ); + fn_glPassTexCoordATI = new Deno.UnsafeFnPointer( + proc("glPassTexCoordATI"), + def_glPassTexCoordATI, + ); + fn_glSampleMapATI = new Deno.UnsafeFnPointer( + proc("glSampleMapATI"), + def_glSampleMapATI, + ); + fn_glColorFragmentOp1ATI = new Deno.UnsafeFnPointer( + proc("glColorFragmentOp1ATI"), + def_glColorFragmentOp1ATI, + ); + fn_glColorFragmentOp2ATI = new Deno.UnsafeFnPointer( + proc("glColorFragmentOp2ATI"), + def_glColorFragmentOp2ATI, + ); + fn_glColorFragmentOp3ATI = new Deno.UnsafeFnPointer( + proc("glColorFragmentOp3ATI"), + def_glColorFragmentOp3ATI, + ); + fn_glAlphaFragmentOp1ATI = new Deno.UnsafeFnPointer( + proc("glAlphaFragmentOp1ATI"), + def_glAlphaFragmentOp1ATI, + ); + fn_glAlphaFragmentOp2ATI = new Deno.UnsafeFnPointer( + proc("glAlphaFragmentOp2ATI"), + def_glAlphaFragmentOp2ATI, + ); + fn_glAlphaFragmentOp3ATI = new Deno.UnsafeFnPointer( + proc("glAlphaFragmentOp3ATI"), + def_glAlphaFragmentOp3ATI, + ); + fn_glSetFragmentShaderConstantATI = new Deno.UnsafeFnPointer( + proc("glSetFragmentShaderConstantATI"), + def_glSetFragmentShaderConstantATI, + ); } diff --git a/api/ext/GL_ATI_map_object_buffer.ts b/api/ext/GL_ATI_map_object_buffer.ts index d862e4e..feafca8 100644 --- a/api/ext/GL_ATI_map_object_buffer.ts +++ b/api/ext/GL_ATI_map_object_buffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glMapObjectBufferATI = { result: "buffer", } as const; -let fn_glMapObjectBufferATI!: Deno.UnsafeFnPointer; +let fn_glMapObjectBufferATI!: Deno.UnsafeFnPointer< + typeof def_glMapObjectBufferATI +>; export function MapObjectBufferATI( buffer: GLuint, @@ -81,7 +91,9 @@ export const def_glUnmapObjectBufferATI = { result: "void", } as const; -let fn_glUnmapObjectBufferATI!: Deno.UnsafeFnPointer; +let fn_glUnmapObjectBufferATI!: Deno.UnsafeFnPointer< + typeof def_glUnmapObjectBufferATI +>; export function UnmapObjectBufferATI( buffer: GLuint, @@ -93,6 +105,12 @@ export function UnmapObjectBufferATI( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMapObjectBufferATI = new Deno.UnsafeFnPointer(proc("glMapObjectBufferATI"), def_glMapObjectBufferATI); - fn_glUnmapObjectBufferATI = new Deno.UnsafeFnPointer(proc("glUnmapObjectBufferATI"), def_glUnmapObjectBufferATI); + fn_glMapObjectBufferATI = new Deno.UnsafeFnPointer( + proc("glMapObjectBufferATI"), + def_glMapObjectBufferATI, + ); + fn_glUnmapObjectBufferATI = new Deno.UnsafeFnPointer( + proc("glUnmapObjectBufferATI"), + def_glUnmapObjectBufferATI, + ); } diff --git a/api/ext/GL_ATI_meminfo.ts b/api/ext/GL_ATI_meminfo.ts index 0d60093..ddb4382 100644 --- a/api/ext/GL_ATI_meminfo.ts +++ b/api/ext/GL_ATI_meminfo.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ATI_pixel_format_float.ts b/api/ext/GL_ATI_pixel_format_float.ts index 63f54d7..c068289 100644 --- a/api/ext/GL_ATI_pixel_format_float.ts +++ b/api/ext/GL_ATI_pixel_format_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ATI_pn_triangles.ts b/api/ext/GL_ATI_pn_triangles.ts index 075e397..6beb678 100644 --- a/api/ext/GL_ATI_pn_triangles.ts +++ b/api/ext/GL_ATI_pn_triangles.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -108,6 +116,12 @@ export function PNTrianglesfATI( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPNTrianglesiATI = new Deno.UnsafeFnPointer(proc("glPNTrianglesiATI"), def_glPNTrianglesiATI); - fn_glPNTrianglesfATI = new Deno.UnsafeFnPointer(proc("glPNTrianglesfATI"), def_glPNTrianglesfATI); + fn_glPNTrianglesiATI = new Deno.UnsafeFnPointer( + proc("glPNTrianglesiATI"), + def_glPNTrianglesiATI, + ); + fn_glPNTrianglesfATI = new Deno.UnsafeFnPointer( + proc("glPNTrianglesfATI"), + def_glPNTrianglesfATI, + ); } diff --git a/api/ext/GL_ATI_separate_stencil.ts b/api/ext/GL_ATI_separate_stencil.ts index ec09bac..e4156c9 100644 --- a/api/ext/GL_ATI_separate_stencil.ts +++ b/api/ext/GL_ATI_separate_stencil.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glStencilOpSeparateATI = { result: "void", } as const; -let fn_glStencilOpSeparateATI!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparateATI!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparateATI +>; export function StencilOpSeparateATI( face: GLenum, @@ -93,7 +103,9 @@ export const def_glStencilFuncSeparateATI = { result: "void", } as const; -let fn_glStencilFuncSeparateATI!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparateATI!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparateATI +>; export function StencilFuncSeparateATI( frontfunc: GLenum, @@ -111,6 +123,12 @@ export function StencilFuncSeparateATI( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glStencilOpSeparateATI = new Deno.UnsafeFnPointer(proc("glStencilOpSeparateATI"), def_glStencilOpSeparateATI); - fn_glStencilFuncSeparateATI = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparateATI"), def_glStencilFuncSeparateATI); + fn_glStencilOpSeparateATI = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparateATI"), + def_glStencilOpSeparateATI, + ); + fn_glStencilFuncSeparateATI = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparateATI"), + def_glStencilFuncSeparateATI, + ); } diff --git a/api/ext/GL_ATI_text_fragment_shader.ts b/api/ext/GL_ATI_text_fragment_shader.ts index cb9218e..0701467 100644 --- a/api/ext/GL_ATI_text_fragment_shader.ts +++ b/api/ext/GL_ATI_text_fragment_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ATI_texture_env_combine3.ts b/api/ext/GL_ATI_texture_env_combine3.ts index d7dbb08..f32faf4 100644 --- a/api/ext/GL_ATI_texture_env_combine3.ts +++ b/api/ext/GL_ATI_texture_env_combine3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ATI_texture_float.ts b/api/ext/GL_ATI_texture_float.ts index f22ff1c..f0d3c41 100644 --- a/api/ext/GL_ATI_texture_float.ts +++ b/api/ext/GL_ATI_texture_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ATI_texture_mirror_once.ts b/api/ext/GL_ATI_texture_mirror_once.ts index d198ac5..d7cd5bd 100644 --- a/api/ext/GL_ATI_texture_mirror_once.ts +++ b/api/ext/GL_ATI_texture_mirror_once.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_ATI_vertex_array_object.ts b/api/ext/GL_ATI_vertex_array_object.ts index 638b45d..1f2d25a 100644 --- a/api/ext/GL_ATI_vertex_array_object.ts +++ b/api/ext/GL_ATI_vertex_array_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -76,7 +84,9 @@ export const def_glNewObjectBufferATI = { result: "u32", } as const; -let fn_glNewObjectBufferATI!: Deno.UnsafeFnPointer; +let fn_glNewObjectBufferATI!: Deno.UnsafeFnPointer< + typeof def_glNewObjectBufferATI +>; export function NewObjectBufferATI( size: GLsizei, @@ -95,7 +105,9 @@ export const def_glIsObjectBufferATI = { result: "u8", } as const; -let fn_glIsObjectBufferATI!: Deno.UnsafeFnPointer; +let fn_glIsObjectBufferATI!: Deno.UnsafeFnPointer< + typeof def_glIsObjectBufferATI +>; export function IsObjectBufferATI( buffer: GLuint, @@ -110,7 +122,9 @@ export const def_glUpdateObjectBufferATI = { result: "void", } as const; -let fn_glUpdateObjectBufferATI!: Deno.UnsafeFnPointer; +let fn_glUpdateObjectBufferATI!: Deno.UnsafeFnPointer< + typeof def_glUpdateObjectBufferATI +>; export function UpdateObjectBufferATI( buffer: GLuint, @@ -133,7 +147,9 @@ export const def_glGetObjectBufferfvATI = { result: "void", } as const; -let fn_glGetObjectBufferfvATI!: Deno.UnsafeFnPointer; +let fn_glGetObjectBufferfvATI!: Deno.UnsafeFnPointer< + typeof def_glGetObjectBufferfvATI +>; export function GetObjectBufferfvATI( buffer: GLuint, @@ -152,7 +168,9 @@ export const def_glGetObjectBufferivATI = { result: "void", } as const; -let fn_glGetObjectBufferivATI!: Deno.UnsafeFnPointer; +let fn_glGetObjectBufferivATI!: Deno.UnsafeFnPointer< + typeof def_glGetObjectBufferivATI +>; export function GetObjectBufferivATI( buffer: GLuint, @@ -171,7 +189,9 @@ export const def_glFreeObjectBufferATI = { result: "void", } as const; -let fn_glFreeObjectBufferATI!: Deno.UnsafeFnPointer; +let fn_glFreeObjectBufferATI!: Deno.UnsafeFnPointer< + typeof def_glFreeObjectBufferATI +>; export function FreeObjectBufferATI( buffer: GLuint, @@ -211,7 +231,9 @@ export const def_glGetArrayObjectfvATI = { result: "void", } as const; -let fn_glGetArrayObjectfvATI!: Deno.UnsafeFnPointer; +let fn_glGetArrayObjectfvATI!: Deno.UnsafeFnPointer< + typeof def_glGetArrayObjectfvATI +>; export function GetArrayObjectfvATI( array: GLenum, @@ -230,7 +252,9 @@ export const def_glGetArrayObjectivATI = { result: "void", } as const; -let fn_glGetArrayObjectivATI!: Deno.UnsafeFnPointer; +let fn_glGetArrayObjectivATI!: Deno.UnsafeFnPointer< + typeof def_glGetArrayObjectivATI +>; export function GetArrayObjectivATI( array: GLenum, @@ -249,7 +273,9 @@ export const def_glVariantArrayObjectATI = { result: "void", } as const; -let fn_glVariantArrayObjectATI!: Deno.UnsafeFnPointer; +let fn_glVariantArrayObjectATI!: Deno.UnsafeFnPointer< + typeof def_glVariantArrayObjectATI +>; export function VariantArrayObjectATI( id: GLuint, @@ -272,7 +298,9 @@ export const def_glGetVariantArrayObjectfvATI = { result: "void", } as const; -let fn_glGetVariantArrayObjectfvATI!: Deno.UnsafeFnPointer; +let fn_glGetVariantArrayObjectfvATI!: Deno.UnsafeFnPointer< + typeof def_glGetVariantArrayObjectfvATI +>; export function GetVariantArrayObjectfvATI( id: GLuint, @@ -291,7 +319,9 @@ export const def_glGetVariantArrayObjectivATI = { result: "void", } as const; -let fn_glGetVariantArrayObjectivATI!: Deno.UnsafeFnPointer; +let fn_glGetVariantArrayObjectivATI!: Deno.UnsafeFnPointer< + typeof def_glGetVariantArrayObjectivATI +>; export function GetVariantArrayObjectivATI( id: GLuint, @@ -307,16 +337,52 @@ export function GetVariantArrayObjectivATI( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glNewObjectBufferATI = new Deno.UnsafeFnPointer(proc("glNewObjectBufferATI"), def_glNewObjectBufferATI); - fn_glIsObjectBufferATI = new Deno.UnsafeFnPointer(proc("glIsObjectBufferATI"), def_glIsObjectBufferATI); - fn_glUpdateObjectBufferATI = new Deno.UnsafeFnPointer(proc("glUpdateObjectBufferATI"), def_glUpdateObjectBufferATI); - fn_glGetObjectBufferfvATI = new Deno.UnsafeFnPointer(proc("glGetObjectBufferfvATI"), def_glGetObjectBufferfvATI); - fn_glGetObjectBufferivATI = new Deno.UnsafeFnPointer(proc("glGetObjectBufferivATI"), def_glGetObjectBufferivATI); - fn_glFreeObjectBufferATI = new Deno.UnsafeFnPointer(proc("glFreeObjectBufferATI"), def_glFreeObjectBufferATI); - fn_glArrayObjectATI = new Deno.UnsafeFnPointer(proc("glArrayObjectATI"), def_glArrayObjectATI); - fn_glGetArrayObjectfvATI = new Deno.UnsafeFnPointer(proc("glGetArrayObjectfvATI"), def_glGetArrayObjectfvATI); - fn_glGetArrayObjectivATI = new Deno.UnsafeFnPointer(proc("glGetArrayObjectivATI"), def_glGetArrayObjectivATI); - fn_glVariantArrayObjectATI = new Deno.UnsafeFnPointer(proc("glVariantArrayObjectATI"), def_glVariantArrayObjectATI); - fn_glGetVariantArrayObjectfvATI = new Deno.UnsafeFnPointer(proc("glGetVariantArrayObjectfvATI"), def_glGetVariantArrayObjectfvATI); - fn_glGetVariantArrayObjectivATI = new Deno.UnsafeFnPointer(proc("glGetVariantArrayObjectivATI"), def_glGetVariantArrayObjectivATI); + fn_glNewObjectBufferATI = new Deno.UnsafeFnPointer( + proc("glNewObjectBufferATI"), + def_glNewObjectBufferATI, + ); + fn_glIsObjectBufferATI = new Deno.UnsafeFnPointer( + proc("glIsObjectBufferATI"), + def_glIsObjectBufferATI, + ); + fn_glUpdateObjectBufferATI = new Deno.UnsafeFnPointer( + proc("glUpdateObjectBufferATI"), + def_glUpdateObjectBufferATI, + ); + fn_glGetObjectBufferfvATI = new Deno.UnsafeFnPointer( + proc("glGetObjectBufferfvATI"), + def_glGetObjectBufferfvATI, + ); + fn_glGetObjectBufferivATI = new Deno.UnsafeFnPointer( + proc("glGetObjectBufferivATI"), + def_glGetObjectBufferivATI, + ); + fn_glFreeObjectBufferATI = new Deno.UnsafeFnPointer( + proc("glFreeObjectBufferATI"), + def_glFreeObjectBufferATI, + ); + fn_glArrayObjectATI = new Deno.UnsafeFnPointer( + proc("glArrayObjectATI"), + def_glArrayObjectATI, + ); + fn_glGetArrayObjectfvATI = new Deno.UnsafeFnPointer( + proc("glGetArrayObjectfvATI"), + def_glGetArrayObjectfvATI, + ); + fn_glGetArrayObjectivATI = new Deno.UnsafeFnPointer( + proc("glGetArrayObjectivATI"), + def_glGetArrayObjectivATI, + ); + fn_glVariantArrayObjectATI = new Deno.UnsafeFnPointer( + proc("glVariantArrayObjectATI"), + def_glVariantArrayObjectATI, + ); + fn_glGetVariantArrayObjectfvATI = new Deno.UnsafeFnPointer( + proc("glGetVariantArrayObjectfvATI"), + def_glGetVariantArrayObjectfvATI, + ); + fn_glGetVariantArrayObjectivATI = new Deno.UnsafeFnPointer( + proc("glGetVariantArrayObjectivATI"), + def_glGetVariantArrayObjectivATI, + ); } diff --git a/api/ext/GL_ATI_vertex_attrib_array_object.ts b/api/ext/GL_ATI_vertex_attrib_array_object.ts index d619e88..1acb0e8 100644 --- a/api/ext/GL_ATI_vertex_attrib_array_object.ts +++ b/api/ext/GL_ATI_vertex_attrib_array_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glVertexAttribArrayObjectATI = { result: "void", } as const; -let fn_glVertexAttribArrayObjectATI!: Deno.UnsafeFnPointer; +let fn_glVertexAttribArrayObjectATI!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribArrayObjectATI +>; export function VertexAttribArrayObjectATI( index: GLuint, @@ -93,7 +103,9 @@ export const def_glGetVertexAttribArrayObjectfvATI = { result: "void", } as const; -let fn_glGetVertexAttribArrayObjectfvATI!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribArrayObjectfvATI!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribArrayObjectfvATI +>; export function GetVertexAttribArrayObjectfvATI( index: GLuint, @@ -112,7 +124,9 @@ export const def_glGetVertexAttribArrayObjectivATI = { result: "void", } as const; -let fn_glGetVertexAttribArrayObjectivATI!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribArrayObjectivATI!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribArrayObjectivATI +>; export function GetVertexAttribArrayObjectivATI( index: GLuint, @@ -128,7 +142,16 @@ export function GetVertexAttribArrayObjectivATI( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexAttribArrayObjectATI = new Deno.UnsafeFnPointer(proc("glVertexAttribArrayObjectATI"), def_glVertexAttribArrayObjectATI); - fn_glGetVertexAttribArrayObjectfvATI = new Deno.UnsafeFnPointer(proc("glGetVertexAttribArrayObjectfvATI"), def_glGetVertexAttribArrayObjectfvATI); - fn_glGetVertexAttribArrayObjectivATI = new Deno.UnsafeFnPointer(proc("glGetVertexAttribArrayObjectivATI"), def_glGetVertexAttribArrayObjectivATI); + fn_glVertexAttribArrayObjectATI = new Deno.UnsafeFnPointer( + proc("glVertexAttribArrayObjectATI"), + def_glVertexAttribArrayObjectATI, + ); + fn_glGetVertexAttribArrayObjectfvATI = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribArrayObjectfvATI"), + def_glGetVertexAttribArrayObjectfvATI, + ); + fn_glGetVertexAttribArrayObjectivATI = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribArrayObjectivATI"), + def_glGetVertexAttribArrayObjectivATI, + ); } diff --git a/api/ext/GL_ATI_vertex_streams.ts b/api/ext/GL_ATI_vertex_streams.ts index 1621174..263ff3d 100644 --- a/api/ext/GL_ATI_vertex_streams.ts +++ b/api/ext/GL_ATI_vertex_streams.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -78,7 +86,9 @@ export const def_glVertexStream1sATI = { result: "void", } as const; -let fn_glVertexStream1sATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream1sATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream1sATI +>; export function VertexStream1sATI( stream: GLenum, @@ -95,7 +105,9 @@ export const def_glVertexStream1svATI = { result: "void", } as const; -let fn_glVertexStream1svATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream1svATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream1svATI +>; export function VertexStream1svATI( stream: GLenum, @@ -112,7 +124,9 @@ export const def_glVertexStream1iATI = { result: "void", } as const; -let fn_glVertexStream1iATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream1iATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream1iATI +>; export function VertexStream1iATI( stream: GLenum, @@ -129,7 +143,9 @@ export const def_glVertexStream1ivATI = { result: "void", } as const; -let fn_glVertexStream1ivATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream1ivATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream1ivATI +>; export function VertexStream1ivATI( stream: GLenum, @@ -146,7 +162,9 @@ export const def_glVertexStream1fATI = { result: "void", } as const; -let fn_glVertexStream1fATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream1fATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream1fATI +>; export function VertexStream1fATI( stream: GLenum, @@ -163,7 +181,9 @@ export const def_glVertexStream1fvATI = { result: "void", } as const; -let fn_glVertexStream1fvATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream1fvATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream1fvATI +>; export function VertexStream1fvATI( stream: GLenum, @@ -180,7 +200,9 @@ export const def_glVertexStream1dATI = { result: "void", } as const; -let fn_glVertexStream1dATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream1dATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream1dATI +>; export function VertexStream1dATI( stream: GLenum, @@ -197,7 +219,9 @@ export const def_glVertexStream1dvATI = { result: "void", } as const; -let fn_glVertexStream1dvATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream1dvATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream1dvATI +>; export function VertexStream1dvATI( stream: GLenum, @@ -214,7 +238,9 @@ export const def_glVertexStream2sATI = { result: "void", } as const; -let fn_glVertexStream2sATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream2sATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream2sATI +>; export function VertexStream2sATI( stream: GLenum, @@ -233,7 +259,9 @@ export const def_glVertexStream2svATI = { result: "void", } as const; -let fn_glVertexStream2svATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream2svATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream2svATI +>; export function VertexStream2svATI( stream: GLenum, @@ -250,7 +278,9 @@ export const def_glVertexStream2iATI = { result: "void", } as const; -let fn_glVertexStream2iATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream2iATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream2iATI +>; export function VertexStream2iATI( stream: GLenum, @@ -269,7 +299,9 @@ export const def_glVertexStream2ivATI = { result: "void", } as const; -let fn_glVertexStream2ivATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream2ivATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream2ivATI +>; export function VertexStream2ivATI( stream: GLenum, @@ -286,7 +318,9 @@ export const def_glVertexStream2fATI = { result: "void", } as const; -let fn_glVertexStream2fATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream2fATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream2fATI +>; export function VertexStream2fATI( stream: GLenum, @@ -305,7 +339,9 @@ export const def_glVertexStream2fvATI = { result: "void", } as const; -let fn_glVertexStream2fvATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream2fvATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream2fvATI +>; export function VertexStream2fvATI( stream: GLenum, @@ -322,7 +358,9 @@ export const def_glVertexStream2dATI = { result: "void", } as const; -let fn_glVertexStream2dATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream2dATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream2dATI +>; export function VertexStream2dATI( stream: GLenum, @@ -341,7 +379,9 @@ export const def_glVertexStream2dvATI = { result: "void", } as const; -let fn_glVertexStream2dvATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream2dvATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream2dvATI +>; export function VertexStream2dvATI( stream: GLenum, @@ -358,7 +398,9 @@ export const def_glVertexStream3sATI = { result: "void", } as const; -let fn_glVertexStream3sATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream3sATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream3sATI +>; export function VertexStream3sATI( stream: GLenum, @@ -379,7 +421,9 @@ export const def_glVertexStream3svATI = { result: "void", } as const; -let fn_glVertexStream3svATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream3svATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream3svATI +>; export function VertexStream3svATI( stream: GLenum, @@ -396,7 +440,9 @@ export const def_glVertexStream3iATI = { result: "void", } as const; -let fn_glVertexStream3iATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream3iATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream3iATI +>; export function VertexStream3iATI( stream: GLenum, @@ -417,7 +463,9 @@ export const def_glVertexStream3ivATI = { result: "void", } as const; -let fn_glVertexStream3ivATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream3ivATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream3ivATI +>; export function VertexStream3ivATI( stream: GLenum, @@ -434,7 +482,9 @@ export const def_glVertexStream3fATI = { result: "void", } as const; -let fn_glVertexStream3fATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream3fATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream3fATI +>; export function VertexStream3fATI( stream: GLenum, @@ -455,7 +505,9 @@ export const def_glVertexStream3fvATI = { result: "void", } as const; -let fn_glVertexStream3fvATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream3fvATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream3fvATI +>; export function VertexStream3fvATI( stream: GLenum, @@ -472,7 +524,9 @@ export const def_glVertexStream3dATI = { result: "void", } as const; -let fn_glVertexStream3dATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream3dATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream3dATI +>; export function VertexStream3dATI( stream: GLenum, @@ -493,7 +547,9 @@ export const def_glVertexStream3dvATI = { result: "void", } as const; -let fn_glVertexStream3dvATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream3dvATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream3dvATI +>; export function VertexStream3dvATI( stream: GLenum, @@ -510,7 +566,9 @@ export const def_glVertexStream4sATI = { result: "void", } as const; -let fn_glVertexStream4sATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream4sATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream4sATI +>; export function VertexStream4sATI( stream: GLenum, @@ -533,7 +591,9 @@ export const def_glVertexStream4svATI = { result: "void", } as const; -let fn_glVertexStream4svATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream4svATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream4svATI +>; export function VertexStream4svATI( stream: GLenum, @@ -550,7 +610,9 @@ export const def_glVertexStream4iATI = { result: "void", } as const; -let fn_glVertexStream4iATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream4iATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream4iATI +>; export function VertexStream4iATI( stream: GLenum, @@ -573,7 +635,9 @@ export const def_glVertexStream4ivATI = { result: "void", } as const; -let fn_glVertexStream4ivATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream4ivATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream4ivATI +>; export function VertexStream4ivATI( stream: GLenum, @@ -590,7 +654,9 @@ export const def_glVertexStream4fATI = { result: "void", } as const; -let fn_glVertexStream4fATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream4fATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream4fATI +>; export function VertexStream4fATI( stream: GLenum, @@ -613,7 +679,9 @@ export const def_glVertexStream4fvATI = { result: "void", } as const; -let fn_glVertexStream4fvATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream4fvATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream4fvATI +>; export function VertexStream4fvATI( stream: GLenum, @@ -630,7 +698,9 @@ export const def_glVertexStream4dATI = { result: "void", } as const; -let fn_glVertexStream4dATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream4dATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream4dATI +>; export function VertexStream4dATI( stream: GLenum, @@ -653,7 +723,9 @@ export const def_glVertexStream4dvATI = { result: "void", } as const; -let fn_glVertexStream4dvATI!: Deno.UnsafeFnPointer; +let fn_glVertexStream4dvATI!: Deno.UnsafeFnPointer< + typeof def_glVertexStream4dvATI +>; export function VertexStream4dvATI( stream: GLenum, @@ -670,7 +742,9 @@ export const def_glNormalStream3bATI = { result: "void", } as const; -let fn_glNormalStream3bATI!: Deno.UnsafeFnPointer; +let fn_glNormalStream3bATI!: Deno.UnsafeFnPointer< + typeof def_glNormalStream3bATI +>; export function NormalStream3bATI( stream: GLenum, @@ -691,7 +765,9 @@ export const def_glNormalStream3bvATI = { result: "void", } as const; -let fn_glNormalStream3bvATI!: Deno.UnsafeFnPointer; +let fn_glNormalStream3bvATI!: Deno.UnsafeFnPointer< + typeof def_glNormalStream3bvATI +>; export function NormalStream3bvATI( stream: GLenum, @@ -708,7 +784,9 @@ export const def_glNormalStream3sATI = { result: "void", } as const; -let fn_glNormalStream3sATI!: Deno.UnsafeFnPointer; +let fn_glNormalStream3sATI!: Deno.UnsafeFnPointer< + typeof def_glNormalStream3sATI +>; export function NormalStream3sATI( stream: GLenum, @@ -729,7 +807,9 @@ export const def_glNormalStream3svATI = { result: "void", } as const; -let fn_glNormalStream3svATI!: Deno.UnsafeFnPointer; +let fn_glNormalStream3svATI!: Deno.UnsafeFnPointer< + typeof def_glNormalStream3svATI +>; export function NormalStream3svATI( stream: GLenum, @@ -746,7 +826,9 @@ export const def_glNormalStream3iATI = { result: "void", } as const; -let fn_glNormalStream3iATI!: Deno.UnsafeFnPointer; +let fn_glNormalStream3iATI!: Deno.UnsafeFnPointer< + typeof def_glNormalStream3iATI +>; export function NormalStream3iATI( stream: GLenum, @@ -767,7 +849,9 @@ export const def_glNormalStream3ivATI = { result: "void", } as const; -let fn_glNormalStream3ivATI!: Deno.UnsafeFnPointer; +let fn_glNormalStream3ivATI!: Deno.UnsafeFnPointer< + typeof def_glNormalStream3ivATI +>; export function NormalStream3ivATI( stream: GLenum, @@ -784,7 +868,9 @@ export const def_glNormalStream3fATI = { result: "void", } as const; -let fn_glNormalStream3fATI!: Deno.UnsafeFnPointer; +let fn_glNormalStream3fATI!: Deno.UnsafeFnPointer< + typeof def_glNormalStream3fATI +>; export function NormalStream3fATI( stream: GLenum, @@ -805,7 +891,9 @@ export const def_glNormalStream3fvATI = { result: "void", } as const; -let fn_glNormalStream3fvATI!: Deno.UnsafeFnPointer; +let fn_glNormalStream3fvATI!: Deno.UnsafeFnPointer< + typeof def_glNormalStream3fvATI +>; export function NormalStream3fvATI( stream: GLenum, @@ -822,7 +910,9 @@ export const def_glNormalStream3dATI = { result: "void", } as const; -let fn_glNormalStream3dATI!: Deno.UnsafeFnPointer; +let fn_glNormalStream3dATI!: Deno.UnsafeFnPointer< + typeof def_glNormalStream3dATI +>; export function NormalStream3dATI( stream: GLenum, @@ -843,7 +933,9 @@ export const def_glNormalStream3dvATI = { result: "void", } as const; -let fn_glNormalStream3dvATI!: Deno.UnsafeFnPointer; +let fn_glNormalStream3dvATI!: Deno.UnsafeFnPointer< + typeof def_glNormalStream3dvATI +>; export function NormalStream3dvATI( stream: GLenum, @@ -860,7 +952,9 @@ export const def_glClientActiveVertexStreamATI = { result: "void", } as const; -let fn_glClientActiveVertexStreamATI!: Deno.UnsafeFnPointer; +let fn_glClientActiveVertexStreamATI!: Deno.UnsafeFnPointer< + typeof def_glClientActiveVertexStreamATI +>; export function ClientActiveVertexStreamATI( stream: GLenum, @@ -875,7 +969,9 @@ export const def_glVertexBlendEnviATI = { result: "void", } as const; -let fn_glVertexBlendEnviATI!: Deno.UnsafeFnPointer; +let fn_glVertexBlendEnviATI!: Deno.UnsafeFnPointer< + typeof def_glVertexBlendEnviATI +>; export function VertexBlendEnviATI( pname: GLenum, @@ -892,7 +988,9 @@ export const def_glVertexBlendEnvfATI = { result: "void", } as const; -let fn_glVertexBlendEnvfATI!: Deno.UnsafeFnPointer; +let fn_glVertexBlendEnvfATI!: Deno.UnsafeFnPointer< + typeof def_glVertexBlendEnvfATI +>; export function VertexBlendEnvfATI( pname: GLenum, @@ -906,49 +1004,184 @@ export function VertexBlendEnvfATI( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexStream1sATI = new Deno.UnsafeFnPointer(proc("glVertexStream1sATI"), def_glVertexStream1sATI); - fn_glVertexStream1svATI = new Deno.UnsafeFnPointer(proc("glVertexStream1svATI"), def_glVertexStream1svATI); - fn_glVertexStream1iATI = new Deno.UnsafeFnPointer(proc("glVertexStream1iATI"), def_glVertexStream1iATI); - fn_glVertexStream1ivATI = new Deno.UnsafeFnPointer(proc("glVertexStream1ivATI"), def_glVertexStream1ivATI); - fn_glVertexStream1fATI = new Deno.UnsafeFnPointer(proc("glVertexStream1fATI"), def_glVertexStream1fATI); - fn_glVertexStream1fvATI = new Deno.UnsafeFnPointer(proc("glVertexStream1fvATI"), def_glVertexStream1fvATI); - fn_glVertexStream1dATI = new Deno.UnsafeFnPointer(proc("glVertexStream1dATI"), def_glVertexStream1dATI); - fn_glVertexStream1dvATI = new Deno.UnsafeFnPointer(proc("glVertexStream1dvATI"), def_glVertexStream1dvATI); - fn_glVertexStream2sATI = new Deno.UnsafeFnPointer(proc("glVertexStream2sATI"), def_glVertexStream2sATI); - fn_glVertexStream2svATI = new Deno.UnsafeFnPointer(proc("glVertexStream2svATI"), def_glVertexStream2svATI); - fn_glVertexStream2iATI = new Deno.UnsafeFnPointer(proc("glVertexStream2iATI"), def_glVertexStream2iATI); - fn_glVertexStream2ivATI = new Deno.UnsafeFnPointer(proc("glVertexStream2ivATI"), def_glVertexStream2ivATI); - fn_glVertexStream2fATI = new Deno.UnsafeFnPointer(proc("glVertexStream2fATI"), def_glVertexStream2fATI); - fn_glVertexStream2fvATI = new Deno.UnsafeFnPointer(proc("glVertexStream2fvATI"), def_glVertexStream2fvATI); - fn_glVertexStream2dATI = new Deno.UnsafeFnPointer(proc("glVertexStream2dATI"), def_glVertexStream2dATI); - fn_glVertexStream2dvATI = new Deno.UnsafeFnPointer(proc("glVertexStream2dvATI"), def_glVertexStream2dvATI); - fn_glVertexStream3sATI = new Deno.UnsafeFnPointer(proc("glVertexStream3sATI"), def_glVertexStream3sATI); - fn_glVertexStream3svATI = new Deno.UnsafeFnPointer(proc("glVertexStream3svATI"), def_glVertexStream3svATI); - fn_glVertexStream3iATI = new Deno.UnsafeFnPointer(proc("glVertexStream3iATI"), def_glVertexStream3iATI); - fn_glVertexStream3ivATI = new Deno.UnsafeFnPointer(proc("glVertexStream3ivATI"), def_glVertexStream3ivATI); - fn_glVertexStream3fATI = new Deno.UnsafeFnPointer(proc("glVertexStream3fATI"), def_glVertexStream3fATI); - fn_glVertexStream3fvATI = new Deno.UnsafeFnPointer(proc("glVertexStream3fvATI"), def_glVertexStream3fvATI); - fn_glVertexStream3dATI = new Deno.UnsafeFnPointer(proc("glVertexStream3dATI"), def_glVertexStream3dATI); - fn_glVertexStream3dvATI = new Deno.UnsafeFnPointer(proc("glVertexStream3dvATI"), def_glVertexStream3dvATI); - fn_glVertexStream4sATI = new Deno.UnsafeFnPointer(proc("glVertexStream4sATI"), def_glVertexStream4sATI); - fn_glVertexStream4svATI = new Deno.UnsafeFnPointer(proc("glVertexStream4svATI"), def_glVertexStream4svATI); - fn_glVertexStream4iATI = new Deno.UnsafeFnPointer(proc("glVertexStream4iATI"), def_glVertexStream4iATI); - fn_glVertexStream4ivATI = new Deno.UnsafeFnPointer(proc("glVertexStream4ivATI"), def_glVertexStream4ivATI); - fn_glVertexStream4fATI = new Deno.UnsafeFnPointer(proc("glVertexStream4fATI"), def_glVertexStream4fATI); - fn_glVertexStream4fvATI = new Deno.UnsafeFnPointer(proc("glVertexStream4fvATI"), def_glVertexStream4fvATI); - fn_glVertexStream4dATI = new Deno.UnsafeFnPointer(proc("glVertexStream4dATI"), def_glVertexStream4dATI); - fn_glVertexStream4dvATI = new Deno.UnsafeFnPointer(proc("glVertexStream4dvATI"), def_glVertexStream4dvATI); - fn_glNormalStream3bATI = new Deno.UnsafeFnPointer(proc("glNormalStream3bATI"), def_glNormalStream3bATI); - fn_glNormalStream3bvATI = new Deno.UnsafeFnPointer(proc("glNormalStream3bvATI"), def_glNormalStream3bvATI); - fn_glNormalStream3sATI = new Deno.UnsafeFnPointer(proc("glNormalStream3sATI"), def_glNormalStream3sATI); - fn_glNormalStream3svATI = new Deno.UnsafeFnPointer(proc("glNormalStream3svATI"), def_glNormalStream3svATI); - fn_glNormalStream3iATI = new Deno.UnsafeFnPointer(proc("glNormalStream3iATI"), def_glNormalStream3iATI); - fn_glNormalStream3ivATI = new Deno.UnsafeFnPointer(proc("glNormalStream3ivATI"), def_glNormalStream3ivATI); - fn_glNormalStream3fATI = new Deno.UnsafeFnPointer(proc("glNormalStream3fATI"), def_glNormalStream3fATI); - fn_glNormalStream3fvATI = new Deno.UnsafeFnPointer(proc("glNormalStream3fvATI"), def_glNormalStream3fvATI); - fn_glNormalStream3dATI = new Deno.UnsafeFnPointer(proc("glNormalStream3dATI"), def_glNormalStream3dATI); - fn_glNormalStream3dvATI = new Deno.UnsafeFnPointer(proc("glNormalStream3dvATI"), def_glNormalStream3dvATI); - fn_glClientActiveVertexStreamATI = new Deno.UnsafeFnPointer(proc("glClientActiveVertexStreamATI"), def_glClientActiveVertexStreamATI); - fn_glVertexBlendEnviATI = new Deno.UnsafeFnPointer(proc("glVertexBlendEnviATI"), def_glVertexBlendEnviATI); - fn_glVertexBlendEnvfATI = new Deno.UnsafeFnPointer(proc("glVertexBlendEnvfATI"), def_glVertexBlendEnvfATI); + fn_glVertexStream1sATI = new Deno.UnsafeFnPointer( + proc("glVertexStream1sATI"), + def_glVertexStream1sATI, + ); + fn_glVertexStream1svATI = new Deno.UnsafeFnPointer( + proc("glVertexStream1svATI"), + def_glVertexStream1svATI, + ); + fn_glVertexStream1iATI = new Deno.UnsafeFnPointer( + proc("glVertexStream1iATI"), + def_glVertexStream1iATI, + ); + fn_glVertexStream1ivATI = new Deno.UnsafeFnPointer( + proc("glVertexStream1ivATI"), + def_glVertexStream1ivATI, + ); + fn_glVertexStream1fATI = new Deno.UnsafeFnPointer( + proc("glVertexStream1fATI"), + def_glVertexStream1fATI, + ); + fn_glVertexStream1fvATI = new Deno.UnsafeFnPointer( + proc("glVertexStream1fvATI"), + def_glVertexStream1fvATI, + ); + fn_glVertexStream1dATI = new Deno.UnsafeFnPointer( + proc("glVertexStream1dATI"), + def_glVertexStream1dATI, + ); + fn_glVertexStream1dvATI = new Deno.UnsafeFnPointer( + proc("glVertexStream1dvATI"), + def_glVertexStream1dvATI, + ); + fn_glVertexStream2sATI = new Deno.UnsafeFnPointer( + proc("glVertexStream2sATI"), + def_glVertexStream2sATI, + ); + fn_glVertexStream2svATI = new Deno.UnsafeFnPointer( + proc("glVertexStream2svATI"), + def_glVertexStream2svATI, + ); + fn_glVertexStream2iATI = new Deno.UnsafeFnPointer( + proc("glVertexStream2iATI"), + def_glVertexStream2iATI, + ); + fn_glVertexStream2ivATI = new Deno.UnsafeFnPointer( + proc("glVertexStream2ivATI"), + def_glVertexStream2ivATI, + ); + fn_glVertexStream2fATI = new Deno.UnsafeFnPointer( + proc("glVertexStream2fATI"), + def_glVertexStream2fATI, + ); + fn_glVertexStream2fvATI = new Deno.UnsafeFnPointer( + proc("glVertexStream2fvATI"), + def_glVertexStream2fvATI, + ); + fn_glVertexStream2dATI = new Deno.UnsafeFnPointer( + proc("glVertexStream2dATI"), + def_glVertexStream2dATI, + ); + fn_glVertexStream2dvATI = new Deno.UnsafeFnPointer( + proc("glVertexStream2dvATI"), + def_glVertexStream2dvATI, + ); + fn_glVertexStream3sATI = new Deno.UnsafeFnPointer( + proc("glVertexStream3sATI"), + def_glVertexStream3sATI, + ); + fn_glVertexStream3svATI = new Deno.UnsafeFnPointer( + proc("glVertexStream3svATI"), + def_glVertexStream3svATI, + ); + fn_glVertexStream3iATI = new Deno.UnsafeFnPointer( + proc("glVertexStream3iATI"), + def_glVertexStream3iATI, + ); + fn_glVertexStream3ivATI = new Deno.UnsafeFnPointer( + proc("glVertexStream3ivATI"), + def_glVertexStream3ivATI, + ); + fn_glVertexStream3fATI = new Deno.UnsafeFnPointer( + proc("glVertexStream3fATI"), + def_glVertexStream3fATI, + ); + fn_glVertexStream3fvATI = new Deno.UnsafeFnPointer( + proc("glVertexStream3fvATI"), + def_glVertexStream3fvATI, + ); + fn_glVertexStream3dATI = new Deno.UnsafeFnPointer( + proc("glVertexStream3dATI"), + def_glVertexStream3dATI, + ); + fn_glVertexStream3dvATI = new Deno.UnsafeFnPointer( + proc("glVertexStream3dvATI"), + def_glVertexStream3dvATI, + ); + fn_glVertexStream4sATI = new Deno.UnsafeFnPointer( + proc("glVertexStream4sATI"), + def_glVertexStream4sATI, + ); + fn_glVertexStream4svATI = new Deno.UnsafeFnPointer( + proc("glVertexStream4svATI"), + def_glVertexStream4svATI, + ); + fn_glVertexStream4iATI = new Deno.UnsafeFnPointer( + proc("glVertexStream4iATI"), + def_glVertexStream4iATI, + ); + fn_glVertexStream4ivATI = new Deno.UnsafeFnPointer( + proc("glVertexStream4ivATI"), + def_glVertexStream4ivATI, + ); + fn_glVertexStream4fATI = new Deno.UnsafeFnPointer( + proc("glVertexStream4fATI"), + def_glVertexStream4fATI, + ); + fn_glVertexStream4fvATI = new Deno.UnsafeFnPointer( + proc("glVertexStream4fvATI"), + def_glVertexStream4fvATI, + ); + fn_glVertexStream4dATI = new Deno.UnsafeFnPointer( + proc("glVertexStream4dATI"), + def_glVertexStream4dATI, + ); + fn_glVertexStream4dvATI = new Deno.UnsafeFnPointer( + proc("glVertexStream4dvATI"), + def_glVertexStream4dvATI, + ); + fn_glNormalStream3bATI = new Deno.UnsafeFnPointer( + proc("glNormalStream3bATI"), + def_glNormalStream3bATI, + ); + fn_glNormalStream3bvATI = new Deno.UnsafeFnPointer( + proc("glNormalStream3bvATI"), + def_glNormalStream3bvATI, + ); + fn_glNormalStream3sATI = new Deno.UnsafeFnPointer( + proc("glNormalStream3sATI"), + def_glNormalStream3sATI, + ); + fn_glNormalStream3svATI = new Deno.UnsafeFnPointer( + proc("glNormalStream3svATI"), + def_glNormalStream3svATI, + ); + fn_glNormalStream3iATI = new Deno.UnsafeFnPointer( + proc("glNormalStream3iATI"), + def_glNormalStream3iATI, + ); + fn_glNormalStream3ivATI = new Deno.UnsafeFnPointer( + proc("glNormalStream3ivATI"), + def_glNormalStream3ivATI, + ); + fn_glNormalStream3fATI = new Deno.UnsafeFnPointer( + proc("glNormalStream3fATI"), + def_glNormalStream3fATI, + ); + fn_glNormalStream3fvATI = new Deno.UnsafeFnPointer( + proc("glNormalStream3fvATI"), + def_glNormalStream3fvATI, + ); + fn_glNormalStream3dATI = new Deno.UnsafeFnPointer( + proc("glNormalStream3dATI"), + def_glNormalStream3dATI, + ); + fn_glNormalStream3dvATI = new Deno.UnsafeFnPointer( + proc("glNormalStream3dvATI"), + def_glNormalStream3dvATI, + ); + fn_glClientActiveVertexStreamATI = new Deno.UnsafeFnPointer( + proc("glClientActiveVertexStreamATI"), + def_glClientActiveVertexStreamATI, + ); + fn_glVertexBlendEnviATI = new Deno.UnsafeFnPointer( + proc("glVertexBlendEnviATI"), + def_glVertexBlendEnviATI, + ); + fn_glVertexBlendEnvfATI = new Deno.UnsafeFnPointer( + proc("glVertexBlendEnvfATI"), + def_glVertexBlendEnvfATI, + ); } diff --git a/api/ext/GL_DMP_program_binary.ts b/api/ext/GL_DMP_program_binary.ts index a5585be..391eedd 100644 --- a/api/ext/GL_DMP_program_binary.ts +++ b/api/ext/GL_DMP_program_binary.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_DMP_shader_binary.ts b/api/ext/GL_DMP_shader_binary.ts index 9df3bbe..7b175ab 100644 --- a/api/ext/GL_DMP_shader_binary.ts +++ b/api/ext/GL_DMP_shader_binary.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_422_pixels.ts b/api/ext/GL_EXT_422_pixels.ts index b07c2b8..05ff12c 100644 --- a/api/ext/GL_EXT_422_pixels.ts +++ b/api/ext/GL_EXT_422_pixels.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_EGL_image_array.ts b/api/ext/GL_EXT_EGL_image_array.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_EGL_image_array.ts +++ b/api/ext/GL_EXT_EGL_image_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_EGL_image_storage.ts b/api/ext/GL_EXT_EGL_image_storage.ts index 2c857e4..b32f6ec 100644 --- a/api/ext/GL_EXT_EGL_image_storage.ts +++ b/api/ext/GL_EXT_EGL_image_storage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glEGLImageTargetTexStorageEXT = { result: "void", } as const; -let fn_glEGLImageTargetTexStorageEXT!: Deno.UnsafeFnPointer; +let fn_glEGLImageTargetTexStorageEXT!: Deno.UnsafeFnPointer< + typeof def_glEGLImageTargetTexStorageEXT +>; export function EGLImageTargetTexStorageEXT( target: GLenum, @@ -85,7 +95,9 @@ export const def_glEGLImageTargetTextureStorageEXT = { result: "void", } as const; -let fn_glEGLImageTargetTextureStorageEXT!: Deno.UnsafeFnPointer; +let fn_glEGLImageTargetTextureStorageEXT!: Deno.UnsafeFnPointer< + typeof def_glEGLImageTargetTextureStorageEXT +>; export function EGLImageTargetTextureStorageEXT( texture: GLuint, @@ -101,6 +113,12 @@ export function EGLImageTargetTextureStorageEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glEGLImageTargetTexStorageEXT = new Deno.UnsafeFnPointer(proc("glEGLImageTargetTexStorageEXT"), def_glEGLImageTargetTexStorageEXT); - fn_glEGLImageTargetTextureStorageEXT = new Deno.UnsafeFnPointer(proc("glEGLImageTargetTextureStorageEXT"), def_glEGLImageTargetTextureStorageEXT); + fn_glEGLImageTargetTexStorageEXT = new Deno.UnsafeFnPointer( + proc("glEGLImageTargetTexStorageEXT"), + def_glEGLImageTargetTexStorageEXT, + ); + fn_glEGLImageTargetTextureStorageEXT = new Deno.UnsafeFnPointer( + proc("glEGLImageTargetTextureStorageEXT"), + def_glEGLImageTargetTextureStorageEXT, + ); } diff --git a/api/ext/GL_EXT_EGL_image_storage_compression.ts b/api/ext/GL_EXT_EGL_image_storage_compression.ts index 92a8f30..628cc62 100644 --- a/api/ext/GL_EXT_EGL_image_storage_compression.ts +++ b/api/ext/GL_EXT_EGL_image_storage_compression.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_EGL_sync.ts b/api/ext/GL_EXT_EGL_sync.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_EGL_sync.ts +++ b/api/ext/GL_EXT_EGL_sync.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_YUV_target.ts b/api/ext/GL_EXT_YUV_target.ts index 6f6539e..dbda228 100644 --- a/api/ext/GL_EXT_YUV_target.ts +++ b/api/ext/GL_EXT_YUV_target.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_abgr.ts b/api/ext/GL_EXT_abgr.ts index 6922be7..e1af638 100644 --- a/api/ext/GL_EXT_abgr.ts +++ b/api/ext/GL_EXT_abgr.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_base_instance.ts b/api/ext/GL_EXT_base_instance.ts index b92afa1..55badc6 100644 --- a/api/ext/GL_EXT_base_instance.ts +++ b/api/ext/GL_EXT_base_instance.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glDrawArraysInstancedBaseInstanceEXT = { result: "void", } as const; -let fn_glDrawArraysInstancedBaseInstanceEXT!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedBaseInstanceEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedBaseInstanceEXT +>; export function DrawArraysInstancedBaseInstanceEXT( mode: GLenum, @@ -89,7 +99,9 @@ export const def_glDrawElementsInstancedBaseInstanceEXT = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseInstanceEXT!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseInstanceEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseInstanceEXT +>; export function DrawElementsInstancedBaseInstanceEXT( mode: GLenum, @@ -114,7 +126,9 @@ export const def_glDrawElementsInstancedBaseVertexBaseInstanceEXT = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertexBaseInstanceEXT!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertexBaseInstanceEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertexBaseInstanceEXT +>; export function DrawElementsInstancedBaseVertexBaseInstanceEXT( mode: GLenum, @@ -138,7 +152,17 @@ export function DrawElementsInstancedBaseVertexBaseInstanceEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawArraysInstancedBaseInstanceEXT = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedBaseInstanceEXT"), def_glDrawArraysInstancedBaseInstanceEXT); - fn_glDrawElementsInstancedBaseInstanceEXT = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseInstanceEXT"), def_glDrawElementsInstancedBaseInstanceEXT); - fn_glDrawElementsInstancedBaseVertexBaseInstanceEXT = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertexBaseInstanceEXT"), def_glDrawElementsInstancedBaseVertexBaseInstanceEXT); + fn_glDrawArraysInstancedBaseInstanceEXT = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedBaseInstanceEXT"), + def_glDrawArraysInstancedBaseInstanceEXT, + ); + fn_glDrawElementsInstancedBaseInstanceEXT = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseInstanceEXT"), + def_glDrawElementsInstancedBaseInstanceEXT, + ); + fn_glDrawElementsInstancedBaseVertexBaseInstanceEXT = new Deno + .UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertexBaseInstanceEXT"), + def_glDrawElementsInstancedBaseVertexBaseInstanceEXT, + ); } diff --git a/api/ext/GL_EXT_bgra.ts b/api/ext/GL_EXT_bgra.ts index fec5b51..8dec951 100644 --- a/api/ext/GL_EXT_bgra.ts +++ b/api/ext/GL_EXT_bgra.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_bindable_uniform.ts b/api/ext/GL_EXT_bindable_uniform.ts index b51318b..6de49b9 100644 --- a/api/ext/GL_EXT_bindable_uniform.ts +++ b/api/ext/GL_EXT_bindable_uniform.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -93,7 +101,9 @@ export const def_glGetUniformBufferSizeEXT = { result: "i32", } as const; -let fn_glGetUniformBufferSizeEXT!: Deno.UnsafeFnPointer; +let fn_glGetUniformBufferSizeEXT!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBufferSizeEXT +>; export function GetUniformBufferSizeEXT( program: GLuint, @@ -110,7 +120,9 @@ export const def_glGetUniformOffsetEXT = { result: "buffer", } as const; -let fn_glGetUniformOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glGetUniformOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glGetUniformOffsetEXT +>; export function GetUniformOffsetEXT( program: GLuint, @@ -124,7 +136,16 @@ export function GetUniformOffsetEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glUniformBufferEXT = new Deno.UnsafeFnPointer(proc("glUniformBufferEXT"), def_glUniformBufferEXT); - fn_glGetUniformBufferSizeEXT = new Deno.UnsafeFnPointer(proc("glGetUniformBufferSizeEXT"), def_glGetUniformBufferSizeEXT); - fn_glGetUniformOffsetEXT = new Deno.UnsafeFnPointer(proc("glGetUniformOffsetEXT"), def_glGetUniformOffsetEXT); + fn_glUniformBufferEXT = new Deno.UnsafeFnPointer( + proc("glUniformBufferEXT"), + def_glUniformBufferEXT, + ); + fn_glGetUniformBufferSizeEXT = new Deno.UnsafeFnPointer( + proc("glGetUniformBufferSizeEXT"), + def_glGetUniformBufferSizeEXT, + ); + fn_glGetUniformOffsetEXT = new Deno.UnsafeFnPointer( + proc("glGetUniformOffsetEXT"), + def_glGetUniformOffsetEXT, + ); } diff --git a/api/ext/GL_EXT_blend_color.ts b/api/ext/GL_EXT_blend_color.ts index 15fff48..ceb57ca 100644 --- a/api/ext/GL_EXT_blend_color.ts +++ b/api/ext/GL_EXT_blend_color.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -91,5 +99,8 @@ export function BlendColorEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendColorEXT = new Deno.UnsafeFnPointer(proc("glBlendColorEXT"), def_glBlendColorEXT); + fn_glBlendColorEXT = new Deno.UnsafeFnPointer( + proc("glBlendColorEXT"), + def_glBlendColorEXT, + ); } diff --git a/api/ext/GL_EXT_blend_equation_separate.ts b/api/ext/GL_EXT_blend_equation_separate.ts index 6acf04e..7d9767b 100644 --- a/api/ext/GL_EXT_blend_equation_separate.ts +++ b/api/ext/GL_EXT_blend_equation_separate.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glBlendEquationSeparateEXT = { result: "void", } as const; -let fn_glBlendEquationSeparateEXT!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparateEXT!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparateEXT +>; export function BlendEquationSeparateEXT( modeRGB: GLenum, @@ -84,5 +94,8 @@ export function BlendEquationSeparateEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendEquationSeparateEXT = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparateEXT"), def_glBlendEquationSeparateEXT); + fn_glBlendEquationSeparateEXT = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparateEXT"), + def_glBlendEquationSeparateEXT, + ); } diff --git a/api/ext/GL_EXT_blend_func_extended.ts b/api/ext/GL_EXT_blend_func_extended.ts index 8cbd1b7..9cc09d8 100644 --- a/api/ext/GL_EXT_blend_func_extended.ts +++ b/api/ext/GL_EXT_blend_func_extended.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,7 +83,9 @@ export const def_glBindFragDataLocationIndexedEXT = { result: "void", } as const; -let fn_glBindFragDataLocationIndexedEXT!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationIndexedEXT!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationIndexedEXT +>; export function BindFragDataLocationIndexedEXT( program: GLuint, @@ -96,7 +106,9 @@ export const def_glBindFragDataLocationEXT = { result: "void", } as const; -let fn_glBindFragDataLocationEXT!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationEXT!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationEXT +>; export function BindFragDataLocationEXT( program: GLuint, @@ -115,7 +127,9 @@ export const def_glGetProgramResourceLocationIndexEXT = { result: "i32", } as const; -let fn_glGetProgramResourceLocationIndexEXT!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocationIndexEXT!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocationIndexEXT +>; export function GetProgramResourceLocationIndexEXT( program: GLuint, @@ -134,7 +148,9 @@ export const def_glGetFragDataIndexEXT = { result: "i32", } as const; -let fn_glGetFragDataIndexEXT!: Deno.UnsafeFnPointer; +let fn_glGetFragDataIndexEXT!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataIndexEXT +>; export function GetFragDataIndexEXT( program: GLuint, @@ -148,8 +164,20 @@ export function GetFragDataIndexEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindFragDataLocationIndexedEXT = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationIndexedEXT"), def_glBindFragDataLocationIndexedEXT); - fn_glBindFragDataLocationEXT = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationEXT"), def_glBindFragDataLocationEXT); - fn_glGetProgramResourceLocationIndexEXT = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocationIndexEXT"), def_glGetProgramResourceLocationIndexEXT); - fn_glGetFragDataIndexEXT = new Deno.UnsafeFnPointer(proc("glGetFragDataIndexEXT"), def_glGetFragDataIndexEXT); + fn_glBindFragDataLocationIndexedEXT = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationIndexedEXT"), + def_glBindFragDataLocationIndexedEXT, + ); + fn_glBindFragDataLocationEXT = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationEXT"), + def_glBindFragDataLocationEXT, + ); + fn_glGetProgramResourceLocationIndexEXT = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocationIndexEXT"), + def_glGetProgramResourceLocationIndexEXT, + ); + fn_glGetFragDataIndexEXT = new Deno.UnsafeFnPointer( + proc("glGetFragDataIndexEXT"), + def_glGetFragDataIndexEXT, + ); } diff --git a/api/ext/GL_EXT_blend_func_separate.ts b/api/ext/GL_EXT_blend_func_separate.ts index 084cdcd..0dba12a 100644 --- a/api/ext/GL_EXT_blend_func_separate.ts +++ b/api/ext/GL_EXT_blend_func_separate.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glBlendFuncSeparateEXT = { result: "void", } as const; -let fn_glBlendFuncSeparateEXT!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparateEXT!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparateEXT +>; export function BlendFuncSeparateEXT( sfactorRGB: GLenum, @@ -90,5 +100,8 @@ export function BlendFuncSeparateEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendFuncSeparateEXT = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparateEXT"), def_glBlendFuncSeparateEXT); + fn_glBlendFuncSeparateEXT = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparateEXT"), + def_glBlendFuncSeparateEXT, + ); } diff --git a/api/ext/GL_EXT_blend_logic_op.ts b/api/ext/GL_EXT_blend_logic_op.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_blend_logic_op.ts +++ b/api/ext/GL_EXT_blend_logic_op.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_blend_minmax.ts b/api/ext/GL_EXT_blend_minmax.ts index b3711b1..b1a5f97 100644 --- a/api/ext/GL_EXT_blend_minmax.ts +++ b/api/ext/GL_EXT_blend_minmax.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,5 +92,8 @@ export function BlendEquationEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendEquationEXT = new Deno.UnsafeFnPointer(proc("glBlendEquationEXT"), def_glBlendEquationEXT); + fn_glBlendEquationEXT = new Deno.UnsafeFnPointer( + proc("glBlendEquationEXT"), + def_glBlendEquationEXT, + ); } diff --git a/api/ext/GL_EXT_blend_subtract.ts b/api/ext/GL_EXT_blend_subtract.ts index ce1b07a..1874d94 100644 --- a/api/ext/GL_EXT_blend_subtract.ts +++ b/api/ext/GL_EXT_blend_subtract.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_buffer_storage.ts b/api/ext/GL_EXT_buffer_storage.ts index 82600ea..6a73ce9 100644 --- a/api/ext/GL_EXT_buffer_storage.ts +++ b/api/ext/GL_EXT_buffer_storage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -95,5 +103,8 @@ export function BufferStorageEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBufferStorageEXT = new Deno.UnsafeFnPointer(proc("glBufferStorageEXT"), def_glBufferStorageEXT); + fn_glBufferStorageEXT = new Deno.UnsafeFnPointer( + proc("glBufferStorageEXT"), + def_glBufferStorageEXT, + ); } diff --git a/api/ext/GL_EXT_clear_texture.ts b/api/ext/GL_EXT_clear_texture.ts index e304cb0..f3dee26 100644 --- a/api/ext/GL_EXT_clear_texture.ts +++ b/api/ext/GL_EXT_clear_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -85,11 +93,25 @@ export function ClearTexImageEXT( } export const def_glClearTexSubImageEXT = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glClearTexSubImageEXT!: Deno.UnsafeFnPointer; +let fn_glClearTexSubImageEXT!: Deno.UnsafeFnPointer< + typeof def_glClearTexSubImageEXT +>; export function ClearTexSubImageEXT( texture: GLuint, @@ -121,6 +143,12 @@ export function ClearTexSubImageEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glClearTexImageEXT = new Deno.UnsafeFnPointer(proc("glClearTexImageEXT"), def_glClearTexImageEXT); - fn_glClearTexSubImageEXT = new Deno.UnsafeFnPointer(proc("glClearTexSubImageEXT"), def_glClearTexSubImageEXT); + fn_glClearTexImageEXT = new Deno.UnsafeFnPointer( + proc("glClearTexImageEXT"), + def_glClearTexImageEXT, + ); + fn_glClearTexSubImageEXT = new Deno.UnsafeFnPointer( + proc("glClearTexSubImageEXT"), + def_glClearTexSubImageEXT, + ); } diff --git a/api/ext/GL_EXT_clip_control.ts b/api/ext/GL_EXT_clip_control.ts index d463685..a3fe8c2 100644 --- a/api/ext/GL_EXT_clip_control.ts +++ b/api/ext/GL_EXT_clip_control.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,5 +96,8 @@ export function ClipControlEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glClipControlEXT = new Deno.UnsafeFnPointer(proc("glClipControlEXT"), def_glClipControlEXT); + fn_glClipControlEXT = new Deno.UnsafeFnPointer( + proc("glClipControlEXT"), + def_glClipControlEXT, + ); } diff --git a/api/ext/GL_EXT_clip_cull_distance.ts b/api/ext/GL_EXT_clip_cull_distance.ts index 52158bb..ac8d466 100644 --- a/api/ext/GL_EXT_clip_cull_distance.ts +++ b/api/ext/GL_EXT_clip_cull_distance.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_clip_volume_hint.ts b/api/ext/GL_EXT_clip_volume_hint.ts index f0a8107..495b295 100644 --- a/api/ext/GL_EXT_clip_volume_hint.ts +++ b/api/ext/GL_EXT_clip_volume_hint.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_cmyka.ts b/api/ext/GL_EXT_cmyka.ts index 92607a0..6f55e44 100644 --- a/api/ext/GL_EXT_cmyka.ts +++ b/api/ext/GL_EXT_cmyka.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_color_buffer_float.ts b/api/ext/GL_EXT_color_buffer_float.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_color_buffer_float.ts +++ b/api/ext/GL_EXT_color_buffer_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_color_buffer_half_float.ts b/api/ext/GL_EXT_color_buffer_half_float.ts index 2b87c10..b385d7f 100644 --- a/api/ext/GL_EXT_color_buffer_half_float.ts +++ b/api/ext/GL_EXT_color_buffer_half_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_color_subtable.ts b/api/ext/GL_EXT_color_subtable.ts index 202efce..cfcf1e6 100644 --- a/api/ext/GL_EXT_color_subtable.ts +++ b/api/ext/GL_EXT_color_subtable.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -91,7 +99,9 @@ export const def_glCopyColorSubTableEXT = { result: "void", } as const; -let fn_glCopyColorSubTableEXT!: Deno.UnsafeFnPointer; +let fn_glCopyColorSubTableEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyColorSubTableEXT +>; export function CopyColorSubTableEXT( target: GLenum, @@ -111,6 +121,12 @@ export function CopyColorSubTableEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glColorSubTableEXT = new Deno.UnsafeFnPointer(proc("glColorSubTableEXT"), def_glColorSubTableEXT); - fn_glCopyColorSubTableEXT = new Deno.UnsafeFnPointer(proc("glCopyColorSubTableEXT"), def_glCopyColorSubTableEXT); + fn_glColorSubTableEXT = new Deno.UnsafeFnPointer( + proc("glColorSubTableEXT"), + def_glColorSubTableEXT, + ); + fn_glCopyColorSubTableEXT = new Deno.UnsafeFnPointer( + proc("glCopyColorSubTableEXT"), + def_glCopyColorSubTableEXT, + ); } diff --git a/api/ext/GL_EXT_compiled_vertex_array.ts b/api/ext/GL_EXT_compiled_vertex_array.ts index 48c8cc6..e58766a 100644 --- a/api/ext/GL_EXT_compiled_vertex_array.ts +++ b/api/ext/GL_EXT_compiled_vertex_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -95,6 +103,12 @@ export function UnlockArraysEXT(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glLockArraysEXT = new Deno.UnsafeFnPointer(proc("glLockArraysEXT"), def_glLockArraysEXT); - fn_glUnlockArraysEXT = new Deno.UnsafeFnPointer(proc("glUnlockArraysEXT"), def_glUnlockArraysEXT); + fn_glLockArraysEXT = new Deno.UnsafeFnPointer( + proc("glLockArraysEXT"), + def_glLockArraysEXT, + ); + fn_glUnlockArraysEXT = new Deno.UnsafeFnPointer( + proc("glUnlockArraysEXT"), + def_glUnlockArraysEXT, + ); } diff --git a/api/ext/GL_EXT_conservative_depth.ts b/api/ext/GL_EXT_conservative_depth.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_conservative_depth.ts +++ b/api/ext/GL_EXT_conservative_depth.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_convolution.ts b/api/ext/GL_EXT_convolution.ts index 6968d52..99442a6 100644 --- a/api/ext/GL_EXT_convolution.ts +++ b/api/ext/GL_EXT_convolution.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,7 +96,9 @@ export const def_glConvolutionFilter1DEXT = { result: "void", } as const; -let fn_glConvolutionFilter1DEXT!: Deno.UnsafeFnPointer; +let fn_glConvolutionFilter1DEXT!: Deno.UnsafeFnPointer< + typeof def_glConvolutionFilter1DEXT +>; export function ConvolutionFilter1DEXT( target: GLenum, @@ -113,7 +123,9 @@ export const def_glConvolutionFilter2DEXT = { result: "void", } as const; -let fn_glConvolutionFilter2DEXT!: Deno.UnsafeFnPointer; +let fn_glConvolutionFilter2DEXT!: Deno.UnsafeFnPointer< + typeof def_glConvolutionFilter2DEXT +>; export function ConvolutionFilter2DEXT( target: GLenum, @@ -140,7 +152,9 @@ export const def_glConvolutionParameterfEXT = { result: "void", } as const; -let fn_glConvolutionParameterfEXT!: Deno.UnsafeFnPointer; +let fn_glConvolutionParameterfEXT!: Deno.UnsafeFnPointer< + typeof def_glConvolutionParameterfEXT +>; export function ConvolutionParameterfEXT( target: GLenum, @@ -159,7 +173,9 @@ export const def_glConvolutionParameterfvEXT = { result: "void", } as const; -let fn_glConvolutionParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glConvolutionParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glConvolutionParameterfvEXT +>; export function ConvolutionParameterfvEXT( target: GLenum, @@ -178,7 +194,9 @@ export const def_glConvolutionParameteriEXT = { result: "void", } as const; -let fn_glConvolutionParameteriEXT!: Deno.UnsafeFnPointer; +let fn_glConvolutionParameteriEXT!: Deno.UnsafeFnPointer< + typeof def_glConvolutionParameteriEXT +>; export function ConvolutionParameteriEXT( target: GLenum, @@ -197,7 +215,9 @@ export const def_glConvolutionParameterivEXT = { result: "void", } as const; -let fn_glConvolutionParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glConvolutionParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glConvolutionParameterivEXT +>; export function ConvolutionParameterivEXT( target: GLenum, @@ -216,7 +236,9 @@ export const def_glCopyConvolutionFilter1DEXT = { result: "void", } as const; -let fn_glCopyConvolutionFilter1DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyConvolutionFilter1DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyConvolutionFilter1DEXT +>; export function CopyConvolutionFilter1DEXT( target: GLenum, @@ -239,7 +261,9 @@ export const def_glCopyConvolutionFilter2DEXT = { result: "void", } as const; -let fn_glCopyConvolutionFilter2DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyConvolutionFilter2DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyConvolutionFilter2DEXT +>; export function CopyConvolutionFilter2DEXT( target: GLenum, @@ -264,7 +288,9 @@ export const def_glGetConvolutionFilterEXT = { result: "void", } as const; -let fn_glGetConvolutionFilterEXT!: Deno.UnsafeFnPointer; +let fn_glGetConvolutionFilterEXT!: Deno.UnsafeFnPointer< + typeof def_glGetConvolutionFilterEXT +>; export function GetConvolutionFilterEXT( target: GLenum, @@ -285,7 +311,9 @@ export const def_glGetConvolutionParameterfvEXT = { result: "void", } as const; -let fn_glGetConvolutionParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetConvolutionParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetConvolutionParameterfvEXT +>; export function GetConvolutionParameterfvEXT( target: GLenum, @@ -304,7 +332,9 @@ export const def_glGetConvolutionParameterivEXT = { result: "void", } as const; -let fn_glGetConvolutionParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetConvolutionParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetConvolutionParameterivEXT +>; export function GetConvolutionParameterivEXT( target: GLenum, @@ -323,7 +353,9 @@ export const def_glGetSeparableFilterEXT = { result: "void", } as const; -let fn_glGetSeparableFilterEXT!: Deno.UnsafeFnPointer; +let fn_glGetSeparableFilterEXT!: Deno.UnsafeFnPointer< + typeof def_glGetSeparableFilterEXT +>; export function GetSeparableFilterEXT( target: GLenum, @@ -348,7 +380,9 @@ export const def_glSeparableFilter2DEXT = { result: "void", } as const; -let fn_glSeparableFilter2DEXT!: Deno.UnsafeFnPointer; +let fn_glSeparableFilter2DEXT!: Deno.UnsafeFnPointer< + typeof def_glSeparableFilter2DEXT +>; export function SeparableFilter2DEXT( target: GLenum, @@ -374,17 +408,56 @@ export function SeparableFilter2DEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glConvolutionFilter1DEXT = new Deno.UnsafeFnPointer(proc("glConvolutionFilter1DEXT"), def_glConvolutionFilter1DEXT); - fn_glConvolutionFilter2DEXT = new Deno.UnsafeFnPointer(proc("glConvolutionFilter2DEXT"), def_glConvolutionFilter2DEXT); - fn_glConvolutionParameterfEXT = new Deno.UnsafeFnPointer(proc("glConvolutionParameterfEXT"), def_glConvolutionParameterfEXT); - fn_glConvolutionParameterfvEXT = new Deno.UnsafeFnPointer(proc("glConvolutionParameterfvEXT"), def_glConvolutionParameterfvEXT); - fn_glConvolutionParameteriEXT = new Deno.UnsafeFnPointer(proc("glConvolutionParameteriEXT"), def_glConvolutionParameteriEXT); - fn_glConvolutionParameterivEXT = new Deno.UnsafeFnPointer(proc("glConvolutionParameterivEXT"), def_glConvolutionParameterivEXT); - fn_glCopyConvolutionFilter1DEXT = new Deno.UnsafeFnPointer(proc("glCopyConvolutionFilter1DEXT"), def_glCopyConvolutionFilter1DEXT); - fn_glCopyConvolutionFilter2DEXT = new Deno.UnsafeFnPointer(proc("glCopyConvolutionFilter2DEXT"), def_glCopyConvolutionFilter2DEXT); - fn_glGetConvolutionFilterEXT = new Deno.UnsafeFnPointer(proc("glGetConvolutionFilterEXT"), def_glGetConvolutionFilterEXT); - fn_glGetConvolutionParameterfvEXT = new Deno.UnsafeFnPointer(proc("glGetConvolutionParameterfvEXT"), def_glGetConvolutionParameterfvEXT); - fn_glGetConvolutionParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetConvolutionParameterivEXT"), def_glGetConvolutionParameterivEXT); - fn_glGetSeparableFilterEXT = new Deno.UnsafeFnPointer(proc("glGetSeparableFilterEXT"), def_glGetSeparableFilterEXT); - fn_glSeparableFilter2DEXT = new Deno.UnsafeFnPointer(proc("glSeparableFilter2DEXT"), def_glSeparableFilter2DEXT); + fn_glConvolutionFilter1DEXT = new Deno.UnsafeFnPointer( + proc("glConvolutionFilter1DEXT"), + def_glConvolutionFilter1DEXT, + ); + fn_glConvolutionFilter2DEXT = new Deno.UnsafeFnPointer( + proc("glConvolutionFilter2DEXT"), + def_glConvolutionFilter2DEXT, + ); + fn_glConvolutionParameterfEXT = new Deno.UnsafeFnPointer( + proc("glConvolutionParameterfEXT"), + def_glConvolutionParameterfEXT, + ); + fn_glConvolutionParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glConvolutionParameterfvEXT"), + def_glConvolutionParameterfvEXT, + ); + fn_glConvolutionParameteriEXT = new Deno.UnsafeFnPointer( + proc("glConvolutionParameteriEXT"), + def_glConvolutionParameteriEXT, + ); + fn_glConvolutionParameterivEXT = new Deno.UnsafeFnPointer( + proc("glConvolutionParameterivEXT"), + def_glConvolutionParameterivEXT, + ); + fn_glCopyConvolutionFilter1DEXT = new Deno.UnsafeFnPointer( + proc("glCopyConvolutionFilter1DEXT"), + def_glCopyConvolutionFilter1DEXT, + ); + fn_glCopyConvolutionFilter2DEXT = new Deno.UnsafeFnPointer( + proc("glCopyConvolutionFilter2DEXT"), + def_glCopyConvolutionFilter2DEXT, + ); + fn_glGetConvolutionFilterEXT = new Deno.UnsafeFnPointer( + proc("glGetConvolutionFilterEXT"), + def_glGetConvolutionFilterEXT, + ); + fn_glGetConvolutionParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glGetConvolutionParameterfvEXT"), + def_glGetConvolutionParameterfvEXT, + ); + fn_glGetConvolutionParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetConvolutionParameterivEXT"), + def_glGetConvolutionParameterivEXT, + ); + fn_glGetSeparableFilterEXT = new Deno.UnsafeFnPointer( + proc("glGetSeparableFilterEXT"), + def_glGetSeparableFilterEXT, + ); + fn_glSeparableFilter2DEXT = new Deno.UnsafeFnPointer( + proc("glSeparableFilter2DEXT"), + def_glSeparableFilter2DEXT, + ); } diff --git a/api/ext/GL_EXT_coordinate_frame.ts b/api/ext/GL_EXT_coordinate_frame.ts index 99a7526..8d675b6 100644 --- a/api/ext/GL_EXT_coordinate_frame.ts +++ b/api/ext/GL_EXT_coordinate_frame.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -422,7 +430,9 @@ export const def_glTangentPointerEXT = { result: "void", } as const; -let fn_glTangentPointerEXT!: Deno.UnsafeFnPointer; +let fn_glTangentPointerEXT!: Deno.UnsafeFnPointer< + typeof def_glTangentPointerEXT +>; export function TangentPointerEXT( type: GLenum, @@ -441,7 +451,9 @@ export const def_glBinormalPointerEXT = { result: "void", } as const; -let fn_glBinormalPointerEXT!: Deno.UnsafeFnPointer; +let fn_glBinormalPointerEXT!: Deno.UnsafeFnPointer< + typeof def_glBinormalPointerEXT +>; export function BinormalPointerEXT( type: GLenum, @@ -457,26 +469,92 @@ export function BinormalPointerEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTangent3bEXT = new Deno.UnsafeFnPointer(proc("glTangent3bEXT"), def_glTangent3bEXT); - fn_glTangent3bvEXT = new Deno.UnsafeFnPointer(proc("glTangent3bvEXT"), def_glTangent3bvEXT); - fn_glTangent3dEXT = new Deno.UnsafeFnPointer(proc("glTangent3dEXT"), def_glTangent3dEXT); - fn_glTangent3dvEXT = new Deno.UnsafeFnPointer(proc("glTangent3dvEXT"), def_glTangent3dvEXT); - fn_glTangent3fEXT = new Deno.UnsafeFnPointer(proc("glTangent3fEXT"), def_glTangent3fEXT); - fn_glTangent3fvEXT = new Deno.UnsafeFnPointer(proc("glTangent3fvEXT"), def_glTangent3fvEXT); - fn_glTangent3iEXT = new Deno.UnsafeFnPointer(proc("glTangent3iEXT"), def_glTangent3iEXT); - fn_glTangent3ivEXT = new Deno.UnsafeFnPointer(proc("glTangent3ivEXT"), def_glTangent3ivEXT); - fn_glTangent3sEXT = new Deno.UnsafeFnPointer(proc("glTangent3sEXT"), def_glTangent3sEXT); - fn_glTangent3svEXT = new Deno.UnsafeFnPointer(proc("glTangent3svEXT"), def_glTangent3svEXT); - fn_glBinormal3bEXT = new Deno.UnsafeFnPointer(proc("glBinormal3bEXT"), def_glBinormal3bEXT); - fn_glBinormal3bvEXT = new Deno.UnsafeFnPointer(proc("glBinormal3bvEXT"), def_glBinormal3bvEXT); - fn_glBinormal3dEXT = new Deno.UnsafeFnPointer(proc("glBinormal3dEXT"), def_glBinormal3dEXT); - fn_glBinormal3dvEXT = new Deno.UnsafeFnPointer(proc("glBinormal3dvEXT"), def_glBinormal3dvEXT); - fn_glBinormal3fEXT = new Deno.UnsafeFnPointer(proc("glBinormal3fEXT"), def_glBinormal3fEXT); - fn_glBinormal3fvEXT = new Deno.UnsafeFnPointer(proc("glBinormal3fvEXT"), def_glBinormal3fvEXT); - fn_glBinormal3iEXT = new Deno.UnsafeFnPointer(proc("glBinormal3iEXT"), def_glBinormal3iEXT); - fn_glBinormal3ivEXT = new Deno.UnsafeFnPointer(proc("glBinormal3ivEXT"), def_glBinormal3ivEXT); - fn_glBinormal3sEXT = new Deno.UnsafeFnPointer(proc("glBinormal3sEXT"), def_glBinormal3sEXT); - fn_glBinormal3svEXT = new Deno.UnsafeFnPointer(proc("glBinormal3svEXT"), def_glBinormal3svEXT); - fn_glTangentPointerEXT = new Deno.UnsafeFnPointer(proc("glTangentPointerEXT"), def_glTangentPointerEXT); - fn_glBinormalPointerEXT = new Deno.UnsafeFnPointer(proc("glBinormalPointerEXT"), def_glBinormalPointerEXT); + fn_glTangent3bEXT = new Deno.UnsafeFnPointer( + proc("glTangent3bEXT"), + def_glTangent3bEXT, + ); + fn_glTangent3bvEXT = new Deno.UnsafeFnPointer( + proc("glTangent3bvEXT"), + def_glTangent3bvEXT, + ); + fn_glTangent3dEXT = new Deno.UnsafeFnPointer( + proc("glTangent3dEXT"), + def_glTangent3dEXT, + ); + fn_glTangent3dvEXT = new Deno.UnsafeFnPointer( + proc("glTangent3dvEXT"), + def_glTangent3dvEXT, + ); + fn_glTangent3fEXT = new Deno.UnsafeFnPointer( + proc("glTangent3fEXT"), + def_glTangent3fEXT, + ); + fn_glTangent3fvEXT = new Deno.UnsafeFnPointer( + proc("glTangent3fvEXT"), + def_glTangent3fvEXT, + ); + fn_glTangent3iEXT = new Deno.UnsafeFnPointer( + proc("glTangent3iEXT"), + def_glTangent3iEXT, + ); + fn_glTangent3ivEXT = new Deno.UnsafeFnPointer( + proc("glTangent3ivEXT"), + def_glTangent3ivEXT, + ); + fn_glTangent3sEXT = new Deno.UnsafeFnPointer( + proc("glTangent3sEXT"), + def_glTangent3sEXT, + ); + fn_glTangent3svEXT = new Deno.UnsafeFnPointer( + proc("glTangent3svEXT"), + def_glTangent3svEXT, + ); + fn_glBinormal3bEXT = new Deno.UnsafeFnPointer( + proc("glBinormal3bEXT"), + def_glBinormal3bEXT, + ); + fn_glBinormal3bvEXT = new Deno.UnsafeFnPointer( + proc("glBinormal3bvEXT"), + def_glBinormal3bvEXT, + ); + fn_glBinormal3dEXT = new Deno.UnsafeFnPointer( + proc("glBinormal3dEXT"), + def_glBinormal3dEXT, + ); + fn_glBinormal3dvEXT = new Deno.UnsafeFnPointer( + proc("glBinormal3dvEXT"), + def_glBinormal3dvEXT, + ); + fn_glBinormal3fEXT = new Deno.UnsafeFnPointer( + proc("glBinormal3fEXT"), + def_glBinormal3fEXT, + ); + fn_glBinormal3fvEXT = new Deno.UnsafeFnPointer( + proc("glBinormal3fvEXT"), + def_glBinormal3fvEXT, + ); + fn_glBinormal3iEXT = new Deno.UnsafeFnPointer( + proc("glBinormal3iEXT"), + def_glBinormal3iEXT, + ); + fn_glBinormal3ivEXT = new Deno.UnsafeFnPointer( + proc("glBinormal3ivEXT"), + def_glBinormal3ivEXT, + ); + fn_glBinormal3sEXT = new Deno.UnsafeFnPointer( + proc("glBinormal3sEXT"), + def_glBinormal3sEXT, + ); + fn_glBinormal3svEXT = new Deno.UnsafeFnPointer( + proc("glBinormal3svEXT"), + def_glBinormal3svEXT, + ); + fn_glTangentPointerEXT = new Deno.UnsafeFnPointer( + proc("glTangentPointerEXT"), + def_glTangentPointerEXT, + ); + fn_glBinormalPointerEXT = new Deno.UnsafeFnPointer( + proc("glBinormalPointerEXT"), + def_glBinormalPointerEXT, + ); } diff --git a/api/ext/GL_EXT_copy_image.ts b/api/ext/GL_EXT_copy_image.ts index 47c4008..ea4ce67 100644 --- a/api/ext/GL_EXT_copy_image.ts +++ b/api/ext/GL_EXT_copy_image.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -62,11 +70,29 @@ export type GLVULKANPROCNV = Buffer; /// Commands export const def_glCopyImageSubDataEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; -let fn_glCopyImageSubDataEXT!: Deno.UnsafeFnPointer; +let fn_glCopyImageSubDataEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyImageSubDataEXT +>; export function CopyImageSubDataEXT( srcName: GLuint, @@ -106,5 +132,8 @@ export function CopyImageSubDataEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCopyImageSubDataEXT = new Deno.UnsafeFnPointer(proc("glCopyImageSubDataEXT"), def_glCopyImageSubDataEXT); + fn_glCopyImageSubDataEXT = new Deno.UnsafeFnPointer( + proc("glCopyImageSubDataEXT"), + def_glCopyImageSubDataEXT, + ); } diff --git a/api/ext/GL_EXT_copy_texture.ts b/api/ext/GL_EXT_copy_texture.ts index 6140db7..634e9bb 100644 --- a/api/ext/GL_EXT_copy_texture.ts +++ b/api/ext/GL_EXT_copy_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glCopyTexImage1DEXT = { result: "void", } as const; -let fn_glCopyTexImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyTexImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyTexImage1DEXT +>; export function CopyTexImage1DEXT( target: GLenum, @@ -93,7 +103,9 @@ export const def_glCopyTexImage2DEXT = { result: "void", } as const; -let fn_glCopyTexImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyTexImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyTexImage2DEXT +>; export function CopyTexImage2DEXT( target: GLenum, @@ -122,7 +134,9 @@ export const def_glCopyTexSubImage1DEXT = { result: "void", } as const; -let fn_glCopyTexSubImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1DEXT +>; export function CopyTexSubImage1DEXT( target: GLenum, @@ -147,7 +161,9 @@ export const def_glCopyTexSubImage2DEXT = { result: "void", } as const; -let fn_glCopyTexSubImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2DEXT +>; export function CopyTexSubImage2DEXT( target: GLenum, @@ -176,7 +192,9 @@ export const def_glCopyTexSubImage3DEXT = { result: "void", } as const; -let fn_glCopyTexSubImage3DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3DEXT +>; export function CopyTexSubImage3DEXT( target: GLenum, @@ -204,9 +222,24 @@ export function CopyTexSubImage3DEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCopyTexImage1DEXT = new Deno.UnsafeFnPointer(proc("glCopyTexImage1DEXT"), def_glCopyTexImage1DEXT); - fn_glCopyTexImage2DEXT = new Deno.UnsafeFnPointer(proc("glCopyTexImage2DEXT"), def_glCopyTexImage2DEXT); - fn_glCopyTexSubImage1DEXT = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1DEXT"), def_glCopyTexSubImage1DEXT); - fn_glCopyTexSubImage2DEXT = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2DEXT"), def_glCopyTexSubImage2DEXT); - fn_glCopyTexSubImage3DEXT = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3DEXT"), def_glCopyTexSubImage3DEXT); + fn_glCopyTexImage1DEXT = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1DEXT"), + def_glCopyTexImage1DEXT, + ); + fn_glCopyTexImage2DEXT = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2DEXT"), + def_glCopyTexImage2DEXT, + ); + fn_glCopyTexSubImage1DEXT = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1DEXT"), + def_glCopyTexSubImage1DEXT, + ); + fn_glCopyTexSubImage2DEXT = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2DEXT"), + def_glCopyTexSubImage2DEXT, + ); + fn_glCopyTexSubImage3DEXT = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3DEXT"), + def_glCopyTexSubImage3DEXT, + ); } diff --git a/api/ext/GL_EXT_cull_vertex.ts b/api/ext/GL_EXT_cull_vertex.ts index 7c17e67..013f1e8 100644 --- a/api/ext/GL_EXT_cull_vertex.ts +++ b/api/ext/GL_EXT_cull_vertex.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glCullParameterdvEXT = { result: "void", } as const; -let fn_glCullParameterdvEXT!: Deno.UnsafeFnPointer; +let fn_glCullParameterdvEXT!: Deno.UnsafeFnPointer< + typeof def_glCullParameterdvEXT +>; export function CullParameterdvEXT( pname: GLenum, @@ -88,7 +98,9 @@ export const def_glCullParameterfvEXT = { result: "void", } as const; -let fn_glCullParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glCullParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glCullParameterfvEXT +>; export function CullParameterfvEXT( pname: GLenum, @@ -102,6 +114,12 @@ export function CullParameterfvEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCullParameterdvEXT = new Deno.UnsafeFnPointer(proc("glCullParameterdvEXT"), def_glCullParameterdvEXT); - fn_glCullParameterfvEXT = new Deno.UnsafeFnPointer(proc("glCullParameterfvEXT"), def_glCullParameterfvEXT); + fn_glCullParameterdvEXT = new Deno.UnsafeFnPointer( + proc("glCullParameterdvEXT"), + def_glCullParameterdvEXT, + ); + fn_glCullParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glCullParameterfvEXT"), + def_glCullParameterfvEXT, + ); } diff --git a/api/ext/GL_EXT_debug_label.ts b/api/ext/GL_EXT_debug_label.ts index efaeaf4..14030c4 100644 --- a/api/ext/GL_EXT_debug_label.ts +++ b/api/ext/GL_EXT_debug_label.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -97,7 +105,9 @@ export const def_glGetObjectLabelEXT = { result: "void", } as const; -let fn_glGetObjectLabelEXT!: Deno.UnsafeFnPointer; +let fn_glGetObjectLabelEXT!: Deno.UnsafeFnPointer< + typeof def_glGetObjectLabelEXT +>; export function GetObjectLabelEXT( type: GLenum, @@ -117,6 +127,12 @@ export function GetObjectLabelEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glLabelObjectEXT = new Deno.UnsafeFnPointer(proc("glLabelObjectEXT"), def_glLabelObjectEXT); - fn_glGetObjectLabelEXT = new Deno.UnsafeFnPointer(proc("glGetObjectLabelEXT"), def_glGetObjectLabelEXT); + fn_glLabelObjectEXT = new Deno.UnsafeFnPointer( + proc("glLabelObjectEXT"), + def_glLabelObjectEXT, + ); + fn_glGetObjectLabelEXT = new Deno.UnsafeFnPointer( + proc("glGetObjectLabelEXT"), + def_glGetObjectLabelEXT, + ); } diff --git a/api/ext/GL_EXT_debug_marker.ts b/api/ext/GL_EXT_debug_marker.ts index e7a00bd..917e76f 100644 --- a/api/ext/GL_EXT_debug_marker.ts +++ b/api/ext/GL_EXT_debug_marker.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glInsertEventMarkerEXT = { result: "void", } as const; -let fn_glInsertEventMarkerEXT!: Deno.UnsafeFnPointer; +let fn_glInsertEventMarkerEXT!: Deno.UnsafeFnPointer< + typeof def_glInsertEventMarkerEXT +>; export function InsertEventMarkerEXT( length: GLsizei, @@ -83,7 +93,9 @@ export const def_glPushGroupMarkerEXT = { result: "void", } as const; -let fn_glPushGroupMarkerEXT!: Deno.UnsafeFnPointer; +let fn_glPushGroupMarkerEXT!: Deno.UnsafeFnPointer< + typeof def_glPushGroupMarkerEXT +>; export function PushGroupMarkerEXT( length: GLsizei, @@ -100,7 +112,9 @@ export const def_glPopGroupMarkerEXT = { result: "void", } as const; -let fn_glPopGroupMarkerEXT!: Deno.UnsafeFnPointer; +let fn_glPopGroupMarkerEXT!: Deno.UnsafeFnPointer< + typeof def_glPopGroupMarkerEXT +>; export function PopGroupMarkerEXT(): void { fn_glPopGroupMarkerEXT.call(); @@ -108,7 +122,16 @@ export function PopGroupMarkerEXT(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glInsertEventMarkerEXT = new Deno.UnsafeFnPointer(proc("glInsertEventMarkerEXT"), def_glInsertEventMarkerEXT); - fn_glPushGroupMarkerEXT = new Deno.UnsafeFnPointer(proc("glPushGroupMarkerEXT"), def_glPushGroupMarkerEXT); - fn_glPopGroupMarkerEXT = new Deno.UnsafeFnPointer(proc("glPopGroupMarkerEXT"), def_glPopGroupMarkerEXT); + fn_glInsertEventMarkerEXT = new Deno.UnsafeFnPointer( + proc("glInsertEventMarkerEXT"), + def_glInsertEventMarkerEXT, + ); + fn_glPushGroupMarkerEXT = new Deno.UnsafeFnPointer( + proc("glPushGroupMarkerEXT"), + def_glPushGroupMarkerEXT, + ); + fn_glPopGroupMarkerEXT = new Deno.UnsafeFnPointer( + proc("glPopGroupMarkerEXT"), + def_glPopGroupMarkerEXT, + ); } diff --git a/api/ext/GL_EXT_depth_bounds_test.ts b/api/ext/GL_EXT_depth_bounds_test.ts index e46bfd3..a2bc544 100644 --- a/api/ext/GL_EXT_depth_bounds_test.ts +++ b/api/ext/GL_EXT_depth_bounds_test.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,5 +92,8 @@ export function DepthBoundsEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDepthBoundsEXT = new Deno.UnsafeFnPointer(proc("glDepthBoundsEXT"), def_glDepthBoundsEXT); + fn_glDepthBoundsEXT = new Deno.UnsafeFnPointer( + proc("glDepthBoundsEXT"), + def_glDepthBoundsEXT, + ); } diff --git a/api/ext/GL_EXT_depth_clamp.ts b/api/ext/GL_EXT_depth_clamp.ts index 0e422bf..e168714 100644 --- a/api/ext/GL_EXT_depth_clamp.ts +++ b/api/ext/GL_EXT_depth_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_direct_state_access.ts b/api/ext/GL_EXT_direct_state_access.ts index 984f68e..cada194 100644 --- a/api/ext/GL_EXT_direct_state_access.ts +++ b/api/ext/GL_EXT_direct_state_access.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -139,7 +147,9 @@ export const def_glMatrixLoadIdentityEXT = { result: "void", } as const; -let fn_glMatrixLoadIdentityEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixLoadIdentityEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixLoadIdentityEXT +>; export function MatrixLoadIdentityEXT( mode: GLenum, @@ -242,7 +252,9 @@ export const def_glMatrixTranslatefEXT = { result: "void", } as const; -let fn_glMatrixTranslatefEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixTranslatefEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixTranslatefEXT +>; export function MatrixTranslatefEXT( mode: GLenum, @@ -263,7 +275,9 @@ export const def_glMatrixTranslatedEXT = { result: "void", } as const; -let fn_glMatrixTranslatedEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixTranslatedEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixTranslatedEXT +>; export function MatrixTranslatedEXT( mode: GLenum, @@ -368,7 +382,9 @@ export const def_glClientAttribDefaultEXT = { result: "void", } as const; -let fn_glClientAttribDefaultEXT!: Deno.UnsafeFnPointer; +let fn_glClientAttribDefaultEXT!: Deno.UnsafeFnPointer< + typeof def_glClientAttribDefaultEXT +>; export function ClientAttribDefaultEXT( mask: GLbitfield, @@ -383,7 +399,9 @@ export const def_glPushClientAttribDefaultEXT = { result: "void", } as const; -let fn_glPushClientAttribDefaultEXT!: Deno.UnsafeFnPointer; +let fn_glPushClientAttribDefaultEXT!: Deno.UnsafeFnPointer< + typeof def_glPushClientAttribDefaultEXT +>; export function PushClientAttribDefaultEXT( mask: GLbitfield, @@ -398,7 +416,9 @@ export const def_glTextureParameterfEXT = { result: "void", } as const; -let fn_glTextureParameterfEXT!: Deno.UnsafeFnPointer; +let fn_glTextureParameterfEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterfEXT +>; export function TextureParameterfEXT( texture: GLuint, @@ -419,7 +439,9 @@ export const def_glTextureParameterfvEXT = { result: "void", } as const; -let fn_glTextureParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glTextureParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterfvEXT +>; export function TextureParameterfvEXT( texture: GLuint, @@ -440,7 +462,9 @@ export const def_glTextureParameteriEXT = { result: "void", } as const; -let fn_glTextureParameteriEXT!: Deno.UnsafeFnPointer; +let fn_glTextureParameteriEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureParameteriEXT +>; export function TextureParameteriEXT( texture: GLuint, @@ -461,7 +485,9 @@ export const def_glTextureParameterivEXT = { result: "void", } as const; -let fn_glTextureParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glTextureParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterivEXT +>; export function TextureParameterivEXT( texture: GLuint, @@ -478,11 +504,23 @@ export function TextureParameterivEXT( } export const def_glTextureImage1DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glTextureImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureImage1DEXT +>; export function TextureImage1DEXT( texture: GLuint, @@ -509,11 +547,24 @@ export function TextureImage1DEXT( } export const def_glTextureImage2DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glTextureImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureImage2DEXT +>; export function TextureImage2DEXT( texture: GLuint, @@ -546,7 +597,9 @@ export const def_glTextureSubImage1DEXT = { result: "void", } as const; -let fn_glTextureSubImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureSubImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage1DEXT +>; export function TextureSubImage1DEXT( texture: GLuint, @@ -571,11 +624,24 @@ export function TextureSubImage1DEXT( } export const def_glTextureSubImage2DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glTextureSubImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureSubImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage2DEXT +>; export function TextureSubImage2DEXT( texture: GLuint, @@ -608,7 +674,9 @@ export const def_glCopyTextureImage1DEXT = { result: "void", } as const; -let fn_glCopyTextureImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyTextureImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureImage1DEXT +>; export function CopyTextureImage1DEXT( texture: GLuint, @@ -637,7 +705,9 @@ export const def_glCopyTextureImage2DEXT = { result: "void", } as const; -let fn_glCopyTextureImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyTextureImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureImage2DEXT +>; export function CopyTextureImage2DEXT( texture: GLuint, @@ -668,7 +738,9 @@ export const def_glCopyTextureSubImage1DEXT = { result: "void", } as const; -let fn_glCopyTextureSubImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage1DEXT +>; export function CopyTextureSubImage1DEXT( texture: GLuint, @@ -695,7 +767,9 @@ export const def_glCopyTextureSubImage2DEXT = { result: "void", } as const; -let fn_glCopyTextureSubImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage2DEXT +>; export function CopyTextureSubImage2DEXT( texture: GLuint, @@ -726,7 +800,9 @@ export const def_glGetTextureImageEXT = { result: "void", } as const; -let fn_glGetTextureImageEXT!: Deno.UnsafeFnPointer; +let fn_glGetTextureImageEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTextureImageEXT +>; export function GetTextureImageEXT( texture: GLuint, @@ -751,7 +827,9 @@ export const def_glGetTextureParameterfvEXT = { result: "void", } as const; -let fn_glGetTextureParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterfvEXT +>; export function GetTextureParameterfvEXT( texture: GLuint, @@ -772,7 +850,9 @@ export const def_glGetTextureParameterivEXT = { result: "void", } as const; -let fn_glGetTextureParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterivEXT +>; export function GetTextureParameterivEXT( texture: GLuint, @@ -793,7 +873,9 @@ export const def_glGetTextureLevelParameterfvEXT = { result: "void", } as const; -let fn_glGetTextureLevelParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetTextureLevelParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTextureLevelParameterfvEXT +>; export function GetTextureLevelParameterfvEXT( texture: GLuint, @@ -816,7 +898,9 @@ export const def_glGetTextureLevelParameterivEXT = { result: "void", } as const; -let fn_glGetTextureLevelParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetTextureLevelParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTextureLevelParameterivEXT +>; export function GetTextureLevelParameterivEXT( texture: GLuint, @@ -835,11 +919,25 @@ export function GetTextureLevelParameterivEXT( } export const def_glTextureImage3DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], - result: "void", -} as const; - -let fn_glTextureImage3DEXT!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], + result: "void", +} as const; + +let fn_glTextureImage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureImage3DEXT +>; export function TextureImage3DEXT( texture: GLuint, @@ -870,11 +968,26 @@ export function TextureImage3DEXT( } export const def_glTextureSubImage3DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], - result: "void", -} as const; - -let fn_glTextureSubImage3DEXT!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], + result: "void", +} as const; + +let fn_glTextureSubImage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage3DEXT +>; export function TextureSubImage3DEXT( texture: GLuint, @@ -907,11 +1020,24 @@ export function TextureSubImage3DEXT( } export const def_glCopyTextureSubImage3DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; -let fn_glCopyTextureSubImage3DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage3DEXT +>; export function CopyTextureSubImage3DEXT( texture: GLuint, @@ -944,7 +1070,9 @@ export const def_glBindMultiTextureEXT = { result: "void", } as const; -let fn_glBindMultiTextureEXT!: Deno.UnsafeFnPointer; +let fn_glBindMultiTextureEXT!: Deno.UnsafeFnPointer< + typeof def_glBindMultiTextureEXT +>; export function BindMultiTextureEXT( texunit: GLenum, @@ -963,7 +1091,9 @@ export const def_glMultiTexCoordPointerEXT = { result: "void", } as const; -let fn_glMultiTexCoordPointerEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordPointerEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordPointerEXT +>; export function MultiTexCoordPointerEXT( texunit: GLenum, @@ -1196,7 +1326,9 @@ export const def_glGetMultiTexEnvfvEXT = { result: "void", } as const; -let fn_glGetMultiTexEnvfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexEnvfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexEnvfvEXT +>; export function GetMultiTexEnvfvEXT( texunit: GLenum, @@ -1217,7 +1349,9 @@ export const def_glGetMultiTexEnvivEXT = { result: "void", } as const; -let fn_glGetMultiTexEnvivEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexEnvivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexEnvivEXT +>; export function GetMultiTexEnvivEXT( texunit: GLenum, @@ -1238,7 +1372,9 @@ export const def_glGetMultiTexGendvEXT = { result: "void", } as const; -let fn_glGetMultiTexGendvEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexGendvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexGendvEXT +>; export function GetMultiTexGendvEXT( texunit: GLenum, @@ -1259,7 +1395,9 @@ export const def_glGetMultiTexGenfvEXT = { result: "void", } as const; -let fn_glGetMultiTexGenfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexGenfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexGenfvEXT +>; export function GetMultiTexGenfvEXT( texunit: GLenum, @@ -1280,7 +1418,9 @@ export const def_glGetMultiTexGenivEXT = { result: "void", } as const; -let fn_glGetMultiTexGenivEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexGenivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexGenivEXT +>; export function GetMultiTexGenivEXT( texunit: GLenum, @@ -1301,7 +1441,9 @@ export const def_glMultiTexParameteriEXT = { result: "void", } as const; -let fn_glMultiTexParameteriEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexParameteriEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexParameteriEXT +>; export function MultiTexParameteriEXT( texunit: GLenum, @@ -1322,7 +1464,9 @@ export const def_glMultiTexParameterivEXT = { result: "void", } as const; -let fn_glMultiTexParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexParameterivEXT +>; export function MultiTexParameterivEXT( texunit: GLenum, @@ -1343,7 +1487,9 @@ export const def_glMultiTexParameterfEXT = { result: "void", } as const; -let fn_glMultiTexParameterfEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexParameterfEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexParameterfEXT +>; export function MultiTexParameterfEXT( texunit: GLenum, @@ -1364,7 +1510,9 @@ export const def_glMultiTexParameterfvEXT = { result: "void", } as const; -let fn_glMultiTexParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexParameterfvEXT +>; export function MultiTexParameterfvEXT( texunit: GLenum, @@ -1381,11 +1529,23 @@ export function MultiTexParameterfvEXT( } export const def_glMultiTexImage1DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glMultiTexImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexImage1DEXT +>; export function MultiTexImage1DEXT( texunit: GLenum, @@ -1412,11 +1572,24 @@ export function MultiTexImage1DEXT( } export const def_glMultiTexImage2DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glMultiTexImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexImage2DEXT +>; export function MultiTexImage2DEXT( texunit: GLenum, @@ -1449,7 +1622,9 @@ export const def_glMultiTexSubImage1DEXT = { result: "void", } as const; -let fn_glMultiTexSubImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexSubImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexSubImage1DEXT +>; export function MultiTexSubImage1DEXT( texunit: GLenum, @@ -1474,11 +1649,24 @@ export function MultiTexSubImage1DEXT( } export const def_glMultiTexSubImage2DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glMultiTexSubImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexSubImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexSubImage2DEXT +>; export function MultiTexSubImage2DEXT( texunit: GLenum, @@ -1511,7 +1699,9 @@ export const def_glCopyMultiTexImage1DEXT = { result: "void", } as const; -let fn_glCopyMultiTexImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyMultiTexImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyMultiTexImage1DEXT +>; export function CopyMultiTexImage1DEXT( texunit: GLenum, @@ -1540,7 +1730,9 @@ export const def_glCopyMultiTexImage2DEXT = { result: "void", } as const; -let fn_glCopyMultiTexImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyMultiTexImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyMultiTexImage2DEXT +>; export function CopyMultiTexImage2DEXT( texunit: GLenum, @@ -1571,7 +1763,9 @@ export const def_glCopyMultiTexSubImage1DEXT = { result: "void", } as const; -let fn_glCopyMultiTexSubImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyMultiTexSubImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyMultiTexSubImage1DEXT +>; export function CopyMultiTexSubImage1DEXT( texunit: GLenum, @@ -1598,7 +1792,9 @@ export const def_glCopyMultiTexSubImage2DEXT = { result: "void", } as const; -let fn_glCopyMultiTexSubImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyMultiTexSubImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyMultiTexSubImage2DEXT +>; export function CopyMultiTexSubImage2DEXT( texunit: GLenum, @@ -1629,7 +1825,9 @@ export const def_glGetMultiTexImageEXT = { result: "void", } as const; -let fn_glGetMultiTexImageEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexImageEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexImageEXT +>; export function GetMultiTexImageEXT( texunit: GLenum, @@ -1654,7 +1852,9 @@ export const def_glGetMultiTexParameterfvEXT = { result: "void", } as const; -let fn_glGetMultiTexParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexParameterfvEXT +>; export function GetMultiTexParameterfvEXT( texunit: GLenum, @@ -1675,7 +1875,9 @@ export const def_glGetMultiTexParameterivEXT = { result: "void", } as const; -let fn_glGetMultiTexParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexParameterivEXT +>; export function GetMultiTexParameterivEXT( texunit: GLenum, @@ -1696,7 +1898,9 @@ export const def_glGetMultiTexLevelParameterfvEXT = { result: "void", } as const; -let fn_glGetMultiTexLevelParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexLevelParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexLevelParameterfvEXT +>; export function GetMultiTexLevelParameterfvEXT( texunit: GLenum, @@ -1719,7 +1923,9 @@ export const def_glGetMultiTexLevelParameterivEXT = { result: "void", } as const; -let fn_glGetMultiTexLevelParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexLevelParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexLevelParameterivEXT +>; export function GetMultiTexLevelParameterivEXT( texunit: GLenum, @@ -1738,11 +1944,25 @@ export function GetMultiTexLevelParameterivEXT( } export const def_glMultiTexImage3DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], - result: "void", -} as const; - -let fn_glMultiTexImage3DEXT!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], + result: "void", +} as const; + +let fn_glMultiTexImage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexImage3DEXT +>; export function MultiTexImage3DEXT( texunit: GLenum, @@ -1773,11 +1993,26 @@ export function MultiTexImage3DEXT( } export const def_glMultiTexSubImage3DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], - result: "void", -} as const; - -let fn_glMultiTexSubImage3DEXT!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], + result: "void", +} as const; + +let fn_glMultiTexSubImage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexSubImage3DEXT +>; export function MultiTexSubImage3DEXT( texunit: GLenum, @@ -1810,11 +2045,24 @@ export function MultiTexSubImage3DEXT( } export const def_glCopyMultiTexSubImage3DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; -let fn_glCopyMultiTexSubImage3DEXT!: Deno.UnsafeFnPointer; +let fn_glCopyMultiTexSubImage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glCopyMultiTexSubImage3DEXT +>; export function CopyMultiTexSubImage3DEXT( texunit: GLenum, @@ -1847,7 +2095,9 @@ export const def_glEnableClientStateIndexedEXT = { result: "void", } as const; -let fn_glEnableClientStateIndexedEXT!: Deno.UnsafeFnPointer; +let fn_glEnableClientStateIndexedEXT!: Deno.UnsafeFnPointer< + typeof def_glEnableClientStateIndexedEXT +>; export function EnableClientStateIndexedEXT( array: GLenum, @@ -1864,7 +2114,9 @@ export const def_glDisableClientStateIndexedEXT = { result: "void", } as const; -let fn_glDisableClientStateIndexedEXT!: Deno.UnsafeFnPointer; +let fn_glDisableClientStateIndexedEXT!: Deno.UnsafeFnPointer< + typeof def_glDisableClientStateIndexedEXT +>; export function DisableClientStateIndexedEXT( array: GLenum, @@ -1881,7 +2133,9 @@ export const def_glGetFloatIndexedvEXT = { result: "void", } as const; -let fn_glGetFloatIndexedvEXT!: Deno.UnsafeFnPointer; +let fn_glGetFloatIndexedvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetFloatIndexedvEXT +>; export function GetFloatIndexedvEXT( target: GLenum, @@ -1900,7 +2154,9 @@ export const def_glGetDoubleIndexedvEXT = { result: "void", } as const; -let fn_glGetDoubleIndexedvEXT!: Deno.UnsafeFnPointer; +let fn_glGetDoubleIndexedvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetDoubleIndexedvEXT +>; export function GetDoubleIndexedvEXT( target: GLenum, @@ -1919,7 +2175,9 @@ export const def_glGetPointerIndexedvEXT = { result: "void", } as const; -let fn_glGetPointerIndexedvEXT!: Deno.UnsafeFnPointer; +let fn_glGetPointerIndexedvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetPointerIndexedvEXT +>; export function GetPointerIndexedvEXT( target: GLenum, @@ -1955,7 +2213,9 @@ export const def_glDisableIndexedEXT = { result: "void", } as const; -let fn_glDisableIndexedEXT!: Deno.UnsafeFnPointer; +let fn_glDisableIndexedEXT!: Deno.UnsafeFnPointer< + typeof def_glDisableIndexedEXT +>; export function DisableIndexedEXT( target: GLenum, @@ -1972,7 +2232,9 @@ export const def_glIsEnabledIndexedEXT = { result: "u8", } as const; -let fn_glIsEnabledIndexedEXT!: Deno.UnsafeFnPointer; +let fn_glIsEnabledIndexedEXT!: Deno.UnsafeFnPointer< + typeof def_glIsEnabledIndexedEXT +>; export function IsEnabledIndexedEXT( target: GLenum, @@ -1989,7 +2251,9 @@ export const def_glGetIntegerIndexedvEXT = { result: "void", } as const; -let fn_glGetIntegerIndexedvEXT!: Deno.UnsafeFnPointer; +let fn_glGetIntegerIndexedvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetIntegerIndexedvEXT +>; export function GetIntegerIndexedvEXT( target: GLenum, @@ -2008,7 +2272,9 @@ export const def_glGetBooleanIndexedvEXT = { result: "void", } as const; -let fn_glGetBooleanIndexedvEXT!: Deno.UnsafeFnPointer; +let fn_glGetBooleanIndexedvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetBooleanIndexedvEXT +>; export function GetBooleanIndexedvEXT( target: GLenum, @@ -2023,11 +2289,24 @@ export function GetBooleanIndexedvEXT( } export const def_glCompressedTextureImage3DEXT = { - parameters: ["u32", "u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTextureImage3DEXT!: Deno.UnsafeFnPointer; +let fn_glCompressedTextureImage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureImage3DEXT +>; export function CompressedTextureImage3DEXT( texture: GLuint, @@ -2056,11 +2335,23 @@ export function CompressedTextureImage3DEXT( } export const def_glCompressedTextureImage2DEXT = { - parameters: ["u32", "u32", "i32", "u32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTextureImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glCompressedTextureImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureImage2DEXT +>; export function CompressedTextureImage2DEXT( texture: GLuint, @@ -2091,7 +2382,9 @@ export const def_glCompressedTextureImage1DEXT = { result: "void", } as const; -let fn_glCompressedTextureImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glCompressedTextureImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureImage1DEXT +>; export function CompressedTextureImage1DEXT( texture: GLuint, @@ -2116,11 +2409,26 @@ export function CompressedTextureImage1DEXT( } export const def_glCompressedTextureSubImage3DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTextureSubImage3DEXT!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTextureSubImage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage3DEXT +>; export function CompressedTextureSubImage3DEXT( texture: GLuint, @@ -2153,11 +2461,24 @@ export function CompressedTextureSubImage3DEXT( } export const def_glCompressedTextureSubImage2DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTextureSubImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glCompressedTextureSubImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage2DEXT +>; export function CompressedTextureSubImage2DEXT( texture: GLuint, @@ -2190,7 +2511,9 @@ export const def_glCompressedTextureSubImage1DEXT = { result: "void", } as const; -let fn_glCompressedTextureSubImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glCompressedTextureSubImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage1DEXT +>; export function CompressedTextureSubImage1DEXT( texture: GLuint, @@ -2219,7 +2542,9 @@ export const def_glGetCompressedTextureImageEXT = { result: "void", } as const; -let fn_glGetCompressedTextureImageEXT!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTextureImageEXT!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTextureImageEXT +>; export function GetCompressedTextureImageEXT( texture: GLuint, @@ -2236,11 +2561,24 @@ export function GetCompressedTextureImageEXT( } export const def_glCompressedMultiTexImage3DEXT = { - parameters: ["u32", "u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedMultiTexImage3DEXT!: Deno.UnsafeFnPointer; +let fn_glCompressedMultiTexImage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedMultiTexImage3DEXT +>; export function CompressedMultiTexImage3DEXT( texunit: GLenum, @@ -2269,11 +2607,23 @@ export function CompressedMultiTexImage3DEXT( } export const def_glCompressedMultiTexImage2DEXT = { - parameters: ["u32", "u32", "i32", "u32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedMultiTexImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glCompressedMultiTexImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedMultiTexImage2DEXT +>; export function CompressedMultiTexImage2DEXT( texunit: GLenum, @@ -2304,7 +2654,9 @@ export const def_glCompressedMultiTexImage1DEXT = { result: "void", } as const; -let fn_glCompressedMultiTexImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glCompressedMultiTexImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedMultiTexImage1DEXT +>; export function CompressedMultiTexImage1DEXT( texunit: GLenum, @@ -2329,11 +2681,26 @@ export function CompressedMultiTexImage1DEXT( } export const def_glCompressedMultiTexSubImage3DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedMultiTexSubImage3DEXT!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedMultiTexSubImage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedMultiTexSubImage3DEXT +>; export function CompressedMultiTexSubImage3DEXT( texunit: GLenum, @@ -2366,11 +2733,24 @@ export function CompressedMultiTexSubImage3DEXT( } export const def_glCompressedMultiTexSubImage2DEXT = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedMultiTexSubImage2DEXT!: Deno.UnsafeFnPointer; +let fn_glCompressedMultiTexSubImage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedMultiTexSubImage2DEXT +>; export function CompressedMultiTexSubImage2DEXT( texunit: GLenum, @@ -2403,7 +2783,9 @@ export const def_glCompressedMultiTexSubImage1DEXT = { result: "void", } as const; -let fn_glCompressedMultiTexSubImage1DEXT!: Deno.UnsafeFnPointer; +let fn_glCompressedMultiTexSubImage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glCompressedMultiTexSubImage1DEXT +>; export function CompressedMultiTexSubImage1DEXT( texunit: GLenum, @@ -2432,7 +2814,9 @@ export const def_glGetCompressedMultiTexImageEXT = { result: "void", } as const; -let fn_glGetCompressedMultiTexImageEXT!: Deno.UnsafeFnPointer; +let fn_glGetCompressedMultiTexImageEXT!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedMultiTexImageEXT +>; export function GetCompressedMultiTexImageEXT( texunit: GLenum, @@ -2453,7 +2837,9 @@ export const def_glMatrixLoadTransposefEXT = { result: "void", } as const; -let fn_glMatrixLoadTransposefEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixLoadTransposefEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixLoadTransposefEXT +>; export function MatrixLoadTransposefEXT( mode: GLenum, @@ -2470,7 +2856,9 @@ export const def_glMatrixLoadTransposedEXT = { result: "void", } as const; -let fn_glMatrixLoadTransposedEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixLoadTransposedEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixLoadTransposedEXT +>; export function MatrixLoadTransposedEXT( mode: GLenum, @@ -2487,7 +2875,9 @@ export const def_glMatrixMultTransposefEXT = { result: "void", } as const; -let fn_glMatrixMultTransposefEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixMultTransposefEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixMultTransposefEXT +>; export function MatrixMultTransposefEXT( mode: GLenum, @@ -2504,7 +2894,9 @@ export const def_glMatrixMultTransposedEXT = { result: "void", } as const; -let fn_glMatrixMultTransposedEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixMultTransposedEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixMultTransposedEXT +>; export function MatrixMultTransposedEXT( mode: GLenum, @@ -2521,7 +2913,9 @@ export const def_glNamedBufferDataEXT = { result: "void", } as const; -let fn_glNamedBufferDataEXT!: Deno.UnsafeFnPointer; +let fn_glNamedBufferDataEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferDataEXT +>; export function NamedBufferDataEXT( buffer: GLuint, @@ -2542,7 +2936,9 @@ export const def_glNamedBufferSubDataEXT = { result: "void", } as const; -let fn_glNamedBufferSubDataEXT!: Deno.UnsafeFnPointer; +let fn_glNamedBufferSubDataEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferSubDataEXT +>; export function NamedBufferSubDataEXT( buffer: GLuint, @@ -2563,7 +2959,9 @@ export const def_glMapNamedBufferEXT = { result: "buffer", } as const; -let fn_glMapNamedBufferEXT!: Deno.UnsafeFnPointer; +let fn_glMapNamedBufferEXT!: Deno.UnsafeFnPointer< + typeof def_glMapNamedBufferEXT +>; export function MapNamedBufferEXT( buffer: GLuint, @@ -2580,7 +2978,9 @@ export const def_glUnmapNamedBufferEXT = { result: "u8", } as const; -let fn_glUnmapNamedBufferEXT!: Deno.UnsafeFnPointer; +let fn_glUnmapNamedBufferEXT!: Deno.UnsafeFnPointer< + typeof def_glUnmapNamedBufferEXT +>; export function UnmapNamedBufferEXT( buffer: GLuint, @@ -2595,7 +2995,9 @@ export const def_glGetNamedBufferParameterivEXT = { result: "void", } as const; -let fn_glGetNamedBufferParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferParameterivEXT +>; export function GetNamedBufferParameterivEXT( buffer: GLuint, @@ -2614,7 +3016,9 @@ export const def_glGetNamedBufferPointervEXT = { result: "void", } as const; -let fn_glGetNamedBufferPointervEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferPointervEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferPointervEXT +>; export function GetNamedBufferPointervEXT( buffer: GLuint, @@ -2633,7 +3037,9 @@ export const def_glGetNamedBufferSubDataEXT = { result: "void", } as const; -let fn_glGetNamedBufferSubDataEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferSubDataEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferSubDataEXT +>; export function GetNamedBufferSubDataEXT( buffer: GLuint, @@ -2654,7 +3060,9 @@ export const def_glProgramUniform1fEXT = { result: "void", } as const; -let fn_glProgramUniform1fEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fEXT +>; export function ProgramUniform1fEXT( program: GLuint, @@ -2673,7 +3081,9 @@ export const def_glProgramUniform2fEXT = { result: "void", } as const; -let fn_glProgramUniform2fEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fEXT +>; export function ProgramUniform2fEXT( program: GLuint, @@ -2694,7 +3104,9 @@ export const def_glProgramUniform3fEXT = { result: "void", } as const; -let fn_glProgramUniform3fEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fEXT +>; export function ProgramUniform3fEXT( program: GLuint, @@ -2717,7 +3129,9 @@ export const def_glProgramUniform4fEXT = { result: "void", } as const; -let fn_glProgramUniform4fEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fEXT +>; export function ProgramUniform4fEXT( program: GLuint, @@ -2742,7 +3156,9 @@ export const def_glProgramUniform1iEXT = { result: "void", } as const; -let fn_glProgramUniform1iEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1iEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1iEXT +>; export function ProgramUniform1iEXT( program: GLuint, @@ -2761,7 +3177,9 @@ export const def_glProgramUniform2iEXT = { result: "void", } as const; -let fn_glProgramUniform2iEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2iEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2iEXT +>; export function ProgramUniform2iEXT( program: GLuint, @@ -2782,7 +3200,9 @@ export const def_glProgramUniform3iEXT = { result: "void", } as const; -let fn_glProgramUniform3iEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3iEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3iEXT +>; export function ProgramUniform3iEXT( program: GLuint, @@ -2805,7 +3225,9 @@ export const def_glProgramUniform4iEXT = { result: "void", } as const; -let fn_glProgramUniform4iEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4iEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4iEXT +>; export function ProgramUniform4iEXT( program: GLuint, @@ -2830,7 +3252,9 @@ export const def_glProgramUniform1fvEXT = { result: "void", } as const; -let fn_glProgramUniform1fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fvEXT +>; export function ProgramUniform1fvEXT( program: GLuint, @@ -2851,7 +3275,9 @@ export const def_glProgramUniform2fvEXT = { result: "void", } as const; -let fn_glProgramUniform2fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fvEXT +>; export function ProgramUniform2fvEXT( program: GLuint, @@ -2872,7 +3298,9 @@ export const def_glProgramUniform3fvEXT = { result: "void", } as const; -let fn_glProgramUniform3fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fvEXT +>; export function ProgramUniform3fvEXT( program: GLuint, @@ -2893,7 +3321,9 @@ export const def_glProgramUniform4fvEXT = { result: "void", } as const; -let fn_glProgramUniform4fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fvEXT +>; export function ProgramUniform4fvEXT( program: GLuint, @@ -2914,7 +3344,9 @@ export const def_glProgramUniform1ivEXT = { result: "void", } as const; -let fn_glProgramUniform1ivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ivEXT +>; export function ProgramUniform1ivEXT( program: GLuint, @@ -2935,7 +3367,9 @@ export const def_glProgramUniform2ivEXT = { result: "void", } as const; -let fn_glProgramUniform2ivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ivEXT +>; export function ProgramUniform2ivEXT( program: GLuint, @@ -2956,7 +3390,9 @@ export const def_glProgramUniform3ivEXT = { result: "void", } as const; -let fn_glProgramUniform3ivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ivEXT +>; export function ProgramUniform3ivEXT( program: GLuint, @@ -2977,7 +3413,9 @@ export const def_glProgramUniform4ivEXT = { result: "void", } as const; -let fn_glProgramUniform4ivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ivEXT +>; export function ProgramUniform4ivEXT( program: GLuint, @@ -2998,7 +3436,9 @@ export const def_glProgramUniformMatrix2fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix2fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2fvEXT +>; export function ProgramUniformMatrix2fvEXT( program: GLuint, @@ -3021,7 +3461,9 @@ export const def_glProgramUniformMatrix3fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix3fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3fvEXT +>; export function ProgramUniformMatrix3fvEXT( program: GLuint, @@ -3044,7 +3486,9 @@ export const def_glProgramUniformMatrix4fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix4fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4fvEXT +>; export function ProgramUniformMatrix4fvEXT( program: GLuint, @@ -3067,7 +3511,9 @@ export const def_glProgramUniformMatrix2x3fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3fvEXT +>; export function ProgramUniformMatrix2x3fvEXT( program: GLuint, @@ -3090,7 +3536,9 @@ export const def_glProgramUniformMatrix3x2fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2fvEXT +>; export function ProgramUniformMatrix3x2fvEXT( program: GLuint, @@ -3113,7 +3561,9 @@ export const def_glProgramUniformMatrix2x4fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4fvEXT +>; export function ProgramUniformMatrix2x4fvEXT( program: GLuint, @@ -3136,7 +3586,9 @@ export const def_glProgramUniformMatrix4x2fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2fvEXT +>; export function ProgramUniformMatrix4x2fvEXT( program: GLuint, @@ -3159,7 +3611,9 @@ export const def_glProgramUniformMatrix3x4fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4fvEXT +>; export function ProgramUniformMatrix3x4fvEXT( program: GLuint, @@ -3182,7 +3636,9 @@ export const def_glProgramUniformMatrix4x3fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3fvEXT +>; export function ProgramUniformMatrix4x3fvEXT( program: GLuint, @@ -3226,7 +3682,9 @@ export const def_glMultiTexBufferEXT = { result: "void", } as const; -let fn_glMultiTexBufferEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexBufferEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexBufferEXT +>; export function MultiTexBufferEXT( texunit: GLenum, @@ -3247,7 +3705,9 @@ export const def_glTextureParameterIivEXT = { result: "void", } as const; -let fn_glTextureParameterIivEXT!: Deno.UnsafeFnPointer; +let fn_glTextureParameterIivEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterIivEXT +>; export function TextureParameterIivEXT( texture: GLuint, @@ -3268,7 +3728,9 @@ export const def_glTextureParameterIuivEXT = { result: "void", } as const; -let fn_glTextureParameterIuivEXT!: Deno.UnsafeFnPointer; +let fn_glTextureParameterIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterIuivEXT +>; export function TextureParameterIuivEXT( texture: GLuint, @@ -3289,7 +3751,9 @@ export const def_glGetTextureParameterIivEXT = { result: "void", } as const; -let fn_glGetTextureParameterIivEXT!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterIivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterIivEXT +>; export function GetTextureParameterIivEXT( texture: GLuint, @@ -3310,7 +3774,9 @@ export const def_glGetTextureParameterIuivEXT = { result: "void", } as const; -let fn_glGetTextureParameterIuivEXT!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterIuivEXT +>; export function GetTextureParameterIuivEXT( texture: GLuint, @@ -3331,7 +3797,9 @@ export const def_glMultiTexParameterIivEXT = { result: "void", } as const; -let fn_glMultiTexParameterIivEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexParameterIivEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexParameterIivEXT +>; export function MultiTexParameterIivEXT( texunit: GLenum, @@ -3352,7 +3820,9 @@ export const def_glMultiTexParameterIuivEXT = { result: "void", } as const; -let fn_glMultiTexParameterIuivEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexParameterIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexParameterIuivEXT +>; export function MultiTexParameterIuivEXT( texunit: GLenum, @@ -3373,7 +3843,9 @@ export const def_glGetMultiTexParameterIivEXT = { result: "void", } as const; -let fn_glGetMultiTexParameterIivEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexParameterIivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexParameterIivEXT +>; export function GetMultiTexParameterIivEXT( texunit: GLenum, @@ -3394,7 +3866,9 @@ export const def_glGetMultiTexParameterIuivEXT = { result: "void", } as const; -let fn_glGetMultiTexParameterIuivEXT!: Deno.UnsafeFnPointer; +let fn_glGetMultiTexParameterIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMultiTexParameterIuivEXT +>; export function GetMultiTexParameterIuivEXT( texunit: GLenum, @@ -3415,7 +3889,9 @@ export const def_glProgramUniform1uiEXT = { result: "void", } as const; -let fn_glProgramUniform1uiEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uiEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uiEXT +>; export function ProgramUniform1uiEXT( program: GLuint, @@ -3434,7 +3910,9 @@ export const def_glProgramUniform2uiEXT = { result: "void", } as const; -let fn_glProgramUniform2uiEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uiEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uiEXT +>; export function ProgramUniform2uiEXT( program: GLuint, @@ -3455,7 +3933,9 @@ export const def_glProgramUniform3uiEXT = { result: "void", } as const; -let fn_glProgramUniform3uiEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uiEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uiEXT +>; export function ProgramUniform3uiEXT( program: GLuint, @@ -3478,7 +3958,9 @@ export const def_glProgramUniform4uiEXT = { result: "void", } as const; -let fn_glProgramUniform4uiEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uiEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uiEXT +>; export function ProgramUniform4uiEXT( program: GLuint, @@ -3503,7 +3985,9 @@ export const def_glProgramUniform1uivEXT = { result: "void", } as const; -let fn_glProgramUniform1uivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uivEXT +>; export function ProgramUniform1uivEXT( program: GLuint, @@ -3524,7 +4008,9 @@ export const def_glProgramUniform2uivEXT = { result: "void", } as const; -let fn_glProgramUniform2uivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uivEXT +>; export function ProgramUniform2uivEXT( program: GLuint, @@ -3545,7 +4031,9 @@ export const def_glProgramUniform3uivEXT = { result: "void", } as const; -let fn_glProgramUniform3uivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uivEXT +>; export function ProgramUniform3uivEXT( program: GLuint, @@ -3566,7 +4054,9 @@ export const def_glProgramUniform4uivEXT = { result: "void", } as const; -let fn_glProgramUniform4uivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uivEXT +>; export function ProgramUniform4uivEXT( program: GLuint, @@ -3587,7 +4077,9 @@ export const def_glNamedProgramLocalParameters4fvEXT = { result: "void", } as const; -let fn_glNamedProgramLocalParameters4fvEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramLocalParameters4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramLocalParameters4fvEXT +>; export function NamedProgramLocalParameters4fvEXT( program: GLuint, @@ -3610,7 +4102,9 @@ export const def_glNamedProgramLocalParameterI4iEXT = { result: "void", } as const; -let fn_glNamedProgramLocalParameterI4iEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramLocalParameterI4iEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramLocalParameterI4iEXT +>; export function NamedProgramLocalParameterI4iEXT( program: GLuint, @@ -3637,7 +4131,9 @@ export const def_glNamedProgramLocalParameterI4ivEXT = { result: "void", } as const; -let fn_glNamedProgramLocalParameterI4ivEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramLocalParameterI4ivEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramLocalParameterI4ivEXT +>; export function NamedProgramLocalParameterI4ivEXT( program: GLuint, @@ -3658,7 +4154,9 @@ export const def_glNamedProgramLocalParametersI4ivEXT = { result: "void", } as const; -let fn_glNamedProgramLocalParametersI4ivEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramLocalParametersI4ivEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramLocalParametersI4ivEXT +>; export function NamedProgramLocalParametersI4ivEXT( program: GLuint, @@ -3681,7 +4179,9 @@ export const def_glNamedProgramLocalParameterI4uiEXT = { result: "void", } as const; -let fn_glNamedProgramLocalParameterI4uiEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramLocalParameterI4uiEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramLocalParameterI4uiEXT +>; export function NamedProgramLocalParameterI4uiEXT( program: GLuint, @@ -3708,7 +4208,9 @@ export const def_glNamedProgramLocalParameterI4uivEXT = { result: "void", } as const; -let fn_glNamedProgramLocalParameterI4uivEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramLocalParameterI4uivEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramLocalParameterI4uivEXT +>; export function NamedProgramLocalParameterI4uivEXT( program: GLuint, @@ -3729,7 +4231,9 @@ export const def_glNamedProgramLocalParametersI4uivEXT = { result: "void", } as const; -let fn_glNamedProgramLocalParametersI4uivEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramLocalParametersI4uivEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramLocalParametersI4uivEXT +>; export function NamedProgramLocalParametersI4uivEXT( program: GLuint, @@ -3752,7 +4256,9 @@ export const def_glGetNamedProgramLocalParameterIivEXT = { result: "void", } as const; -let fn_glGetNamedProgramLocalParameterIivEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedProgramLocalParameterIivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedProgramLocalParameterIivEXT +>; export function GetNamedProgramLocalParameterIivEXT( program: GLuint, @@ -3773,7 +4279,9 @@ export const def_glGetNamedProgramLocalParameterIuivEXT = { result: "void", } as const; -let fn_glGetNamedProgramLocalParameterIuivEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedProgramLocalParameterIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedProgramLocalParameterIuivEXT +>; export function GetNamedProgramLocalParameterIuivEXT( program: GLuint, @@ -3794,7 +4302,9 @@ export const def_glEnableClientStateiEXT = { result: "void", } as const; -let fn_glEnableClientStateiEXT!: Deno.UnsafeFnPointer; +let fn_glEnableClientStateiEXT!: Deno.UnsafeFnPointer< + typeof def_glEnableClientStateiEXT +>; export function EnableClientStateiEXT( array: GLenum, @@ -3811,7 +4321,9 @@ export const def_glDisableClientStateiEXT = { result: "void", } as const; -let fn_glDisableClientStateiEXT!: Deno.UnsafeFnPointer; +let fn_glDisableClientStateiEXT!: Deno.UnsafeFnPointer< + typeof def_glDisableClientStateiEXT +>; export function DisableClientStateiEXT( array: GLenum, @@ -3885,7 +4397,9 @@ export const def_glNamedProgramStringEXT = { result: "void", } as const; -let fn_glNamedProgramStringEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramStringEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramStringEXT +>; export function NamedProgramStringEXT( program: GLuint, @@ -3908,7 +4422,9 @@ export const def_glNamedProgramLocalParameter4dEXT = { result: "void", } as const; -let fn_glNamedProgramLocalParameter4dEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramLocalParameter4dEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramLocalParameter4dEXT +>; export function NamedProgramLocalParameter4dEXT( program: GLuint, @@ -3935,7 +4451,9 @@ export const def_glNamedProgramLocalParameter4dvEXT = { result: "void", } as const; -let fn_glNamedProgramLocalParameter4dvEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramLocalParameter4dvEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramLocalParameter4dvEXT +>; export function NamedProgramLocalParameter4dvEXT( program: GLuint, @@ -3956,7 +4474,9 @@ export const def_glNamedProgramLocalParameter4fEXT = { result: "void", } as const; -let fn_glNamedProgramLocalParameter4fEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramLocalParameter4fEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramLocalParameter4fEXT +>; export function NamedProgramLocalParameter4fEXT( program: GLuint, @@ -3983,7 +4503,9 @@ export const def_glNamedProgramLocalParameter4fvEXT = { result: "void", } as const; -let fn_glNamedProgramLocalParameter4fvEXT!: Deno.UnsafeFnPointer; +let fn_glNamedProgramLocalParameter4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedProgramLocalParameter4fvEXT +>; export function NamedProgramLocalParameter4fvEXT( program: GLuint, @@ -4004,7 +4526,9 @@ export const def_glGetNamedProgramLocalParameterdvEXT = { result: "void", } as const; -let fn_glGetNamedProgramLocalParameterdvEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedProgramLocalParameterdvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedProgramLocalParameterdvEXT +>; export function GetNamedProgramLocalParameterdvEXT( program: GLuint, @@ -4025,7 +4549,9 @@ export const def_glGetNamedProgramLocalParameterfvEXT = { result: "void", } as const; -let fn_glGetNamedProgramLocalParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedProgramLocalParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedProgramLocalParameterfvEXT +>; export function GetNamedProgramLocalParameterfvEXT( program: GLuint, @@ -4046,7 +4572,9 @@ export const def_glGetNamedProgramivEXT = { result: "void", } as const; -let fn_glGetNamedProgramivEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedProgramivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedProgramivEXT +>; export function GetNamedProgramivEXT( program: GLuint, @@ -4067,7 +4595,9 @@ export const def_glGetNamedProgramStringEXT = { result: "void", } as const; -let fn_glGetNamedProgramStringEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedProgramStringEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedProgramStringEXT +>; export function GetNamedProgramStringEXT( program: GLuint, @@ -4088,7 +4618,9 @@ export const def_glNamedRenderbufferStorageEXT = { result: "void", } as const; -let fn_glNamedRenderbufferStorageEXT!: Deno.UnsafeFnPointer; +let fn_glNamedRenderbufferStorageEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedRenderbufferStorageEXT +>; export function NamedRenderbufferStorageEXT( renderbuffer: GLuint, @@ -4109,7 +4641,9 @@ export const def_glGetNamedRenderbufferParameterivEXT = { result: "void", } as const; -let fn_glGetNamedRenderbufferParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedRenderbufferParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedRenderbufferParameterivEXT +>; export function GetNamedRenderbufferParameterivEXT( renderbuffer: GLuint, @@ -4128,7 +4662,9 @@ export const def_glNamedRenderbufferStorageMultisampleEXT = { result: "void", } as const; -let fn_glNamedRenderbufferStorageMultisampleEXT!: Deno.UnsafeFnPointer; +let fn_glNamedRenderbufferStorageMultisampleEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedRenderbufferStorageMultisampleEXT +>; export function NamedRenderbufferStorageMultisampleEXT( renderbuffer: GLuint, @@ -4151,7 +4687,9 @@ export const def_glNamedRenderbufferStorageMultisampleCoverageEXT = { result: "void", } as const; -let fn_glNamedRenderbufferStorageMultisampleCoverageEXT!: Deno.UnsafeFnPointer; +let fn_glNamedRenderbufferStorageMultisampleCoverageEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedRenderbufferStorageMultisampleCoverageEXT +>; export function NamedRenderbufferStorageMultisampleCoverageEXT( renderbuffer: GLuint, @@ -4176,7 +4714,9 @@ export const def_glCheckNamedFramebufferStatusEXT = { result: "u32", } as const; -let fn_glCheckNamedFramebufferStatusEXT!: Deno.UnsafeFnPointer; +let fn_glCheckNamedFramebufferStatusEXT!: Deno.UnsafeFnPointer< + typeof def_glCheckNamedFramebufferStatusEXT +>; export function CheckNamedFramebufferStatusEXT( framebuffer: GLuint, @@ -4193,7 +4733,9 @@ export const def_glNamedFramebufferTexture1DEXT = { result: "void", } as const; -let fn_glNamedFramebufferTexture1DEXT!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTexture1DEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTexture1DEXT +>; export function NamedFramebufferTexture1DEXT( framebuffer: GLuint, @@ -4216,7 +4758,9 @@ export const def_glNamedFramebufferTexture2DEXT = { result: "void", } as const; -let fn_glNamedFramebufferTexture2DEXT!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTexture2DEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTexture2DEXT +>; export function NamedFramebufferTexture2DEXT( framebuffer: GLuint, @@ -4239,7 +4783,9 @@ export const def_glNamedFramebufferTexture3DEXT = { result: "void", } as const; -let fn_glNamedFramebufferTexture3DEXT!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTexture3DEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTexture3DEXT +>; export function NamedFramebufferTexture3DEXT( framebuffer: GLuint, @@ -4264,7 +4810,9 @@ export const def_glNamedFramebufferRenderbufferEXT = { result: "void", } as const; -let fn_glNamedFramebufferRenderbufferEXT!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferRenderbufferEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferRenderbufferEXT +>; export function NamedFramebufferRenderbufferEXT( framebuffer: GLuint, @@ -4285,7 +4833,9 @@ export const def_glGetNamedFramebufferAttachmentParameterivEXT = { result: "void", } as const; -let fn_glGetNamedFramebufferAttachmentParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedFramebufferAttachmentParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedFramebufferAttachmentParameterivEXT +>; export function GetNamedFramebufferAttachmentParameterivEXT( framebuffer: GLuint, @@ -4306,7 +4856,9 @@ export const def_glGenerateTextureMipmapEXT = { result: "void", } as const; -let fn_glGenerateTextureMipmapEXT!: Deno.UnsafeFnPointer; +let fn_glGenerateTextureMipmapEXT!: Deno.UnsafeFnPointer< + typeof def_glGenerateTextureMipmapEXT +>; export function GenerateTextureMipmapEXT( texture: GLuint, @@ -4323,7 +4875,9 @@ export const def_glGenerateMultiTexMipmapEXT = { result: "void", } as const; -let fn_glGenerateMultiTexMipmapEXT!: Deno.UnsafeFnPointer; +let fn_glGenerateMultiTexMipmapEXT!: Deno.UnsafeFnPointer< + typeof def_glGenerateMultiTexMipmapEXT +>; export function GenerateMultiTexMipmapEXT( texunit: GLenum, @@ -4340,7 +4894,9 @@ export const def_glFramebufferDrawBufferEXT = { result: "void", } as const; -let fn_glFramebufferDrawBufferEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferDrawBufferEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferDrawBufferEXT +>; export function FramebufferDrawBufferEXT( framebuffer: GLuint, @@ -4357,7 +4913,9 @@ export const def_glFramebufferDrawBuffersEXT = { result: "void", } as const; -let fn_glFramebufferDrawBuffersEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferDrawBuffersEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferDrawBuffersEXT +>; export function FramebufferDrawBuffersEXT( framebuffer: GLuint, @@ -4376,7 +4934,9 @@ export const def_glFramebufferReadBufferEXT = { result: "void", } as const; -let fn_glFramebufferReadBufferEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferReadBufferEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferReadBufferEXT +>; export function FramebufferReadBufferEXT( framebuffer: GLuint, @@ -4393,7 +4953,9 @@ export const def_glGetFramebufferParameterivEXT = { result: "void", } as const; -let fn_glGetFramebufferParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferParameterivEXT +>; export function GetFramebufferParameterivEXT( framebuffer: GLuint, @@ -4412,7 +4974,9 @@ export const def_glNamedCopyBufferSubDataEXT = { result: "void", } as const; -let fn_glNamedCopyBufferSubDataEXT!: Deno.UnsafeFnPointer; +let fn_glNamedCopyBufferSubDataEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedCopyBufferSubDataEXT +>; export function NamedCopyBufferSubDataEXT( readBuffer: GLuint, @@ -4435,7 +4999,9 @@ export const def_glNamedFramebufferTextureEXT = { result: "void", } as const; -let fn_glNamedFramebufferTextureEXT!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTextureEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTextureEXT +>; export function NamedFramebufferTextureEXT( framebuffer: GLuint, @@ -4456,7 +5022,9 @@ export const def_glNamedFramebufferTextureLayerEXT = { result: "void", } as const; -let fn_glNamedFramebufferTextureLayerEXT!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTextureLayerEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTextureLayerEXT +>; export function NamedFramebufferTextureLayerEXT( framebuffer: GLuint, @@ -4479,7 +5047,9 @@ export const def_glNamedFramebufferTextureFaceEXT = { result: "void", } as const; -let fn_glNamedFramebufferTextureFaceEXT!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTextureFaceEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTextureFaceEXT +>; export function NamedFramebufferTextureFaceEXT( framebuffer: GLuint, @@ -4502,7 +5072,9 @@ export const def_glTextureRenderbufferEXT = { result: "void", } as const; -let fn_glTextureRenderbufferEXT!: Deno.UnsafeFnPointer; +let fn_glTextureRenderbufferEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureRenderbufferEXT +>; export function TextureRenderbufferEXT( texture: GLuint, @@ -4521,7 +5093,9 @@ export const def_glMultiTexRenderbufferEXT = { result: "void", } as const; -let fn_glMultiTexRenderbufferEXT!: Deno.UnsafeFnPointer; +let fn_glMultiTexRenderbufferEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiTexRenderbufferEXT +>; export function MultiTexRenderbufferEXT( texunit: GLenum, @@ -4540,7 +5114,9 @@ export const def_glVertexArrayVertexOffsetEXT = { result: "void", } as const; -let fn_glVertexArrayVertexOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexOffsetEXT +>; export function VertexArrayVertexOffsetEXT( vaobj: GLuint, @@ -4565,7 +5141,9 @@ export const def_glVertexArrayColorOffsetEXT = { result: "void", } as const; -let fn_glVertexArrayColorOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayColorOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayColorOffsetEXT +>; export function VertexArrayColorOffsetEXT( vaobj: GLuint, @@ -4590,7 +5168,9 @@ export const def_glVertexArrayEdgeFlagOffsetEXT = { result: "void", } as const; -let fn_glVertexArrayEdgeFlagOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayEdgeFlagOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayEdgeFlagOffsetEXT +>; export function VertexArrayEdgeFlagOffsetEXT( vaobj: GLuint, @@ -4611,7 +5191,9 @@ export const def_glVertexArrayIndexOffsetEXT = { result: "void", } as const; -let fn_glVertexArrayIndexOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayIndexOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayIndexOffsetEXT +>; export function VertexArrayIndexOffsetEXT( vaobj: GLuint, @@ -4634,7 +5216,9 @@ export const def_glVertexArrayNormalOffsetEXT = { result: "void", } as const; -let fn_glVertexArrayNormalOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayNormalOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayNormalOffsetEXT +>; export function VertexArrayNormalOffsetEXT( vaobj: GLuint, @@ -4657,7 +5241,9 @@ export const def_glVertexArrayTexCoordOffsetEXT = { result: "void", } as const; -let fn_glVertexArrayTexCoordOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayTexCoordOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayTexCoordOffsetEXT +>; export function VertexArrayTexCoordOffsetEXT( vaobj: GLuint, @@ -4682,7 +5268,9 @@ export const def_glVertexArrayMultiTexCoordOffsetEXT = { result: "void", } as const; -let fn_glVertexArrayMultiTexCoordOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayMultiTexCoordOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayMultiTexCoordOffsetEXT +>; export function VertexArrayMultiTexCoordOffsetEXT( vaobj: GLuint, @@ -4709,7 +5297,9 @@ export const def_glVertexArrayFogCoordOffsetEXT = { result: "void", } as const; -let fn_glVertexArrayFogCoordOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayFogCoordOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayFogCoordOffsetEXT +>; export function VertexArrayFogCoordOffsetEXT( vaobj: GLuint, @@ -4732,7 +5322,9 @@ export const def_glVertexArraySecondaryColorOffsetEXT = { result: "void", } as const; -let fn_glVertexArraySecondaryColorOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArraySecondaryColorOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArraySecondaryColorOffsetEXT +>; export function VertexArraySecondaryColorOffsetEXT( vaobj: GLuint, @@ -4757,7 +5349,9 @@ export const def_glVertexArrayVertexAttribOffsetEXT = { result: "void", } as const; -let fn_glVertexArrayVertexAttribOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexAttribOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexAttribOffsetEXT +>; export function VertexArrayVertexAttribOffsetEXT( vaobj: GLuint, @@ -4786,7 +5380,9 @@ export const def_glVertexArrayVertexAttribIOffsetEXT = { result: "void", } as const; -let fn_glVertexArrayVertexAttribIOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexAttribIOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexAttribIOffsetEXT +>; export function VertexArrayVertexAttribIOffsetEXT( vaobj: GLuint, @@ -4813,7 +5409,9 @@ export const def_glEnableVertexArrayEXT = { result: "void", } as const; -let fn_glEnableVertexArrayEXT!: Deno.UnsafeFnPointer; +let fn_glEnableVertexArrayEXT!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexArrayEXT +>; export function EnableVertexArrayEXT( vaobj: GLuint, @@ -4830,7 +5428,9 @@ export const def_glDisableVertexArrayEXT = { result: "void", } as const; -let fn_glDisableVertexArrayEXT!: Deno.UnsafeFnPointer; +let fn_glDisableVertexArrayEXT!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexArrayEXT +>; export function DisableVertexArrayEXT( vaobj: GLuint, @@ -4847,7 +5447,9 @@ export const def_glEnableVertexArrayAttribEXT = { result: "void", } as const; -let fn_glEnableVertexArrayAttribEXT!: Deno.UnsafeFnPointer; +let fn_glEnableVertexArrayAttribEXT!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexArrayAttribEXT +>; export function EnableVertexArrayAttribEXT( vaobj: GLuint, @@ -4864,7 +5466,9 @@ export const def_glDisableVertexArrayAttribEXT = { result: "void", } as const; -let fn_glDisableVertexArrayAttribEXT!: Deno.UnsafeFnPointer; +let fn_glDisableVertexArrayAttribEXT!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexArrayAttribEXT +>; export function DisableVertexArrayAttribEXT( vaobj: GLuint, @@ -4881,7 +5485,9 @@ export const def_glGetVertexArrayIntegervEXT = { result: "void", } as const; -let fn_glGetVertexArrayIntegervEXT!: Deno.UnsafeFnPointer; +let fn_glGetVertexArrayIntegervEXT!: Deno.UnsafeFnPointer< + typeof def_glGetVertexArrayIntegervEXT +>; export function GetVertexArrayIntegervEXT( vaobj: GLuint, @@ -4900,7 +5506,9 @@ export const def_glGetVertexArrayPointervEXT = { result: "void", } as const; -let fn_glGetVertexArrayPointervEXT!: Deno.UnsafeFnPointer; +let fn_glGetVertexArrayPointervEXT!: Deno.UnsafeFnPointer< + typeof def_glGetVertexArrayPointervEXT +>; export function GetVertexArrayPointervEXT( vaobj: GLuint, @@ -4919,7 +5527,9 @@ export const def_glGetVertexArrayIntegeri_vEXT = { result: "void", } as const; -let fn_glGetVertexArrayIntegeri_vEXT!: Deno.UnsafeFnPointer; +let fn_glGetVertexArrayIntegeri_vEXT!: Deno.UnsafeFnPointer< + typeof def_glGetVertexArrayIntegeri_vEXT +>; export function GetVertexArrayIntegeri_vEXT( vaobj: GLuint, @@ -4940,7 +5550,9 @@ export const def_glGetVertexArrayPointeri_vEXT = { result: "void", } as const; -let fn_glGetVertexArrayPointeri_vEXT!: Deno.UnsafeFnPointer; +let fn_glGetVertexArrayPointeri_vEXT!: Deno.UnsafeFnPointer< + typeof def_glGetVertexArrayPointeri_vEXT +>; export function GetVertexArrayPointeri_vEXT( vaobj: GLuint, @@ -4961,7 +5573,9 @@ export const def_glMapNamedBufferRangeEXT = { result: "buffer", } as const; -let fn_glMapNamedBufferRangeEXT!: Deno.UnsafeFnPointer; +let fn_glMapNamedBufferRangeEXT!: Deno.UnsafeFnPointer< + typeof def_glMapNamedBufferRangeEXT +>; export function MapNamedBufferRangeEXT( buffer: GLuint, @@ -4982,7 +5596,9 @@ export const def_glFlushMappedNamedBufferRangeEXT = { result: "void", } as const; -let fn_glFlushMappedNamedBufferRangeEXT!: Deno.UnsafeFnPointer; +let fn_glFlushMappedNamedBufferRangeEXT!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedNamedBufferRangeEXT +>; export function FlushMappedNamedBufferRangeEXT( buffer: GLuint, @@ -5001,7 +5617,9 @@ export const def_glNamedBufferStorageEXT = { result: "void", } as const; -let fn_glNamedBufferStorageEXT!: Deno.UnsafeFnPointer; +let fn_glNamedBufferStorageEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferStorageEXT +>; export function NamedBufferStorageEXT( buffer: GLuint, @@ -5022,7 +5640,9 @@ export const def_glClearNamedBufferDataEXT = { result: "void", } as const; -let fn_glClearNamedBufferDataEXT!: Deno.UnsafeFnPointer; +let fn_glClearNamedBufferDataEXT!: Deno.UnsafeFnPointer< + typeof def_glClearNamedBufferDataEXT +>; export function ClearNamedBufferDataEXT( buffer: GLuint, @@ -5045,7 +5665,9 @@ export const def_glClearNamedBufferSubDataEXT = { result: "void", } as const; -let fn_glClearNamedBufferSubDataEXT!: Deno.UnsafeFnPointer; +let fn_glClearNamedBufferSubDataEXT!: Deno.UnsafeFnPointer< + typeof def_glClearNamedBufferSubDataEXT +>; export function ClearNamedBufferSubDataEXT( buffer: GLuint, @@ -5072,7 +5694,9 @@ export const def_glNamedFramebufferParameteriEXT = { result: "void", } as const; -let fn_glNamedFramebufferParameteriEXT!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferParameteriEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferParameteriEXT +>; export function NamedFramebufferParameteriEXT( framebuffer: GLuint, @@ -5091,7 +5715,9 @@ export const def_glGetNamedFramebufferParameterivEXT = { result: "void", } as const; -let fn_glGetNamedFramebufferParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetNamedFramebufferParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetNamedFramebufferParameterivEXT +>; export function GetNamedFramebufferParameterivEXT( framebuffer: GLuint, @@ -5110,7 +5736,9 @@ export const def_glProgramUniform1dEXT = { result: "void", } as const; -let fn_glProgramUniform1dEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1dEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1dEXT +>; export function ProgramUniform1dEXT( program: GLuint, @@ -5129,7 +5757,9 @@ export const def_glProgramUniform2dEXT = { result: "void", } as const; -let fn_glProgramUniform2dEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2dEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2dEXT +>; export function ProgramUniform2dEXT( program: GLuint, @@ -5150,7 +5780,9 @@ export const def_glProgramUniform3dEXT = { result: "void", } as const; -let fn_glProgramUniform3dEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3dEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3dEXT +>; export function ProgramUniform3dEXT( program: GLuint, @@ -5173,7 +5805,9 @@ export const def_glProgramUniform4dEXT = { result: "void", } as const; -let fn_glProgramUniform4dEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4dEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4dEXT +>; export function ProgramUniform4dEXT( program: GLuint, @@ -5198,7 +5832,9 @@ export const def_glProgramUniform1dvEXT = { result: "void", } as const; -let fn_glProgramUniform1dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1dvEXT +>; export function ProgramUniform1dvEXT( program: GLuint, @@ -5219,7 +5855,9 @@ export const def_glProgramUniform2dvEXT = { result: "void", } as const; -let fn_glProgramUniform2dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2dvEXT +>; export function ProgramUniform2dvEXT( program: GLuint, @@ -5240,7 +5878,9 @@ export const def_glProgramUniform3dvEXT = { result: "void", } as const; -let fn_glProgramUniform3dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3dvEXT +>; export function ProgramUniform3dvEXT( program: GLuint, @@ -5261,7 +5901,9 @@ export const def_glProgramUniform4dvEXT = { result: "void", } as const; -let fn_glProgramUniform4dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4dvEXT +>; export function ProgramUniform4dvEXT( program: GLuint, @@ -5282,7 +5924,9 @@ export const def_glProgramUniformMatrix2dvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix2dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2dvEXT +>; export function ProgramUniformMatrix2dvEXT( program: GLuint, @@ -5305,7 +5949,9 @@ export const def_glProgramUniformMatrix3dvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix3dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3dvEXT +>; export function ProgramUniformMatrix3dvEXT( program: GLuint, @@ -5328,7 +5974,9 @@ export const def_glProgramUniformMatrix4dvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix4dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4dvEXT +>; export function ProgramUniformMatrix4dvEXT( program: GLuint, @@ -5351,7 +5999,9 @@ export const def_glProgramUniformMatrix2x3dvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3dvEXT +>; export function ProgramUniformMatrix2x3dvEXT( program: GLuint, @@ -5374,7 +6024,9 @@ export const def_glProgramUniformMatrix2x4dvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4dvEXT +>; export function ProgramUniformMatrix2x4dvEXT( program: GLuint, @@ -5397,7 +6049,9 @@ export const def_glProgramUniformMatrix3x2dvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2dvEXT +>; export function ProgramUniformMatrix3x2dvEXT( program: GLuint, @@ -5420,7 +6074,9 @@ export const def_glProgramUniformMatrix3x4dvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4dvEXT +>; export function ProgramUniformMatrix3x4dvEXT( program: GLuint, @@ -5443,7 +6099,9 @@ export const def_glProgramUniformMatrix4x2dvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2dvEXT +>; export function ProgramUniformMatrix4x2dvEXT( program: GLuint, @@ -5466,7 +6124,9 @@ export const def_glProgramUniformMatrix4x3dvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3dvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3dvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3dvEXT +>; export function ProgramUniformMatrix4x3dvEXT( program: GLuint, @@ -5489,7 +6149,9 @@ export const def_glTextureBufferRangeEXT = { result: "void", } as const; -let fn_glTextureBufferRangeEXT!: Deno.UnsafeFnPointer; +let fn_glTextureBufferRangeEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureBufferRangeEXT +>; export function TextureBufferRangeEXT( texture: GLuint, @@ -5514,7 +6176,9 @@ export const def_glTextureStorage1DEXT = { result: "void", } as const; -let fn_glTextureStorage1DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage1DEXT +>; export function TextureStorage1DEXT( texture: GLuint, @@ -5537,7 +6201,9 @@ export const def_glTextureStorage2DEXT = { result: "void", } as const; -let fn_glTextureStorage2DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage2DEXT +>; export function TextureStorage2DEXT( texture: GLuint, @@ -5562,7 +6228,9 @@ export const def_glTextureStorage3DEXT = { result: "void", } as const; -let fn_glTextureStorage3DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage3DEXT +>; export function TextureStorage3DEXT( texture: GLuint, @@ -5589,7 +6257,9 @@ export const def_glTextureStorage2DMultisampleEXT = { result: "void", } as const; -let fn_glTextureStorage2DMultisampleEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorage2DMultisampleEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage2DMultisampleEXT +>; export function TextureStorage2DMultisampleEXT( texture: GLuint, @@ -5616,7 +6286,9 @@ export const def_glTextureStorage3DMultisampleEXT = { result: "void", } as const; -let fn_glTextureStorage3DMultisampleEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorage3DMultisampleEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage3DMultisampleEXT +>; export function TextureStorage3DMultisampleEXT( texture: GLuint, @@ -5645,7 +6317,9 @@ export const def_glVertexArrayBindVertexBufferEXT = { result: "void", } as const; -let fn_glVertexArrayBindVertexBufferEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayBindVertexBufferEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayBindVertexBufferEXT +>; export function VertexArrayBindVertexBufferEXT( vaobj: GLuint, @@ -5668,7 +6342,9 @@ export const def_glVertexArrayVertexAttribFormatEXT = { result: "void", } as const; -let fn_glVertexArrayVertexAttribFormatEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexAttribFormatEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexAttribFormatEXT +>; export function VertexArrayVertexAttribFormatEXT( vaobj: GLuint, @@ -5693,7 +6369,9 @@ export const def_glVertexArrayVertexAttribIFormatEXT = { result: "void", } as const; -let fn_glVertexArrayVertexAttribIFormatEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexAttribIFormatEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexAttribIFormatEXT +>; export function VertexArrayVertexAttribIFormatEXT( vaobj: GLuint, @@ -5716,7 +6394,9 @@ export const def_glVertexArrayVertexAttribLFormatEXT = { result: "void", } as const; -let fn_glVertexArrayVertexAttribLFormatEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexAttribLFormatEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexAttribLFormatEXT +>; export function VertexArrayVertexAttribLFormatEXT( vaobj: GLuint, @@ -5739,7 +6419,9 @@ export const def_glVertexArrayVertexAttribBindingEXT = { result: "void", } as const; -let fn_glVertexArrayVertexAttribBindingEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexAttribBindingEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexAttribBindingEXT +>; export function VertexArrayVertexAttribBindingEXT( vaobj: GLuint, @@ -5758,7 +6440,9 @@ export const def_glVertexArrayVertexBindingDivisorEXT = { result: "void", } as const; -let fn_glVertexArrayVertexBindingDivisorEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexBindingDivisorEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexBindingDivisorEXT +>; export function VertexArrayVertexBindingDivisorEXT( vaobj: GLuint, @@ -5777,7 +6461,9 @@ export const def_glVertexArrayVertexAttribLOffsetEXT = { result: "void", } as const; -let fn_glVertexArrayVertexAttribLOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexAttribLOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexAttribLOffsetEXT +>; export function VertexArrayVertexAttribLOffsetEXT( vaobj: GLuint, @@ -5804,7 +6490,9 @@ export const def_glTexturePageCommitmentEXT = { result: "void", } as const; -let fn_glTexturePageCommitmentEXT!: Deno.UnsafeFnPointer; +let fn_glTexturePageCommitmentEXT!: Deno.UnsafeFnPointer< + typeof def_glTexturePageCommitmentEXT +>; export function TexturePageCommitmentEXT( texture: GLuint, @@ -5835,7 +6523,9 @@ export const def_glVertexArrayVertexAttribDivisorEXT = { result: "void", } as const; -let fn_glVertexArrayVertexAttribDivisorEXT!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexAttribDivisorEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexAttribDivisorEXT +>; export function VertexArrayVertexAttribDivisorEXT( vaobj: GLuint, @@ -5851,259 +6541,1025 @@ export function VertexArrayVertexAttribDivisorEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMatrixLoadfEXT = new Deno.UnsafeFnPointer(proc("glMatrixLoadfEXT"), def_glMatrixLoadfEXT); - fn_glMatrixLoaddEXT = new Deno.UnsafeFnPointer(proc("glMatrixLoaddEXT"), def_glMatrixLoaddEXT); - fn_glMatrixMultfEXT = new Deno.UnsafeFnPointer(proc("glMatrixMultfEXT"), def_glMatrixMultfEXT); - fn_glMatrixMultdEXT = new Deno.UnsafeFnPointer(proc("glMatrixMultdEXT"), def_glMatrixMultdEXT); - fn_glMatrixLoadIdentityEXT = new Deno.UnsafeFnPointer(proc("glMatrixLoadIdentityEXT"), def_glMatrixLoadIdentityEXT); - fn_glMatrixRotatefEXT = new Deno.UnsafeFnPointer(proc("glMatrixRotatefEXT"), def_glMatrixRotatefEXT); - fn_glMatrixRotatedEXT = new Deno.UnsafeFnPointer(proc("glMatrixRotatedEXT"), def_glMatrixRotatedEXT); - fn_glMatrixScalefEXT = new Deno.UnsafeFnPointer(proc("glMatrixScalefEXT"), def_glMatrixScalefEXT); - fn_glMatrixScaledEXT = new Deno.UnsafeFnPointer(proc("glMatrixScaledEXT"), def_glMatrixScaledEXT); - fn_glMatrixTranslatefEXT = new Deno.UnsafeFnPointer(proc("glMatrixTranslatefEXT"), def_glMatrixTranslatefEXT); - fn_glMatrixTranslatedEXT = new Deno.UnsafeFnPointer(proc("glMatrixTranslatedEXT"), def_glMatrixTranslatedEXT); - fn_glMatrixFrustumEXT = new Deno.UnsafeFnPointer(proc("glMatrixFrustumEXT"), def_glMatrixFrustumEXT); - fn_glMatrixOrthoEXT = new Deno.UnsafeFnPointer(proc("glMatrixOrthoEXT"), def_glMatrixOrthoEXT); - fn_glMatrixPopEXT = new Deno.UnsafeFnPointer(proc("glMatrixPopEXT"), def_glMatrixPopEXT); - fn_glMatrixPushEXT = new Deno.UnsafeFnPointer(proc("glMatrixPushEXT"), def_glMatrixPushEXT); - fn_glClientAttribDefaultEXT = new Deno.UnsafeFnPointer(proc("glClientAttribDefaultEXT"), def_glClientAttribDefaultEXT); - fn_glPushClientAttribDefaultEXT = new Deno.UnsafeFnPointer(proc("glPushClientAttribDefaultEXT"), def_glPushClientAttribDefaultEXT); - fn_glTextureParameterfEXT = new Deno.UnsafeFnPointer(proc("glTextureParameterfEXT"), def_glTextureParameterfEXT); - fn_glTextureParameterfvEXT = new Deno.UnsafeFnPointer(proc("glTextureParameterfvEXT"), def_glTextureParameterfvEXT); - fn_glTextureParameteriEXT = new Deno.UnsafeFnPointer(proc("glTextureParameteriEXT"), def_glTextureParameteriEXT); - fn_glTextureParameterivEXT = new Deno.UnsafeFnPointer(proc("glTextureParameterivEXT"), def_glTextureParameterivEXT); - fn_glTextureImage1DEXT = new Deno.UnsafeFnPointer(proc("glTextureImage1DEXT"), def_glTextureImage1DEXT); - fn_glTextureImage2DEXT = new Deno.UnsafeFnPointer(proc("glTextureImage2DEXT"), def_glTextureImage2DEXT); - fn_glTextureSubImage1DEXT = new Deno.UnsafeFnPointer(proc("glTextureSubImage1DEXT"), def_glTextureSubImage1DEXT); - fn_glTextureSubImage2DEXT = new Deno.UnsafeFnPointer(proc("glTextureSubImage2DEXT"), def_glTextureSubImage2DEXT); - fn_glCopyTextureImage1DEXT = new Deno.UnsafeFnPointer(proc("glCopyTextureImage1DEXT"), def_glCopyTextureImage1DEXT); - fn_glCopyTextureImage2DEXT = new Deno.UnsafeFnPointer(proc("glCopyTextureImage2DEXT"), def_glCopyTextureImage2DEXT); - fn_glCopyTextureSubImage1DEXT = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage1DEXT"), def_glCopyTextureSubImage1DEXT); - fn_glCopyTextureSubImage2DEXT = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage2DEXT"), def_glCopyTextureSubImage2DEXT); - fn_glGetTextureImageEXT = new Deno.UnsafeFnPointer(proc("glGetTextureImageEXT"), def_glGetTextureImageEXT); - fn_glGetTextureParameterfvEXT = new Deno.UnsafeFnPointer(proc("glGetTextureParameterfvEXT"), def_glGetTextureParameterfvEXT); - fn_glGetTextureParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetTextureParameterivEXT"), def_glGetTextureParameterivEXT); - fn_glGetTextureLevelParameterfvEXT = new Deno.UnsafeFnPointer(proc("glGetTextureLevelParameterfvEXT"), def_glGetTextureLevelParameterfvEXT); - fn_glGetTextureLevelParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetTextureLevelParameterivEXT"), def_glGetTextureLevelParameterivEXT); - fn_glTextureImage3DEXT = new Deno.UnsafeFnPointer(proc("glTextureImage3DEXT"), def_glTextureImage3DEXT); - fn_glTextureSubImage3DEXT = new Deno.UnsafeFnPointer(proc("glTextureSubImage3DEXT"), def_glTextureSubImage3DEXT); - fn_glCopyTextureSubImage3DEXT = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage3DEXT"), def_glCopyTextureSubImage3DEXT); - fn_glBindMultiTextureEXT = new Deno.UnsafeFnPointer(proc("glBindMultiTextureEXT"), def_glBindMultiTextureEXT); - fn_glMultiTexCoordPointerEXT = new Deno.UnsafeFnPointer(proc("glMultiTexCoordPointerEXT"), def_glMultiTexCoordPointerEXT); - fn_glMultiTexEnvfEXT = new Deno.UnsafeFnPointer(proc("glMultiTexEnvfEXT"), def_glMultiTexEnvfEXT); - fn_glMultiTexEnvfvEXT = new Deno.UnsafeFnPointer(proc("glMultiTexEnvfvEXT"), def_glMultiTexEnvfvEXT); - fn_glMultiTexEnviEXT = new Deno.UnsafeFnPointer(proc("glMultiTexEnviEXT"), def_glMultiTexEnviEXT); - fn_glMultiTexEnvivEXT = new Deno.UnsafeFnPointer(proc("glMultiTexEnvivEXT"), def_glMultiTexEnvivEXT); - fn_glMultiTexGendEXT = new Deno.UnsafeFnPointer(proc("glMultiTexGendEXT"), def_glMultiTexGendEXT); - fn_glMultiTexGendvEXT = new Deno.UnsafeFnPointer(proc("glMultiTexGendvEXT"), def_glMultiTexGendvEXT); - fn_glMultiTexGenfEXT = new Deno.UnsafeFnPointer(proc("glMultiTexGenfEXT"), def_glMultiTexGenfEXT); - fn_glMultiTexGenfvEXT = new Deno.UnsafeFnPointer(proc("glMultiTexGenfvEXT"), def_glMultiTexGenfvEXT); - fn_glMultiTexGeniEXT = new Deno.UnsafeFnPointer(proc("glMultiTexGeniEXT"), def_glMultiTexGeniEXT); - fn_glMultiTexGenivEXT = new Deno.UnsafeFnPointer(proc("glMultiTexGenivEXT"), def_glMultiTexGenivEXT); - fn_glGetMultiTexEnvfvEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexEnvfvEXT"), def_glGetMultiTexEnvfvEXT); - fn_glGetMultiTexEnvivEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexEnvivEXT"), def_glGetMultiTexEnvivEXT); - fn_glGetMultiTexGendvEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexGendvEXT"), def_glGetMultiTexGendvEXT); - fn_glGetMultiTexGenfvEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexGenfvEXT"), def_glGetMultiTexGenfvEXT); - fn_glGetMultiTexGenivEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexGenivEXT"), def_glGetMultiTexGenivEXT); - fn_glMultiTexParameteriEXT = new Deno.UnsafeFnPointer(proc("glMultiTexParameteriEXT"), def_glMultiTexParameteriEXT); - fn_glMultiTexParameterivEXT = new Deno.UnsafeFnPointer(proc("glMultiTexParameterivEXT"), def_glMultiTexParameterivEXT); - fn_glMultiTexParameterfEXT = new Deno.UnsafeFnPointer(proc("glMultiTexParameterfEXT"), def_glMultiTexParameterfEXT); - fn_glMultiTexParameterfvEXT = new Deno.UnsafeFnPointer(proc("glMultiTexParameterfvEXT"), def_glMultiTexParameterfvEXT); - fn_glMultiTexImage1DEXT = new Deno.UnsafeFnPointer(proc("glMultiTexImage1DEXT"), def_glMultiTexImage1DEXT); - fn_glMultiTexImage2DEXT = new Deno.UnsafeFnPointer(proc("glMultiTexImage2DEXT"), def_glMultiTexImage2DEXT); - fn_glMultiTexSubImage1DEXT = new Deno.UnsafeFnPointer(proc("glMultiTexSubImage1DEXT"), def_glMultiTexSubImage1DEXT); - fn_glMultiTexSubImage2DEXT = new Deno.UnsafeFnPointer(proc("glMultiTexSubImage2DEXT"), def_glMultiTexSubImage2DEXT); - fn_glCopyMultiTexImage1DEXT = new Deno.UnsafeFnPointer(proc("glCopyMultiTexImage1DEXT"), def_glCopyMultiTexImage1DEXT); - fn_glCopyMultiTexImage2DEXT = new Deno.UnsafeFnPointer(proc("glCopyMultiTexImage2DEXT"), def_glCopyMultiTexImage2DEXT); - fn_glCopyMultiTexSubImage1DEXT = new Deno.UnsafeFnPointer(proc("glCopyMultiTexSubImage1DEXT"), def_glCopyMultiTexSubImage1DEXT); - fn_glCopyMultiTexSubImage2DEXT = new Deno.UnsafeFnPointer(proc("glCopyMultiTexSubImage2DEXT"), def_glCopyMultiTexSubImage2DEXT); - fn_glGetMultiTexImageEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexImageEXT"), def_glGetMultiTexImageEXT); - fn_glGetMultiTexParameterfvEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexParameterfvEXT"), def_glGetMultiTexParameterfvEXT); - fn_glGetMultiTexParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexParameterivEXT"), def_glGetMultiTexParameterivEXT); - fn_glGetMultiTexLevelParameterfvEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexLevelParameterfvEXT"), def_glGetMultiTexLevelParameterfvEXT); - fn_glGetMultiTexLevelParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexLevelParameterivEXT"), def_glGetMultiTexLevelParameterivEXT); - fn_glMultiTexImage3DEXT = new Deno.UnsafeFnPointer(proc("glMultiTexImage3DEXT"), def_glMultiTexImage3DEXT); - fn_glMultiTexSubImage3DEXT = new Deno.UnsafeFnPointer(proc("glMultiTexSubImage3DEXT"), def_glMultiTexSubImage3DEXT); - fn_glCopyMultiTexSubImage3DEXT = new Deno.UnsafeFnPointer(proc("glCopyMultiTexSubImage3DEXT"), def_glCopyMultiTexSubImage3DEXT); - fn_glEnableClientStateIndexedEXT = new Deno.UnsafeFnPointer(proc("glEnableClientStateIndexedEXT"), def_glEnableClientStateIndexedEXT); - fn_glDisableClientStateIndexedEXT = new Deno.UnsafeFnPointer(proc("glDisableClientStateIndexedEXT"), def_glDisableClientStateIndexedEXT); - fn_glGetFloatIndexedvEXT = new Deno.UnsafeFnPointer(proc("glGetFloatIndexedvEXT"), def_glGetFloatIndexedvEXT); - fn_glGetDoubleIndexedvEXT = new Deno.UnsafeFnPointer(proc("glGetDoubleIndexedvEXT"), def_glGetDoubleIndexedvEXT); - fn_glGetPointerIndexedvEXT = new Deno.UnsafeFnPointer(proc("glGetPointerIndexedvEXT"), def_glGetPointerIndexedvEXT); - fn_glEnableIndexedEXT = new Deno.UnsafeFnPointer(proc("glEnableIndexedEXT"), def_glEnableIndexedEXT); - fn_glDisableIndexedEXT = new Deno.UnsafeFnPointer(proc("glDisableIndexedEXT"), def_glDisableIndexedEXT); - fn_glIsEnabledIndexedEXT = new Deno.UnsafeFnPointer(proc("glIsEnabledIndexedEXT"), def_glIsEnabledIndexedEXT); - fn_glGetIntegerIndexedvEXT = new Deno.UnsafeFnPointer(proc("glGetIntegerIndexedvEXT"), def_glGetIntegerIndexedvEXT); - fn_glGetBooleanIndexedvEXT = new Deno.UnsafeFnPointer(proc("glGetBooleanIndexedvEXT"), def_glGetBooleanIndexedvEXT); - fn_glCompressedTextureImage3DEXT = new Deno.UnsafeFnPointer(proc("glCompressedTextureImage3DEXT"), def_glCompressedTextureImage3DEXT); - fn_glCompressedTextureImage2DEXT = new Deno.UnsafeFnPointer(proc("glCompressedTextureImage2DEXT"), def_glCompressedTextureImage2DEXT); - fn_glCompressedTextureImage1DEXT = new Deno.UnsafeFnPointer(proc("glCompressedTextureImage1DEXT"), def_glCompressedTextureImage1DEXT); - fn_glCompressedTextureSubImage3DEXT = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage3DEXT"), def_glCompressedTextureSubImage3DEXT); - fn_glCompressedTextureSubImage2DEXT = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage2DEXT"), def_glCompressedTextureSubImage2DEXT); - fn_glCompressedTextureSubImage1DEXT = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage1DEXT"), def_glCompressedTextureSubImage1DEXT); - fn_glGetCompressedTextureImageEXT = new Deno.UnsafeFnPointer(proc("glGetCompressedTextureImageEXT"), def_glGetCompressedTextureImageEXT); - fn_glCompressedMultiTexImage3DEXT = new Deno.UnsafeFnPointer(proc("glCompressedMultiTexImage3DEXT"), def_glCompressedMultiTexImage3DEXT); - fn_glCompressedMultiTexImage2DEXT = new Deno.UnsafeFnPointer(proc("glCompressedMultiTexImage2DEXT"), def_glCompressedMultiTexImage2DEXT); - fn_glCompressedMultiTexImage1DEXT = new Deno.UnsafeFnPointer(proc("glCompressedMultiTexImage1DEXT"), def_glCompressedMultiTexImage1DEXT); - fn_glCompressedMultiTexSubImage3DEXT = new Deno.UnsafeFnPointer(proc("glCompressedMultiTexSubImage3DEXT"), def_glCompressedMultiTexSubImage3DEXT); - fn_glCompressedMultiTexSubImage2DEXT = new Deno.UnsafeFnPointer(proc("glCompressedMultiTexSubImage2DEXT"), def_glCompressedMultiTexSubImage2DEXT); - fn_glCompressedMultiTexSubImage1DEXT = new Deno.UnsafeFnPointer(proc("glCompressedMultiTexSubImage1DEXT"), def_glCompressedMultiTexSubImage1DEXT); - fn_glGetCompressedMultiTexImageEXT = new Deno.UnsafeFnPointer(proc("glGetCompressedMultiTexImageEXT"), def_glGetCompressedMultiTexImageEXT); - fn_glMatrixLoadTransposefEXT = new Deno.UnsafeFnPointer(proc("glMatrixLoadTransposefEXT"), def_glMatrixLoadTransposefEXT); - fn_glMatrixLoadTransposedEXT = new Deno.UnsafeFnPointer(proc("glMatrixLoadTransposedEXT"), def_glMatrixLoadTransposedEXT); - fn_glMatrixMultTransposefEXT = new Deno.UnsafeFnPointer(proc("glMatrixMultTransposefEXT"), def_glMatrixMultTransposefEXT); - fn_glMatrixMultTransposedEXT = new Deno.UnsafeFnPointer(proc("glMatrixMultTransposedEXT"), def_glMatrixMultTransposedEXT); - fn_glNamedBufferDataEXT = new Deno.UnsafeFnPointer(proc("glNamedBufferDataEXT"), def_glNamedBufferDataEXT); - fn_glNamedBufferSubDataEXT = new Deno.UnsafeFnPointer(proc("glNamedBufferSubDataEXT"), def_glNamedBufferSubDataEXT); - fn_glMapNamedBufferEXT = new Deno.UnsafeFnPointer(proc("glMapNamedBufferEXT"), def_glMapNamedBufferEXT); - fn_glUnmapNamedBufferEXT = new Deno.UnsafeFnPointer(proc("glUnmapNamedBufferEXT"), def_glUnmapNamedBufferEXT); - fn_glGetNamedBufferParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetNamedBufferParameterivEXT"), def_glGetNamedBufferParameterivEXT); - fn_glGetNamedBufferPointervEXT = new Deno.UnsafeFnPointer(proc("glGetNamedBufferPointervEXT"), def_glGetNamedBufferPointervEXT); - fn_glGetNamedBufferSubDataEXT = new Deno.UnsafeFnPointer(proc("glGetNamedBufferSubDataEXT"), def_glGetNamedBufferSubDataEXT); - fn_glProgramUniform1fEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1fEXT"), def_glProgramUniform1fEXT); - fn_glProgramUniform2fEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2fEXT"), def_glProgramUniform2fEXT); - fn_glProgramUniform3fEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3fEXT"), def_glProgramUniform3fEXT); - fn_glProgramUniform4fEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4fEXT"), def_glProgramUniform4fEXT); - fn_glProgramUniform1iEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1iEXT"), def_glProgramUniform1iEXT); - fn_glProgramUniform2iEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2iEXT"), def_glProgramUniform2iEXT); - fn_glProgramUniform3iEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3iEXT"), def_glProgramUniform3iEXT); - fn_glProgramUniform4iEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4iEXT"), def_glProgramUniform4iEXT); - fn_glProgramUniform1fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1fvEXT"), def_glProgramUniform1fvEXT); - fn_glProgramUniform2fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2fvEXT"), def_glProgramUniform2fvEXT); - fn_glProgramUniform3fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3fvEXT"), def_glProgramUniform3fvEXT); - fn_glProgramUniform4fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4fvEXT"), def_glProgramUniform4fvEXT); - fn_glProgramUniform1ivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1ivEXT"), def_glProgramUniform1ivEXT); - fn_glProgramUniform2ivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2ivEXT"), def_glProgramUniform2ivEXT); - fn_glProgramUniform3ivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3ivEXT"), def_glProgramUniform3ivEXT); - fn_glProgramUniform4ivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4ivEXT"), def_glProgramUniform4ivEXT); - fn_glProgramUniformMatrix2fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2fvEXT"), def_glProgramUniformMatrix2fvEXT); - fn_glProgramUniformMatrix3fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3fvEXT"), def_glProgramUniformMatrix3fvEXT); - fn_glProgramUniformMatrix4fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4fvEXT"), def_glProgramUniformMatrix4fvEXT); - fn_glProgramUniformMatrix2x3fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3fvEXT"), def_glProgramUniformMatrix2x3fvEXT); - fn_glProgramUniformMatrix3x2fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2fvEXT"), def_glProgramUniformMatrix3x2fvEXT); - fn_glProgramUniformMatrix2x4fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4fvEXT"), def_glProgramUniformMatrix2x4fvEXT); - fn_glProgramUniformMatrix4x2fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2fvEXT"), def_glProgramUniformMatrix4x2fvEXT); - fn_glProgramUniformMatrix3x4fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4fvEXT"), def_glProgramUniformMatrix3x4fvEXT); - fn_glProgramUniformMatrix4x3fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3fvEXT"), def_glProgramUniformMatrix4x3fvEXT); - fn_glTextureBufferEXT = new Deno.UnsafeFnPointer(proc("glTextureBufferEXT"), def_glTextureBufferEXT); - fn_glMultiTexBufferEXT = new Deno.UnsafeFnPointer(proc("glMultiTexBufferEXT"), def_glMultiTexBufferEXT); - fn_glTextureParameterIivEXT = new Deno.UnsafeFnPointer(proc("glTextureParameterIivEXT"), def_glTextureParameterIivEXT); - fn_glTextureParameterIuivEXT = new Deno.UnsafeFnPointer(proc("glTextureParameterIuivEXT"), def_glTextureParameterIuivEXT); - fn_glGetTextureParameterIivEXT = new Deno.UnsafeFnPointer(proc("glGetTextureParameterIivEXT"), def_glGetTextureParameterIivEXT); - fn_glGetTextureParameterIuivEXT = new Deno.UnsafeFnPointer(proc("glGetTextureParameterIuivEXT"), def_glGetTextureParameterIuivEXT); - fn_glMultiTexParameterIivEXT = new Deno.UnsafeFnPointer(proc("glMultiTexParameterIivEXT"), def_glMultiTexParameterIivEXT); - fn_glMultiTexParameterIuivEXT = new Deno.UnsafeFnPointer(proc("glMultiTexParameterIuivEXT"), def_glMultiTexParameterIuivEXT); - fn_glGetMultiTexParameterIivEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexParameterIivEXT"), def_glGetMultiTexParameterIivEXT); - fn_glGetMultiTexParameterIuivEXT = new Deno.UnsafeFnPointer(proc("glGetMultiTexParameterIuivEXT"), def_glGetMultiTexParameterIuivEXT); - fn_glProgramUniform1uiEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1uiEXT"), def_glProgramUniform1uiEXT); - fn_glProgramUniform2uiEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2uiEXT"), def_glProgramUniform2uiEXT); - fn_glProgramUniform3uiEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3uiEXT"), def_glProgramUniform3uiEXT); - fn_glProgramUniform4uiEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4uiEXT"), def_glProgramUniform4uiEXT); - fn_glProgramUniform1uivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1uivEXT"), def_glProgramUniform1uivEXT); - fn_glProgramUniform2uivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2uivEXT"), def_glProgramUniform2uivEXT); - fn_glProgramUniform3uivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3uivEXT"), def_glProgramUniform3uivEXT); - fn_glProgramUniform4uivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4uivEXT"), def_glProgramUniform4uivEXT); - fn_glNamedProgramLocalParameters4fvEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramLocalParameters4fvEXT"), def_glNamedProgramLocalParameters4fvEXT); - fn_glNamedProgramLocalParameterI4iEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramLocalParameterI4iEXT"), def_glNamedProgramLocalParameterI4iEXT); - fn_glNamedProgramLocalParameterI4ivEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramLocalParameterI4ivEXT"), def_glNamedProgramLocalParameterI4ivEXT); - fn_glNamedProgramLocalParametersI4ivEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramLocalParametersI4ivEXT"), def_glNamedProgramLocalParametersI4ivEXT); - fn_glNamedProgramLocalParameterI4uiEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramLocalParameterI4uiEXT"), def_glNamedProgramLocalParameterI4uiEXT); - fn_glNamedProgramLocalParameterI4uivEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramLocalParameterI4uivEXT"), def_glNamedProgramLocalParameterI4uivEXT); - fn_glNamedProgramLocalParametersI4uivEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramLocalParametersI4uivEXT"), def_glNamedProgramLocalParametersI4uivEXT); - fn_glGetNamedProgramLocalParameterIivEXT = new Deno.UnsafeFnPointer(proc("glGetNamedProgramLocalParameterIivEXT"), def_glGetNamedProgramLocalParameterIivEXT); - fn_glGetNamedProgramLocalParameterIuivEXT = new Deno.UnsafeFnPointer(proc("glGetNamedProgramLocalParameterIuivEXT"), def_glGetNamedProgramLocalParameterIuivEXT); - fn_glEnableClientStateiEXT = new Deno.UnsafeFnPointer(proc("glEnableClientStateiEXT"), def_glEnableClientStateiEXT); - fn_glDisableClientStateiEXT = new Deno.UnsafeFnPointer(proc("glDisableClientStateiEXT"), def_glDisableClientStateiEXT); - fn_glGetFloati_vEXT = new Deno.UnsafeFnPointer(proc("glGetFloati_vEXT"), def_glGetFloati_vEXT); - fn_glGetDoublei_vEXT = new Deno.UnsafeFnPointer(proc("glGetDoublei_vEXT"), def_glGetDoublei_vEXT); - fn_glGetPointeri_vEXT = new Deno.UnsafeFnPointer(proc("glGetPointeri_vEXT"), def_glGetPointeri_vEXT); - fn_glNamedProgramStringEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramStringEXT"), def_glNamedProgramStringEXT); - fn_glNamedProgramLocalParameter4dEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramLocalParameter4dEXT"), def_glNamedProgramLocalParameter4dEXT); - fn_glNamedProgramLocalParameter4dvEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramLocalParameter4dvEXT"), def_glNamedProgramLocalParameter4dvEXT); - fn_glNamedProgramLocalParameter4fEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramLocalParameter4fEXT"), def_glNamedProgramLocalParameter4fEXT); - fn_glNamedProgramLocalParameter4fvEXT = new Deno.UnsafeFnPointer(proc("glNamedProgramLocalParameter4fvEXT"), def_glNamedProgramLocalParameter4fvEXT); - fn_glGetNamedProgramLocalParameterdvEXT = new Deno.UnsafeFnPointer(proc("glGetNamedProgramLocalParameterdvEXT"), def_glGetNamedProgramLocalParameterdvEXT); - fn_glGetNamedProgramLocalParameterfvEXT = new Deno.UnsafeFnPointer(proc("glGetNamedProgramLocalParameterfvEXT"), def_glGetNamedProgramLocalParameterfvEXT); - fn_glGetNamedProgramivEXT = new Deno.UnsafeFnPointer(proc("glGetNamedProgramivEXT"), def_glGetNamedProgramivEXT); - fn_glGetNamedProgramStringEXT = new Deno.UnsafeFnPointer(proc("glGetNamedProgramStringEXT"), def_glGetNamedProgramStringEXT); - fn_glNamedRenderbufferStorageEXT = new Deno.UnsafeFnPointer(proc("glNamedRenderbufferStorageEXT"), def_glNamedRenderbufferStorageEXT); - fn_glGetNamedRenderbufferParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetNamedRenderbufferParameterivEXT"), def_glGetNamedRenderbufferParameterivEXT); - fn_glNamedRenderbufferStorageMultisampleEXT = new Deno.UnsafeFnPointer(proc("glNamedRenderbufferStorageMultisampleEXT"), def_glNamedRenderbufferStorageMultisampleEXT); - fn_glNamedRenderbufferStorageMultisampleCoverageEXT = new Deno.UnsafeFnPointer(proc("glNamedRenderbufferStorageMultisampleCoverageEXT"), def_glNamedRenderbufferStorageMultisampleCoverageEXT); - fn_glCheckNamedFramebufferStatusEXT = new Deno.UnsafeFnPointer(proc("glCheckNamedFramebufferStatusEXT"), def_glCheckNamedFramebufferStatusEXT); - fn_glNamedFramebufferTexture1DEXT = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTexture1DEXT"), def_glNamedFramebufferTexture1DEXT); - fn_glNamedFramebufferTexture2DEXT = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTexture2DEXT"), def_glNamedFramebufferTexture2DEXT); - fn_glNamedFramebufferTexture3DEXT = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTexture3DEXT"), def_glNamedFramebufferTexture3DEXT); - fn_glNamedFramebufferRenderbufferEXT = new Deno.UnsafeFnPointer(proc("glNamedFramebufferRenderbufferEXT"), def_glNamedFramebufferRenderbufferEXT); - fn_glGetNamedFramebufferAttachmentParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetNamedFramebufferAttachmentParameterivEXT"), def_glGetNamedFramebufferAttachmentParameterivEXT); - fn_glGenerateTextureMipmapEXT = new Deno.UnsafeFnPointer(proc("glGenerateTextureMipmapEXT"), def_glGenerateTextureMipmapEXT); - fn_glGenerateMultiTexMipmapEXT = new Deno.UnsafeFnPointer(proc("glGenerateMultiTexMipmapEXT"), def_glGenerateMultiTexMipmapEXT); - fn_glFramebufferDrawBufferEXT = new Deno.UnsafeFnPointer(proc("glFramebufferDrawBufferEXT"), def_glFramebufferDrawBufferEXT); - fn_glFramebufferDrawBuffersEXT = new Deno.UnsafeFnPointer(proc("glFramebufferDrawBuffersEXT"), def_glFramebufferDrawBuffersEXT); - fn_glFramebufferReadBufferEXT = new Deno.UnsafeFnPointer(proc("glFramebufferReadBufferEXT"), def_glFramebufferReadBufferEXT); - fn_glGetFramebufferParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetFramebufferParameterivEXT"), def_glGetFramebufferParameterivEXT); - fn_glNamedCopyBufferSubDataEXT = new Deno.UnsafeFnPointer(proc("glNamedCopyBufferSubDataEXT"), def_glNamedCopyBufferSubDataEXT); - fn_glNamedFramebufferTextureEXT = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTextureEXT"), def_glNamedFramebufferTextureEXT); - fn_glNamedFramebufferTextureLayerEXT = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTextureLayerEXT"), def_glNamedFramebufferTextureLayerEXT); - fn_glNamedFramebufferTextureFaceEXT = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTextureFaceEXT"), def_glNamedFramebufferTextureFaceEXT); - fn_glTextureRenderbufferEXT = new Deno.UnsafeFnPointer(proc("glTextureRenderbufferEXT"), def_glTextureRenderbufferEXT); - fn_glMultiTexRenderbufferEXT = new Deno.UnsafeFnPointer(proc("glMultiTexRenderbufferEXT"), def_glMultiTexRenderbufferEXT); - fn_glVertexArrayVertexOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexOffsetEXT"), def_glVertexArrayVertexOffsetEXT); - fn_glVertexArrayColorOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayColorOffsetEXT"), def_glVertexArrayColorOffsetEXT); - fn_glVertexArrayEdgeFlagOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayEdgeFlagOffsetEXT"), def_glVertexArrayEdgeFlagOffsetEXT); - fn_glVertexArrayIndexOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayIndexOffsetEXT"), def_glVertexArrayIndexOffsetEXT); - fn_glVertexArrayNormalOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayNormalOffsetEXT"), def_glVertexArrayNormalOffsetEXT); - fn_glVertexArrayTexCoordOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayTexCoordOffsetEXT"), def_glVertexArrayTexCoordOffsetEXT); - fn_glVertexArrayMultiTexCoordOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayMultiTexCoordOffsetEXT"), def_glVertexArrayMultiTexCoordOffsetEXT); - fn_glVertexArrayFogCoordOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayFogCoordOffsetEXT"), def_glVertexArrayFogCoordOffsetEXT); - fn_glVertexArraySecondaryColorOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArraySecondaryColorOffsetEXT"), def_glVertexArraySecondaryColorOffsetEXT); - fn_glVertexArrayVertexAttribOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexAttribOffsetEXT"), def_glVertexArrayVertexAttribOffsetEXT); - fn_glVertexArrayVertexAttribIOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexAttribIOffsetEXT"), def_glVertexArrayVertexAttribIOffsetEXT); - fn_glEnableVertexArrayEXT = new Deno.UnsafeFnPointer(proc("glEnableVertexArrayEXT"), def_glEnableVertexArrayEXT); - fn_glDisableVertexArrayEXT = new Deno.UnsafeFnPointer(proc("glDisableVertexArrayEXT"), def_glDisableVertexArrayEXT); - fn_glEnableVertexArrayAttribEXT = new Deno.UnsafeFnPointer(proc("glEnableVertexArrayAttribEXT"), def_glEnableVertexArrayAttribEXT); - fn_glDisableVertexArrayAttribEXT = new Deno.UnsafeFnPointer(proc("glDisableVertexArrayAttribEXT"), def_glDisableVertexArrayAttribEXT); - fn_glGetVertexArrayIntegervEXT = new Deno.UnsafeFnPointer(proc("glGetVertexArrayIntegervEXT"), def_glGetVertexArrayIntegervEXT); - fn_glGetVertexArrayPointervEXT = new Deno.UnsafeFnPointer(proc("glGetVertexArrayPointervEXT"), def_glGetVertexArrayPointervEXT); - fn_glGetVertexArrayIntegeri_vEXT = new Deno.UnsafeFnPointer(proc("glGetVertexArrayIntegeri_vEXT"), def_glGetVertexArrayIntegeri_vEXT); - fn_glGetVertexArrayPointeri_vEXT = new Deno.UnsafeFnPointer(proc("glGetVertexArrayPointeri_vEXT"), def_glGetVertexArrayPointeri_vEXT); - fn_glMapNamedBufferRangeEXT = new Deno.UnsafeFnPointer(proc("glMapNamedBufferRangeEXT"), def_glMapNamedBufferRangeEXT); - fn_glFlushMappedNamedBufferRangeEXT = new Deno.UnsafeFnPointer(proc("glFlushMappedNamedBufferRangeEXT"), def_glFlushMappedNamedBufferRangeEXT); - fn_glNamedBufferStorageEXT = new Deno.UnsafeFnPointer(proc("glNamedBufferStorageEXT"), def_glNamedBufferStorageEXT); - fn_glClearNamedBufferDataEXT = new Deno.UnsafeFnPointer(proc("glClearNamedBufferDataEXT"), def_glClearNamedBufferDataEXT); - fn_glClearNamedBufferSubDataEXT = new Deno.UnsafeFnPointer(proc("glClearNamedBufferSubDataEXT"), def_glClearNamedBufferSubDataEXT); - fn_glNamedFramebufferParameteriEXT = new Deno.UnsafeFnPointer(proc("glNamedFramebufferParameteriEXT"), def_glNamedFramebufferParameteriEXT); - fn_glGetNamedFramebufferParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetNamedFramebufferParameterivEXT"), def_glGetNamedFramebufferParameterivEXT); - fn_glProgramUniform1dEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1dEXT"), def_glProgramUniform1dEXT); - fn_glProgramUniform2dEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2dEXT"), def_glProgramUniform2dEXT); - fn_glProgramUniform3dEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3dEXT"), def_glProgramUniform3dEXT); - fn_glProgramUniform4dEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4dEXT"), def_glProgramUniform4dEXT); - fn_glProgramUniform1dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1dvEXT"), def_glProgramUniform1dvEXT); - fn_glProgramUniform2dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2dvEXT"), def_glProgramUniform2dvEXT); - fn_glProgramUniform3dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3dvEXT"), def_glProgramUniform3dvEXT); - fn_glProgramUniform4dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4dvEXT"), def_glProgramUniform4dvEXT); - fn_glProgramUniformMatrix2dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2dvEXT"), def_glProgramUniformMatrix2dvEXT); - fn_glProgramUniformMatrix3dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3dvEXT"), def_glProgramUniformMatrix3dvEXT); - fn_glProgramUniformMatrix4dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4dvEXT"), def_glProgramUniformMatrix4dvEXT); - fn_glProgramUniformMatrix2x3dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3dvEXT"), def_glProgramUniformMatrix2x3dvEXT); - fn_glProgramUniformMatrix2x4dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4dvEXT"), def_glProgramUniformMatrix2x4dvEXT); - fn_glProgramUniformMatrix3x2dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2dvEXT"), def_glProgramUniformMatrix3x2dvEXT); - fn_glProgramUniformMatrix3x4dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4dvEXT"), def_glProgramUniformMatrix3x4dvEXT); - fn_glProgramUniformMatrix4x2dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2dvEXT"), def_glProgramUniformMatrix4x2dvEXT); - fn_glProgramUniformMatrix4x3dvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3dvEXT"), def_glProgramUniformMatrix4x3dvEXT); - fn_glTextureBufferRangeEXT = new Deno.UnsafeFnPointer(proc("glTextureBufferRangeEXT"), def_glTextureBufferRangeEXT); - fn_glTextureStorage1DEXT = new Deno.UnsafeFnPointer(proc("glTextureStorage1DEXT"), def_glTextureStorage1DEXT); - fn_glTextureStorage2DEXT = new Deno.UnsafeFnPointer(proc("glTextureStorage2DEXT"), def_glTextureStorage2DEXT); - fn_glTextureStorage3DEXT = new Deno.UnsafeFnPointer(proc("glTextureStorage3DEXT"), def_glTextureStorage3DEXT); - fn_glTextureStorage2DMultisampleEXT = new Deno.UnsafeFnPointer(proc("glTextureStorage2DMultisampleEXT"), def_glTextureStorage2DMultisampleEXT); - fn_glTextureStorage3DMultisampleEXT = new Deno.UnsafeFnPointer(proc("glTextureStorage3DMultisampleEXT"), def_glTextureStorage3DMultisampleEXT); - fn_glVertexArrayBindVertexBufferEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayBindVertexBufferEXT"), def_glVertexArrayBindVertexBufferEXT); - fn_glVertexArrayVertexAttribFormatEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexAttribFormatEXT"), def_glVertexArrayVertexAttribFormatEXT); - fn_glVertexArrayVertexAttribIFormatEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexAttribIFormatEXT"), def_glVertexArrayVertexAttribIFormatEXT); - fn_glVertexArrayVertexAttribLFormatEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexAttribLFormatEXT"), def_glVertexArrayVertexAttribLFormatEXT); - fn_glVertexArrayVertexAttribBindingEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexAttribBindingEXT"), def_glVertexArrayVertexAttribBindingEXT); - fn_glVertexArrayVertexBindingDivisorEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexBindingDivisorEXT"), def_glVertexArrayVertexBindingDivisorEXT); - fn_glVertexArrayVertexAttribLOffsetEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexAttribLOffsetEXT"), def_glVertexArrayVertexAttribLOffsetEXT); - fn_glTexturePageCommitmentEXT = new Deno.UnsafeFnPointer(proc("glTexturePageCommitmentEXT"), def_glTexturePageCommitmentEXT); - fn_glVertexArrayVertexAttribDivisorEXT = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexAttribDivisorEXT"), def_glVertexArrayVertexAttribDivisorEXT); + fn_glMatrixLoadfEXT = new Deno.UnsafeFnPointer( + proc("glMatrixLoadfEXT"), + def_glMatrixLoadfEXT, + ); + fn_glMatrixLoaddEXT = new Deno.UnsafeFnPointer( + proc("glMatrixLoaddEXT"), + def_glMatrixLoaddEXT, + ); + fn_glMatrixMultfEXT = new Deno.UnsafeFnPointer( + proc("glMatrixMultfEXT"), + def_glMatrixMultfEXT, + ); + fn_glMatrixMultdEXT = new Deno.UnsafeFnPointer( + proc("glMatrixMultdEXT"), + def_glMatrixMultdEXT, + ); + fn_glMatrixLoadIdentityEXT = new Deno.UnsafeFnPointer( + proc("glMatrixLoadIdentityEXT"), + def_glMatrixLoadIdentityEXT, + ); + fn_glMatrixRotatefEXT = new Deno.UnsafeFnPointer( + proc("glMatrixRotatefEXT"), + def_glMatrixRotatefEXT, + ); + fn_glMatrixRotatedEXT = new Deno.UnsafeFnPointer( + proc("glMatrixRotatedEXT"), + def_glMatrixRotatedEXT, + ); + fn_glMatrixScalefEXT = new Deno.UnsafeFnPointer( + proc("glMatrixScalefEXT"), + def_glMatrixScalefEXT, + ); + fn_glMatrixScaledEXT = new Deno.UnsafeFnPointer( + proc("glMatrixScaledEXT"), + def_glMatrixScaledEXT, + ); + fn_glMatrixTranslatefEXT = new Deno.UnsafeFnPointer( + proc("glMatrixTranslatefEXT"), + def_glMatrixTranslatefEXT, + ); + fn_glMatrixTranslatedEXT = new Deno.UnsafeFnPointer( + proc("glMatrixTranslatedEXT"), + def_glMatrixTranslatedEXT, + ); + fn_glMatrixFrustumEXT = new Deno.UnsafeFnPointer( + proc("glMatrixFrustumEXT"), + def_glMatrixFrustumEXT, + ); + fn_glMatrixOrthoEXT = new Deno.UnsafeFnPointer( + proc("glMatrixOrthoEXT"), + def_glMatrixOrthoEXT, + ); + fn_glMatrixPopEXT = new Deno.UnsafeFnPointer( + proc("glMatrixPopEXT"), + def_glMatrixPopEXT, + ); + fn_glMatrixPushEXT = new Deno.UnsafeFnPointer( + proc("glMatrixPushEXT"), + def_glMatrixPushEXT, + ); + fn_glClientAttribDefaultEXT = new Deno.UnsafeFnPointer( + proc("glClientAttribDefaultEXT"), + def_glClientAttribDefaultEXT, + ); + fn_glPushClientAttribDefaultEXT = new Deno.UnsafeFnPointer( + proc("glPushClientAttribDefaultEXT"), + def_glPushClientAttribDefaultEXT, + ); + fn_glTextureParameterfEXT = new Deno.UnsafeFnPointer( + proc("glTextureParameterfEXT"), + def_glTextureParameterfEXT, + ); + fn_glTextureParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glTextureParameterfvEXT"), + def_glTextureParameterfvEXT, + ); + fn_glTextureParameteriEXT = new Deno.UnsafeFnPointer( + proc("glTextureParameteriEXT"), + def_glTextureParameteriEXT, + ); + fn_glTextureParameterivEXT = new Deno.UnsafeFnPointer( + proc("glTextureParameterivEXT"), + def_glTextureParameterivEXT, + ); + fn_glTextureImage1DEXT = new Deno.UnsafeFnPointer( + proc("glTextureImage1DEXT"), + def_glTextureImage1DEXT, + ); + fn_glTextureImage2DEXT = new Deno.UnsafeFnPointer( + proc("glTextureImage2DEXT"), + def_glTextureImage2DEXT, + ); + fn_glTextureSubImage1DEXT = new Deno.UnsafeFnPointer( + proc("glTextureSubImage1DEXT"), + def_glTextureSubImage1DEXT, + ); + fn_glTextureSubImage2DEXT = new Deno.UnsafeFnPointer( + proc("glTextureSubImage2DEXT"), + def_glTextureSubImage2DEXT, + ); + fn_glCopyTextureImage1DEXT = new Deno.UnsafeFnPointer( + proc("glCopyTextureImage1DEXT"), + def_glCopyTextureImage1DEXT, + ); + fn_glCopyTextureImage2DEXT = new Deno.UnsafeFnPointer( + proc("glCopyTextureImage2DEXT"), + def_glCopyTextureImage2DEXT, + ); + fn_glCopyTextureSubImage1DEXT = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage1DEXT"), + def_glCopyTextureSubImage1DEXT, + ); + fn_glCopyTextureSubImage2DEXT = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage2DEXT"), + def_glCopyTextureSubImage2DEXT, + ); + fn_glGetTextureImageEXT = new Deno.UnsafeFnPointer( + proc("glGetTextureImageEXT"), + def_glGetTextureImageEXT, + ); + fn_glGetTextureParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterfvEXT"), + def_glGetTextureParameterfvEXT, + ); + fn_glGetTextureParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterivEXT"), + def_glGetTextureParameterivEXT, + ); + fn_glGetTextureLevelParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glGetTextureLevelParameterfvEXT"), + def_glGetTextureLevelParameterfvEXT, + ); + fn_glGetTextureLevelParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetTextureLevelParameterivEXT"), + def_glGetTextureLevelParameterivEXT, + ); + fn_glTextureImage3DEXT = new Deno.UnsafeFnPointer( + proc("glTextureImage3DEXT"), + def_glTextureImage3DEXT, + ); + fn_glTextureSubImage3DEXT = new Deno.UnsafeFnPointer( + proc("glTextureSubImage3DEXT"), + def_glTextureSubImage3DEXT, + ); + fn_glCopyTextureSubImage3DEXT = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage3DEXT"), + def_glCopyTextureSubImage3DEXT, + ); + fn_glBindMultiTextureEXT = new Deno.UnsafeFnPointer( + proc("glBindMultiTextureEXT"), + def_glBindMultiTextureEXT, + ); + fn_glMultiTexCoordPointerEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordPointerEXT"), + def_glMultiTexCoordPointerEXT, + ); + fn_glMultiTexEnvfEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexEnvfEXT"), + def_glMultiTexEnvfEXT, + ); + fn_glMultiTexEnvfvEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexEnvfvEXT"), + def_glMultiTexEnvfvEXT, + ); + fn_glMultiTexEnviEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexEnviEXT"), + def_glMultiTexEnviEXT, + ); + fn_glMultiTexEnvivEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexEnvivEXT"), + def_glMultiTexEnvivEXT, + ); + fn_glMultiTexGendEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexGendEXT"), + def_glMultiTexGendEXT, + ); + fn_glMultiTexGendvEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexGendvEXT"), + def_glMultiTexGendvEXT, + ); + fn_glMultiTexGenfEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexGenfEXT"), + def_glMultiTexGenfEXT, + ); + fn_glMultiTexGenfvEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexGenfvEXT"), + def_glMultiTexGenfvEXT, + ); + fn_glMultiTexGeniEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexGeniEXT"), + def_glMultiTexGeniEXT, + ); + fn_glMultiTexGenivEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexGenivEXT"), + def_glMultiTexGenivEXT, + ); + fn_glGetMultiTexEnvfvEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexEnvfvEXT"), + def_glGetMultiTexEnvfvEXT, + ); + fn_glGetMultiTexEnvivEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexEnvivEXT"), + def_glGetMultiTexEnvivEXT, + ); + fn_glGetMultiTexGendvEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexGendvEXT"), + def_glGetMultiTexGendvEXT, + ); + fn_glGetMultiTexGenfvEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexGenfvEXT"), + def_glGetMultiTexGenfvEXT, + ); + fn_glGetMultiTexGenivEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexGenivEXT"), + def_glGetMultiTexGenivEXT, + ); + fn_glMultiTexParameteriEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexParameteriEXT"), + def_glMultiTexParameteriEXT, + ); + fn_glMultiTexParameterivEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexParameterivEXT"), + def_glMultiTexParameterivEXT, + ); + fn_glMultiTexParameterfEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexParameterfEXT"), + def_glMultiTexParameterfEXT, + ); + fn_glMultiTexParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexParameterfvEXT"), + def_glMultiTexParameterfvEXT, + ); + fn_glMultiTexImage1DEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexImage1DEXT"), + def_glMultiTexImage1DEXT, + ); + fn_glMultiTexImage2DEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexImage2DEXT"), + def_glMultiTexImage2DEXT, + ); + fn_glMultiTexSubImage1DEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexSubImage1DEXT"), + def_glMultiTexSubImage1DEXT, + ); + fn_glMultiTexSubImage2DEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexSubImage2DEXT"), + def_glMultiTexSubImage2DEXT, + ); + fn_glCopyMultiTexImage1DEXT = new Deno.UnsafeFnPointer( + proc("glCopyMultiTexImage1DEXT"), + def_glCopyMultiTexImage1DEXT, + ); + fn_glCopyMultiTexImage2DEXT = new Deno.UnsafeFnPointer( + proc("glCopyMultiTexImage2DEXT"), + def_glCopyMultiTexImage2DEXT, + ); + fn_glCopyMultiTexSubImage1DEXT = new Deno.UnsafeFnPointer( + proc("glCopyMultiTexSubImage1DEXT"), + def_glCopyMultiTexSubImage1DEXT, + ); + fn_glCopyMultiTexSubImage2DEXT = new Deno.UnsafeFnPointer( + proc("glCopyMultiTexSubImage2DEXT"), + def_glCopyMultiTexSubImage2DEXT, + ); + fn_glGetMultiTexImageEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexImageEXT"), + def_glGetMultiTexImageEXT, + ); + fn_glGetMultiTexParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexParameterfvEXT"), + def_glGetMultiTexParameterfvEXT, + ); + fn_glGetMultiTexParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexParameterivEXT"), + def_glGetMultiTexParameterivEXT, + ); + fn_glGetMultiTexLevelParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexLevelParameterfvEXT"), + def_glGetMultiTexLevelParameterfvEXT, + ); + fn_glGetMultiTexLevelParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexLevelParameterivEXT"), + def_glGetMultiTexLevelParameterivEXT, + ); + fn_glMultiTexImage3DEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexImage3DEXT"), + def_glMultiTexImage3DEXT, + ); + fn_glMultiTexSubImage3DEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexSubImage3DEXT"), + def_glMultiTexSubImage3DEXT, + ); + fn_glCopyMultiTexSubImage3DEXT = new Deno.UnsafeFnPointer( + proc("glCopyMultiTexSubImage3DEXT"), + def_glCopyMultiTexSubImage3DEXT, + ); + fn_glEnableClientStateIndexedEXT = new Deno.UnsafeFnPointer( + proc("glEnableClientStateIndexedEXT"), + def_glEnableClientStateIndexedEXT, + ); + fn_glDisableClientStateIndexedEXT = new Deno.UnsafeFnPointer( + proc("glDisableClientStateIndexedEXT"), + def_glDisableClientStateIndexedEXT, + ); + fn_glGetFloatIndexedvEXT = new Deno.UnsafeFnPointer( + proc("glGetFloatIndexedvEXT"), + def_glGetFloatIndexedvEXT, + ); + fn_glGetDoubleIndexedvEXT = new Deno.UnsafeFnPointer( + proc("glGetDoubleIndexedvEXT"), + def_glGetDoubleIndexedvEXT, + ); + fn_glGetPointerIndexedvEXT = new Deno.UnsafeFnPointer( + proc("glGetPointerIndexedvEXT"), + def_glGetPointerIndexedvEXT, + ); + fn_glEnableIndexedEXT = new Deno.UnsafeFnPointer( + proc("glEnableIndexedEXT"), + def_glEnableIndexedEXT, + ); + fn_glDisableIndexedEXT = new Deno.UnsafeFnPointer( + proc("glDisableIndexedEXT"), + def_glDisableIndexedEXT, + ); + fn_glIsEnabledIndexedEXT = new Deno.UnsafeFnPointer( + proc("glIsEnabledIndexedEXT"), + def_glIsEnabledIndexedEXT, + ); + fn_glGetIntegerIndexedvEXT = new Deno.UnsafeFnPointer( + proc("glGetIntegerIndexedvEXT"), + def_glGetIntegerIndexedvEXT, + ); + fn_glGetBooleanIndexedvEXT = new Deno.UnsafeFnPointer( + proc("glGetBooleanIndexedvEXT"), + def_glGetBooleanIndexedvEXT, + ); + fn_glCompressedTextureImage3DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedTextureImage3DEXT"), + def_glCompressedTextureImage3DEXT, + ); + fn_glCompressedTextureImage2DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedTextureImage2DEXT"), + def_glCompressedTextureImage2DEXT, + ); + fn_glCompressedTextureImage1DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedTextureImage1DEXT"), + def_glCompressedTextureImage1DEXT, + ); + fn_glCompressedTextureSubImage3DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage3DEXT"), + def_glCompressedTextureSubImage3DEXT, + ); + fn_glCompressedTextureSubImage2DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage2DEXT"), + def_glCompressedTextureSubImage2DEXT, + ); + fn_glCompressedTextureSubImage1DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage1DEXT"), + def_glCompressedTextureSubImage1DEXT, + ); + fn_glGetCompressedTextureImageEXT = new Deno.UnsafeFnPointer( + proc("glGetCompressedTextureImageEXT"), + def_glGetCompressedTextureImageEXT, + ); + fn_glCompressedMultiTexImage3DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedMultiTexImage3DEXT"), + def_glCompressedMultiTexImage3DEXT, + ); + fn_glCompressedMultiTexImage2DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedMultiTexImage2DEXT"), + def_glCompressedMultiTexImage2DEXT, + ); + fn_glCompressedMultiTexImage1DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedMultiTexImage1DEXT"), + def_glCompressedMultiTexImage1DEXT, + ); + fn_glCompressedMultiTexSubImage3DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedMultiTexSubImage3DEXT"), + def_glCompressedMultiTexSubImage3DEXT, + ); + fn_glCompressedMultiTexSubImage2DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedMultiTexSubImage2DEXT"), + def_glCompressedMultiTexSubImage2DEXT, + ); + fn_glCompressedMultiTexSubImage1DEXT = new Deno.UnsafeFnPointer( + proc("glCompressedMultiTexSubImage1DEXT"), + def_glCompressedMultiTexSubImage1DEXT, + ); + fn_glGetCompressedMultiTexImageEXT = new Deno.UnsafeFnPointer( + proc("glGetCompressedMultiTexImageEXT"), + def_glGetCompressedMultiTexImageEXT, + ); + fn_glMatrixLoadTransposefEXT = new Deno.UnsafeFnPointer( + proc("glMatrixLoadTransposefEXT"), + def_glMatrixLoadTransposefEXT, + ); + fn_glMatrixLoadTransposedEXT = new Deno.UnsafeFnPointer( + proc("glMatrixLoadTransposedEXT"), + def_glMatrixLoadTransposedEXT, + ); + fn_glMatrixMultTransposefEXT = new Deno.UnsafeFnPointer( + proc("glMatrixMultTransposefEXT"), + def_glMatrixMultTransposefEXT, + ); + fn_glMatrixMultTransposedEXT = new Deno.UnsafeFnPointer( + proc("glMatrixMultTransposedEXT"), + def_glMatrixMultTransposedEXT, + ); + fn_glNamedBufferDataEXT = new Deno.UnsafeFnPointer( + proc("glNamedBufferDataEXT"), + def_glNamedBufferDataEXT, + ); + fn_glNamedBufferSubDataEXT = new Deno.UnsafeFnPointer( + proc("glNamedBufferSubDataEXT"), + def_glNamedBufferSubDataEXT, + ); + fn_glMapNamedBufferEXT = new Deno.UnsafeFnPointer( + proc("glMapNamedBufferEXT"), + def_glMapNamedBufferEXT, + ); + fn_glUnmapNamedBufferEXT = new Deno.UnsafeFnPointer( + proc("glUnmapNamedBufferEXT"), + def_glUnmapNamedBufferEXT, + ); + fn_glGetNamedBufferParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferParameterivEXT"), + def_glGetNamedBufferParameterivEXT, + ); + fn_glGetNamedBufferPointervEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferPointervEXT"), + def_glGetNamedBufferPointervEXT, + ); + fn_glGetNamedBufferSubDataEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferSubDataEXT"), + def_glGetNamedBufferSubDataEXT, + ); + fn_glProgramUniform1fEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fEXT"), + def_glProgramUniform1fEXT, + ); + fn_glProgramUniform2fEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fEXT"), + def_glProgramUniform2fEXT, + ); + fn_glProgramUniform3fEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fEXT"), + def_glProgramUniform3fEXT, + ); + fn_glProgramUniform4fEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fEXT"), + def_glProgramUniform4fEXT, + ); + fn_glProgramUniform1iEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1iEXT"), + def_glProgramUniform1iEXT, + ); + fn_glProgramUniform2iEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2iEXT"), + def_glProgramUniform2iEXT, + ); + fn_glProgramUniform3iEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3iEXT"), + def_glProgramUniform3iEXT, + ); + fn_glProgramUniform4iEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4iEXT"), + def_glProgramUniform4iEXT, + ); + fn_glProgramUniform1fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fvEXT"), + def_glProgramUniform1fvEXT, + ); + fn_glProgramUniform2fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fvEXT"), + def_glProgramUniform2fvEXT, + ); + fn_glProgramUniform3fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fvEXT"), + def_glProgramUniform3fvEXT, + ); + fn_glProgramUniform4fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fvEXT"), + def_glProgramUniform4fvEXT, + ); + fn_glProgramUniform1ivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ivEXT"), + def_glProgramUniform1ivEXT, + ); + fn_glProgramUniform2ivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ivEXT"), + def_glProgramUniform2ivEXT, + ); + fn_glProgramUniform3ivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ivEXT"), + def_glProgramUniform3ivEXT, + ); + fn_glProgramUniform4ivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ivEXT"), + def_glProgramUniform4ivEXT, + ); + fn_glProgramUniformMatrix2fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2fvEXT"), + def_glProgramUniformMatrix2fvEXT, + ); + fn_glProgramUniformMatrix3fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3fvEXT"), + def_glProgramUniformMatrix3fvEXT, + ); + fn_glProgramUniformMatrix4fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4fvEXT"), + def_glProgramUniformMatrix4fvEXT, + ); + fn_glProgramUniformMatrix2x3fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3fvEXT"), + def_glProgramUniformMatrix2x3fvEXT, + ); + fn_glProgramUniformMatrix3x2fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2fvEXT"), + def_glProgramUniformMatrix3x2fvEXT, + ); + fn_glProgramUniformMatrix2x4fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4fvEXT"), + def_glProgramUniformMatrix2x4fvEXT, + ); + fn_glProgramUniformMatrix4x2fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2fvEXT"), + def_glProgramUniformMatrix4x2fvEXT, + ); + fn_glProgramUniformMatrix3x4fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4fvEXT"), + def_glProgramUniformMatrix3x4fvEXT, + ); + fn_glProgramUniformMatrix4x3fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3fvEXT"), + def_glProgramUniformMatrix4x3fvEXT, + ); + fn_glTextureBufferEXT = new Deno.UnsafeFnPointer( + proc("glTextureBufferEXT"), + def_glTextureBufferEXT, + ); + fn_glMultiTexBufferEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexBufferEXT"), + def_glMultiTexBufferEXT, + ); + fn_glTextureParameterIivEXT = new Deno.UnsafeFnPointer( + proc("glTextureParameterIivEXT"), + def_glTextureParameterIivEXT, + ); + fn_glTextureParameterIuivEXT = new Deno.UnsafeFnPointer( + proc("glTextureParameterIuivEXT"), + def_glTextureParameterIuivEXT, + ); + fn_glGetTextureParameterIivEXT = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterIivEXT"), + def_glGetTextureParameterIivEXT, + ); + fn_glGetTextureParameterIuivEXT = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterIuivEXT"), + def_glGetTextureParameterIuivEXT, + ); + fn_glMultiTexParameterIivEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexParameterIivEXT"), + def_glMultiTexParameterIivEXT, + ); + fn_glMultiTexParameterIuivEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexParameterIuivEXT"), + def_glMultiTexParameterIuivEXT, + ); + fn_glGetMultiTexParameterIivEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexParameterIivEXT"), + def_glGetMultiTexParameterIivEXT, + ); + fn_glGetMultiTexParameterIuivEXT = new Deno.UnsafeFnPointer( + proc("glGetMultiTexParameterIuivEXT"), + def_glGetMultiTexParameterIuivEXT, + ); + fn_glProgramUniform1uiEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uiEXT"), + def_glProgramUniform1uiEXT, + ); + fn_glProgramUniform2uiEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uiEXT"), + def_glProgramUniform2uiEXT, + ); + fn_glProgramUniform3uiEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uiEXT"), + def_glProgramUniform3uiEXT, + ); + fn_glProgramUniform4uiEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uiEXT"), + def_glProgramUniform4uiEXT, + ); + fn_glProgramUniform1uivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uivEXT"), + def_glProgramUniform1uivEXT, + ); + fn_glProgramUniform2uivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uivEXT"), + def_glProgramUniform2uivEXT, + ); + fn_glProgramUniform3uivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uivEXT"), + def_glProgramUniform3uivEXT, + ); + fn_glProgramUniform4uivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uivEXT"), + def_glProgramUniform4uivEXT, + ); + fn_glNamedProgramLocalParameters4fvEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramLocalParameters4fvEXT"), + def_glNamedProgramLocalParameters4fvEXT, + ); + fn_glNamedProgramLocalParameterI4iEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramLocalParameterI4iEXT"), + def_glNamedProgramLocalParameterI4iEXT, + ); + fn_glNamedProgramLocalParameterI4ivEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramLocalParameterI4ivEXT"), + def_glNamedProgramLocalParameterI4ivEXT, + ); + fn_glNamedProgramLocalParametersI4ivEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramLocalParametersI4ivEXT"), + def_glNamedProgramLocalParametersI4ivEXT, + ); + fn_glNamedProgramLocalParameterI4uiEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramLocalParameterI4uiEXT"), + def_glNamedProgramLocalParameterI4uiEXT, + ); + fn_glNamedProgramLocalParameterI4uivEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramLocalParameterI4uivEXT"), + def_glNamedProgramLocalParameterI4uivEXT, + ); + fn_glNamedProgramLocalParametersI4uivEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramLocalParametersI4uivEXT"), + def_glNamedProgramLocalParametersI4uivEXT, + ); + fn_glGetNamedProgramLocalParameterIivEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedProgramLocalParameterIivEXT"), + def_glGetNamedProgramLocalParameterIivEXT, + ); + fn_glGetNamedProgramLocalParameterIuivEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedProgramLocalParameterIuivEXT"), + def_glGetNamedProgramLocalParameterIuivEXT, + ); + fn_glEnableClientStateiEXT = new Deno.UnsafeFnPointer( + proc("glEnableClientStateiEXT"), + def_glEnableClientStateiEXT, + ); + fn_glDisableClientStateiEXT = new Deno.UnsafeFnPointer( + proc("glDisableClientStateiEXT"), + def_glDisableClientStateiEXT, + ); + fn_glGetFloati_vEXT = new Deno.UnsafeFnPointer( + proc("glGetFloati_vEXT"), + def_glGetFloati_vEXT, + ); + fn_glGetDoublei_vEXT = new Deno.UnsafeFnPointer( + proc("glGetDoublei_vEXT"), + def_glGetDoublei_vEXT, + ); + fn_glGetPointeri_vEXT = new Deno.UnsafeFnPointer( + proc("glGetPointeri_vEXT"), + def_glGetPointeri_vEXT, + ); + fn_glNamedProgramStringEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramStringEXT"), + def_glNamedProgramStringEXT, + ); + fn_glNamedProgramLocalParameter4dEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramLocalParameter4dEXT"), + def_glNamedProgramLocalParameter4dEXT, + ); + fn_glNamedProgramLocalParameter4dvEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramLocalParameter4dvEXT"), + def_glNamedProgramLocalParameter4dvEXT, + ); + fn_glNamedProgramLocalParameter4fEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramLocalParameter4fEXT"), + def_glNamedProgramLocalParameter4fEXT, + ); + fn_glNamedProgramLocalParameter4fvEXT = new Deno.UnsafeFnPointer( + proc("glNamedProgramLocalParameter4fvEXT"), + def_glNamedProgramLocalParameter4fvEXT, + ); + fn_glGetNamedProgramLocalParameterdvEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedProgramLocalParameterdvEXT"), + def_glGetNamedProgramLocalParameterdvEXT, + ); + fn_glGetNamedProgramLocalParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedProgramLocalParameterfvEXT"), + def_glGetNamedProgramLocalParameterfvEXT, + ); + fn_glGetNamedProgramivEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedProgramivEXT"), + def_glGetNamedProgramivEXT, + ); + fn_glGetNamedProgramStringEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedProgramStringEXT"), + def_glGetNamedProgramStringEXT, + ); + fn_glNamedRenderbufferStorageEXT = new Deno.UnsafeFnPointer( + proc("glNamedRenderbufferStorageEXT"), + def_glNamedRenderbufferStorageEXT, + ); + fn_glGetNamedRenderbufferParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedRenderbufferParameterivEXT"), + def_glGetNamedRenderbufferParameterivEXT, + ); + fn_glNamedRenderbufferStorageMultisampleEXT = new Deno.UnsafeFnPointer( + proc("glNamedRenderbufferStorageMultisampleEXT"), + def_glNamedRenderbufferStorageMultisampleEXT, + ); + fn_glNamedRenderbufferStorageMultisampleCoverageEXT = new Deno + .UnsafeFnPointer( + proc("glNamedRenderbufferStorageMultisampleCoverageEXT"), + def_glNamedRenderbufferStorageMultisampleCoverageEXT, + ); + fn_glCheckNamedFramebufferStatusEXT = new Deno.UnsafeFnPointer( + proc("glCheckNamedFramebufferStatusEXT"), + def_glCheckNamedFramebufferStatusEXT, + ); + fn_glNamedFramebufferTexture1DEXT = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTexture1DEXT"), + def_glNamedFramebufferTexture1DEXT, + ); + fn_glNamedFramebufferTexture2DEXT = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTexture2DEXT"), + def_glNamedFramebufferTexture2DEXT, + ); + fn_glNamedFramebufferTexture3DEXT = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTexture3DEXT"), + def_glNamedFramebufferTexture3DEXT, + ); + fn_glNamedFramebufferRenderbufferEXT = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferRenderbufferEXT"), + def_glNamedFramebufferRenderbufferEXT, + ); + fn_glGetNamedFramebufferAttachmentParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedFramebufferAttachmentParameterivEXT"), + def_glGetNamedFramebufferAttachmentParameterivEXT, + ); + fn_glGenerateTextureMipmapEXT = new Deno.UnsafeFnPointer( + proc("glGenerateTextureMipmapEXT"), + def_glGenerateTextureMipmapEXT, + ); + fn_glGenerateMultiTexMipmapEXT = new Deno.UnsafeFnPointer( + proc("glGenerateMultiTexMipmapEXT"), + def_glGenerateMultiTexMipmapEXT, + ); + fn_glFramebufferDrawBufferEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferDrawBufferEXT"), + def_glFramebufferDrawBufferEXT, + ); + fn_glFramebufferDrawBuffersEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferDrawBuffersEXT"), + def_glFramebufferDrawBuffersEXT, + ); + fn_glFramebufferReadBufferEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferReadBufferEXT"), + def_glFramebufferReadBufferEXT, + ); + fn_glGetFramebufferParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetFramebufferParameterivEXT"), + def_glGetFramebufferParameterivEXT, + ); + fn_glNamedCopyBufferSubDataEXT = new Deno.UnsafeFnPointer( + proc("glNamedCopyBufferSubDataEXT"), + def_glNamedCopyBufferSubDataEXT, + ); + fn_glNamedFramebufferTextureEXT = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTextureEXT"), + def_glNamedFramebufferTextureEXT, + ); + fn_glNamedFramebufferTextureLayerEXT = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTextureLayerEXT"), + def_glNamedFramebufferTextureLayerEXT, + ); + fn_glNamedFramebufferTextureFaceEXT = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTextureFaceEXT"), + def_glNamedFramebufferTextureFaceEXT, + ); + fn_glTextureRenderbufferEXT = new Deno.UnsafeFnPointer( + proc("glTextureRenderbufferEXT"), + def_glTextureRenderbufferEXT, + ); + fn_glMultiTexRenderbufferEXT = new Deno.UnsafeFnPointer( + proc("glMultiTexRenderbufferEXT"), + def_glMultiTexRenderbufferEXT, + ); + fn_glVertexArrayVertexOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexOffsetEXT"), + def_glVertexArrayVertexOffsetEXT, + ); + fn_glVertexArrayColorOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayColorOffsetEXT"), + def_glVertexArrayColorOffsetEXT, + ); + fn_glVertexArrayEdgeFlagOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayEdgeFlagOffsetEXT"), + def_glVertexArrayEdgeFlagOffsetEXT, + ); + fn_glVertexArrayIndexOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayIndexOffsetEXT"), + def_glVertexArrayIndexOffsetEXT, + ); + fn_glVertexArrayNormalOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayNormalOffsetEXT"), + def_glVertexArrayNormalOffsetEXT, + ); + fn_glVertexArrayTexCoordOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayTexCoordOffsetEXT"), + def_glVertexArrayTexCoordOffsetEXT, + ); + fn_glVertexArrayMultiTexCoordOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayMultiTexCoordOffsetEXT"), + def_glVertexArrayMultiTexCoordOffsetEXT, + ); + fn_glVertexArrayFogCoordOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayFogCoordOffsetEXT"), + def_glVertexArrayFogCoordOffsetEXT, + ); + fn_glVertexArraySecondaryColorOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArraySecondaryColorOffsetEXT"), + def_glVertexArraySecondaryColorOffsetEXT, + ); + fn_glVertexArrayVertexAttribOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexAttribOffsetEXT"), + def_glVertexArrayVertexAttribOffsetEXT, + ); + fn_glVertexArrayVertexAttribIOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexAttribIOffsetEXT"), + def_glVertexArrayVertexAttribIOffsetEXT, + ); + fn_glEnableVertexArrayEXT = new Deno.UnsafeFnPointer( + proc("glEnableVertexArrayEXT"), + def_glEnableVertexArrayEXT, + ); + fn_glDisableVertexArrayEXT = new Deno.UnsafeFnPointer( + proc("glDisableVertexArrayEXT"), + def_glDisableVertexArrayEXT, + ); + fn_glEnableVertexArrayAttribEXT = new Deno.UnsafeFnPointer( + proc("glEnableVertexArrayAttribEXT"), + def_glEnableVertexArrayAttribEXT, + ); + fn_glDisableVertexArrayAttribEXT = new Deno.UnsafeFnPointer( + proc("glDisableVertexArrayAttribEXT"), + def_glDisableVertexArrayAttribEXT, + ); + fn_glGetVertexArrayIntegervEXT = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayIntegervEXT"), + def_glGetVertexArrayIntegervEXT, + ); + fn_glGetVertexArrayPointervEXT = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayPointervEXT"), + def_glGetVertexArrayPointervEXT, + ); + fn_glGetVertexArrayIntegeri_vEXT = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayIntegeri_vEXT"), + def_glGetVertexArrayIntegeri_vEXT, + ); + fn_glGetVertexArrayPointeri_vEXT = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayPointeri_vEXT"), + def_glGetVertexArrayPointeri_vEXT, + ); + fn_glMapNamedBufferRangeEXT = new Deno.UnsafeFnPointer( + proc("glMapNamedBufferRangeEXT"), + def_glMapNamedBufferRangeEXT, + ); + fn_glFlushMappedNamedBufferRangeEXT = new Deno.UnsafeFnPointer( + proc("glFlushMappedNamedBufferRangeEXT"), + def_glFlushMappedNamedBufferRangeEXT, + ); + fn_glNamedBufferStorageEXT = new Deno.UnsafeFnPointer( + proc("glNamedBufferStorageEXT"), + def_glNamedBufferStorageEXT, + ); + fn_glClearNamedBufferDataEXT = new Deno.UnsafeFnPointer( + proc("glClearNamedBufferDataEXT"), + def_glClearNamedBufferDataEXT, + ); + fn_glClearNamedBufferSubDataEXT = new Deno.UnsafeFnPointer( + proc("glClearNamedBufferSubDataEXT"), + def_glClearNamedBufferSubDataEXT, + ); + fn_glNamedFramebufferParameteriEXT = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferParameteriEXT"), + def_glNamedFramebufferParameteriEXT, + ); + fn_glGetNamedFramebufferParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetNamedFramebufferParameterivEXT"), + def_glGetNamedFramebufferParameterivEXT, + ); + fn_glProgramUniform1dEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1dEXT"), + def_glProgramUniform1dEXT, + ); + fn_glProgramUniform2dEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2dEXT"), + def_glProgramUniform2dEXT, + ); + fn_glProgramUniform3dEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3dEXT"), + def_glProgramUniform3dEXT, + ); + fn_glProgramUniform4dEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4dEXT"), + def_glProgramUniform4dEXT, + ); + fn_glProgramUniform1dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1dvEXT"), + def_glProgramUniform1dvEXT, + ); + fn_glProgramUniform2dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2dvEXT"), + def_glProgramUniform2dvEXT, + ); + fn_glProgramUniform3dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3dvEXT"), + def_glProgramUniform3dvEXT, + ); + fn_glProgramUniform4dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4dvEXT"), + def_glProgramUniform4dvEXT, + ); + fn_glProgramUniformMatrix2dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2dvEXT"), + def_glProgramUniformMatrix2dvEXT, + ); + fn_glProgramUniformMatrix3dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3dvEXT"), + def_glProgramUniformMatrix3dvEXT, + ); + fn_glProgramUniformMatrix4dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4dvEXT"), + def_glProgramUniformMatrix4dvEXT, + ); + fn_glProgramUniformMatrix2x3dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3dvEXT"), + def_glProgramUniformMatrix2x3dvEXT, + ); + fn_glProgramUniformMatrix2x4dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4dvEXT"), + def_glProgramUniformMatrix2x4dvEXT, + ); + fn_glProgramUniformMatrix3x2dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2dvEXT"), + def_glProgramUniformMatrix3x2dvEXT, + ); + fn_glProgramUniformMatrix3x4dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4dvEXT"), + def_glProgramUniformMatrix3x4dvEXT, + ); + fn_glProgramUniformMatrix4x2dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2dvEXT"), + def_glProgramUniformMatrix4x2dvEXT, + ); + fn_glProgramUniformMatrix4x3dvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3dvEXT"), + def_glProgramUniformMatrix4x3dvEXT, + ); + fn_glTextureBufferRangeEXT = new Deno.UnsafeFnPointer( + proc("glTextureBufferRangeEXT"), + def_glTextureBufferRangeEXT, + ); + fn_glTextureStorage1DEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorage1DEXT"), + def_glTextureStorage1DEXT, + ); + fn_glTextureStorage2DEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorage2DEXT"), + def_glTextureStorage2DEXT, + ); + fn_glTextureStorage3DEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorage3DEXT"), + def_glTextureStorage3DEXT, + ); + fn_glTextureStorage2DMultisampleEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorage2DMultisampleEXT"), + def_glTextureStorage2DMultisampleEXT, + ); + fn_glTextureStorage3DMultisampleEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorage3DMultisampleEXT"), + def_glTextureStorage3DMultisampleEXT, + ); + fn_glVertexArrayBindVertexBufferEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayBindVertexBufferEXT"), + def_glVertexArrayBindVertexBufferEXT, + ); + fn_glVertexArrayVertexAttribFormatEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexAttribFormatEXT"), + def_glVertexArrayVertexAttribFormatEXT, + ); + fn_glVertexArrayVertexAttribIFormatEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexAttribIFormatEXT"), + def_glVertexArrayVertexAttribIFormatEXT, + ); + fn_glVertexArrayVertexAttribLFormatEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexAttribLFormatEXT"), + def_glVertexArrayVertexAttribLFormatEXT, + ); + fn_glVertexArrayVertexAttribBindingEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexAttribBindingEXT"), + def_glVertexArrayVertexAttribBindingEXT, + ); + fn_glVertexArrayVertexBindingDivisorEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexBindingDivisorEXT"), + def_glVertexArrayVertexBindingDivisorEXT, + ); + fn_glVertexArrayVertexAttribLOffsetEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexAttribLOffsetEXT"), + def_glVertexArrayVertexAttribLOffsetEXT, + ); + fn_glTexturePageCommitmentEXT = new Deno.UnsafeFnPointer( + proc("glTexturePageCommitmentEXT"), + def_glTexturePageCommitmentEXT, + ); + fn_glVertexArrayVertexAttribDivisorEXT = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexAttribDivisorEXT"), + def_glVertexArrayVertexAttribDivisorEXT, + ); } diff --git a/api/ext/GL_EXT_discard_framebuffer.ts b/api/ext/GL_EXT_discard_framebuffer.ts index 648c97c..8880732 100644 --- a/api/ext/GL_EXT_discard_framebuffer.ts +++ b/api/ext/GL_EXT_discard_framebuffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glDiscardFramebufferEXT = { result: "void", } as const; -let fn_glDiscardFramebufferEXT!: Deno.UnsafeFnPointer; +let fn_glDiscardFramebufferEXT!: Deno.UnsafeFnPointer< + typeof def_glDiscardFramebufferEXT +>; export function DiscardFramebufferEXT( target: GLenum, @@ -87,5 +97,8 @@ export function DiscardFramebufferEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDiscardFramebufferEXT = new Deno.UnsafeFnPointer(proc("glDiscardFramebufferEXT"), def_glDiscardFramebufferEXT); + fn_glDiscardFramebufferEXT = new Deno.UnsafeFnPointer( + proc("glDiscardFramebufferEXT"), + def_glDiscardFramebufferEXT, + ); } diff --git a/api/ext/GL_EXT_disjoint_timer_query.ts b/api/ext/GL_EXT_disjoint_timer_query.ts index 2540602..6ef4340 100644 --- a/api/ext/GL_EXT_disjoint_timer_query.ts +++ b/api/ext/GL_EXT_disjoint_timer_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -192,7 +200,9 @@ export const def_glGetQueryObjectivEXT = { result: "void", } as const; -let fn_glGetQueryObjectivEXT!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectivEXT +>; export function GetQueryObjectivEXT( id: GLuint, @@ -211,7 +221,9 @@ export const def_glGetQueryObjectuivEXT = { result: "void", } as const; -let fn_glGetQueryObjectuivEXT!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuivEXT +>; export function GetQueryObjectuivEXT( id: GLuint, @@ -230,7 +242,9 @@ export const def_glGetQueryObjecti64vEXT = { result: "void", } as const; -let fn_glGetQueryObjecti64vEXT!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjecti64vEXT!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjecti64vEXT +>; export function GetQueryObjecti64vEXT( id: GLuint, @@ -249,7 +263,9 @@ export const def_glGetQueryObjectui64vEXT = { result: "void", } as const; -let fn_glGetQueryObjectui64vEXT!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectui64vEXT!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectui64vEXT +>; export function GetQueryObjectui64vEXT( id: GLuint, @@ -282,16 +298,52 @@ export function GetInteger64vEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGenQueriesEXT = new Deno.UnsafeFnPointer(proc("glGenQueriesEXT"), def_glGenQueriesEXT); - fn_glDeleteQueriesEXT = new Deno.UnsafeFnPointer(proc("glDeleteQueriesEXT"), def_glDeleteQueriesEXT); - fn_glIsQueryEXT = new Deno.UnsafeFnPointer(proc("glIsQueryEXT"), def_glIsQueryEXT); - fn_glBeginQueryEXT = new Deno.UnsafeFnPointer(proc("glBeginQueryEXT"), def_glBeginQueryEXT); - fn_glEndQueryEXT = new Deno.UnsafeFnPointer(proc("glEndQueryEXT"), def_glEndQueryEXT); - fn_glQueryCounterEXT = new Deno.UnsafeFnPointer(proc("glQueryCounterEXT"), def_glQueryCounterEXT); - fn_glGetQueryivEXT = new Deno.UnsafeFnPointer(proc("glGetQueryivEXT"), def_glGetQueryivEXT); - fn_glGetQueryObjectivEXT = new Deno.UnsafeFnPointer(proc("glGetQueryObjectivEXT"), def_glGetQueryObjectivEXT); - fn_glGetQueryObjectuivEXT = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuivEXT"), def_glGetQueryObjectuivEXT); - fn_glGetQueryObjecti64vEXT = new Deno.UnsafeFnPointer(proc("glGetQueryObjecti64vEXT"), def_glGetQueryObjecti64vEXT); - fn_glGetQueryObjectui64vEXT = new Deno.UnsafeFnPointer(proc("glGetQueryObjectui64vEXT"), def_glGetQueryObjectui64vEXT); - fn_glGetInteger64vEXT = new Deno.UnsafeFnPointer(proc("glGetInteger64vEXT"), def_glGetInteger64vEXT); + fn_glGenQueriesEXT = new Deno.UnsafeFnPointer( + proc("glGenQueriesEXT"), + def_glGenQueriesEXT, + ); + fn_glDeleteQueriesEXT = new Deno.UnsafeFnPointer( + proc("glDeleteQueriesEXT"), + def_glDeleteQueriesEXT, + ); + fn_glIsQueryEXT = new Deno.UnsafeFnPointer( + proc("glIsQueryEXT"), + def_glIsQueryEXT, + ); + fn_glBeginQueryEXT = new Deno.UnsafeFnPointer( + proc("glBeginQueryEXT"), + def_glBeginQueryEXT, + ); + fn_glEndQueryEXT = new Deno.UnsafeFnPointer( + proc("glEndQueryEXT"), + def_glEndQueryEXT, + ); + fn_glQueryCounterEXT = new Deno.UnsafeFnPointer( + proc("glQueryCounterEXT"), + def_glQueryCounterEXT, + ); + fn_glGetQueryivEXT = new Deno.UnsafeFnPointer( + proc("glGetQueryivEXT"), + def_glGetQueryivEXT, + ); + fn_glGetQueryObjectivEXT = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectivEXT"), + def_glGetQueryObjectivEXT, + ); + fn_glGetQueryObjectuivEXT = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuivEXT"), + def_glGetQueryObjectuivEXT, + ); + fn_glGetQueryObjecti64vEXT = new Deno.UnsafeFnPointer( + proc("glGetQueryObjecti64vEXT"), + def_glGetQueryObjecti64vEXT, + ); + fn_glGetQueryObjectui64vEXT = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectui64vEXT"), + def_glGetQueryObjectui64vEXT, + ); + fn_glGetInteger64vEXT = new Deno.UnsafeFnPointer( + proc("glGetInteger64vEXT"), + def_glGetInteger64vEXT, + ); } diff --git a/api/ext/GL_EXT_draw_buffers.ts b/api/ext/GL_EXT_draw_buffers.ts index 3670dc4..0ace590 100644 --- a/api/ext/GL_EXT_draw_buffers.ts +++ b/api/ext/GL_EXT_draw_buffers.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -116,5 +124,8 @@ export function DrawBuffersEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawBuffersEXT = new Deno.UnsafeFnPointer(proc("glDrawBuffersEXT"), def_glDrawBuffersEXT); + fn_glDrawBuffersEXT = new Deno.UnsafeFnPointer( + proc("glDrawBuffersEXT"), + def_glDrawBuffersEXT, + ); } diff --git a/api/ext/GL_EXT_draw_buffers2.ts b/api/ext/GL_EXT_draw_buffers2.ts index 2226d2e..77dc04f 100644 --- a/api/ext/GL_EXT_draw_buffers2.ts +++ b/api/ext/GL_EXT_draw_buffers2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glColorMaskIndexedEXT = { result: "void", } as const; -let fn_glColorMaskIndexedEXT!: Deno.UnsafeFnPointer; +let fn_glColorMaskIndexedEXT!: Deno.UnsafeFnPointer< + typeof def_glColorMaskIndexedEXT +>; export function ColorMaskIndexedEXT( index: GLuint, @@ -89,7 +99,9 @@ export const def_glGetBooleanIndexedvEXT = { result: "void", } as const; -let fn_glGetBooleanIndexedvEXT!: Deno.UnsafeFnPointer; +let fn_glGetBooleanIndexedvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetBooleanIndexedvEXT +>; export function GetBooleanIndexedvEXT( target: GLenum, @@ -108,7 +120,9 @@ export const def_glGetIntegerIndexedvEXT = { result: "void", } as const; -let fn_glGetIntegerIndexedvEXT!: Deno.UnsafeFnPointer; +let fn_glGetIntegerIndexedvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetIntegerIndexedvEXT +>; export function GetIntegerIndexedvEXT( target: GLenum, @@ -144,7 +158,9 @@ export const def_glDisableIndexedEXT = { result: "void", } as const; -let fn_glDisableIndexedEXT!: Deno.UnsafeFnPointer; +let fn_glDisableIndexedEXT!: Deno.UnsafeFnPointer< + typeof def_glDisableIndexedEXT +>; export function DisableIndexedEXT( target: GLenum, @@ -161,7 +177,9 @@ export const def_glIsEnabledIndexedEXT = { result: "u8", } as const; -let fn_glIsEnabledIndexedEXT!: Deno.UnsafeFnPointer; +let fn_glIsEnabledIndexedEXT!: Deno.UnsafeFnPointer< + typeof def_glIsEnabledIndexedEXT +>; export function IsEnabledIndexedEXT( target: GLenum, @@ -175,10 +193,28 @@ export function IsEnabledIndexedEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glColorMaskIndexedEXT = new Deno.UnsafeFnPointer(proc("glColorMaskIndexedEXT"), def_glColorMaskIndexedEXT); - fn_glGetBooleanIndexedvEXT = new Deno.UnsafeFnPointer(proc("glGetBooleanIndexedvEXT"), def_glGetBooleanIndexedvEXT); - fn_glGetIntegerIndexedvEXT = new Deno.UnsafeFnPointer(proc("glGetIntegerIndexedvEXT"), def_glGetIntegerIndexedvEXT); - fn_glEnableIndexedEXT = new Deno.UnsafeFnPointer(proc("glEnableIndexedEXT"), def_glEnableIndexedEXT); - fn_glDisableIndexedEXT = new Deno.UnsafeFnPointer(proc("glDisableIndexedEXT"), def_glDisableIndexedEXT); - fn_glIsEnabledIndexedEXT = new Deno.UnsafeFnPointer(proc("glIsEnabledIndexedEXT"), def_glIsEnabledIndexedEXT); + fn_glColorMaskIndexedEXT = new Deno.UnsafeFnPointer( + proc("glColorMaskIndexedEXT"), + def_glColorMaskIndexedEXT, + ); + fn_glGetBooleanIndexedvEXT = new Deno.UnsafeFnPointer( + proc("glGetBooleanIndexedvEXT"), + def_glGetBooleanIndexedvEXT, + ); + fn_glGetIntegerIndexedvEXT = new Deno.UnsafeFnPointer( + proc("glGetIntegerIndexedvEXT"), + def_glGetIntegerIndexedvEXT, + ); + fn_glEnableIndexedEXT = new Deno.UnsafeFnPointer( + proc("glEnableIndexedEXT"), + def_glEnableIndexedEXT, + ); + fn_glDisableIndexedEXT = new Deno.UnsafeFnPointer( + proc("glDisableIndexedEXT"), + def_glDisableIndexedEXT, + ); + fn_glIsEnabledIndexedEXT = new Deno.UnsafeFnPointer( + proc("glIsEnabledIndexedEXT"), + def_glIsEnabledIndexedEXT, + ); } diff --git a/api/ext/GL_EXT_draw_buffers_indexed.ts b/api/ext/GL_EXT_draw_buffers_indexed.ts index 12286a2..df1149c 100644 --- a/api/ext/GL_EXT_draw_buffers_indexed.ts +++ b/api/ext/GL_EXT_draw_buffers_indexed.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -130,7 +138,9 @@ export const def_glBlendEquationiEXT = { result: "void", } as const; -let fn_glBlendEquationiEXT!: Deno.UnsafeFnPointer; +let fn_glBlendEquationiEXT!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationiEXT +>; export function BlendEquationiEXT( buf: GLuint, @@ -147,7 +157,9 @@ export const def_glBlendEquationSeparateiEXT = { result: "void", } as const; -let fn_glBlendEquationSeparateiEXT!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparateiEXT!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparateiEXT +>; export function BlendEquationSeparateiEXT( buf: GLuint, @@ -185,7 +197,9 @@ export const def_glBlendFuncSeparateiEXT = { result: "void", } as const; -let fn_glBlendFuncSeparateiEXT!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparateiEXT!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparateiEXT +>; export function BlendFuncSeparateiEXT( buf: GLuint, @@ -245,12 +259,36 @@ export function IsEnablediEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glEnableiEXT = new Deno.UnsafeFnPointer(proc("glEnableiEXT"), def_glEnableiEXT); - fn_glDisableiEXT = new Deno.UnsafeFnPointer(proc("glDisableiEXT"), def_glDisableiEXT); - fn_glBlendEquationiEXT = new Deno.UnsafeFnPointer(proc("glBlendEquationiEXT"), def_glBlendEquationiEXT); - fn_glBlendEquationSeparateiEXT = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparateiEXT"), def_glBlendEquationSeparateiEXT); - fn_glBlendFunciEXT = new Deno.UnsafeFnPointer(proc("glBlendFunciEXT"), def_glBlendFunciEXT); - fn_glBlendFuncSeparateiEXT = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparateiEXT"), def_glBlendFuncSeparateiEXT); - fn_glColorMaskiEXT = new Deno.UnsafeFnPointer(proc("glColorMaskiEXT"), def_glColorMaskiEXT); - fn_glIsEnablediEXT = new Deno.UnsafeFnPointer(proc("glIsEnablediEXT"), def_glIsEnablediEXT); + fn_glEnableiEXT = new Deno.UnsafeFnPointer( + proc("glEnableiEXT"), + def_glEnableiEXT, + ); + fn_glDisableiEXT = new Deno.UnsafeFnPointer( + proc("glDisableiEXT"), + def_glDisableiEXT, + ); + fn_glBlendEquationiEXT = new Deno.UnsafeFnPointer( + proc("glBlendEquationiEXT"), + def_glBlendEquationiEXT, + ); + fn_glBlendEquationSeparateiEXT = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparateiEXT"), + def_glBlendEquationSeparateiEXT, + ); + fn_glBlendFunciEXT = new Deno.UnsafeFnPointer( + proc("glBlendFunciEXT"), + def_glBlendFunciEXT, + ); + fn_glBlendFuncSeparateiEXT = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparateiEXT"), + def_glBlendFuncSeparateiEXT, + ); + fn_glColorMaskiEXT = new Deno.UnsafeFnPointer( + proc("glColorMaskiEXT"), + def_glColorMaskiEXT, + ); + fn_glIsEnablediEXT = new Deno.UnsafeFnPointer( + proc("glIsEnablediEXT"), + def_glIsEnablediEXT, + ); } diff --git a/api/ext/GL_EXT_draw_elements_base_vertex.ts b/api/ext/GL_EXT_draw_elements_base_vertex.ts index 552bdb4..131c9e4 100644 --- a/api/ext/GL_EXT_draw_elements_base_vertex.ts +++ b/api/ext/GL_EXT_draw_elements_base_vertex.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glDrawElementsBaseVertexEXT = { result: "void", } as const; -let fn_glDrawElementsBaseVertexEXT!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertexEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertexEXT +>; export function DrawElementsBaseVertexEXT( mode: GLenum, @@ -89,7 +99,9 @@ export const def_glDrawRangeElementsBaseVertexEXT = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertexEXT!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertexEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertexEXT +>; export function DrawRangeElementsBaseVertexEXT( mode: GLenum, @@ -116,7 +128,9 @@ export const def_glDrawElementsInstancedBaseVertexEXT = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertexEXT!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertexEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertexEXT +>; export function DrawElementsInstancedBaseVertexEXT( mode: GLenum, @@ -141,7 +155,9 @@ export const def_glMultiDrawElementsBaseVertexEXT = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertexEXT!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertexEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertexEXT +>; export function MultiDrawElementsBaseVertexEXT( mode: GLenum, @@ -163,8 +179,20 @@ export function MultiDrawElementsBaseVertexEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawElementsBaseVertexEXT = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertexEXT"), def_glDrawElementsBaseVertexEXT); - fn_glDrawRangeElementsBaseVertexEXT = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertexEXT"), def_glDrawRangeElementsBaseVertexEXT); - fn_glDrawElementsInstancedBaseVertexEXT = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertexEXT"), def_glDrawElementsInstancedBaseVertexEXT); - fn_glMultiDrawElementsBaseVertexEXT = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertexEXT"), def_glMultiDrawElementsBaseVertexEXT); + fn_glDrawElementsBaseVertexEXT = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertexEXT"), + def_glDrawElementsBaseVertexEXT, + ); + fn_glDrawRangeElementsBaseVertexEXT = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertexEXT"), + def_glDrawRangeElementsBaseVertexEXT, + ); + fn_glDrawElementsInstancedBaseVertexEXT = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertexEXT"), + def_glDrawElementsInstancedBaseVertexEXT, + ); + fn_glMultiDrawElementsBaseVertexEXT = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertexEXT"), + def_glMultiDrawElementsBaseVertexEXT, + ); } diff --git a/api/ext/GL_EXT_draw_instanced.ts b/api/ext/GL_EXT_draw_instanced.ts index 953e96f..f944871 100644 --- a/api/ext/GL_EXT_draw_instanced.ts +++ b/api/ext/GL_EXT_draw_instanced.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glDrawArraysInstancedEXT = { result: "void", } as const; -let fn_glDrawArraysInstancedEXT!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedEXT +>; export function DrawArraysInstancedEXT( mode: GLenum, @@ -87,7 +97,9 @@ export const def_glDrawElementsInstancedEXT = { result: "void", } as const; -let fn_glDrawElementsInstancedEXT!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedEXT +>; export function DrawElementsInstancedEXT( mode: GLenum, @@ -107,6 +119,12 @@ export function DrawElementsInstancedEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawArraysInstancedEXT = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedEXT"), def_glDrawArraysInstancedEXT); - fn_glDrawElementsInstancedEXT = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedEXT"), def_glDrawElementsInstancedEXT); + fn_glDrawArraysInstancedEXT = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedEXT"), + def_glDrawArraysInstancedEXT, + ); + fn_glDrawElementsInstancedEXT = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedEXT"), + def_glDrawElementsInstancedEXT, + ); } diff --git a/api/ext/GL_EXT_draw_range_elements.ts b/api/ext/GL_EXT_draw_range_elements.ts index b149f9b..52bd70a 100644 --- a/api/ext/GL_EXT_draw_range_elements.ts +++ b/api/ext/GL_EXT_draw_range_elements.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glDrawRangeElementsEXT = { result: "void", } as const; -let fn_glDrawRangeElementsEXT!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsEXT +>; export function DrawRangeElementsEXT( mode: GLenum, @@ -92,5 +102,8 @@ export function DrawRangeElementsEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawRangeElementsEXT = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsEXT"), def_glDrawRangeElementsEXT); + fn_glDrawRangeElementsEXT = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsEXT"), + def_glDrawRangeElementsEXT, + ); } diff --git a/api/ext/GL_EXT_draw_transform_feedback.ts b/api/ext/GL_EXT_draw_transform_feedback.ts index ac00045..16bc58a 100644 --- a/api/ext/GL_EXT_draw_transform_feedback.ts +++ b/api/ext/GL_EXT_draw_transform_feedback.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glDrawTransformFeedbackEXT = { result: "void", } as const; -let fn_glDrawTransformFeedbackEXT!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackEXT +>; export function DrawTransformFeedbackEXT( mode: GLenum, @@ -83,7 +93,9 @@ export const def_glDrawTransformFeedbackInstancedEXT = { result: "void", } as const; -let fn_glDrawTransformFeedbackInstancedEXT!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackInstancedEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackInstancedEXT +>; export function DrawTransformFeedbackInstancedEXT( mode: GLenum, @@ -99,6 +111,12 @@ export function DrawTransformFeedbackInstancedEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawTransformFeedbackEXT = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackEXT"), def_glDrawTransformFeedbackEXT); - fn_glDrawTransformFeedbackInstancedEXT = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackInstancedEXT"), def_glDrawTransformFeedbackInstancedEXT); + fn_glDrawTransformFeedbackEXT = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackEXT"), + def_glDrawTransformFeedbackEXT, + ); + fn_glDrawTransformFeedbackInstancedEXT = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackInstancedEXT"), + def_glDrawTransformFeedbackInstancedEXT, + ); } diff --git a/api/ext/GL_EXT_external_buffer.ts b/api/ext/GL_EXT_external_buffer.ts index 21c8d8a..18959ff 100644 --- a/api/ext/GL_EXT_external_buffer.ts +++ b/api/ext/GL_EXT_external_buffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glBufferStorageExternalEXT = { result: "void", } as const; -let fn_glBufferStorageExternalEXT!: Deno.UnsafeFnPointer; +let fn_glBufferStorageExternalEXT!: Deno.UnsafeFnPointer< + typeof def_glBufferStorageExternalEXT +>; export function BufferStorageExternalEXT( target: GLenum, @@ -89,7 +99,9 @@ export const def_glNamedBufferStorageExternalEXT = { result: "void", } as const; -let fn_glNamedBufferStorageExternalEXT!: Deno.UnsafeFnPointer; +let fn_glNamedBufferStorageExternalEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferStorageExternalEXT +>; export function NamedBufferStorageExternalEXT( buffer: GLuint, @@ -109,6 +121,12 @@ export function NamedBufferStorageExternalEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBufferStorageExternalEXT = new Deno.UnsafeFnPointer(proc("glBufferStorageExternalEXT"), def_glBufferStorageExternalEXT); - fn_glNamedBufferStorageExternalEXT = new Deno.UnsafeFnPointer(proc("glNamedBufferStorageExternalEXT"), def_glNamedBufferStorageExternalEXT); + fn_glBufferStorageExternalEXT = new Deno.UnsafeFnPointer( + proc("glBufferStorageExternalEXT"), + def_glBufferStorageExternalEXT, + ); + fn_glNamedBufferStorageExternalEXT = new Deno.UnsafeFnPointer( + proc("glNamedBufferStorageExternalEXT"), + def_glNamedBufferStorageExternalEXT, + ); } diff --git a/api/ext/GL_EXT_float_blend.ts b/api/ext/GL_EXT_float_blend.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_float_blend.ts +++ b/api/ext/GL_EXT_float_blend.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_fog_coord.ts b/api/ext/GL_EXT_fog_coord.ts index 56eee67..0f4d2f6 100644 --- a/api/ext/GL_EXT_fog_coord.ts +++ b/api/ext/GL_EXT_fog_coord.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -136,7 +144,9 @@ export const def_glFogCoordPointerEXT = { result: "void", } as const; -let fn_glFogCoordPointerEXT!: Deno.UnsafeFnPointer; +let fn_glFogCoordPointerEXT!: Deno.UnsafeFnPointer< + typeof def_glFogCoordPointerEXT +>; export function FogCoordPointerEXT( type: GLenum, @@ -152,9 +162,24 @@ export function FogCoordPointerEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFogCoordfEXT = new Deno.UnsafeFnPointer(proc("glFogCoordfEXT"), def_glFogCoordfEXT); - fn_glFogCoordfvEXT = new Deno.UnsafeFnPointer(proc("glFogCoordfvEXT"), def_glFogCoordfvEXT); - fn_glFogCoorddEXT = new Deno.UnsafeFnPointer(proc("glFogCoorddEXT"), def_glFogCoorddEXT); - fn_glFogCoorddvEXT = new Deno.UnsafeFnPointer(proc("glFogCoorddvEXT"), def_glFogCoorddvEXT); - fn_glFogCoordPointerEXT = new Deno.UnsafeFnPointer(proc("glFogCoordPointerEXT"), def_glFogCoordPointerEXT); + fn_glFogCoordfEXT = new Deno.UnsafeFnPointer( + proc("glFogCoordfEXT"), + def_glFogCoordfEXT, + ); + fn_glFogCoordfvEXT = new Deno.UnsafeFnPointer( + proc("glFogCoordfvEXT"), + def_glFogCoordfvEXT, + ); + fn_glFogCoorddEXT = new Deno.UnsafeFnPointer( + proc("glFogCoorddEXT"), + def_glFogCoorddEXT, + ); + fn_glFogCoorddvEXT = new Deno.UnsafeFnPointer( + proc("glFogCoorddvEXT"), + def_glFogCoorddvEXT, + ); + fn_glFogCoordPointerEXT = new Deno.UnsafeFnPointer( + proc("glFogCoordPointerEXT"), + def_glFogCoordPointerEXT, + ); } diff --git a/api/ext/GL_EXT_fragment_shading_rate.ts b/api/ext/GL_EXT_fragment_shading_rate.ts index 06a687b..d09341d 100644 --- a/api/ext/GL_EXT_fragment_shading_rate.ts +++ b/api/ext/GL_EXT_fragment_shading_rate.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -80,11 +88,14 @@ export const MIN_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_WIDTH_EXT = 0x96d7; export const MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_WIDTH_EXT = 0x96d8; export const MIN_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_HEIGHT_EXT = 0x96d9; export const MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_HEIGHT_EXT = 0x96da; -export const MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_ASPECT_RATIO_EXT = 0x96db; +export const MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_ASPECT_RATIO_EXT = + 0x96db; export const MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_LAYERS_EXT = 0x96dc; -export const FRAGMENT_SHADING_RATE_WITH_SHADER_DEPTH_STENCIL_WRITES_SUPPORTED_EXT = 0x96dd; +export const FRAGMENT_SHADING_RATE_WITH_SHADER_DEPTH_STENCIL_WRITES_SUPPORTED_EXT = + 0x96dd; export const FRAGMENT_SHADING_RATE_WITH_SAMPLE_MASK_SUPPORTED_EXT = 0x96de; -export const FRAGMENT_SHADING_RATE_ATTACHMENT_WITH_DEFAULT_FRAMEBUFFER_SUPPORTED_EXT = 0x96df; +export const FRAGMENT_SHADING_RATE_ATTACHMENT_WITH_DEFAULT_FRAMEBUFFER_SUPPORTED_EXT = + 0x96df; export const FRAGMENT_SHADING_RATE_NON_TRIVIAL_COMBINERS_SUPPORTED_EXT = 0x8f6f; /// Commands @@ -94,7 +105,9 @@ export const def_glGetFragmentShadingRatesEXT = { result: "void", } as const; -let fn_glGetFragmentShadingRatesEXT!: Deno.UnsafeFnPointer; +let fn_glGetFragmentShadingRatesEXT!: Deno.UnsafeFnPointer< + typeof def_glGetFragmentShadingRatesEXT +>; export function GetFragmentShadingRatesEXT( samples: GLsizei, @@ -130,7 +143,9 @@ export const def_glShadingRateCombinerOpsEXT = { result: "void", } as const; -let fn_glShadingRateCombinerOpsEXT!: Deno.UnsafeFnPointer; +let fn_glShadingRateCombinerOpsEXT!: Deno.UnsafeFnPointer< + typeof def_glShadingRateCombinerOpsEXT +>; export function ShadingRateCombinerOpsEXT( combinerOp0: GLenum, @@ -147,7 +162,9 @@ export const def_glFramebufferShadingRateEXT = { result: "void", } as const; -let fn_glFramebufferShadingRateEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferShadingRateEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferShadingRateEXT +>; export function FramebufferShadingRateEXT( target: GLenum, @@ -171,8 +188,20 @@ export function FramebufferShadingRateEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetFragmentShadingRatesEXT = new Deno.UnsafeFnPointer(proc("glGetFragmentShadingRatesEXT"), def_glGetFragmentShadingRatesEXT); - fn_glShadingRateEXT = new Deno.UnsafeFnPointer(proc("glShadingRateEXT"), def_glShadingRateEXT); - fn_glShadingRateCombinerOpsEXT = new Deno.UnsafeFnPointer(proc("glShadingRateCombinerOpsEXT"), def_glShadingRateCombinerOpsEXT); - fn_glFramebufferShadingRateEXT = new Deno.UnsafeFnPointer(proc("glFramebufferShadingRateEXT"), def_glFramebufferShadingRateEXT); + fn_glGetFragmentShadingRatesEXT = new Deno.UnsafeFnPointer( + proc("glGetFragmentShadingRatesEXT"), + def_glGetFragmentShadingRatesEXT, + ); + fn_glShadingRateEXT = new Deno.UnsafeFnPointer( + proc("glShadingRateEXT"), + def_glShadingRateEXT, + ); + fn_glShadingRateCombinerOpsEXT = new Deno.UnsafeFnPointer( + proc("glShadingRateCombinerOpsEXT"), + def_glShadingRateCombinerOpsEXT, + ); + fn_glFramebufferShadingRateEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferShadingRateEXT"), + def_glFramebufferShadingRateEXT, + ); } diff --git a/api/ext/GL_EXT_framebuffer_blit.ts b/api/ext/GL_EXT_framebuffer_blit.ts index a4ae2f9..4f6c117 100644 --- a/api/ext/GL_EXT_framebuffer_blit.ts +++ b/api/ext/GL_EXT_framebuffer_blit.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -68,11 +76,24 @@ export const READ_FRAMEBUFFER_BINDING_EXT = 0x8caa; /// Commands export const def_glBlitFramebufferEXT = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; -let fn_glBlitFramebufferEXT!: Deno.UnsafeFnPointer; +let fn_glBlitFramebufferEXT!: Deno.UnsafeFnPointer< + typeof def_glBlitFramebufferEXT +>; export function BlitFramebufferEXT( srcX0: GLint, @@ -102,5 +123,8 @@ export function BlitFramebufferEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlitFramebufferEXT = new Deno.UnsafeFnPointer(proc("glBlitFramebufferEXT"), def_glBlitFramebufferEXT); + fn_glBlitFramebufferEXT = new Deno.UnsafeFnPointer( + proc("glBlitFramebufferEXT"), + def_glBlitFramebufferEXT, + ); } diff --git a/api/ext/GL_EXT_framebuffer_multisample.ts b/api/ext/GL_EXT_framebuffer_multisample.ts index 8ddc62c..ae25f37 100644 --- a/api/ext/GL_EXT_framebuffer_multisample.ts +++ b/api/ext/GL_EXT_framebuffer_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glRenderbufferStorageMultisampleEXT = { result: "void", } as const; -let fn_glRenderbufferStorageMultisampleEXT!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisampleEXT!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisampleEXT +>; export function RenderbufferStorageMultisampleEXT( target: GLenum, @@ -91,5 +101,8 @@ export function RenderbufferStorageMultisampleEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glRenderbufferStorageMultisampleEXT = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisampleEXT"), def_glRenderbufferStorageMultisampleEXT); + fn_glRenderbufferStorageMultisampleEXT = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisampleEXT"), + def_glRenderbufferStorageMultisampleEXT, + ); } diff --git a/api/ext/GL_EXT_framebuffer_multisample_blit_scaled.ts b/api/ext/GL_EXT_framebuffer_multisample_blit_scaled.ts index 87bf949..17caf98 100644 --- a/api/ext/GL_EXT_framebuffer_multisample_blit_scaled.ts +++ b/api/ext/GL_EXT_framebuffer_multisample_blit_scaled.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_framebuffer_object.ts b/api/ext/GL_EXT_framebuffer_object.ts index d6d0fc8..8a9798a 100644 --- a/api/ext/GL_EXT_framebuffer_object.ts +++ b/api/ext/GL_EXT_framebuffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -119,7 +127,9 @@ export const def_glIsRenderbufferEXT = { result: "u8", } as const; -let fn_glIsRenderbufferEXT!: Deno.UnsafeFnPointer; +let fn_glIsRenderbufferEXT!: Deno.UnsafeFnPointer< + typeof def_glIsRenderbufferEXT +>; export function IsRenderbufferEXT( renderbuffer: GLuint, @@ -134,7 +144,9 @@ export const def_glBindRenderbufferEXT = { result: "void", } as const; -let fn_glBindRenderbufferEXT!: Deno.UnsafeFnPointer; +let fn_glBindRenderbufferEXT!: Deno.UnsafeFnPointer< + typeof def_glBindRenderbufferEXT +>; export function BindRenderbufferEXT( target: GLenum, @@ -151,7 +163,9 @@ export const def_glDeleteRenderbuffersEXT = { result: "void", } as const; -let fn_glDeleteRenderbuffersEXT!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffersEXT!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffersEXT +>; export function DeleteRenderbuffersEXT( n: GLsizei, @@ -168,7 +182,9 @@ export const def_glGenRenderbuffersEXT = { result: "void", } as const; -let fn_glGenRenderbuffersEXT!: Deno.UnsafeFnPointer; +let fn_glGenRenderbuffersEXT!: Deno.UnsafeFnPointer< + typeof def_glGenRenderbuffersEXT +>; export function GenRenderbuffersEXT( n: GLsizei, @@ -185,7 +201,9 @@ export const def_glRenderbufferStorageEXT = { result: "void", } as const; -let fn_glRenderbufferStorageEXT!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageEXT!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageEXT +>; export function RenderbufferStorageEXT( target: GLenum, @@ -206,7 +224,9 @@ export const def_glGetRenderbufferParameterivEXT = { result: "void", } as const; -let fn_glGetRenderbufferParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameterivEXT +>; export function GetRenderbufferParameterivEXT( target: GLenum, @@ -240,7 +260,9 @@ export const def_glBindFramebufferEXT = { result: "void", } as const; -let fn_glBindFramebufferEXT!: Deno.UnsafeFnPointer; +let fn_glBindFramebufferEXT!: Deno.UnsafeFnPointer< + typeof def_glBindFramebufferEXT +>; export function BindFramebufferEXT( target: GLenum, @@ -257,7 +279,9 @@ export const def_glDeleteFramebuffersEXT = { result: "void", } as const; -let fn_glDeleteFramebuffersEXT!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffersEXT!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffersEXT +>; export function DeleteFramebuffersEXT( n: GLsizei, @@ -274,7 +298,9 @@ export const def_glGenFramebuffersEXT = { result: "void", } as const; -let fn_glGenFramebuffersEXT!: Deno.UnsafeFnPointer; +let fn_glGenFramebuffersEXT!: Deno.UnsafeFnPointer< + typeof def_glGenFramebuffersEXT +>; export function GenFramebuffersEXT( n: GLsizei, @@ -291,7 +317,9 @@ export const def_glCheckFramebufferStatusEXT = { result: "u32", } as const; -let fn_glCheckFramebufferStatusEXT!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatusEXT!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatusEXT +>; export function CheckFramebufferStatusEXT( target: GLenum, @@ -306,7 +334,9 @@ export const def_glFramebufferTexture1DEXT = { result: "void", } as const; -let fn_glFramebufferTexture1DEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1DEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1DEXT +>; export function FramebufferTexture1DEXT( target: GLenum, @@ -329,7 +359,9 @@ export const def_glFramebufferTexture2DEXT = { result: "void", } as const; -let fn_glFramebufferTexture2DEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2DEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2DEXT +>; export function FramebufferTexture2DEXT( target: GLenum, @@ -352,7 +384,9 @@ export const def_glFramebufferTexture3DEXT = { result: "void", } as const; -let fn_glFramebufferTexture3DEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3DEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3DEXT +>; export function FramebufferTexture3DEXT( target: GLenum, @@ -377,7 +411,9 @@ export const def_glFramebufferRenderbufferEXT = { result: "void", } as const; -let fn_glFramebufferRenderbufferEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbufferEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbufferEXT +>; export function FramebufferRenderbufferEXT( target: GLenum, @@ -398,7 +434,9 @@ export const def_glGetFramebufferAttachmentParameterivEXT = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameterivEXT +>; export function GetFramebufferAttachmentParameterivEXT( target: GLenum, @@ -419,7 +457,9 @@ export const def_glGenerateMipmapEXT = { result: "void", } as const; -let fn_glGenerateMipmapEXT!: Deno.UnsafeFnPointer; +let fn_glGenerateMipmapEXT!: Deno.UnsafeFnPointer< + typeof def_glGenerateMipmapEXT +>; export function GenerateMipmapEXT( target: GLenum, @@ -431,21 +471,72 @@ export function GenerateMipmapEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glIsRenderbufferEXT = new Deno.UnsafeFnPointer(proc("glIsRenderbufferEXT"), def_glIsRenderbufferEXT); - fn_glBindRenderbufferEXT = new Deno.UnsafeFnPointer(proc("glBindRenderbufferEXT"), def_glBindRenderbufferEXT); - fn_glDeleteRenderbuffersEXT = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffersEXT"), def_glDeleteRenderbuffersEXT); - fn_glGenRenderbuffersEXT = new Deno.UnsafeFnPointer(proc("glGenRenderbuffersEXT"), def_glGenRenderbuffersEXT); - fn_glRenderbufferStorageEXT = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageEXT"), def_glRenderbufferStorageEXT); - fn_glGetRenderbufferParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameterivEXT"), def_glGetRenderbufferParameterivEXT); - fn_glIsFramebufferEXT = new Deno.UnsafeFnPointer(proc("glIsFramebufferEXT"), def_glIsFramebufferEXT); - fn_glBindFramebufferEXT = new Deno.UnsafeFnPointer(proc("glBindFramebufferEXT"), def_glBindFramebufferEXT); - fn_glDeleteFramebuffersEXT = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffersEXT"), def_glDeleteFramebuffersEXT); - fn_glGenFramebuffersEXT = new Deno.UnsafeFnPointer(proc("glGenFramebuffersEXT"), def_glGenFramebuffersEXT); - fn_glCheckFramebufferStatusEXT = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatusEXT"), def_glCheckFramebufferStatusEXT); - fn_glFramebufferTexture1DEXT = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1DEXT"), def_glFramebufferTexture1DEXT); - fn_glFramebufferTexture2DEXT = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2DEXT"), def_glFramebufferTexture2DEXT); - fn_glFramebufferTexture3DEXT = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3DEXT"), def_glFramebufferTexture3DEXT); - fn_glFramebufferRenderbufferEXT = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbufferEXT"), def_glFramebufferRenderbufferEXT); - fn_glGetFramebufferAttachmentParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameterivEXT"), def_glGetFramebufferAttachmentParameterivEXT); - fn_glGenerateMipmapEXT = new Deno.UnsafeFnPointer(proc("glGenerateMipmapEXT"), def_glGenerateMipmapEXT); + fn_glIsRenderbufferEXT = new Deno.UnsafeFnPointer( + proc("glIsRenderbufferEXT"), + def_glIsRenderbufferEXT, + ); + fn_glBindRenderbufferEXT = new Deno.UnsafeFnPointer( + proc("glBindRenderbufferEXT"), + def_glBindRenderbufferEXT, + ); + fn_glDeleteRenderbuffersEXT = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffersEXT"), + def_glDeleteRenderbuffersEXT, + ); + fn_glGenRenderbuffersEXT = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffersEXT"), + def_glGenRenderbuffersEXT, + ); + fn_glRenderbufferStorageEXT = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageEXT"), + def_glRenderbufferStorageEXT, + ); + fn_glGetRenderbufferParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameterivEXT"), + def_glGetRenderbufferParameterivEXT, + ); + fn_glIsFramebufferEXT = new Deno.UnsafeFnPointer( + proc("glIsFramebufferEXT"), + def_glIsFramebufferEXT, + ); + fn_glBindFramebufferEXT = new Deno.UnsafeFnPointer( + proc("glBindFramebufferEXT"), + def_glBindFramebufferEXT, + ); + fn_glDeleteFramebuffersEXT = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffersEXT"), + def_glDeleteFramebuffersEXT, + ); + fn_glGenFramebuffersEXT = new Deno.UnsafeFnPointer( + proc("glGenFramebuffersEXT"), + def_glGenFramebuffersEXT, + ); + fn_glCheckFramebufferStatusEXT = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatusEXT"), + def_glCheckFramebufferStatusEXT, + ); + fn_glFramebufferTexture1DEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1DEXT"), + def_glFramebufferTexture1DEXT, + ); + fn_glFramebufferTexture2DEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2DEXT"), + def_glFramebufferTexture2DEXT, + ); + fn_glFramebufferTexture3DEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3DEXT"), + def_glFramebufferTexture3DEXT, + ); + fn_glFramebufferRenderbufferEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbufferEXT"), + def_glFramebufferRenderbufferEXT, + ); + fn_glGetFramebufferAttachmentParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameterivEXT"), + def_glGetFramebufferAttachmentParameterivEXT, + ); + fn_glGenerateMipmapEXT = new Deno.UnsafeFnPointer( + proc("glGenerateMipmapEXT"), + def_glGenerateMipmapEXT, + ); } diff --git a/api/ext/GL_EXT_framebuffer_sRGB.ts b/api/ext/GL_EXT_framebuffer_sRGB.ts index 023cdf8..3ef1e45 100644 --- a/api/ext/GL_EXT_framebuffer_sRGB.ts +++ b/api/ext/GL_EXT_framebuffer_sRGB.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_geometry_point_size.ts b/api/ext/GL_EXT_geometry_point_size.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_geometry_point_size.ts +++ b/api/ext/GL_EXT_geometry_point_size.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_geometry_shader.ts b/api/ext/GL_EXT_geometry_shader.ts index e1c8939..86c1942 100644 --- a/api/ext/GL_EXT_geometry_shader.ts +++ b/api/ext/GL_EXT_geometry_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -101,7 +109,9 @@ export const def_glFramebufferTextureEXT = { result: "void", } as const; -let fn_glFramebufferTextureEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureEXT +>; export function FramebufferTextureEXT( target: GLenum, @@ -119,5 +129,8 @@ export function FramebufferTextureEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferTextureEXT = new Deno.UnsafeFnPointer(proc("glFramebufferTextureEXT"), def_glFramebufferTextureEXT); + fn_glFramebufferTextureEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureEXT"), + def_glFramebufferTextureEXT, + ); } diff --git a/api/ext/GL_EXT_geometry_shader4.ts b/api/ext/GL_EXT_geometry_shader4.ts index 98382e0..c5a54ed 100644 --- a/api/ext/GL_EXT_geometry_shader4.ts +++ b/api/ext/GL_EXT_geometry_shader4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,7 +96,9 @@ export const def_glProgramParameteriEXT = { result: "void", } as const; -let fn_glProgramParameteriEXT!: Deno.UnsafeFnPointer; +let fn_glProgramParameteriEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteriEXT +>; export function ProgramParameteriEXT( program: GLuint, @@ -104,5 +114,8 @@ export function ProgramParameteriEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glProgramParameteriEXT = new Deno.UnsafeFnPointer(proc("glProgramParameteriEXT"), def_glProgramParameteriEXT); + fn_glProgramParameteriEXT = new Deno.UnsafeFnPointer( + proc("glProgramParameteriEXT"), + def_glProgramParameteriEXT, + ); } diff --git a/api/ext/GL_EXT_gpu_program_parameters.ts b/api/ext/GL_EXT_gpu_program_parameters.ts index f680db5..4eab9e5 100644 --- a/api/ext/GL_EXT_gpu_program_parameters.ts +++ b/api/ext/GL_EXT_gpu_program_parameters.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glProgramEnvParameters4fvEXT = { result: "void", } as const; -let fn_glProgramEnvParameters4fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameters4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameters4fvEXT +>; export function ProgramEnvParameters4fvEXT( target: GLenum, @@ -87,7 +97,9 @@ export const def_glProgramLocalParameters4fvEXT = { result: "void", } as const; -let fn_glProgramLocalParameters4fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameters4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameters4fvEXT +>; export function ProgramLocalParameters4fvEXT( target: GLenum, @@ -105,6 +117,12 @@ export function ProgramLocalParameters4fvEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glProgramEnvParameters4fvEXT = new Deno.UnsafeFnPointer(proc("glProgramEnvParameters4fvEXT"), def_glProgramEnvParameters4fvEXT); - fn_glProgramLocalParameters4fvEXT = new Deno.UnsafeFnPointer(proc("glProgramLocalParameters4fvEXT"), def_glProgramLocalParameters4fvEXT); + fn_glProgramEnvParameters4fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameters4fvEXT"), + def_glProgramEnvParameters4fvEXT, + ); + fn_glProgramLocalParameters4fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameters4fvEXT"), + def_glProgramLocalParameters4fvEXT, + ); } diff --git a/api/ext/GL_EXT_gpu_shader4.ts b/api/ext/GL_EXT_gpu_shader4.ts index 17289d9..e104b84 100644 --- a/api/ext/GL_EXT_gpu_shader4.ts +++ b/api/ext/GL_EXT_gpu_shader4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -115,7 +123,9 @@ export const def_glBindFragDataLocationEXT = { result: "void", } as const; -let fn_glBindFragDataLocationEXT!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationEXT!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationEXT +>; export function BindFragDataLocationEXT( program: GLuint, @@ -134,7 +144,9 @@ export const def_glGetFragDataLocationEXT = { result: "i32", } as const; -let fn_glGetFragDataLocationEXT!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocationEXT!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocationEXT +>; export function GetFragDataLocationEXT( program: GLuint, @@ -307,7 +319,9 @@ export const def_glVertexAttribI1iEXT = { result: "void", } as const; -let fn_glVertexAttribI1iEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1iEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1iEXT +>; export function VertexAttribI1iEXT( index: GLuint, @@ -324,7 +338,9 @@ export const def_glVertexAttribI2iEXT = { result: "void", } as const; -let fn_glVertexAttribI2iEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2iEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2iEXT +>; export function VertexAttribI2iEXT( index: GLuint, @@ -343,7 +359,9 @@ export const def_glVertexAttribI3iEXT = { result: "void", } as const; -let fn_glVertexAttribI3iEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3iEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3iEXT +>; export function VertexAttribI3iEXT( index: GLuint, @@ -364,7 +382,9 @@ export const def_glVertexAttribI4iEXT = { result: "void", } as const; -let fn_glVertexAttribI4iEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4iEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4iEXT +>; export function VertexAttribI4iEXT( index: GLuint, @@ -387,7 +407,9 @@ export const def_glVertexAttribI1uiEXT = { result: "void", } as const; -let fn_glVertexAttribI1uiEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiEXT +>; export function VertexAttribI1uiEXT( index: GLuint, @@ -404,7 +426,9 @@ export const def_glVertexAttribI2uiEXT = { result: "void", } as const; -let fn_glVertexAttribI2uiEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiEXT +>; export function VertexAttribI2uiEXT( index: GLuint, @@ -423,7 +447,9 @@ export const def_glVertexAttribI3uiEXT = { result: "void", } as const; -let fn_glVertexAttribI3uiEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiEXT +>; export function VertexAttribI3uiEXT( index: GLuint, @@ -444,7 +470,9 @@ export const def_glVertexAttribI4uiEXT = { result: "void", } as const; -let fn_glVertexAttribI4uiEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiEXT +>; export function VertexAttribI4uiEXT( index: GLuint, @@ -467,7 +495,9 @@ export const def_glVertexAttribI1ivEXT = { result: "void", } as const; -let fn_glVertexAttribI1ivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1ivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1ivEXT +>; export function VertexAttribI1ivEXT( index: GLuint, @@ -484,7 +514,9 @@ export const def_glVertexAttribI2ivEXT = { result: "void", } as const; -let fn_glVertexAttribI2ivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2ivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2ivEXT +>; export function VertexAttribI2ivEXT( index: GLuint, @@ -501,7 +533,9 @@ export const def_glVertexAttribI3ivEXT = { result: "void", } as const; -let fn_glVertexAttribI3ivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3ivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3ivEXT +>; export function VertexAttribI3ivEXT( index: GLuint, @@ -518,7 +552,9 @@ export const def_glVertexAttribI4ivEXT = { result: "void", } as const; -let fn_glVertexAttribI4ivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ivEXT +>; export function VertexAttribI4ivEXT( index: GLuint, @@ -535,7 +571,9 @@ export const def_glVertexAttribI1uivEXT = { result: "void", } as const; -let fn_glVertexAttribI1uivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uivEXT +>; export function VertexAttribI1uivEXT( index: GLuint, @@ -552,7 +590,9 @@ export const def_glVertexAttribI2uivEXT = { result: "void", } as const; -let fn_glVertexAttribI2uivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uivEXT +>; export function VertexAttribI2uivEXT( index: GLuint, @@ -569,7 +609,9 @@ export const def_glVertexAttribI3uivEXT = { result: "void", } as const; -let fn_glVertexAttribI3uivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uivEXT +>; export function VertexAttribI3uivEXT( index: GLuint, @@ -586,7 +628,9 @@ export const def_glVertexAttribI4uivEXT = { result: "void", } as const; -let fn_glVertexAttribI4uivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uivEXT +>; export function VertexAttribI4uivEXT( index: GLuint, @@ -603,7 +647,9 @@ export const def_glVertexAttribI4bvEXT = { result: "void", } as const; -let fn_glVertexAttribI4bvEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4bvEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4bvEXT +>; export function VertexAttribI4bvEXT( index: GLuint, @@ -620,7 +666,9 @@ export const def_glVertexAttribI4svEXT = { result: "void", } as const; -let fn_glVertexAttribI4svEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4svEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4svEXT +>; export function VertexAttribI4svEXT( index: GLuint, @@ -637,7 +685,9 @@ export const def_glVertexAttribI4ubvEXT = { result: "void", } as const; -let fn_glVertexAttribI4ubvEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubvEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubvEXT +>; export function VertexAttribI4ubvEXT( index: GLuint, @@ -654,7 +704,9 @@ export const def_glVertexAttribI4usvEXT = { result: "void", } as const; -let fn_glVertexAttribI4usvEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usvEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usvEXT +>; export function VertexAttribI4usvEXT( index: GLuint, @@ -671,7 +723,9 @@ export const def_glVertexAttribIPointerEXT = { result: "void", } as const; -let fn_glVertexAttribIPointerEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointerEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointerEXT +>; export function VertexAttribIPointerEXT( index: GLuint, @@ -694,7 +748,9 @@ export const def_glGetVertexAttribIivEXT = { result: "void", } as const; -let fn_glGetVertexAttribIivEXT!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIivEXT +>; export function GetVertexAttribIivEXT( index: GLuint, @@ -713,7 +769,9 @@ export const def_glGetVertexAttribIuivEXT = { result: "void", } as const; -let fn_glGetVertexAttribIuivEXT!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuivEXT +>; export function GetVertexAttribIuivEXT( index: GLuint, @@ -729,38 +787,140 @@ export function GetVertexAttribIuivEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetUniformuivEXT = new Deno.UnsafeFnPointer(proc("glGetUniformuivEXT"), def_glGetUniformuivEXT); - fn_glBindFragDataLocationEXT = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationEXT"), def_glBindFragDataLocationEXT); - fn_glGetFragDataLocationEXT = new Deno.UnsafeFnPointer(proc("glGetFragDataLocationEXT"), def_glGetFragDataLocationEXT); - fn_glUniform1uiEXT = new Deno.UnsafeFnPointer(proc("glUniform1uiEXT"), def_glUniform1uiEXT); - fn_glUniform2uiEXT = new Deno.UnsafeFnPointer(proc("glUniform2uiEXT"), def_glUniform2uiEXT); - fn_glUniform3uiEXT = new Deno.UnsafeFnPointer(proc("glUniform3uiEXT"), def_glUniform3uiEXT); - fn_glUniform4uiEXT = new Deno.UnsafeFnPointer(proc("glUniform4uiEXT"), def_glUniform4uiEXT); - fn_glUniform1uivEXT = new Deno.UnsafeFnPointer(proc("glUniform1uivEXT"), def_glUniform1uivEXT); - fn_glUniform2uivEXT = new Deno.UnsafeFnPointer(proc("glUniform2uivEXT"), def_glUniform2uivEXT); - fn_glUniform3uivEXT = new Deno.UnsafeFnPointer(proc("glUniform3uivEXT"), def_glUniform3uivEXT); - fn_glUniform4uivEXT = new Deno.UnsafeFnPointer(proc("glUniform4uivEXT"), def_glUniform4uivEXT); - fn_glVertexAttribI1iEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iEXT"), def_glVertexAttribI1iEXT); - fn_glVertexAttribI2iEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iEXT"), def_glVertexAttribI2iEXT); - fn_glVertexAttribI3iEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iEXT"), def_glVertexAttribI3iEXT); - fn_glVertexAttribI4iEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iEXT"), def_glVertexAttribI4iEXT); - fn_glVertexAttribI1uiEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiEXT"), def_glVertexAttribI1uiEXT); - fn_glVertexAttribI2uiEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiEXT"), def_glVertexAttribI2uiEXT); - fn_glVertexAttribI3uiEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiEXT"), def_glVertexAttribI3uiEXT); - fn_glVertexAttribI4uiEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiEXT"), def_glVertexAttribI4uiEXT); - fn_glVertexAttribI1ivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ivEXT"), def_glVertexAttribI1ivEXT); - fn_glVertexAttribI2ivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ivEXT"), def_glVertexAttribI2ivEXT); - fn_glVertexAttribI3ivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ivEXT"), def_glVertexAttribI3ivEXT); - fn_glVertexAttribI4ivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ivEXT"), def_glVertexAttribI4ivEXT); - fn_glVertexAttribI1uivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uivEXT"), def_glVertexAttribI1uivEXT); - fn_glVertexAttribI2uivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uivEXT"), def_glVertexAttribI2uivEXT); - fn_glVertexAttribI3uivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uivEXT"), def_glVertexAttribI3uivEXT); - fn_glVertexAttribI4uivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uivEXT"), def_glVertexAttribI4uivEXT); - fn_glVertexAttribI4bvEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bvEXT"), def_glVertexAttribI4bvEXT); - fn_glVertexAttribI4svEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4svEXT"), def_glVertexAttribI4svEXT); - fn_glVertexAttribI4ubvEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubvEXT"), def_glVertexAttribI4ubvEXT); - fn_glVertexAttribI4usvEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usvEXT"), def_glVertexAttribI4usvEXT); - fn_glVertexAttribIPointerEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointerEXT"), def_glVertexAttribIPointerEXT); - fn_glGetVertexAttribIivEXT = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIivEXT"), def_glGetVertexAttribIivEXT); - fn_glGetVertexAttribIuivEXT = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuivEXT"), def_glGetVertexAttribIuivEXT); + fn_glGetUniformuivEXT = new Deno.UnsafeFnPointer( + proc("glGetUniformuivEXT"), + def_glGetUniformuivEXT, + ); + fn_glBindFragDataLocationEXT = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationEXT"), + def_glBindFragDataLocationEXT, + ); + fn_glGetFragDataLocationEXT = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocationEXT"), + def_glGetFragDataLocationEXT, + ); + fn_glUniform1uiEXT = new Deno.UnsafeFnPointer( + proc("glUniform1uiEXT"), + def_glUniform1uiEXT, + ); + fn_glUniform2uiEXT = new Deno.UnsafeFnPointer( + proc("glUniform2uiEXT"), + def_glUniform2uiEXT, + ); + fn_glUniform3uiEXT = new Deno.UnsafeFnPointer( + proc("glUniform3uiEXT"), + def_glUniform3uiEXT, + ); + fn_glUniform4uiEXT = new Deno.UnsafeFnPointer( + proc("glUniform4uiEXT"), + def_glUniform4uiEXT, + ); + fn_glUniform1uivEXT = new Deno.UnsafeFnPointer( + proc("glUniform1uivEXT"), + def_glUniform1uivEXT, + ); + fn_glUniform2uivEXT = new Deno.UnsafeFnPointer( + proc("glUniform2uivEXT"), + def_glUniform2uivEXT, + ); + fn_glUniform3uivEXT = new Deno.UnsafeFnPointer( + proc("glUniform3uivEXT"), + def_glUniform3uivEXT, + ); + fn_glUniform4uivEXT = new Deno.UnsafeFnPointer( + proc("glUniform4uivEXT"), + def_glUniform4uivEXT, + ); + fn_glVertexAttribI1iEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iEXT"), + def_glVertexAttribI1iEXT, + ); + fn_glVertexAttribI2iEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iEXT"), + def_glVertexAttribI2iEXT, + ); + fn_glVertexAttribI3iEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iEXT"), + def_glVertexAttribI3iEXT, + ); + fn_glVertexAttribI4iEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iEXT"), + def_glVertexAttribI4iEXT, + ); + fn_glVertexAttribI1uiEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiEXT"), + def_glVertexAttribI1uiEXT, + ); + fn_glVertexAttribI2uiEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiEXT"), + def_glVertexAttribI2uiEXT, + ); + fn_glVertexAttribI3uiEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiEXT"), + def_glVertexAttribI3uiEXT, + ); + fn_glVertexAttribI4uiEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiEXT"), + def_glVertexAttribI4uiEXT, + ); + fn_glVertexAttribI1ivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ivEXT"), + def_glVertexAttribI1ivEXT, + ); + fn_glVertexAttribI2ivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ivEXT"), + def_glVertexAttribI2ivEXT, + ); + fn_glVertexAttribI3ivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ivEXT"), + def_glVertexAttribI3ivEXT, + ); + fn_glVertexAttribI4ivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ivEXT"), + def_glVertexAttribI4ivEXT, + ); + fn_glVertexAttribI1uivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uivEXT"), + def_glVertexAttribI1uivEXT, + ); + fn_glVertexAttribI2uivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uivEXT"), + def_glVertexAttribI2uivEXT, + ); + fn_glVertexAttribI3uivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uivEXT"), + def_glVertexAttribI3uivEXT, + ); + fn_glVertexAttribI4uivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uivEXT"), + def_glVertexAttribI4uivEXT, + ); + fn_glVertexAttribI4bvEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bvEXT"), + def_glVertexAttribI4bvEXT, + ); + fn_glVertexAttribI4svEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4svEXT"), + def_glVertexAttribI4svEXT, + ); + fn_glVertexAttribI4ubvEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubvEXT"), + def_glVertexAttribI4ubvEXT, + ); + fn_glVertexAttribI4usvEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usvEXT"), + def_glVertexAttribI4usvEXT, + ); + fn_glVertexAttribIPointerEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointerEXT"), + def_glVertexAttribIPointerEXT, + ); + fn_glGetVertexAttribIivEXT = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIivEXT"), + def_glGetVertexAttribIivEXT, + ); + fn_glGetVertexAttribIuivEXT = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuivEXT"), + def_glGetVertexAttribIuivEXT, + ); } diff --git a/api/ext/GL_EXT_gpu_shader5.ts b/api/ext/GL_EXT_gpu_shader5.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_gpu_shader5.ts +++ b/api/ext/GL_EXT_gpu_shader5.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_histogram.ts b/api/ext/GL_EXT_histogram.ts index 9a2fa76..433a2d5 100644 --- a/api/ext/GL_EXT_histogram.ts +++ b/api/ext/GL_EXT_histogram.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -105,7 +113,9 @@ export const def_glGetHistogramParameterfvEXT = { result: "void", } as const; -let fn_glGetHistogramParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetHistogramParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetHistogramParameterfvEXT +>; export function GetHistogramParameterfvEXT( target: GLenum, @@ -124,7 +134,9 @@ export const def_glGetHistogramParameterivEXT = { result: "void", } as const; -let fn_glGetHistogramParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetHistogramParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetHistogramParameterivEXT +>; export function GetHistogramParameterivEXT( target: GLenum, @@ -166,7 +178,9 @@ export const def_glGetMinmaxParameterfvEXT = { result: "void", } as const; -let fn_glGetMinmaxParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetMinmaxParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMinmaxParameterfvEXT +>; export function GetMinmaxParameterfvEXT( target: GLenum, @@ -185,7 +199,9 @@ export const def_glGetMinmaxParameterivEXT = { result: "void", } as const; -let fn_glGetMinmaxParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetMinmaxParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMinmaxParameterivEXT +>; export function GetMinmaxParameterivEXT( target: GLenum, @@ -244,7 +260,9 @@ export const def_glResetHistogramEXT = { result: "void", } as const; -let fn_glResetHistogramEXT!: Deno.UnsafeFnPointer; +let fn_glResetHistogramEXT!: Deno.UnsafeFnPointer< + typeof def_glResetHistogramEXT +>; export function ResetHistogramEXT( target: GLenum, @@ -271,14 +289,44 @@ export function ResetMinmaxEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetHistogramEXT = new Deno.UnsafeFnPointer(proc("glGetHistogramEXT"), def_glGetHistogramEXT); - fn_glGetHistogramParameterfvEXT = new Deno.UnsafeFnPointer(proc("glGetHistogramParameterfvEXT"), def_glGetHistogramParameterfvEXT); - fn_glGetHistogramParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetHistogramParameterivEXT"), def_glGetHistogramParameterivEXT); - fn_glGetMinmaxEXT = new Deno.UnsafeFnPointer(proc("glGetMinmaxEXT"), def_glGetMinmaxEXT); - fn_glGetMinmaxParameterfvEXT = new Deno.UnsafeFnPointer(proc("glGetMinmaxParameterfvEXT"), def_glGetMinmaxParameterfvEXT); - fn_glGetMinmaxParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetMinmaxParameterivEXT"), def_glGetMinmaxParameterivEXT); - fn_glHistogramEXT = new Deno.UnsafeFnPointer(proc("glHistogramEXT"), def_glHistogramEXT); - fn_glMinmaxEXT = new Deno.UnsafeFnPointer(proc("glMinmaxEXT"), def_glMinmaxEXT); - fn_glResetHistogramEXT = new Deno.UnsafeFnPointer(proc("glResetHistogramEXT"), def_glResetHistogramEXT); - fn_glResetMinmaxEXT = new Deno.UnsafeFnPointer(proc("glResetMinmaxEXT"), def_glResetMinmaxEXT); + fn_glGetHistogramEXT = new Deno.UnsafeFnPointer( + proc("glGetHistogramEXT"), + def_glGetHistogramEXT, + ); + fn_glGetHistogramParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glGetHistogramParameterfvEXT"), + def_glGetHistogramParameterfvEXT, + ); + fn_glGetHistogramParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetHistogramParameterivEXT"), + def_glGetHistogramParameterivEXT, + ); + fn_glGetMinmaxEXT = new Deno.UnsafeFnPointer( + proc("glGetMinmaxEXT"), + def_glGetMinmaxEXT, + ); + fn_glGetMinmaxParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glGetMinmaxParameterfvEXT"), + def_glGetMinmaxParameterfvEXT, + ); + fn_glGetMinmaxParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetMinmaxParameterivEXT"), + def_glGetMinmaxParameterivEXT, + ); + fn_glHistogramEXT = new Deno.UnsafeFnPointer( + proc("glHistogramEXT"), + def_glHistogramEXT, + ); + fn_glMinmaxEXT = new Deno.UnsafeFnPointer( + proc("glMinmaxEXT"), + def_glMinmaxEXT, + ); + fn_glResetHistogramEXT = new Deno.UnsafeFnPointer( + proc("glResetHistogramEXT"), + def_glResetHistogramEXT, + ); + fn_glResetMinmaxEXT = new Deno.UnsafeFnPointer( + proc("glResetMinmaxEXT"), + def_glResetMinmaxEXT, + ); } diff --git a/api/ext/GL_EXT_index_array_formats.ts b/api/ext/GL_EXT_index_array_formats.ts index 9788651..b327c31 100644 --- a/api/ext/GL_EXT_index_array_formats.ts +++ b/api/ext/GL_EXT_index_array_formats.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_index_func.ts b/api/ext/GL_EXT_index_func.ts index fb38c76..2dd990e 100644 --- a/api/ext/GL_EXT_index_func.ts +++ b/api/ext/GL_EXT_index_func.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -85,5 +93,8 @@ export function IndexFuncEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glIndexFuncEXT = new Deno.UnsafeFnPointer(proc("glIndexFuncEXT"), def_glIndexFuncEXT); + fn_glIndexFuncEXT = new Deno.UnsafeFnPointer( + proc("glIndexFuncEXT"), + def_glIndexFuncEXT, + ); } diff --git a/api/ext/GL_EXT_index_material.ts b/api/ext/GL_EXT_index_material.ts index c0dd987..47c1aad 100644 --- a/api/ext/GL_EXT_index_material.ts +++ b/api/ext/GL_EXT_index_material.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -85,5 +93,8 @@ export function IndexMaterialEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glIndexMaterialEXT = new Deno.UnsafeFnPointer(proc("glIndexMaterialEXT"), def_glIndexMaterialEXT); + fn_glIndexMaterialEXT = new Deno.UnsafeFnPointer( + proc("glIndexMaterialEXT"), + def_glIndexMaterialEXT, + ); } diff --git a/api/ext/GL_EXT_index_texture.ts b/api/ext/GL_EXT_index_texture.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_index_texture.ts +++ b/api/ext/GL_EXT_index_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_instanced_arrays.ts b/api/ext/GL_EXT_instanced_arrays.ts index 83ad7e5..7dea0c9 100644 --- a/api/ext/GL_EXT_instanced_arrays.ts +++ b/api/ext/GL_EXT_instanced_arrays.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glDrawArraysInstancedEXT = { result: "void", } as const; -let fn_glDrawArraysInstancedEXT!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedEXT +>; export function DrawArraysInstancedEXT( mode: GLenum, @@ -90,7 +100,9 @@ export const def_glDrawElementsInstancedEXT = { result: "void", } as const; -let fn_glDrawElementsInstancedEXT!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedEXT +>; export function DrawElementsInstancedEXT( mode: GLenum, @@ -113,7 +125,9 @@ export const def_glVertexAttribDivisorEXT = { result: "void", } as const; -let fn_glVertexAttribDivisorEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisorEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisorEXT +>; export function VertexAttribDivisorEXT( index: GLuint, @@ -127,7 +141,16 @@ export function VertexAttribDivisorEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawArraysInstancedEXT = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedEXT"), def_glDrawArraysInstancedEXT); - fn_glDrawElementsInstancedEXT = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedEXT"), def_glDrawElementsInstancedEXT); - fn_glVertexAttribDivisorEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisorEXT"), def_glVertexAttribDivisorEXT); + fn_glDrawArraysInstancedEXT = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedEXT"), + def_glDrawArraysInstancedEXT, + ); + fn_glDrawElementsInstancedEXT = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedEXT"), + def_glDrawElementsInstancedEXT, + ); + fn_glVertexAttribDivisorEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisorEXT"), + def_glVertexAttribDivisorEXT, + ); } diff --git a/api/ext/GL_EXT_light_texture.ts b/api/ext/GL_EXT_light_texture.ts index 9783c70..a99f381 100644 --- a/api/ext/GL_EXT_light_texture.ts +++ b/api/ext/GL_EXT_light_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -108,7 +116,9 @@ export const def_glTextureMaterialEXT = { result: "void", } as const; -let fn_glTextureMaterialEXT!: Deno.UnsafeFnPointer; +let fn_glTextureMaterialEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureMaterialEXT +>; export function TextureMaterialEXT( face: GLenum, @@ -122,7 +132,16 @@ export function TextureMaterialEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glApplyTextureEXT = new Deno.UnsafeFnPointer(proc("glApplyTextureEXT"), def_glApplyTextureEXT); - fn_glTextureLightEXT = new Deno.UnsafeFnPointer(proc("glTextureLightEXT"), def_glTextureLightEXT); - fn_glTextureMaterialEXT = new Deno.UnsafeFnPointer(proc("glTextureMaterialEXT"), def_glTextureMaterialEXT); + fn_glApplyTextureEXT = new Deno.UnsafeFnPointer( + proc("glApplyTextureEXT"), + def_glApplyTextureEXT, + ); + fn_glTextureLightEXT = new Deno.UnsafeFnPointer( + proc("glTextureLightEXT"), + def_glTextureLightEXT, + ); + fn_glTextureMaterialEXT = new Deno.UnsafeFnPointer( + proc("glTextureMaterialEXT"), + def_glTextureMaterialEXT, + ); } diff --git a/api/ext/GL_EXT_map_buffer_range.ts b/api/ext/GL_EXT_map_buffer_range.ts index 39f8f0d..c9c9804 100644 --- a/api/ext/GL_EXT_map_buffer_range.ts +++ b/api/ext/GL_EXT_map_buffer_range.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,7 +82,9 @@ export const def_glMapBufferRangeEXT = { result: "buffer", } as const; -let fn_glMapBufferRangeEXT!: Deno.UnsafeFnPointer; +let fn_glMapBufferRangeEXT!: Deno.UnsafeFnPointer< + typeof def_glMapBufferRangeEXT +>; export function MapBufferRangeEXT( target: GLenum, @@ -95,7 +105,9 @@ export const def_glFlushMappedBufferRangeEXT = { result: "void", } as const; -let fn_glFlushMappedBufferRangeEXT!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRangeEXT!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRangeEXT +>; export function FlushMappedBufferRangeEXT( target: GLenum, @@ -111,6 +123,12 @@ export function FlushMappedBufferRangeEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMapBufferRangeEXT = new Deno.UnsafeFnPointer(proc("glMapBufferRangeEXT"), def_glMapBufferRangeEXT); - fn_glFlushMappedBufferRangeEXT = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRangeEXT"), def_glFlushMappedBufferRangeEXT); + fn_glMapBufferRangeEXT = new Deno.UnsafeFnPointer( + proc("glMapBufferRangeEXT"), + def_glMapBufferRangeEXT, + ); + fn_glFlushMappedBufferRangeEXT = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRangeEXT"), + def_glFlushMappedBufferRangeEXT, + ); } diff --git a/api/ext/GL_EXT_memory_object.ts b/api/ext/GL_EXT_memory_object.ts index 19c6a99..0638c49 100644 --- a/api/ext/GL_EXT_memory_object.ts +++ b/api/ext/GL_EXT_memory_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -79,7 +87,9 @@ export const def_glGetUnsignedBytevEXT = { result: "void", } as const; -let fn_glGetUnsignedBytevEXT!: Deno.UnsafeFnPointer; +let fn_glGetUnsignedBytevEXT!: Deno.UnsafeFnPointer< + typeof def_glGetUnsignedBytevEXT +>; export function GetUnsignedBytevEXT( pname: GLenum, @@ -96,7 +106,9 @@ export const def_glGetUnsignedBytei_vEXT = { result: "void", } as const; -let fn_glGetUnsignedBytei_vEXT!: Deno.UnsafeFnPointer; +let fn_glGetUnsignedBytei_vEXT!: Deno.UnsafeFnPointer< + typeof def_glGetUnsignedBytei_vEXT +>; export function GetUnsignedBytei_vEXT( target: GLenum, @@ -115,7 +127,9 @@ export const def_glDeleteMemoryObjectsEXT = { result: "void", } as const; -let fn_glDeleteMemoryObjectsEXT!: Deno.UnsafeFnPointer; +let fn_glDeleteMemoryObjectsEXT!: Deno.UnsafeFnPointer< + typeof def_glDeleteMemoryObjectsEXT +>; export function DeleteMemoryObjectsEXT( n: GLsizei, @@ -132,7 +146,9 @@ export const def_glIsMemoryObjectEXT = { result: "u8", } as const; -let fn_glIsMemoryObjectEXT!: Deno.UnsafeFnPointer; +let fn_glIsMemoryObjectEXT!: Deno.UnsafeFnPointer< + typeof def_glIsMemoryObjectEXT +>; export function IsMemoryObjectEXT( memoryObject: GLuint, @@ -147,7 +163,9 @@ export const def_glCreateMemoryObjectsEXT = { result: "void", } as const; -let fn_glCreateMemoryObjectsEXT!: Deno.UnsafeFnPointer; +let fn_glCreateMemoryObjectsEXT!: Deno.UnsafeFnPointer< + typeof def_glCreateMemoryObjectsEXT +>; export function CreateMemoryObjectsEXT( n: GLsizei, @@ -164,7 +182,9 @@ export const def_glMemoryObjectParameterivEXT = { result: "void", } as const; -let fn_glMemoryObjectParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glMemoryObjectParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glMemoryObjectParameterivEXT +>; export function MemoryObjectParameterivEXT( memoryObject: GLuint, @@ -183,7 +203,9 @@ export const def_glGetMemoryObjectParameterivEXT = { result: "void", } as const; -let fn_glGetMemoryObjectParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetMemoryObjectParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetMemoryObjectParameterivEXT +>; export function GetMemoryObjectParameterivEXT( memoryObject: GLuint, @@ -202,7 +224,9 @@ export const def_glTexStorageMem2DEXT = { result: "void", } as const; -let fn_glTexStorageMem2DEXT!: Deno.UnsafeFnPointer; +let fn_glTexStorageMem2DEXT!: Deno.UnsafeFnPointer< + typeof def_glTexStorageMem2DEXT +>; export function TexStorageMem2DEXT( target: GLenum, @@ -229,7 +253,9 @@ export const def_glTexStorageMem2DMultisampleEXT = { result: "void", } as const; -let fn_glTexStorageMem2DMultisampleEXT!: Deno.UnsafeFnPointer; +let fn_glTexStorageMem2DMultisampleEXT!: Deno.UnsafeFnPointer< + typeof def_glTexStorageMem2DMultisampleEXT +>; export function TexStorageMem2DMultisampleEXT( target: GLenum, @@ -258,7 +284,9 @@ export const def_glTexStorageMem3DEXT = { result: "void", } as const; -let fn_glTexStorageMem3DEXT!: Deno.UnsafeFnPointer; +let fn_glTexStorageMem3DEXT!: Deno.UnsafeFnPointer< + typeof def_glTexStorageMem3DEXT +>; export function TexStorageMem3DEXT( target: GLenum, @@ -287,7 +315,9 @@ export const def_glTexStorageMem3DMultisampleEXT = { result: "void", } as const; -let fn_glTexStorageMem3DMultisampleEXT!: Deno.UnsafeFnPointer; +let fn_glTexStorageMem3DMultisampleEXT!: Deno.UnsafeFnPointer< + typeof def_glTexStorageMem3DMultisampleEXT +>; export function TexStorageMem3DMultisampleEXT( target: GLenum, @@ -318,7 +348,9 @@ export const def_glBufferStorageMemEXT = { result: "void", } as const; -let fn_glBufferStorageMemEXT!: Deno.UnsafeFnPointer; +let fn_glBufferStorageMemEXT!: Deno.UnsafeFnPointer< + typeof def_glBufferStorageMemEXT +>; export function BufferStorageMemEXT( target: GLenum, @@ -339,7 +371,9 @@ export const def_glTextureStorageMem2DEXT = { result: "void", } as const; -let fn_glTextureStorageMem2DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorageMem2DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorageMem2DEXT +>; export function TextureStorageMem2DEXT( texture: GLuint, @@ -366,7 +400,9 @@ export const def_glTextureStorageMem2DMultisampleEXT = { result: "void", } as const; -let fn_glTextureStorageMem2DMultisampleEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorageMem2DMultisampleEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorageMem2DMultisampleEXT +>; export function TextureStorageMem2DMultisampleEXT( texture: GLuint, @@ -395,7 +431,9 @@ export const def_glTextureStorageMem3DEXT = { result: "void", } as const; -let fn_glTextureStorageMem3DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorageMem3DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorageMem3DEXT +>; export function TextureStorageMem3DEXT( texture: GLuint, @@ -424,7 +462,9 @@ export const def_glTextureStorageMem3DMultisampleEXT = { result: "void", } as const; -let fn_glTextureStorageMem3DMultisampleEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorageMem3DMultisampleEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorageMem3DMultisampleEXT +>; export function TextureStorageMem3DMultisampleEXT( texture: GLuint, @@ -455,7 +495,9 @@ export const def_glNamedBufferStorageMemEXT = { result: "void", } as const; -let fn_glNamedBufferStorageMemEXT!: Deno.UnsafeFnPointer; +let fn_glNamedBufferStorageMemEXT!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferStorageMemEXT +>; export function NamedBufferStorageMemEXT( buffer: GLuint, @@ -476,7 +518,9 @@ export const def_glTexStorageMem1DEXT = { result: "void", } as const; -let fn_glTexStorageMem1DEXT!: Deno.UnsafeFnPointer; +let fn_glTexStorageMem1DEXT!: Deno.UnsafeFnPointer< + typeof def_glTexStorageMem1DEXT +>; export function TexStorageMem1DEXT( target: GLenum, @@ -501,7 +545,9 @@ export const def_glTextureStorageMem1DEXT = { result: "void", } as const; -let fn_glTextureStorageMem1DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorageMem1DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorageMem1DEXT +>; export function TextureStorageMem1DEXT( texture: GLuint, @@ -523,23 +569,80 @@ export function TextureStorageMem1DEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetUnsignedBytevEXT = new Deno.UnsafeFnPointer(proc("glGetUnsignedBytevEXT"), def_glGetUnsignedBytevEXT); - fn_glGetUnsignedBytei_vEXT = new Deno.UnsafeFnPointer(proc("glGetUnsignedBytei_vEXT"), def_glGetUnsignedBytei_vEXT); - fn_glDeleteMemoryObjectsEXT = new Deno.UnsafeFnPointer(proc("glDeleteMemoryObjectsEXT"), def_glDeleteMemoryObjectsEXT); - fn_glIsMemoryObjectEXT = new Deno.UnsafeFnPointer(proc("glIsMemoryObjectEXT"), def_glIsMemoryObjectEXT); - fn_glCreateMemoryObjectsEXT = new Deno.UnsafeFnPointer(proc("glCreateMemoryObjectsEXT"), def_glCreateMemoryObjectsEXT); - fn_glMemoryObjectParameterivEXT = new Deno.UnsafeFnPointer(proc("glMemoryObjectParameterivEXT"), def_glMemoryObjectParameterivEXT); - fn_glGetMemoryObjectParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetMemoryObjectParameterivEXT"), def_glGetMemoryObjectParameterivEXT); - fn_glTexStorageMem2DEXT = new Deno.UnsafeFnPointer(proc("glTexStorageMem2DEXT"), def_glTexStorageMem2DEXT); - fn_glTexStorageMem2DMultisampleEXT = new Deno.UnsafeFnPointer(proc("glTexStorageMem2DMultisampleEXT"), def_glTexStorageMem2DMultisampleEXT); - fn_glTexStorageMem3DEXT = new Deno.UnsafeFnPointer(proc("glTexStorageMem3DEXT"), def_glTexStorageMem3DEXT); - fn_glTexStorageMem3DMultisampleEXT = new Deno.UnsafeFnPointer(proc("glTexStorageMem3DMultisampleEXT"), def_glTexStorageMem3DMultisampleEXT); - fn_glBufferStorageMemEXT = new Deno.UnsafeFnPointer(proc("glBufferStorageMemEXT"), def_glBufferStorageMemEXT); - fn_glTextureStorageMem2DEXT = new Deno.UnsafeFnPointer(proc("glTextureStorageMem2DEXT"), def_glTextureStorageMem2DEXT); - fn_glTextureStorageMem2DMultisampleEXT = new Deno.UnsafeFnPointer(proc("glTextureStorageMem2DMultisampleEXT"), def_glTextureStorageMem2DMultisampleEXT); - fn_glTextureStorageMem3DEXT = new Deno.UnsafeFnPointer(proc("glTextureStorageMem3DEXT"), def_glTextureStorageMem3DEXT); - fn_glTextureStorageMem3DMultisampleEXT = new Deno.UnsafeFnPointer(proc("glTextureStorageMem3DMultisampleEXT"), def_glTextureStorageMem3DMultisampleEXT); - fn_glNamedBufferStorageMemEXT = new Deno.UnsafeFnPointer(proc("glNamedBufferStorageMemEXT"), def_glNamedBufferStorageMemEXT); - fn_glTexStorageMem1DEXT = new Deno.UnsafeFnPointer(proc("glTexStorageMem1DEXT"), def_glTexStorageMem1DEXT); - fn_glTextureStorageMem1DEXT = new Deno.UnsafeFnPointer(proc("glTextureStorageMem1DEXT"), def_glTextureStorageMem1DEXT); + fn_glGetUnsignedBytevEXT = new Deno.UnsafeFnPointer( + proc("glGetUnsignedBytevEXT"), + def_glGetUnsignedBytevEXT, + ); + fn_glGetUnsignedBytei_vEXT = new Deno.UnsafeFnPointer( + proc("glGetUnsignedBytei_vEXT"), + def_glGetUnsignedBytei_vEXT, + ); + fn_glDeleteMemoryObjectsEXT = new Deno.UnsafeFnPointer( + proc("glDeleteMemoryObjectsEXT"), + def_glDeleteMemoryObjectsEXT, + ); + fn_glIsMemoryObjectEXT = new Deno.UnsafeFnPointer( + proc("glIsMemoryObjectEXT"), + def_glIsMemoryObjectEXT, + ); + fn_glCreateMemoryObjectsEXT = new Deno.UnsafeFnPointer( + proc("glCreateMemoryObjectsEXT"), + def_glCreateMemoryObjectsEXT, + ); + fn_glMemoryObjectParameterivEXT = new Deno.UnsafeFnPointer( + proc("glMemoryObjectParameterivEXT"), + def_glMemoryObjectParameterivEXT, + ); + fn_glGetMemoryObjectParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetMemoryObjectParameterivEXT"), + def_glGetMemoryObjectParameterivEXT, + ); + fn_glTexStorageMem2DEXT = new Deno.UnsafeFnPointer( + proc("glTexStorageMem2DEXT"), + def_glTexStorageMem2DEXT, + ); + fn_glTexStorageMem2DMultisampleEXT = new Deno.UnsafeFnPointer( + proc("glTexStorageMem2DMultisampleEXT"), + def_glTexStorageMem2DMultisampleEXT, + ); + fn_glTexStorageMem3DEXT = new Deno.UnsafeFnPointer( + proc("glTexStorageMem3DEXT"), + def_glTexStorageMem3DEXT, + ); + fn_glTexStorageMem3DMultisampleEXT = new Deno.UnsafeFnPointer( + proc("glTexStorageMem3DMultisampleEXT"), + def_glTexStorageMem3DMultisampleEXT, + ); + fn_glBufferStorageMemEXT = new Deno.UnsafeFnPointer( + proc("glBufferStorageMemEXT"), + def_glBufferStorageMemEXT, + ); + fn_glTextureStorageMem2DEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorageMem2DEXT"), + def_glTextureStorageMem2DEXT, + ); + fn_glTextureStorageMem2DMultisampleEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorageMem2DMultisampleEXT"), + def_glTextureStorageMem2DMultisampleEXT, + ); + fn_glTextureStorageMem3DEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorageMem3DEXT"), + def_glTextureStorageMem3DEXT, + ); + fn_glTextureStorageMem3DMultisampleEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorageMem3DMultisampleEXT"), + def_glTextureStorageMem3DMultisampleEXT, + ); + fn_glNamedBufferStorageMemEXT = new Deno.UnsafeFnPointer( + proc("glNamedBufferStorageMemEXT"), + def_glNamedBufferStorageMemEXT, + ); + fn_glTexStorageMem1DEXT = new Deno.UnsafeFnPointer( + proc("glTexStorageMem1DEXT"), + def_glTexStorageMem1DEXT, + ); + fn_glTextureStorageMem1DEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorageMem1DEXT"), + def_glTextureStorageMem1DEXT, + ); } diff --git a/api/ext/GL_EXT_memory_object_fd.ts b/api/ext/GL_EXT_memory_object_fd.ts index 6da47cf..4014ae5 100644 --- a/api/ext/GL_EXT_memory_object_fd.ts +++ b/api/ext/GL_EXT_memory_object_fd.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glImportMemoryFdEXT = { result: "void", } as const; -let fn_glImportMemoryFdEXT!: Deno.UnsafeFnPointer; +let fn_glImportMemoryFdEXT!: Deno.UnsafeFnPointer< + typeof def_glImportMemoryFdEXT +>; export function ImportMemoryFdEXT( memory: GLuint, @@ -87,5 +97,8 @@ export function ImportMemoryFdEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glImportMemoryFdEXT = new Deno.UnsafeFnPointer(proc("glImportMemoryFdEXT"), def_glImportMemoryFdEXT); + fn_glImportMemoryFdEXT = new Deno.UnsafeFnPointer( + proc("glImportMemoryFdEXT"), + def_glImportMemoryFdEXT, + ); } diff --git a/api/ext/GL_EXT_memory_object_win32.ts b/api/ext/GL_EXT_memory_object_win32.ts index a8a48dc..3a3844d 100644 --- a/api/ext/GL_EXT_memory_object_win32.ts +++ b/api/ext/GL_EXT_memory_object_win32.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -77,7 +85,9 @@ export const def_glImportMemoryWin32HandleEXT = { result: "void", } as const; -let fn_glImportMemoryWin32HandleEXT!: Deno.UnsafeFnPointer; +let fn_glImportMemoryWin32HandleEXT!: Deno.UnsafeFnPointer< + typeof def_glImportMemoryWin32HandleEXT +>; export function ImportMemoryWin32HandleEXT( memory: GLuint, @@ -98,7 +108,9 @@ export const def_glImportMemoryWin32NameEXT = { result: "void", } as const; -let fn_glImportMemoryWin32NameEXT!: Deno.UnsafeFnPointer; +let fn_glImportMemoryWin32NameEXT!: Deno.UnsafeFnPointer< + typeof def_glImportMemoryWin32NameEXT +>; export function ImportMemoryWin32NameEXT( memory: GLuint, @@ -116,6 +128,12 @@ export function ImportMemoryWin32NameEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glImportMemoryWin32HandleEXT = new Deno.UnsafeFnPointer(proc("glImportMemoryWin32HandleEXT"), def_glImportMemoryWin32HandleEXT); - fn_glImportMemoryWin32NameEXT = new Deno.UnsafeFnPointer(proc("glImportMemoryWin32NameEXT"), def_glImportMemoryWin32NameEXT); + fn_glImportMemoryWin32HandleEXT = new Deno.UnsafeFnPointer( + proc("glImportMemoryWin32HandleEXT"), + def_glImportMemoryWin32HandleEXT, + ); + fn_glImportMemoryWin32NameEXT = new Deno.UnsafeFnPointer( + proc("glImportMemoryWin32NameEXT"), + def_glImportMemoryWin32NameEXT, + ); } diff --git a/api/ext/GL_EXT_misc_attribute.ts b/api/ext/GL_EXT_misc_attribute.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_misc_attribute.ts +++ b/api/ext/GL_EXT_misc_attribute.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_multi_draw_arrays.ts b/api/ext/GL_EXT_multi_draw_arrays.ts index 929e7ab..ff3ca14 100644 --- a/api/ext/GL_EXT_multi_draw_arrays.ts +++ b/api/ext/GL_EXT_multi_draw_arrays.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glMultiDrawArraysEXT = { result: "void", } as const; -let fn_glMultiDrawArraysEXT!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysEXT +>; export function MultiDrawArraysEXT( mode: GLenum, @@ -87,7 +97,9 @@ export const def_glMultiDrawElementsEXT = { result: "void", } as const; -let fn_glMultiDrawElementsEXT!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsEXT +>; export function MultiDrawElementsEXT( mode: GLenum, @@ -107,6 +119,12 @@ export function MultiDrawElementsEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMultiDrawArraysEXT = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysEXT"), def_glMultiDrawArraysEXT); - fn_glMultiDrawElementsEXT = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsEXT"), def_glMultiDrawElementsEXT); + fn_glMultiDrawArraysEXT = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysEXT"), + def_glMultiDrawArraysEXT, + ); + fn_glMultiDrawElementsEXT = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsEXT"), + def_glMultiDrawElementsEXT, + ); } diff --git a/api/ext/GL_EXT_multi_draw_indirect.ts b/api/ext/GL_EXT_multi_draw_indirect.ts index f74c3af..bea61a1 100644 --- a/api/ext/GL_EXT_multi_draw_indirect.ts +++ b/api/ext/GL_EXT_multi_draw_indirect.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glMultiDrawArraysIndirectEXT = { result: "void", } as const; -let fn_glMultiDrawArraysIndirectEXT!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysIndirectEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysIndirectEXT +>; export function MultiDrawArraysIndirectEXT( mode: GLenum, @@ -87,7 +97,9 @@ export const def_glMultiDrawElementsIndirectEXT = { result: "void", } as const; -let fn_glMultiDrawElementsIndirectEXT!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsIndirectEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsIndirectEXT +>; export function MultiDrawElementsIndirectEXT( mode: GLenum, @@ -107,6 +119,12 @@ export function MultiDrawElementsIndirectEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMultiDrawArraysIndirectEXT = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysIndirectEXT"), def_glMultiDrawArraysIndirectEXT); - fn_glMultiDrawElementsIndirectEXT = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsIndirectEXT"), def_glMultiDrawElementsIndirectEXT); + fn_glMultiDrawArraysIndirectEXT = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysIndirectEXT"), + def_glMultiDrawArraysIndirectEXT, + ); + fn_glMultiDrawElementsIndirectEXT = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsIndirectEXT"), + def_glMultiDrawElementsIndirectEXT, + ); } diff --git a/api/ext/GL_EXT_multisample.ts b/api/ext/GL_EXT_multisample.ts index 3d34e4a..300961a 100644 --- a/api/ext/GL_EXT_multisample.ts +++ b/api/ext/GL_EXT_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -114,6 +122,12 @@ export function SamplePatternEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glSampleMaskEXT = new Deno.UnsafeFnPointer(proc("glSampleMaskEXT"), def_glSampleMaskEXT); - fn_glSamplePatternEXT = new Deno.UnsafeFnPointer(proc("glSamplePatternEXT"), def_glSamplePatternEXT); + fn_glSampleMaskEXT = new Deno.UnsafeFnPointer( + proc("glSampleMaskEXT"), + def_glSampleMaskEXT, + ); + fn_glSamplePatternEXT = new Deno.UnsafeFnPointer( + proc("glSamplePatternEXT"), + def_glSamplePatternEXT, + ); } diff --git a/api/ext/GL_EXT_multisampled_compatibility.ts b/api/ext/GL_EXT_multisampled_compatibility.ts index edab16a..c6538a6 100644 --- a/api/ext/GL_EXT_multisampled_compatibility.ts +++ b/api/ext/GL_EXT_multisampled_compatibility.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_multisampled_render_to_texture.ts b/api/ext/GL_EXT_multisampled_render_to_texture.ts index 9bec6d2..01a1fc1 100644 --- a/api/ext/GL_EXT_multisampled_render_to_texture.ts +++ b/api/ext/GL_EXT_multisampled_render_to_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glRenderbufferStorageMultisampleEXT = { result: "void", } as const; -let fn_glRenderbufferStorageMultisampleEXT!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisampleEXT!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisampleEXT +>; export function RenderbufferStorageMultisampleEXT( target: GLenum, @@ -95,7 +105,9 @@ export const def_glFramebufferTexture2DMultisampleEXT = { result: "void", } as const; -let fn_glFramebufferTexture2DMultisampleEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2DMultisampleEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2DMultisampleEXT +>; export function FramebufferTexture2DMultisampleEXT( target: GLenum, @@ -117,6 +129,12 @@ export function FramebufferTexture2DMultisampleEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glRenderbufferStorageMultisampleEXT = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisampleEXT"), def_glRenderbufferStorageMultisampleEXT); - fn_glFramebufferTexture2DMultisampleEXT = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2DMultisampleEXT"), def_glFramebufferTexture2DMultisampleEXT); + fn_glRenderbufferStorageMultisampleEXT = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisampleEXT"), + def_glRenderbufferStorageMultisampleEXT, + ); + fn_glFramebufferTexture2DMultisampleEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2DMultisampleEXT"), + def_glFramebufferTexture2DMultisampleEXT, + ); } diff --git a/api/ext/GL_EXT_multisampled_render_to_texture2.ts b/api/ext/GL_EXT_multisampled_render_to_texture2.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_multisampled_render_to_texture2.ts +++ b/api/ext/GL_EXT_multisampled_render_to_texture2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_multiview_draw_buffers.ts b/api/ext/GL_EXT_multiview_draw_buffers.ts index 4c42231..ae86123 100644 --- a/api/ext/GL_EXT_multiview_draw_buffers.ts +++ b/api/ext/GL_EXT_multiview_draw_buffers.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -73,7 +81,9 @@ export const def_glReadBufferIndexedEXT = { result: "void", } as const; -let fn_glReadBufferIndexedEXT!: Deno.UnsafeFnPointer; +let fn_glReadBufferIndexedEXT!: Deno.UnsafeFnPointer< + typeof def_glReadBufferIndexedEXT +>; export function ReadBufferIndexedEXT( src: GLenum, @@ -90,7 +100,9 @@ export const def_glDrawBuffersIndexedEXT = { result: "void", } as const; -let fn_glDrawBuffersIndexedEXT!: Deno.UnsafeFnPointer; +let fn_glDrawBuffersIndexedEXT!: Deno.UnsafeFnPointer< + typeof def_glDrawBuffersIndexedEXT +>; export function DrawBuffersIndexedEXT( n: GLint, @@ -125,7 +137,16 @@ export function GetIntegeri_vEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glReadBufferIndexedEXT = new Deno.UnsafeFnPointer(proc("glReadBufferIndexedEXT"), def_glReadBufferIndexedEXT); - fn_glDrawBuffersIndexedEXT = new Deno.UnsafeFnPointer(proc("glDrawBuffersIndexedEXT"), def_glDrawBuffersIndexedEXT); - fn_glGetIntegeri_vEXT = new Deno.UnsafeFnPointer(proc("glGetIntegeri_vEXT"), def_glGetIntegeri_vEXT); + fn_glReadBufferIndexedEXT = new Deno.UnsafeFnPointer( + proc("glReadBufferIndexedEXT"), + def_glReadBufferIndexedEXT, + ); + fn_glDrawBuffersIndexedEXT = new Deno.UnsafeFnPointer( + proc("glDrawBuffersIndexedEXT"), + def_glDrawBuffersIndexedEXT, + ); + fn_glGetIntegeri_vEXT = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_vEXT"), + def_glGetIntegeri_vEXT, + ); } diff --git a/api/ext/GL_EXT_multiview_tessellation_geometry_shader.ts b/api/ext/GL_EXT_multiview_tessellation_geometry_shader.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_multiview_tessellation_geometry_shader.ts +++ b/api/ext/GL_EXT_multiview_tessellation_geometry_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_multiview_texture_multisample.ts b/api/ext/GL_EXT_multiview_texture_multisample.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_multiview_texture_multisample.ts +++ b/api/ext/GL_EXT_multiview_texture_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_multiview_timer_query.ts b/api/ext/GL_EXT_multiview_timer_query.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_multiview_timer_query.ts +++ b/api/ext/GL_EXT_multiview_timer_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_occlusion_query_boolean.ts b/api/ext/GL_EXT_occlusion_query_boolean.ts index 23746c0..033f581 100644 --- a/api/ext/GL_EXT_occlusion_query_boolean.ts +++ b/api/ext/GL_EXT_occlusion_query_boolean.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -173,7 +181,9 @@ export const def_glGetQueryObjectuivEXT = { result: "void", } as const; -let fn_glGetQueryObjectuivEXT!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuivEXT +>; export function GetQueryObjectuivEXT( id: GLuint, @@ -189,11 +199,32 @@ export function GetQueryObjectuivEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGenQueriesEXT = new Deno.UnsafeFnPointer(proc("glGenQueriesEXT"), def_glGenQueriesEXT); - fn_glDeleteQueriesEXT = new Deno.UnsafeFnPointer(proc("glDeleteQueriesEXT"), def_glDeleteQueriesEXT); - fn_glIsQueryEXT = new Deno.UnsafeFnPointer(proc("glIsQueryEXT"), def_glIsQueryEXT); - fn_glBeginQueryEXT = new Deno.UnsafeFnPointer(proc("glBeginQueryEXT"), def_glBeginQueryEXT); - fn_glEndQueryEXT = new Deno.UnsafeFnPointer(proc("glEndQueryEXT"), def_glEndQueryEXT); - fn_glGetQueryivEXT = new Deno.UnsafeFnPointer(proc("glGetQueryivEXT"), def_glGetQueryivEXT); - fn_glGetQueryObjectuivEXT = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuivEXT"), def_glGetQueryObjectuivEXT); + fn_glGenQueriesEXT = new Deno.UnsafeFnPointer( + proc("glGenQueriesEXT"), + def_glGenQueriesEXT, + ); + fn_glDeleteQueriesEXT = new Deno.UnsafeFnPointer( + proc("glDeleteQueriesEXT"), + def_glDeleteQueriesEXT, + ); + fn_glIsQueryEXT = new Deno.UnsafeFnPointer( + proc("glIsQueryEXT"), + def_glIsQueryEXT, + ); + fn_glBeginQueryEXT = new Deno.UnsafeFnPointer( + proc("glBeginQueryEXT"), + def_glBeginQueryEXT, + ); + fn_glEndQueryEXT = new Deno.UnsafeFnPointer( + proc("glEndQueryEXT"), + def_glEndQueryEXT, + ); + fn_glGetQueryivEXT = new Deno.UnsafeFnPointer( + proc("glGetQueryivEXT"), + def_glGetQueryivEXT, + ); + fn_glGetQueryObjectuivEXT = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuivEXT"), + def_glGetQueryObjectuivEXT, + ); } diff --git a/api/ext/GL_EXT_packed_depth_stencil.ts b/api/ext/GL_EXT_packed_depth_stencil.ts index fa11201..5fa7b3b 100644 --- a/api/ext/GL_EXT_packed_depth_stencil.ts +++ b/api/ext/GL_EXT_packed_depth_stencil.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_packed_float.ts b/api/ext/GL_EXT_packed_float.ts index 3120895..4c56d5d 100644 --- a/api/ext/GL_EXT_packed_float.ts +++ b/api/ext/GL_EXT_packed_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_packed_pixels.ts b/api/ext/GL_EXT_packed_pixels.ts index f628f74..9f3fd5d 100644 --- a/api/ext/GL_EXT_packed_pixels.ts +++ b/api/ext/GL_EXT_packed_pixels.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_paletted_texture.ts b/api/ext/GL_EXT_paletted_texture.ts index bb2c53d..4491cdd 100644 --- a/api/ext/GL_EXT_paletted_texture.ts +++ b/api/ext/GL_EXT_paletted_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -121,7 +129,9 @@ export const def_glGetColorTableParameterivEXT = { result: "void", } as const; -let fn_glGetColorTableParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetColorTableParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetColorTableParameterivEXT +>; export function GetColorTableParameterivEXT( target: GLenum, @@ -140,7 +150,9 @@ export const def_glGetColorTableParameterfvEXT = { result: "void", } as const; -let fn_glGetColorTableParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetColorTableParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetColorTableParameterfvEXT +>; export function GetColorTableParameterfvEXT( target: GLenum, @@ -156,8 +168,20 @@ export function GetColorTableParameterfvEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glColorTableEXT = new Deno.UnsafeFnPointer(proc("glColorTableEXT"), def_glColorTableEXT); - fn_glGetColorTableEXT = new Deno.UnsafeFnPointer(proc("glGetColorTableEXT"), def_glGetColorTableEXT); - fn_glGetColorTableParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetColorTableParameterivEXT"), def_glGetColorTableParameterivEXT); - fn_glGetColorTableParameterfvEXT = new Deno.UnsafeFnPointer(proc("glGetColorTableParameterfvEXT"), def_glGetColorTableParameterfvEXT); + fn_glColorTableEXT = new Deno.UnsafeFnPointer( + proc("glColorTableEXT"), + def_glColorTableEXT, + ); + fn_glGetColorTableEXT = new Deno.UnsafeFnPointer( + proc("glGetColorTableEXT"), + def_glGetColorTableEXT, + ); + fn_glGetColorTableParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetColorTableParameterivEXT"), + def_glGetColorTableParameterivEXT, + ); + fn_glGetColorTableParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glGetColorTableParameterfvEXT"), + def_glGetColorTableParameterfvEXT, + ); } diff --git a/api/ext/GL_EXT_pixel_buffer_object.ts b/api/ext/GL_EXT_pixel_buffer_object.ts index 590c5aa..372c52c 100644 --- a/api/ext/GL_EXT_pixel_buffer_object.ts +++ b/api/ext/GL_EXT_pixel_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_pixel_transform.ts b/api/ext/GL_EXT_pixel_transform.ts index 82c7369..54a3329 100644 --- a/api/ext/GL_EXT_pixel_transform.ts +++ b/api/ext/GL_EXT_pixel_transform.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -77,7 +85,9 @@ export const def_glPixelTransformParameteriEXT = { result: "void", } as const; -let fn_glPixelTransformParameteriEXT!: Deno.UnsafeFnPointer; +let fn_glPixelTransformParameteriEXT!: Deno.UnsafeFnPointer< + typeof def_glPixelTransformParameteriEXT +>; export function PixelTransformParameteriEXT( target: GLenum, @@ -96,7 +106,9 @@ export const def_glPixelTransformParameterfEXT = { result: "void", } as const; -let fn_glPixelTransformParameterfEXT!: Deno.UnsafeFnPointer; +let fn_glPixelTransformParameterfEXT!: Deno.UnsafeFnPointer< + typeof def_glPixelTransformParameterfEXT +>; export function PixelTransformParameterfEXT( target: GLenum, @@ -115,7 +127,9 @@ export const def_glPixelTransformParameterivEXT = { result: "void", } as const; -let fn_glPixelTransformParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glPixelTransformParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glPixelTransformParameterivEXT +>; export function PixelTransformParameterivEXT( target: GLenum, @@ -134,7 +148,9 @@ export const def_glPixelTransformParameterfvEXT = { result: "void", } as const; -let fn_glPixelTransformParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glPixelTransformParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glPixelTransformParameterfvEXT +>; export function PixelTransformParameterfvEXT( target: GLenum, @@ -153,7 +169,9 @@ export const def_glGetPixelTransformParameterivEXT = { result: "void", } as const; -let fn_glGetPixelTransformParameterivEXT!: Deno.UnsafeFnPointer; +let fn_glGetPixelTransformParameterivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetPixelTransformParameterivEXT +>; export function GetPixelTransformParameterivEXT( target: GLenum, @@ -172,7 +190,9 @@ export const def_glGetPixelTransformParameterfvEXT = { result: "void", } as const; -let fn_glGetPixelTransformParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glGetPixelTransformParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetPixelTransformParameterfvEXT +>; export function GetPixelTransformParameterfvEXT( target: GLenum, @@ -188,10 +208,28 @@ export function GetPixelTransformParameterfvEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPixelTransformParameteriEXT = new Deno.UnsafeFnPointer(proc("glPixelTransformParameteriEXT"), def_glPixelTransformParameteriEXT); - fn_glPixelTransformParameterfEXT = new Deno.UnsafeFnPointer(proc("glPixelTransformParameterfEXT"), def_glPixelTransformParameterfEXT); - fn_glPixelTransformParameterivEXT = new Deno.UnsafeFnPointer(proc("glPixelTransformParameterivEXT"), def_glPixelTransformParameterivEXT); - fn_glPixelTransformParameterfvEXT = new Deno.UnsafeFnPointer(proc("glPixelTransformParameterfvEXT"), def_glPixelTransformParameterfvEXT); - fn_glGetPixelTransformParameterivEXT = new Deno.UnsafeFnPointer(proc("glGetPixelTransformParameterivEXT"), def_glGetPixelTransformParameterivEXT); - fn_glGetPixelTransformParameterfvEXT = new Deno.UnsafeFnPointer(proc("glGetPixelTransformParameterfvEXT"), def_glGetPixelTransformParameterfvEXT); + fn_glPixelTransformParameteriEXT = new Deno.UnsafeFnPointer( + proc("glPixelTransformParameteriEXT"), + def_glPixelTransformParameteriEXT, + ); + fn_glPixelTransformParameterfEXT = new Deno.UnsafeFnPointer( + proc("glPixelTransformParameterfEXT"), + def_glPixelTransformParameterfEXT, + ); + fn_glPixelTransformParameterivEXT = new Deno.UnsafeFnPointer( + proc("glPixelTransformParameterivEXT"), + def_glPixelTransformParameterivEXT, + ); + fn_glPixelTransformParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glPixelTransformParameterfvEXT"), + def_glPixelTransformParameterfvEXT, + ); + fn_glGetPixelTransformParameterivEXT = new Deno.UnsafeFnPointer( + proc("glGetPixelTransformParameterivEXT"), + def_glGetPixelTransformParameterivEXT, + ); + fn_glGetPixelTransformParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glGetPixelTransformParameterfvEXT"), + def_glGetPixelTransformParameterfvEXT, + ); } diff --git a/api/ext/GL_EXT_pixel_transform_color_table.ts b/api/ext/GL_EXT_pixel_transform_color_table.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_pixel_transform_color_table.ts +++ b/api/ext/GL_EXT_pixel_transform_color_table.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_point_parameters.ts b/api/ext/GL_EXT_point_parameters.ts index 3e4697f..d66018d 100644 --- a/api/ext/GL_EXT_point_parameters.ts +++ b/api/ext/GL_EXT_point_parameters.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glPointParameterfEXT = { result: "void", } as const; -let fn_glPointParameterfEXT!: Deno.UnsafeFnPointer; +let fn_glPointParameterfEXT!: Deno.UnsafeFnPointer< + typeof def_glPointParameterfEXT +>; export function PointParameterfEXT( pname: GLenum, @@ -89,7 +99,9 @@ export const def_glPointParameterfvEXT = { result: "void", } as const; -let fn_glPointParameterfvEXT!: Deno.UnsafeFnPointer; +let fn_glPointParameterfvEXT!: Deno.UnsafeFnPointer< + typeof def_glPointParameterfvEXT +>; export function PointParameterfvEXT( pname: GLenum, @@ -103,6 +115,12 @@ export function PointParameterfvEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPointParameterfEXT = new Deno.UnsafeFnPointer(proc("glPointParameterfEXT"), def_glPointParameterfEXT); - fn_glPointParameterfvEXT = new Deno.UnsafeFnPointer(proc("glPointParameterfvEXT"), def_glPointParameterfvEXT); + fn_glPointParameterfEXT = new Deno.UnsafeFnPointer( + proc("glPointParameterfEXT"), + def_glPointParameterfEXT, + ); + fn_glPointParameterfvEXT = new Deno.UnsafeFnPointer( + proc("glPointParameterfvEXT"), + def_glPointParameterfvEXT, + ); } diff --git a/api/ext/GL_EXT_polygon_offset.ts b/api/ext/GL_EXT_polygon_offset.ts index 32e8c2a..ec3fc78 100644 --- a/api/ext/GL_EXT_polygon_offset.ts +++ b/api/ext/GL_EXT_polygon_offset.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -85,5 +93,8 @@ export function PolygonOffsetEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPolygonOffsetEXT = new Deno.UnsafeFnPointer(proc("glPolygonOffsetEXT"), def_glPolygonOffsetEXT); + fn_glPolygonOffsetEXT = new Deno.UnsafeFnPointer( + proc("glPolygonOffsetEXT"), + def_glPolygonOffsetEXT, + ); } diff --git a/api/ext/GL_EXT_polygon_offset_clamp.ts b/api/ext/GL_EXT_polygon_offset_clamp.ts index 26add1b..b313689 100644 --- a/api/ext/GL_EXT_polygon_offset_clamp.ts +++ b/api/ext/GL_EXT_polygon_offset_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glPolygonOffsetClampEXT = { result: "void", } as const; -let fn_glPolygonOffsetClampEXT!: Deno.UnsafeFnPointer; +let fn_glPolygonOffsetClampEXT!: Deno.UnsafeFnPointer< + typeof def_glPolygonOffsetClampEXT +>; export function PolygonOffsetClampEXT( factor: GLfloat, @@ -85,5 +95,8 @@ export function PolygonOffsetClampEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPolygonOffsetClampEXT = new Deno.UnsafeFnPointer(proc("glPolygonOffsetClampEXT"), def_glPolygonOffsetClampEXT); + fn_glPolygonOffsetClampEXT = new Deno.UnsafeFnPointer( + proc("glPolygonOffsetClampEXT"), + def_glPolygonOffsetClampEXT, + ); } diff --git a/api/ext/GL_EXT_post_depth_coverage.ts b/api/ext/GL_EXT_post_depth_coverage.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_post_depth_coverage.ts +++ b/api/ext/GL_EXT_post_depth_coverage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_primitive_bounding_box.ts b/api/ext/GL_EXT_primitive_bounding_box.ts index b88f134..609de25 100644 --- a/api/ext/GL_EXT_primitive_bounding_box.ts +++ b/api/ext/GL_EXT_primitive_bounding_box.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glPrimitiveBoundingBoxEXT = { result: "void", } as const; -let fn_glPrimitiveBoundingBoxEXT!: Deno.UnsafeFnPointer; +let fn_glPrimitiveBoundingBoxEXT!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveBoundingBoxEXT +>; export function PrimitiveBoundingBoxEXT( minX: GLfloat, @@ -95,5 +105,8 @@ export function PrimitiveBoundingBoxEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPrimitiveBoundingBoxEXT = new Deno.UnsafeFnPointer(proc("glPrimitiveBoundingBoxEXT"), def_glPrimitiveBoundingBoxEXT); + fn_glPrimitiveBoundingBoxEXT = new Deno.UnsafeFnPointer( + proc("glPrimitiveBoundingBoxEXT"), + def_glPrimitiveBoundingBoxEXT, + ); } diff --git a/api/ext/GL_EXT_protected_textures.ts b/api/ext/GL_EXT_protected_textures.ts index 9e2f8d5..d668f1c 100644 --- a/api/ext/GL_EXT_protected_textures.ts +++ b/api/ext/GL_EXT_protected_textures.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_provoking_vertex.ts b/api/ext/GL_EXT_provoking_vertex.ts index 9a163d5..7095738 100644 --- a/api/ext/GL_EXT_provoking_vertex.ts +++ b/api/ext/GL_EXT_provoking_vertex.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glProvokingVertexEXT = { result: "void", } as const; -let fn_glProvokingVertexEXT!: Deno.UnsafeFnPointer; +let fn_glProvokingVertexEXT!: Deno.UnsafeFnPointer< + typeof def_glProvokingVertexEXT +>; export function ProvokingVertexEXT( mode: GLenum, @@ -84,5 +94,8 @@ export function ProvokingVertexEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glProvokingVertexEXT = new Deno.UnsafeFnPointer(proc("glProvokingVertexEXT"), def_glProvokingVertexEXT); + fn_glProvokingVertexEXT = new Deno.UnsafeFnPointer( + proc("glProvokingVertexEXT"), + def_glProvokingVertexEXT, + ); } diff --git a/api/ext/GL_EXT_pvrtc_sRGB.ts b/api/ext/GL_EXT_pvrtc_sRGB.ts index 91454a0..005e095 100644 --- a/api/ext/GL_EXT_pvrtc_sRGB.ts +++ b/api/ext/GL_EXT_pvrtc_sRGB.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_raster_multisample.ts b/api/ext/GL_EXT_raster_multisample.ts index d222c0c..507ae33 100644 --- a/api/ext/GL_EXT_raster_multisample.ts +++ b/api/ext/GL_EXT_raster_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,5 +96,8 @@ export function RasterSamplesEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glRasterSamplesEXT = new Deno.UnsafeFnPointer(proc("glRasterSamplesEXT"), def_glRasterSamplesEXT); + fn_glRasterSamplesEXT = new Deno.UnsafeFnPointer( + proc("glRasterSamplesEXT"), + def_glRasterSamplesEXT, + ); } diff --git a/api/ext/GL_EXT_read_format_bgra.ts b/api/ext/GL_EXT_read_format_bgra.ts index bf7321d..b7f57ad 100644 --- a/api/ext/GL_EXT_read_format_bgra.ts +++ b/api/ext/GL_EXT_read_format_bgra.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_render_snorm.ts b/api/ext/GL_EXT_render_snorm.ts index 31e831c..56a81aa 100644 --- a/api/ext/GL_EXT_render_snorm.ts +++ b/api/ext/GL_EXT_render_snorm.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_rescale_normal.ts b/api/ext/GL_EXT_rescale_normal.ts index c7fb453..bb8d0fe 100644 --- a/api/ext/GL_EXT_rescale_normal.ts +++ b/api/ext/GL_EXT_rescale_normal.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_robustness.ts b/api/ext/GL_EXT_robustness.ts index 1a61a3f..26451fc 100644 --- a/api/ext/GL_EXT_robustness.ts +++ b/api/ext/GL_EXT_robustness.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -76,7 +84,9 @@ export const def_glGetGraphicsResetStatusEXT = { result: "u32", } as const; -let fn_glGetGraphicsResetStatusEXT!: Deno.UnsafeFnPointer; +let fn_glGetGraphicsResetStatusEXT!: Deno.UnsafeFnPointer< + typeof def_glGetGraphicsResetStatusEXT +>; export function GetGraphicsResetStatusEXT(): GLenum { return fn_glGetGraphicsResetStatusEXT.call(); @@ -155,8 +165,20 @@ export function GetnUniformivEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetGraphicsResetStatusEXT = new Deno.UnsafeFnPointer(proc("glGetGraphicsResetStatusEXT"), def_glGetGraphicsResetStatusEXT); - fn_glReadnPixelsEXT = new Deno.UnsafeFnPointer(proc("glReadnPixelsEXT"), def_glReadnPixelsEXT); - fn_glGetnUniformfvEXT = new Deno.UnsafeFnPointer(proc("glGetnUniformfvEXT"), def_glGetnUniformfvEXT); - fn_glGetnUniformivEXT = new Deno.UnsafeFnPointer(proc("glGetnUniformivEXT"), def_glGetnUniformivEXT); + fn_glGetGraphicsResetStatusEXT = new Deno.UnsafeFnPointer( + proc("glGetGraphicsResetStatusEXT"), + def_glGetGraphicsResetStatusEXT, + ); + fn_glReadnPixelsEXT = new Deno.UnsafeFnPointer( + proc("glReadnPixelsEXT"), + def_glReadnPixelsEXT, + ); + fn_glGetnUniformfvEXT = new Deno.UnsafeFnPointer( + proc("glGetnUniformfvEXT"), + def_glGetnUniformfvEXT, + ); + fn_glGetnUniformivEXT = new Deno.UnsafeFnPointer( + proc("glGetnUniformivEXT"), + def_glGetnUniformivEXT, + ); } diff --git a/api/ext/GL_EXT_sRGB.ts b/api/ext/GL_EXT_sRGB.ts index 18b04a3..d7959e0 100644 --- a/api/ext/GL_EXT_sRGB.ts +++ b/api/ext/GL_EXT_sRGB.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_sRGB_write_control.ts b/api/ext/GL_EXT_sRGB_write_control.ts index acc7fda..58f2f29 100644 --- a/api/ext/GL_EXT_sRGB_write_control.ts +++ b/api/ext/GL_EXT_sRGB_write_control.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_secondary_color.ts b/api/ext/GL_EXT_secondary_color.ts index 161da97..cc7a331 100644 --- a/api/ext/GL_EXT_secondary_color.ts +++ b/api/ext/GL_EXT_secondary_color.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,7 +83,9 @@ export const def_glSecondaryColor3bEXT = { result: "void", } as const; -let fn_glSecondaryColor3bEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3bEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3bEXT +>; export function SecondaryColor3bEXT( red: GLbyte, @@ -94,7 +104,9 @@ export const def_glSecondaryColor3bvEXT = { result: "void", } as const; -let fn_glSecondaryColor3bvEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3bvEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3bvEXT +>; export function SecondaryColor3bvEXT( v: Buffer, @@ -109,7 +121,9 @@ export const def_glSecondaryColor3dEXT = { result: "void", } as const; -let fn_glSecondaryColor3dEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3dEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3dEXT +>; export function SecondaryColor3dEXT( red: GLdouble, @@ -128,7 +142,9 @@ export const def_glSecondaryColor3dvEXT = { result: "void", } as const; -let fn_glSecondaryColor3dvEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3dvEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3dvEXT +>; export function SecondaryColor3dvEXT( v: Buffer, @@ -143,7 +159,9 @@ export const def_glSecondaryColor3fEXT = { result: "void", } as const; -let fn_glSecondaryColor3fEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3fEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3fEXT +>; export function SecondaryColor3fEXT( red: GLfloat, @@ -162,7 +180,9 @@ export const def_glSecondaryColor3fvEXT = { result: "void", } as const; -let fn_glSecondaryColor3fvEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3fvEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3fvEXT +>; export function SecondaryColor3fvEXT( v: Buffer, @@ -177,7 +197,9 @@ export const def_glSecondaryColor3iEXT = { result: "void", } as const; -let fn_glSecondaryColor3iEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3iEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3iEXT +>; export function SecondaryColor3iEXT( red: GLint, @@ -196,7 +218,9 @@ export const def_glSecondaryColor3ivEXT = { result: "void", } as const; -let fn_glSecondaryColor3ivEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ivEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ivEXT +>; export function SecondaryColor3ivEXT( v: Buffer, @@ -211,7 +235,9 @@ export const def_glSecondaryColor3sEXT = { result: "void", } as const; -let fn_glSecondaryColor3sEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3sEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3sEXT +>; export function SecondaryColor3sEXT( red: GLshort, @@ -230,7 +256,9 @@ export const def_glSecondaryColor3svEXT = { result: "void", } as const; -let fn_glSecondaryColor3svEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3svEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3svEXT +>; export function SecondaryColor3svEXT( v: Buffer, @@ -245,7 +273,9 @@ export const def_glSecondaryColor3ubEXT = { result: "void", } as const; -let fn_glSecondaryColor3ubEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ubEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ubEXT +>; export function SecondaryColor3ubEXT( red: GLubyte, @@ -264,7 +294,9 @@ export const def_glSecondaryColor3ubvEXT = { result: "void", } as const; -let fn_glSecondaryColor3ubvEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ubvEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ubvEXT +>; export function SecondaryColor3ubvEXT( v: Buffer, @@ -279,7 +311,9 @@ export const def_glSecondaryColor3uiEXT = { result: "void", } as const; -let fn_glSecondaryColor3uiEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3uiEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3uiEXT +>; export function SecondaryColor3uiEXT( red: GLuint, @@ -298,7 +332,9 @@ export const def_glSecondaryColor3uivEXT = { result: "void", } as const; -let fn_glSecondaryColor3uivEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3uivEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3uivEXT +>; export function SecondaryColor3uivEXT( v: Buffer, @@ -313,7 +349,9 @@ export const def_glSecondaryColor3usEXT = { result: "void", } as const; -let fn_glSecondaryColor3usEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3usEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3usEXT +>; export function SecondaryColor3usEXT( red: GLushort, @@ -332,7 +370,9 @@ export const def_glSecondaryColor3usvEXT = { result: "void", } as const; -let fn_glSecondaryColor3usvEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3usvEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3usvEXT +>; export function SecondaryColor3usvEXT( v: Buffer, @@ -347,7 +387,9 @@ export const def_glSecondaryColorPointerEXT = { result: "void", } as const; -let fn_glSecondaryColorPointerEXT!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorPointerEXT!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorPointerEXT +>; export function SecondaryColorPointerEXT( size: GLint, @@ -365,21 +407,72 @@ export function SecondaryColorPointerEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glSecondaryColor3bEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3bEXT"), def_glSecondaryColor3bEXT); - fn_glSecondaryColor3bvEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3bvEXT"), def_glSecondaryColor3bvEXT); - fn_glSecondaryColor3dEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3dEXT"), def_glSecondaryColor3dEXT); - fn_glSecondaryColor3dvEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3dvEXT"), def_glSecondaryColor3dvEXT); - fn_glSecondaryColor3fEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3fEXT"), def_glSecondaryColor3fEXT); - fn_glSecondaryColor3fvEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3fvEXT"), def_glSecondaryColor3fvEXT); - fn_glSecondaryColor3iEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3iEXT"), def_glSecondaryColor3iEXT); - fn_glSecondaryColor3ivEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ivEXT"), def_glSecondaryColor3ivEXT); - fn_glSecondaryColor3sEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3sEXT"), def_glSecondaryColor3sEXT); - fn_glSecondaryColor3svEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3svEXT"), def_glSecondaryColor3svEXT); - fn_glSecondaryColor3ubEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ubEXT"), def_glSecondaryColor3ubEXT); - fn_glSecondaryColor3ubvEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ubvEXT"), def_glSecondaryColor3ubvEXT); - fn_glSecondaryColor3uiEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3uiEXT"), def_glSecondaryColor3uiEXT); - fn_glSecondaryColor3uivEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3uivEXT"), def_glSecondaryColor3uivEXT); - fn_glSecondaryColor3usEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3usEXT"), def_glSecondaryColor3usEXT); - fn_glSecondaryColor3usvEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColor3usvEXT"), def_glSecondaryColor3usvEXT); - fn_glSecondaryColorPointerEXT = new Deno.UnsafeFnPointer(proc("glSecondaryColorPointerEXT"), def_glSecondaryColorPointerEXT); + fn_glSecondaryColor3bEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3bEXT"), + def_glSecondaryColor3bEXT, + ); + fn_glSecondaryColor3bvEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3bvEXT"), + def_glSecondaryColor3bvEXT, + ); + fn_glSecondaryColor3dEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3dEXT"), + def_glSecondaryColor3dEXT, + ); + fn_glSecondaryColor3dvEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3dvEXT"), + def_glSecondaryColor3dvEXT, + ); + fn_glSecondaryColor3fEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3fEXT"), + def_glSecondaryColor3fEXT, + ); + fn_glSecondaryColor3fvEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3fvEXT"), + def_glSecondaryColor3fvEXT, + ); + fn_glSecondaryColor3iEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3iEXT"), + def_glSecondaryColor3iEXT, + ); + fn_glSecondaryColor3ivEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ivEXT"), + def_glSecondaryColor3ivEXT, + ); + fn_glSecondaryColor3sEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3sEXT"), + def_glSecondaryColor3sEXT, + ); + fn_glSecondaryColor3svEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3svEXT"), + def_glSecondaryColor3svEXT, + ); + fn_glSecondaryColor3ubEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ubEXT"), + def_glSecondaryColor3ubEXT, + ); + fn_glSecondaryColor3ubvEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ubvEXT"), + def_glSecondaryColor3ubvEXT, + ); + fn_glSecondaryColor3uiEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3uiEXT"), + def_glSecondaryColor3uiEXT, + ); + fn_glSecondaryColor3uivEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3uivEXT"), + def_glSecondaryColor3uivEXT, + ); + fn_glSecondaryColor3usEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3usEXT"), + def_glSecondaryColor3usEXT, + ); + fn_glSecondaryColor3usvEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3usvEXT"), + def_glSecondaryColor3usvEXT, + ); + fn_glSecondaryColorPointerEXT = new Deno.UnsafeFnPointer( + proc("glSecondaryColorPointerEXT"), + def_glSecondaryColorPointerEXT, + ); } diff --git a/api/ext/GL_EXT_semaphore.ts b/api/ext/GL_EXT_semaphore.ts index 0e731af..2229996 100644 --- a/api/ext/GL_EXT_semaphore.ts +++ b/api/ext/GL_EXT_semaphore.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -81,7 +89,9 @@ export const def_glGetUnsignedBytevEXT = { result: "void", } as const; -let fn_glGetUnsignedBytevEXT!: Deno.UnsafeFnPointer; +let fn_glGetUnsignedBytevEXT!: Deno.UnsafeFnPointer< + typeof def_glGetUnsignedBytevEXT +>; export function GetUnsignedBytevEXT( pname: GLenum, @@ -98,7 +108,9 @@ export const def_glGetUnsignedBytei_vEXT = { result: "void", } as const; -let fn_glGetUnsignedBytei_vEXT!: Deno.UnsafeFnPointer; +let fn_glGetUnsignedBytei_vEXT!: Deno.UnsafeFnPointer< + typeof def_glGetUnsignedBytei_vEXT +>; export function GetUnsignedBytei_vEXT( target: GLenum, @@ -134,7 +146,9 @@ export const def_glDeleteSemaphoresEXT = { result: "void", } as const; -let fn_glDeleteSemaphoresEXT!: Deno.UnsafeFnPointer; +let fn_glDeleteSemaphoresEXT!: Deno.UnsafeFnPointer< + typeof def_glDeleteSemaphoresEXT +>; export function DeleteSemaphoresEXT( n: GLsizei, @@ -166,7 +180,9 @@ export const def_glSemaphoreParameterui64vEXT = { result: "void", } as const; -let fn_glSemaphoreParameterui64vEXT!: Deno.UnsafeFnPointer; +let fn_glSemaphoreParameterui64vEXT!: Deno.UnsafeFnPointer< + typeof def_glSemaphoreParameterui64vEXT +>; export function SemaphoreParameterui64vEXT( semaphore: GLuint, @@ -185,7 +201,9 @@ export const def_glGetSemaphoreParameterui64vEXT = { result: "void", } as const; -let fn_glGetSemaphoreParameterui64vEXT!: Deno.UnsafeFnPointer; +let fn_glGetSemaphoreParameterui64vEXT!: Deno.UnsafeFnPointer< + typeof def_glGetSemaphoreParameterui64vEXT +>; export function GetSemaphoreParameterui64vEXT( semaphore: GLuint, @@ -229,7 +247,9 @@ export const def_glSignalSemaphoreEXT = { result: "void", } as const; -let fn_glSignalSemaphoreEXT!: Deno.UnsafeFnPointer; +let fn_glSignalSemaphoreEXT!: Deno.UnsafeFnPointer< + typeof def_glSignalSemaphoreEXT +>; export function SignalSemaphoreEXT( semaphore: GLuint, @@ -251,13 +271,40 @@ export function SignalSemaphoreEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetUnsignedBytevEXT = new Deno.UnsafeFnPointer(proc("glGetUnsignedBytevEXT"), def_glGetUnsignedBytevEXT); - fn_glGetUnsignedBytei_vEXT = new Deno.UnsafeFnPointer(proc("glGetUnsignedBytei_vEXT"), def_glGetUnsignedBytei_vEXT); - fn_glGenSemaphoresEXT = new Deno.UnsafeFnPointer(proc("glGenSemaphoresEXT"), def_glGenSemaphoresEXT); - fn_glDeleteSemaphoresEXT = new Deno.UnsafeFnPointer(proc("glDeleteSemaphoresEXT"), def_glDeleteSemaphoresEXT); - fn_glIsSemaphoreEXT = new Deno.UnsafeFnPointer(proc("glIsSemaphoreEXT"), def_glIsSemaphoreEXT); - fn_glSemaphoreParameterui64vEXT = new Deno.UnsafeFnPointer(proc("glSemaphoreParameterui64vEXT"), def_glSemaphoreParameterui64vEXT); - fn_glGetSemaphoreParameterui64vEXT = new Deno.UnsafeFnPointer(proc("glGetSemaphoreParameterui64vEXT"), def_glGetSemaphoreParameterui64vEXT); - fn_glWaitSemaphoreEXT = new Deno.UnsafeFnPointer(proc("glWaitSemaphoreEXT"), def_glWaitSemaphoreEXT); - fn_glSignalSemaphoreEXT = new Deno.UnsafeFnPointer(proc("glSignalSemaphoreEXT"), def_glSignalSemaphoreEXT); + fn_glGetUnsignedBytevEXT = new Deno.UnsafeFnPointer( + proc("glGetUnsignedBytevEXT"), + def_glGetUnsignedBytevEXT, + ); + fn_glGetUnsignedBytei_vEXT = new Deno.UnsafeFnPointer( + proc("glGetUnsignedBytei_vEXT"), + def_glGetUnsignedBytei_vEXT, + ); + fn_glGenSemaphoresEXT = new Deno.UnsafeFnPointer( + proc("glGenSemaphoresEXT"), + def_glGenSemaphoresEXT, + ); + fn_glDeleteSemaphoresEXT = new Deno.UnsafeFnPointer( + proc("glDeleteSemaphoresEXT"), + def_glDeleteSemaphoresEXT, + ); + fn_glIsSemaphoreEXT = new Deno.UnsafeFnPointer( + proc("glIsSemaphoreEXT"), + def_glIsSemaphoreEXT, + ); + fn_glSemaphoreParameterui64vEXT = new Deno.UnsafeFnPointer( + proc("glSemaphoreParameterui64vEXT"), + def_glSemaphoreParameterui64vEXT, + ); + fn_glGetSemaphoreParameterui64vEXT = new Deno.UnsafeFnPointer( + proc("glGetSemaphoreParameterui64vEXT"), + def_glGetSemaphoreParameterui64vEXT, + ); + fn_glWaitSemaphoreEXT = new Deno.UnsafeFnPointer( + proc("glWaitSemaphoreEXT"), + def_glWaitSemaphoreEXT, + ); + fn_glSignalSemaphoreEXT = new Deno.UnsafeFnPointer( + proc("glSignalSemaphoreEXT"), + def_glSignalSemaphoreEXT, + ); } diff --git a/api/ext/GL_EXT_semaphore_fd.ts b/api/ext/GL_EXT_semaphore_fd.ts index e2bfb99..9949777 100644 --- a/api/ext/GL_EXT_semaphore_fd.ts +++ b/api/ext/GL_EXT_semaphore_fd.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glImportSemaphoreFdEXT = { result: "void", } as const; -let fn_glImportSemaphoreFdEXT!: Deno.UnsafeFnPointer; +let fn_glImportSemaphoreFdEXT!: Deno.UnsafeFnPointer< + typeof def_glImportSemaphoreFdEXT +>; export function ImportSemaphoreFdEXT( semaphore: GLuint, @@ -85,5 +95,8 @@ export function ImportSemaphoreFdEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glImportSemaphoreFdEXT = new Deno.UnsafeFnPointer(proc("glImportSemaphoreFdEXT"), def_glImportSemaphoreFdEXT); + fn_glImportSemaphoreFdEXT = new Deno.UnsafeFnPointer( + proc("glImportSemaphoreFdEXT"), + def_glImportSemaphoreFdEXT, + ); } diff --git a/api/ext/GL_EXT_semaphore_win32.ts b/api/ext/GL_EXT_semaphore_win32.ts index bc063c2..235f0dd 100644 --- a/api/ext/GL_EXT_semaphore_win32.ts +++ b/api/ext/GL_EXT_semaphore_win32.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,7 +83,9 @@ export const def_glImportSemaphoreWin32HandleEXT = { result: "void", } as const; -let fn_glImportSemaphoreWin32HandleEXT!: Deno.UnsafeFnPointer; +let fn_glImportSemaphoreWin32HandleEXT!: Deno.UnsafeFnPointer< + typeof def_glImportSemaphoreWin32HandleEXT +>; export function ImportSemaphoreWin32HandleEXT( semaphore: GLuint, @@ -94,7 +104,9 @@ export const def_glImportSemaphoreWin32NameEXT = { result: "void", } as const; -let fn_glImportSemaphoreWin32NameEXT!: Deno.UnsafeFnPointer; +let fn_glImportSemaphoreWin32NameEXT!: Deno.UnsafeFnPointer< + typeof def_glImportSemaphoreWin32NameEXT +>; export function ImportSemaphoreWin32NameEXT( semaphore: GLuint, @@ -110,6 +122,12 @@ export function ImportSemaphoreWin32NameEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glImportSemaphoreWin32HandleEXT = new Deno.UnsafeFnPointer(proc("glImportSemaphoreWin32HandleEXT"), def_glImportSemaphoreWin32HandleEXT); - fn_glImportSemaphoreWin32NameEXT = new Deno.UnsafeFnPointer(proc("glImportSemaphoreWin32NameEXT"), def_glImportSemaphoreWin32NameEXT); + fn_glImportSemaphoreWin32HandleEXT = new Deno.UnsafeFnPointer( + proc("glImportSemaphoreWin32HandleEXT"), + def_glImportSemaphoreWin32HandleEXT, + ); + fn_glImportSemaphoreWin32NameEXT = new Deno.UnsafeFnPointer( + proc("glImportSemaphoreWin32NameEXT"), + def_glImportSemaphoreWin32NameEXT, + ); } diff --git a/api/ext/GL_EXT_separate_depth_stencil.ts b/api/ext/GL_EXT_separate_depth_stencil.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_separate_depth_stencil.ts +++ b/api/ext/GL_EXT_separate_depth_stencil.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_separate_shader_objects.ts b/api/ext/GL_EXT_separate_shader_objects.ts index 0713f20..5b909ef 100644 --- a/api/ext/GL_EXT_separate_shader_objects.ts +++ b/api/ext/GL_EXT_separate_shader_objects.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,7 +83,9 @@ export const def_glUseShaderProgramEXT = { result: "void", } as const; -let fn_glUseShaderProgramEXT!: Deno.UnsafeFnPointer; +let fn_glUseShaderProgramEXT!: Deno.UnsafeFnPointer< + typeof def_glUseShaderProgramEXT +>; export function UseShaderProgramEXT( type: GLenum, @@ -107,7 +117,9 @@ export const def_glCreateShaderProgramEXT = { result: "u32", } as const; -let fn_glCreateShaderProgramEXT!: Deno.UnsafeFnPointer; +let fn_glCreateShaderProgramEXT!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderProgramEXT +>; export function CreateShaderProgramEXT( type: GLenum, @@ -124,7 +136,9 @@ export const def_glActiveShaderProgramEXT = { result: "void", } as const; -let fn_glActiveShaderProgramEXT!: Deno.UnsafeFnPointer; +let fn_glActiveShaderProgramEXT!: Deno.UnsafeFnPointer< + typeof def_glActiveShaderProgramEXT +>; export function ActiveShaderProgramEXT( pipeline: GLuint, @@ -141,7 +155,9 @@ export const def_glBindProgramPipelineEXT = { result: "void", } as const; -let fn_glBindProgramPipelineEXT!: Deno.UnsafeFnPointer; +let fn_glBindProgramPipelineEXT!: Deno.UnsafeFnPointer< + typeof def_glBindProgramPipelineEXT +>; export function BindProgramPipelineEXT( pipeline: GLuint, @@ -156,7 +172,9 @@ export const def_glCreateShaderProgramvEXT = { result: "u32", } as const; -let fn_glCreateShaderProgramvEXT!: Deno.UnsafeFnPointer; +let fn_glCreateShaderProgramvEXT!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderProgramvEXT +>; export function CreateShaderProgramvEXT( type: GLenum, @@ -175,7 +193,9 @@ export const def_glDeleteProgramPipelinesEXT = { result: "void", } as const; -let fn_glDeleteProgramPipelinesEXT!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramPipelinesEXT!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramPipelinesEXT +>; export function DeleteProgramPipelinesEXT( n: GLsizei, @@ -192,7 +212,9 @@ export const def_glGenProgramPipelinesEXT = { result: "void", } as const; -let fn_glGenProgramPipelinesEXT!: Deno.UnsafeFnPointer; +let fn_glGenProgramPipelinesEXT!: Deno.UnsafeFnPointer< + typeof def_glGenProgramPipelinesEXT +>; export function GenProgramPipelinesEXT( n: GLsizei, @@ -209,7 +231,9 @@ export const def_glGetProgramPipelineInfoLogEXT = { result: "void", } as const; -let fn_glGetProgramPipelineInfoLogEXT!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineInfoLogEXT!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineInfoLogEXT +>; export function GetProgramPipelineInfoLogEXT( pipeline: GLuint, @@ -230,7 +254,9 @@ export const def_glGetProgramPipelineivEXT = { result: "void", } as const; -let fn_glGetProgramPipelineivEXT!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineivEXT +>; export function GetProgramPipelineivEXT( pipeline: GLuint, @@ -249,7 +275,9 @@ export const def_glIsProgramPipelineEXT = { result: "u8", } as const; -let fn_glIsProgramPipelineEXT!: Deno.UnsafeFnPointer; +let fn_glIsProgramPipelineEXT!: Deno.UnsafeFnPointer< + typeof def_glIsProgramPipelineEXT +>; export function IsProgramPipelineEXT( pipeline: GLuint, @@ -264,7 +292,9 @@ export const def_glProgramParameteriEXT = { result: "void", } as const; -let fn_glProgramParameteriEXT!: Deno.UnsafeFnPointer; +let fn_glProgramParameteriEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteriEXT +>; export function ProgramParameteriEXT( program: GLuint, @@ -283,7 +313,9 @@ export const def_glProgramUniform1fEXT = { result: "void", } as const; -let fn_glProgramUniform1fEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fEXT +>; export function ProgramUniform1fEXT( program: GLuint, @@ -302,7 +334,9 @@ export const def_glProgramUniform1fvEXT = { result: "void", } as const; -let fn_glProgramUniform1fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fvEXT +>; export function ProgramUniform1fvEXT( program: GLuint, @@ -323,7 +357,9 @@ export const def_glProgramUniform1iEXT = { result: "void", } as const; -let fn_glProgramUniform1iEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1iEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1iEXT +>; export function ProgramUniform1iEXT( program: GLuint, @@ -342,7 +378,9 @@ export const def_glProgramUniform1ivEXT = { result: "void", } as const; -let fn_glProgramUniform1ivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ivEXT +>; export function ProgramUniform1ivEXT( program: GLuint, @@ -363,7 +401,9 @@ export const def_glProgramUniform2fEXT = { result: "void", } as const; -let fn_glProgramUniform2fEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fEXT +>; export function ProgramUniform2fEXT( program: GLuint, @@ -384,7 +424,9 @@ export const def_glProgramUniform2fvEXT = { result: "void", } as const; -let fn_glProgramUniform2fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fvEXT +>; export function ProgramUniform2fvEXT( program: GLuint, @@ -405,7 +447,9 @@ export const def_glProgramUniform2iEXT = { result: "void", } as const; -let fn_glProgramUniform2iEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2iEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2iEXT +>; export function ProgramUniform2iEXT( program: GLuint, @@ -426,7 +470,9 @@ export const def_glProgramUniform2ivEXT = { result: "void", } as const; -let fn_glProgramUniform2ivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ivEXT +>; export function ProgramUniform2ivEXT( program: GLuint, @@ -447,7 +493,9 @@ export const def_glProgramUniform3fEXT = { result: "void", } as const; -let fn_glProgramUniform3fEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fEXT +>; export function ProgramUniform3fEXT( program: GLuint, @@ -470,7 +518,9 @@ export const def_glProgramUniform3fvEXT = { result: "void", } as const; -let fn_glProgramUniform3fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fvEXT +>; export function ProgramUniform3fvEXT( program: GLuint, @@ -491,7 +541,9 @@ export const def_glProgramUniform3iEXT = { result: "void", } as const; -let fn_glProgramUniform3iEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3iEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3iEXT +>; export function ProgramUniform3iEXT( program: GLuint, @@ -514,7 +566,9 @@ export const def_glProgramUniform3ivEXT = { result: "void", } as const; -let fn_glProgramUniform3ivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ivEXT +>; export function ProgramUniform3ivEXT( program: GLuint, @@ -535,7 +589,9 @@ export const def_glProgramUniform4fEXT = { result: "void", } as const; -let fn_glProgramUniform4fEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fEXT +>; export function ProgramUniform4fEXT( program: GLuint, @@ -560,7 +616,9 @@ export const def_glProgramUniform4fvEXT = { result: "void", } as const; -let fn_glProgramUniform4fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fvEXT +>; export function ProgramUniform4fvEXT( program: GLuint, @@ -581,7 +639,9 @@ export const def_glProgramUniform4iEXT = { result: "void", } as const; -let fn_glProgramUniform4iEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4iEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4iEXT +>; export function ProgramUniform4iEXT( program: GLuint, @@ -606,7 +666,9 @@ export const def_glProgramUniform4ivEXT = { result: "void", } as const; -let fn_glProgramUniform4ivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ivEXT +>; export function ProgramUniform4ivEXT( program: GLuint, @@ -627,7 +689,9 @@ export const def_glProgramUniformMatrix2fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix2fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2fvEXT +>; export function ProgramUniformMatrix2fvEXT( program: GLuint, @@ -650,7 +714,9 @@ export const def_glProgramUniformMatrix3fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix3fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3fvEXT +>; export function ProgramUniformMatrix3fvEXT( program: GLuint, @@ -673,7 +739,9 @@ export const def_glProgramUniformMatrix4fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix4fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4fvEXT +>; export function ProgramUniformMatrix4fvEXT( program: GLuint, @@ -696,7 +764,9 @@ export const def_glUseProgramStagesEXT = { result: "void", } as const; -let fn_glUseProgramStagesEXT!: Deno.UnsafeFnPointer; +let fn_glUseProgramStagesEXT!: Deno.UnsafeFnPointer< + typeof def_glUseProgramStagesEXT +>; export function UseProgramStagesEXT( pipeline: GLuint, @@ -715,7 +785,9 @@ export const def_glValidateProgramPipelineEXT = { result: "void", } as const; -let fn_glValidateProgramPipelineEXT!: Deno.UnsafeFnPointer; +let fn_glValidateProgramPipelineEXT!: Deno.UnsafeFnPointer< + typeof def_glValidateProgramPipelineEXT +>; export function ValidateProgramPipelineEXT( pipeline: GLuint, @@ -730,7 +802,9 @@ export const def_glProgramUniform1uiEXT = { result: "void", } as const; -let fn_glProgramUniform1uiEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uiEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uiEXT +>; export function ProgramUniform1uiEXT( program: GLuint, @@ -749,7 +823,9 @@ export const def_glProgramUniform2uiEXT = { result: "void", } as const; -let fn_glProgramUniform2uiEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uiEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uiEXT +>; export function ProgramUniform2uiEXT( program: GLuint, @@ -770,7 +846,9 @@ export const def_glProgramUniform3uiEXT = { result: "void", } as const; -let fn_glProgramUniform3uiEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uiEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uiEXT +>; export function ProgramUniform3uiEXT( program: GLuint, @@ -793,7 +871,9 @@ export const def_glProgramUniform4uiEXT = { result: "void", } as const; -let fn_glProgramUniform4uiEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uiEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uiEXT +>; export function ProgramUniform4uiEXT( program: GLuint, @@ -818,7 +898,9 @@ export const def_glProgramUniform1uivEXT = { result: "void", } as const; -let fn_glProgramUniform1uivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uivEXT +>; export function ProgramUniform1uivEXT( program: GLuint, @@ -839,7 +921,9 @@ export const def_glProgramUniform2uivEXT = { result: "void", } as const; -let fn_glProgramUniform2uivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uivEXT +>; export function ProgramUniform2uivEXT( program: GLuint, @@ -860,7 +944,9 @@ export const def_glProgramUniform3uivEXT = { result: "void", } as const; -let fn_glProgramUniform3uivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uivEXT +>; export function ProgramUniform3uivEXT( program: GLuint, @@ -881,7 +967,9 @@ export const def_glProgramUniform4uivEXT = { result: "void", } as const; -let fn_glProgramUniform4uivEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uivEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uivEXT +>; export function ProgramUniform4uivEXT( program: GLuint, @@ -902,7 +990,9 @@ export const def_glProgramUniformMatrix2x3fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3fvEXT +>; export function ProgramUniformMatrix2x3fvEXT( program: GLuint, @@ -925,7 +1015,9 @@ export const def_glProgramUniformMatrix3x2fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2fvEXT +>; export function ProgramUniformMatrix3x2fvEXT( program: GLuint, @@ -948,7 +1040,9 @@ export const def_glProgramUniformMatrix2x4fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4fvEXT +>; export function ProgramUniformMatrix2x4fvEXT( program: GLuint, @@ -971,7 +1065,9 @@ export const def_glProgramUniformMatrix4x2fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2fvEXT +>; export function ProgramUniformMatrix4x2fvEXT( program: GLuint, @@ -994,7 +1090,9 @@ export const def_glProgramUniformMatrix3x4fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4fvEXT +>; export function ProgramUniformMatrix3x4fvEXT( program: GLuint, @@ -1017,7 +1115,9 @@ export const def_glProgramUniformMatrix4x3fvEXT = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3fvEXT!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3fvEXT!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3fvEXT +>; export function ProgramUniformMatrix4x3fvEXT( program: GLuint, @@ -1037,51 +1137,192 @@ export function ProgramUniformMatrix4x3fvEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glUseShaderProgramEXT = new Deno.UnsafeFnPointer(proc("glUseShaderProgramEXT"), def_glUseShaderProgramEXT); - fn_glActiveProgramEXT = new Deno.UnsafeFnPointer(proc("glActiveProgramEXT"), def_glActiveProgramEXT); - fn_glCreateShaderProgramEXT = new Deno.UnsafeFnPointer(proc("glCreateShaderProgramEXT"), def_glCreateShaderProgramEXT); - fn_glActiveShaderProgramEXT = new Deno.UnsafeFnPointer(proc("glActiveShaderProgramEXT"), def_glActiveShaderProgramEXT); - fn_glBindProgramPipelineEXT = new Deno.UnsafeFnPointer(proc("glBindProgramPipelineEXT"), def_glBindProgramPipelineEXT); - fn_glCreateShaderProgramvEXT = new Deno.UnsafeFnPointer(proc("glCreateShaderProgramvEXT"), def_glCreateShaderProgramvEXT); - fn_glDeleteProgramPipelinesEXT = new Deno.UnsafeFnPointer(proc("glDeleteProgramPipelinesEXT"), def_glDeleteProgramPipelinesEXT); - fn_glGenProgramPipelinesEXT = new Deno.UnsafeFnPointer(proc("glGenProgramPipelinesEXT"), def_glGenProgramPipelinesEXT); - fn_glGetProgramPipelineInfoLogEXT = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineInfoLogEXT"), def_glGetProgramPipelineInfoLogEXT); - fn_glGetProgramPipelineivEXT = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineivEXT"), def_glGetProgramPipelineivEXT); - fn_glIsProgramPipelineEXT = new Deno.UnsafeFnPointer(proc("glIsProgramPipelineEXT"), def_glIsProgramPipelineEXT); - fn_glProgramParameteriEXT = new Deno.UnsafeFnPointer(proc("glProgramParameteriEXT"), def_glProgramParameteriEXT); - fn_glProgramUniform1fEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1fEXT"), def_glProgramUniform1fEXT); - fn_glProgramUniform1fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1fvEXT"), def_glProgramUniform1fvEXT); - fn_glProgramUniform1iEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1iEXT"), def_glProgramUniform1iEXT); - fn_glProgramUniform1ivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1ivEXT"), def_glProgramUniform1ivEXT); - fn_glProgramUniform2fEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2fEXT"), def_glProgramUniform2fEXT); - fn_glProgramUniform2fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2fvEXT"), def_glProgramUniform2fvEXT); - fn_glProgramUniform2iEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2iEXT"), def_glProgramUniform2iEXT); - fn_glProgramUniform2ivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2ivEXT"), def_glProgramUniform2ivEXT); - fn_glProgramUniform3fEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3fEXT"), def_glProgramUniform3fEXT); - fn_glProgramUniform3fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3fvEXT"), def_glProgramUniform3fvEXT); - fn_glProgramUniform3iEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3iEXT"), def_glProgramUniform3iEXT); - fn_glProgramUniform3ivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3ivEXT"), def_glProgramUniform3ivEXT); - fn_glProgramUniform4fEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4fEXT"), def_glProgramUniform4fEXT); - fn_glProgramUniform4fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4fvEXT"), def_glProgramUniform4fvEXT); - fn_glProgramUniform4iEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4iEXT"), def_glProgramUniform4iEXT); - fn_glProgramUniform4ivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4ivEXT"), def_glProgramUniform4ivEXT); - fn_glProgramUniformMatrix2fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2fvEXT"), def_glProgramUniformMatrix2fvEXT); - fn_glProgramUniformMatrix3fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3fvEXT"), def_glProgramUniformMatrix3fvEXT); - fn_glProgramUniformMatrix4fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4fvEXT"), def_glProgramUniformMatrix4fvEXT); - fn_glUseProgramStagesEXT = new Deno.UnsafeFnPointer(proc("glUseProgramStagesEXT"), def_glUseProgramStagesEXT); - fn_glValidateProgramPipelineEXT = new Deno.UnsafeFnPointer(proc("glValidateProgramPipelineEXT"), def_glValidateProgramPipelineEXT); - fn_glProgramUniform1uiEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1uiEXT"), def_glProgramUniform1uiEXT); - fn_glProgramUniform2uiEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2uiEXT"), def_glProgramUniform2uiEXT); - fn_glProgramUniform3uiEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3uiEXT"), def_glProgramUniform3uiEXT); - fn_glProgramUniform4uiEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4uiEXT"), def_glProgramUniform4uiEXT); - fn_glProgramUniform1uivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform1uivEXT"), def_glProgramUniform1uivEXT); - fn_glProgramUniform2uivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform2uivEXT"), def_glProgramUniform2uivEXT); - fn_glProgramUniform3uivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform3uivEXT"), def_glProgramUniform3uivEXT); - fn_glProgramUniform4uivEXT = new Deno.UnsafeFnPointer(proc("glProgramUniform4uivEXT"), def_glProgramUniform4uivEXT); - fn_glProgramUniformMatrix2x3fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3fvEXT"), def_glProgramUniformMatrix2x3fvEXT); - fn_glProgramUniformMatrix3x2fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2fvEXT"), def_glProgramUniformMatrix3x2fvEXT); - fn_glProgramUniformMatrix2x4fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4fvEXT"), def_glProgramUniformMatrix2x4fvEXT); - fn_glProgramUniformMatrix4x2fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2fvEXT"), def_glProgramUniformMatrix4x2fvEXT); - fn_glProgramUniformMatrix3x4fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4fvEXT"), def_glProgramUniformMatrix3x4fvEXT); - fn_glProgramUniformMatrix4x3fvEXT = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3fvEXT"), def_glProgramUniformMatrix4x3fvEXT); + fn_glUseShaderProgramEXT = new Deno.UnsafeFnPointer( + proc("glUseShaderProgramEXT"), + def_glUseShaderProgramEXT, + ); + fn_glActiveProgramEXT = new Deno.UnsafeFnPointer( + proc("glActiveProgramEXT"), + def_glActiveProgramEXT, + ); + fn_glCreateShaderProgramEXT = new Deno.UnsafeFnPointer( + proc("glCreateShaderProgramEXT"), + def_glCreateShaderProgramEXT, + ); + fn_glActiveShaderProgramEXT = new Deno.UnsafeFnPointer( + proc("glActiveShaderProgramEXT"), + def_glActiveShaderProgramEXT, + ); + fn_glBindProgramPipelineEXT = new Deno.UnsafeFnPointer( + proc("glBindProgramPipelineEXT"), + def_glBindProgramPipelineEXT, + ); + fn_glCreateShaderProgramvEXT = new Deno.UnsafeFnPointer( + proc("glCreateShaderProgramvEXT"), + def_glCreateShaderProgramvEXT, + ); + fn_glDeleteProgramPipelinesEXT = new Deno.UnsafeFnPointer( + proc("glDeleteProgramPipelinesEXT"), + def_glDeleteProgramPipelinesEXT, + ); + fn_glGenProgramPipelinesEXT = new Deno.UnsafeFnPointer( + proc("glGenProgramPipelinesEXT"), + def_glGenProgramPipelinesEXT, + ); + fn_glGetProgramPipelineInfoLogEXT = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineInfoLogEXT"), + def_glGetProgramPipelineInfoLogEXT, + ); + fn_glGetProgramPipelineivEXT = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineivEXT"), + def_glGetProgramPipelineivEXT, + ); + fn_glIsProgramPipelineEXT = new Deno.UnsafeFnPointer( + proc("glIsProgramPipelineEXT"), + def_glIsProgramPipelineEXT, + ); + fn_glProgramParameteriEXT = new Deno.UnsafeFnPointer( + proc("glProgramParameteriEXT"), + def_glProgramParameteriEXT, + ); + fn_glProgramUniform1fEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fEXT"), + def_glProgramUniform1fEXT, + ); + fn_glProgramUniform1fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fvEXT"), + def_glProgramUniform1fvEXT, + ); + fn_glProgramUniform1iEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1iEXT"), + def_glProgramUniform1iEXT, + ); + fn_glProgramUniform1ivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ivEXT"), + def_glProgramUniform1ivEXT, + ); + fn_glProgramUniform2fEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fEXT"), + def_glProgramUniform2fEXT, + ); + fn_glProgramUniform2fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fvEXT"), + def_glProgramUniform2fvEXT, + ); + fn_glProgramUniform2iEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2iEXT"), + def_glProgramUniform2iEXT, + ); + fn_glProgramUniform2ivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ivEXT"), + def_glProgramUniform2ivEXT, + ); + fn_glProgramUniform3fEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fEXT"), + def_glProgramUniform3fEXT, + ); + fn_glProgramUniform3fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fvEXT"), + def_glProgramUniform3fvEXT, + ); + fn_glProgramUniform3iEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3iEXT"), + def_glProgramUniform3iEXT, + ); + fn_glProgramUniform3ivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ivEXT"), + def_glProgramUniform3ivEXT, + ); + fn_glProgramUniform4fEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fEXT"), + def_glProgramUniform4fEXT, + ); + fn_glProgramUniform4fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fvEXT"), + def_glProgramUniform4fvEXT, + ); + fn_glProgramUniform4iEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4iEXT"), + def_glProgramUniform4iEXT, + ); + fn_glProgramUniform4ivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ivEXT"), + def_glProgramUniform4ivEXT, + ); + fn_glProgramUniformMatrix2fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2fvEXT"), + def_glProgramUniformMatrix2fvEXT, + ); + fn_glProgramUniformMatrix3fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3fvEXT"), + def_glProgramUniformMatrix3fvEXT, + ); + fn_glProgramUniformMatrix4fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4fvEXT"), + def_glProgramUniformMatrix4fvEXT, + ); + fn_glUseProgramStagesEXT = new Deno.UnsafeFnPointer( + proc("glUseProgramStagesEXT"), + def_glUseProgramStagesEXT, + ); + fn_glValidateProgramPipelineEXT = new Deno.UnsafeFnPointer( + proc("glValidateProgramPipelineEXT"), + def_glValidateProgramPipelineEXT, + ); + fn_glProgramUniform1uiEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uiEXT"), + def_glProgramUniform1uiEXT, + ); + fn_glProgramUniform2uiEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uiEXT"), + def_glProgramUniform2uiEXT, + ); + fn_glProgramUniform3uiEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uiEXT"), + def_glProgramUniform3uiEXT, + ); + fn_glProgramUniform4uiEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uiEXT"), + def_glProgramUniform4uiEXT, + ); + fn_glProgramUniform1uivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uivEXT"), + def_glProgramUniform1uivEXT, + ); + fn_glProgramUniform2uivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uivEXT"), + def_glProgramUniform2uivEXT, + ); + fn_glProgramUniform3uivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uivEXT"), + def_glProgramUniform3uivEXT, + ); + fn_glProgramUniform4uivEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uivEXT"), + def_glProgramUniform4uivEXT, + ); + fn_glProgramUniformMatrix2x3fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3fvEXT"), + def_glProgramUniformMatrix2x3fvEXT, + ); + fn_glProgramUniformMatrix3x2fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2fvEXT"), + def_glProgramUniformMatrix3x2fvEXT, + ); + fn_glProgramUniformMatrix2x4fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4fvEXT"), + def_glProgramUniformMatrix2x4fvEXT, + ); + fn_glProgramUniformMatrix4x2fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2fvEXT"), + def_glProgramUniformMatrix4x2fvEXT, + ); + fn_glProgramUniformMatrix3x4fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4fvEXT"), + def_glProgramUniformMatrix3x4fvEXT, + ); + fn_glProgramUniformMatrix4x3fvEXT = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3fvEXT"), + def_glProgramUniformMatrix4x3fvEXT, + ); } diff --git a/api/ext/GL_EXT_separate_specular_color.ts b/api/ext/GL_EXT_separate_specular_color.ts index 7c9eeaf..920a0e2 100644 --- a/api/ext/GL_EXT_separate_specular_color.ts +++ b/api/ext/GL_EXT_separate_specular_color.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shader_framebuffer_fetch.ts b/api/ext/GL_EXT_shader_framebuffer_fetch.ts index c398d75..c064dcc 100644 --- a/api/ext/GL_EXT_shader_framebuffer_fetch.ts +++ b/api/ext/GL_EXT_shader_framebuffer_fetch.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shader_framebuffer_fetch_non_coherent.ts b/api/ext/GL_EXT_shader_framebuffer_fetch_non_coherent.ts index 3e1fb8e..376f87c 100644 --- a/api/ext/GL_EXT_shader_framebuffer_fetch_non_coherent.ts +++ b/api/ext/GL_EXT_shader_framebuffer_fetch_non_coherent.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glFramebufferFetchBarrierEXT = { result: "void", } as const; -let fn_glFramebufferFetchBarrierEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferFetchBarrierEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferFetchBarrierEXT +>; export function FramebufferFetchBarrierEXT(): void { fn_glFramebufferFetchBarrierEXT.call(); @@ -77,5 +87,8 @@ export function FramebufferFetchBarrierEXT(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferFetchBarrierEXT = new Deno.UnsafeFnPointer(proc("glFramebufferFetchBarrierEXT"), def_glFramebufferFetchBarrierEXT); + fn_glFramebufferFetchBarrierEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferFetchBarrierEXT"), + def_glFramebufferFetchBarrierEXT, + ); } diff --git a/api/ext/GL_EXT_shader_group_vote.ts b/api/ext/GL_EXT_shader_group_vote.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_shader_group_vote.ts +++ b/api/ext/GL_EXT_shader_group_vote.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shader_image_load_formatted.ts b/api/ext/GL_EXT_shader_image_load_formatted.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_shader_image_load_formatted.ts +++ b/api/ext/GL_EXT_shader_image_load_formatted.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shader_image_load_store.ts b/api/ext/GL_EXT_shader_image_load_store.ts index 1be2200..c80da07 100644 --- a/api/ext/GL_EXT_shader_image_load_store.ts +++ b/api/ext/GL_EXT_shader_image_load_store.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -123,7 +131,9 @@ export const def_glBindImageTextureEXT = { result: "void", } as const; -let fn_glBindImageTextureEXT!: Deno.UnsafeFnPointer; +let fn_glBindImageTextureEXT!: Deno.UnsafeFnPointer< + typeof def_glBindImageTextureEXT +>; export function BindImageTextureEXT( index: GLuint, @@ -162,6 +172,12 @@ export function MemoryBarrierEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindImageTextureEXT = new Deno.UnsafeFnPointer(proc("glBindImageTextureEXT"), def_glBindImageTextureEXT); - fn_glMemoryBarrierEXT = new Deno.UnsafeFnPointer(proc("glMemoryBarrierEXT"), def_glMemoryBarrierEXT); + fn_glBindImageTextureEXT = new Deno.UnsafeFnPointer( + proc("glBindImageTextureEXT"), + def_glBindImageTextureEXT, + ); + fn_glMemoryBarrierEXT = new Deno.UnsafeFnPointer( + proc("glMemoryBarrierEXT"), + def_glMemoryBarrierEXT, + ); } diff --git a/api/ext/GL_EXT_shader_implicit_conversions.ts b/api/ext/GL_EXT_shader_implicit_conversions.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_shader_implicit_conversions.ts +++ b/api/ext/GL_EXT_shader_implicit_conversions.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shader_integer_mix.ts b/api/ext/GL_EXT_shader_integer_mix.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_shader_integer_mix.ts +++ b/api/ext/GL_EXT_shader_integer_mix.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shader_io_blocks.ts b/api/ext/GL_EXT_shader_io_blocks.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_shader_io_blocks.ts +++ b/api/ext/GL_EXT_shader_io_blocks.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shader_non_constant_global_initializers.ts b/api/ext/GL_EXT_shader_non_constant_global_initializers.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_shader_non_constant_global_initializers.ts +++ b/api/ext/GL_EXT_shader_non_constant_global_initializers.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shader_pixel_local_storage.ts b/api/ext/GL_EXT_shader_pixel_local_storage.ts index ca1b762..fb731d3 100644 --- a/api/ext/GL_EXT_shader_pixel_local_storage.ts +++ b/api/ext/GL_EXT_shader_pixel_local_storage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shader_pixel_local_storage2.ts b/api/ext/GL_EXT_shader_pixel_local_storage2.ts index 9e53c78..b5a7b3c 100644 --- a/api/ext/GL_EXT_shader_pixel_local_storage2.ts +++ b/api/ext/GL_EXT_shader_pixel_local_storage2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -62,7 +70,8 @@ export type GLVULKANPROCNV = Buffer; /// Enums export const MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT = 0x9650; export const MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT = 0x9651; -export const FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT = 0x9652; +export const FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT = + 0x9652; /// Commands @@ -71,7 +80,9 @@ export const def_glFramebufferPixelLocalStorageSizeEXT = { result: "void", } as const; -let fn_glFramebufferPixelLocalStorageSizeEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferPixelLocalStorageSizeEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferPixelLocalStorageSizeEXT +>; export function FramebufferPixelLocalStorageSizeEXT( target: GLuint, @@ -88,7 +99,9 @@ export const def_glGetFramebufferPixelLocalStorageSizeEXT = { result: "i32", } as const; -let fn_glGetFramebufferPixelLocalStorageSizeEXT!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferPixelLocalStorageSizeEXT!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferPixelLocalStorageSizeEXT +>; export function GetFramebufferPixelLocalStorageSizeEXT( target: GLuint, @@ -103,7 +116,9 @@ export const def_glClearPixelLocalStorageuiEXT = { result: "void", } as const; -let fn_glClearPixelLocalStorageuiEXT!: Deno.UnsafeFnPointer; +let fn_glClearPixelLocalStorageuiEXT!: Deno.UnsafeFnPointer< + typeof def_glClearPixelLocalStorageuiEXT +>; export function ClearPixelLocalStorageuiEXT( offset: GLsizei, @@ -119,7 +134,16 @@ export function ClearPixelLocalStorageuiEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferPixelLocalStorageSizeEXT = new Deno.UnsafeFnPointer(proc("glFramebufferPixelLocalStorageSizeEXT"), def_glFramebufferPixelLocalStorageSizeEXT); - fn_glGetFramebufferPixelLocalStorageSizeEXT = new Deno.UnsafeFnPointer(proc("glGetFramebufferPixelLocalStorageSizeEXT"), def_glGetFramebufferPixelLocalStorageSizeEXT); - fn_glClearPixelLocalStorageuiEXT = new Deno.UnsafeFnPointer(proc("glClearPixelLocalStorageuiEXT"), def_glClearPixelLocalStorageuiEXT); + fn_glFramebufferPixelLocalStorageSizeEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferPixelLocalStorageSizeEXT"), + def_glFramebufferPixelLocalStorageSizeEXT, + ); + fn_glGetFramebufferPixelLocalStorageSizeEXT = new Deno.UnsafeFnPointer( + proc("glGetFramebufferPixelLocalStorageSizeEXT"), + def_glGetFramebufferPixelLocalStorageSizeEXT, + ); + fn_glClearPixelLocalStorageuiEXT = new Deno.UnsafeFnPointer( + proc("glClearPixelLocalStorageuiEXT"), + def_glClearPixelLocalStorageuiEXT, + ); } diff --git a/api/ext/GL_EXT_shader_samples_identical.ts b/api/ext/GL_EXT_shader_samples_identical.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_shader_samples_identical.ts +++ b/api/ext/GL_EXT_shader_samples_identical.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shader_texture_lod.ts b/api/ext/GL_EXT_shader_texture_lod.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_shader_texture_lod.ts +++ b/api/ext/GL_EXT_shader_texture_lod.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shadow_funcs.ts b/api/ext/GL_EXT_shadow_funcs.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_shadow_funcs.ts +++ b/api/ext/GL_EXT_shadow_funcs.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shadow_samplers.ts b/api/ext/GL_EXT_shadow_samplers.ts index 10892e4..041d10e 100644 --- a/api/ext/GL_EXT_shadow_samplers.ts +++ b/api/ext/GL_EXT_shadow_samplers.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_shared_texture_palette.ts b/api/ext/GL_EXT_shared_texture_palette.ts index 71ed1af..d359ed8 100644 --- a/api/ext/GL_EXT_shared_texture_palette.ts +++ b/api/ext/GL_EXT_shared_texture_palette.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_sparse_texture.ts b/api/ext/GL_EXT_sparse_texture.ts index 276e4f8..d0f2fe8 100644 --- a/api/ext/GL_EXT_sparse_texture.ts +++ b/api/ext/GL_EXT_sparse_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,7 +92,9 @@ export const def_glTexPageCommitmentEXT = { result: "void", } as const; -let fn_glTexPageCommitmentEXT!: Deno.UnsafeFnPointer; +let fn_glTexPageCommitmentEXT!: Deno.UnsafeFnPointer< + typeof def_glTexPageCommitmentEXT +>; export function TexPageCommitmentEXT( target: GLenum, @@ -112,5 +122,8 @@ export function TexPageCommitmentEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexPageCommitmentEXT = new Deno.UnsafeFnPointer(proc("glTexPageCommitmentEXT"), def_glTexPageCommitmentEXT); + fn_glTexPageCommitmentEXT = new Deno.UnsafeFnPointer( + proc("glTexPageCommitmentEXT"), + def_glTexPageCommitmentEXT, + ); } diff --git a/api/ext/GL_EXT_sparse_texture2.ts b/api/ext/GL_EXT_sparse_texture2.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_sparse_texture2.ts +++ b/api/ext/GL_EXT_sparse_texture2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_stencil_clear_tag.ts b/api/ext/GL_EXT_stencil_clear_tag.ts index 6813158..eea1eac 100644 --- a/api/ext/GL_EXT_stencil_clear_tag.ts +++ b/api/ext/GL_EXT_stencil_clear_tag.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glStencilClearTagEXT = { result: "void", } as const; -let fn_glStencilClearTagEXT!: Deno.UnsafeFnPointer; +let fn_glStencilClearTagEXT!: Deno.UnsafeFnPointer< + typeof def_glStencilClearTagEXT +>; export function StencilClearTagEXT( stencilTagBits: GLsizei, @@ -84,5 +94,8 @@ export function StencilClearTagEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glStencilClearTagEXT = new Deno.UnsafeFnPointer(proc("glStencilClearTagEXT"), def_glStencilClearTagEXT); + fn_glStencilClearTagEXT = new Deno.UnsafeFnPointer( + proc("glStencilClearTagEXT"), + def_glStencilClearTagEXT, + ); } diff --git a/api/ext/GL_EXT_stencil_two_side.ts b/api/ext/GL_EXT_stencil_two_side.ts index e96833a..f8b5688 100644 --- a/api/ext/GL_EXT_stencil_two_side.ts +++ b/api/ext/GL_EXT_stencil_two_side.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glActiveStencilFaceEXT = { result: "void", } as const; -let fn_glActiveStencilFaceEXT!: Deno.UnsafeFnPointer; +let fn_glActiveStencilFaceEXT!: Deno.UnsafeFnPointer< + typeof def_glActiveStencilFaceEXT +>; export function ActiveStencilFaceEXT( face: GLenum, @@ -82,5 +92,8 @@ export function ActiveStencilFaceEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glActiveStencilFaceEXT = new Deno.UnsafeFnPointer(proc("glActiveStencilFaceEXT"), def_glActiveStencilFaceEXT); + fn_glActiveStencilFaceEXT = new Deno.UnsafeFnPointer( + proc("glActiveStencilFaceEXT"), + def_glActiveStencilFaceEXT, + ); } diff --git a/api/ext/GL_EXT_stencil_wrap.ts b/api/ext/GL_EXT_stencil_wrap.ts index fb18121..f41c5bf 100644 --- a/api/ext/GL_EXT_stencil_wrap.ts +++ b/api/ext/GL_EXT_stencil_wrap.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_subtexture.ts b/api/ext/GL_EXT_subtexture.ts index 4448ba6..da0f8c0 100644 --- a/api/ext/GL_EXT_subtexture.ts +++ b/api/ext/GL_EXT_subtexture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -89,7 +97,17 @@ export function TexSubImage1DEXT( } export const def_glTexSubImage2DEXT = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -121,6 +139,12 @@ export function TexSubImage2DEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexSubImage1DEXT = new Deno.UnsafeFnPointer(proc("glTexSubImage1DEXT"), def_glTexSubImage1DEXT); - fn_glTexSubImage2DEXT = new Deno.UnsafeFnPointer(proc("glTexSubImage2DEXT"), def_glTexSubImage2DEXT); + fn_glTexSubImage1DEXT = new Deno.UnsafeFnPointer( + proc("glTexSubImage1DEXT"), + def_glTexSubImage1DEXT, + ); + fn_glTexSubImage2DEXT = new Deno.UnsafeFnPointer( + proc("glTexSubImage2DEXT"), + def_glTexSubImage2DEXT, + ); } diff --git a/api/ext/GL_EXT_tessellation_point_size.ts b/api/ext/GL_EXT_tessellation_point_size.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_tessellation_point_size.ts +++ b/api/ext/GL_EXT_tessellation_point_size.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_tessellation_shader.ts b/api/ext/GL_EXT_tessellation_shader.ts index e74cdee..c8f54c2 100644 --- a/api/ext/GL_EXT_tessellation_shader.ts +++ b/api/ext/GL_EXT_tessellation_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -115,7 +123,9 @@ export const def_glPatchParameteriEXT = { result: "void", } as const; -let fn_glPatchParameteriEXT!: Deno.UnsafeFnPointer; +let fn_glPatchParameteriEXT!: Deno.UnsafeFnPointer< + typeof def_glPatchParameteriEXT +>; export function PatchParameteriEXT( pname: GLenum, @@ -129,5 +139,8 @@ export function PatchParameteriEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPatchParameteriEXT = new Deno.UnsafeFnPointer(proc("glPatchParameteriEXT"), def_glPatchParameteriEXT); + fn_glPatchParameteriEXT = new Deno.UnsafeFnPointer( + proc("glPatchParameteriEXT"), + def_glPatchParameteriEXT, + ); } diff --git a/api/ext/GL_EXT_texture.ts b/api/ext/GL_EXT_texture.ts index 97e389f..0c44245 100644 --- a/api/ext/GL_EXT_texture.ts +++ b/api/ext/GL_EXT_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture3D.ts b/api/ext/GL_EXT_texture3D.ts index aefab32..507ec39 100644 --- a/api/ext/GL_EXT_texture3D.ts +++ b/api/ext/GL_EXT_texture3D.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -73,7 +81,18 @@ export const MAX_3D_TEXTURE_SIZE_EXT = 0x8073; /// Commands export const def_glTexImage3DEXT = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -106,7 +125,19 @@ export function TexImage3DEXT( } export const def_glTexSubImage3DEXT = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -142,6 +173,12 @@ export function TexSubImage3DEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexImage3DEXT = new Deno.UnsafeFnPointer(proc("glTexImage3DEXT"), def_glTexImage3DEXT); - fn_glTexSubImage3DEXT = new Deno.UnsafeFnPointer(proc("glTexSubImage3DEXT"), def_glTexSubImage3DEXT); + fn_glTexImage3DEXT = new Deno.UnsafeFnPointer( + proc("glTexImage3DEXT"), + def_glTexImage3DEXT, + ); + fn_glTexSubImage3DEXT = new Deno.UnsafeFnPointer( + proc("glTexSubImage3DEXT"), + def_glTexSubImage3DEXT, + ); } diff --git a/api/ext/GL_EXT_texture_array.ts b/api/ext/GL_EXT_texture_array.ts index 8b8375b..f2b8a91 100644 --- a/api/ext/GL_EXT_texture_array.ts +++ b/api/ext/GL_EXT_texture_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -77,7 +85,9 @@ export const def_glFramebufferTextureLayerEXT = { result: "void", } as const; -let fn_glFramebufferTextureLayerEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayerEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayerEXT +>; export function FramebufferTextureLayerEXT( target: GLenum, @@ -97,5 +107,8 @@ export function FramebufferTextureLayerEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferTextureLayerEXT = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayerEXT"), def_glFramebufferTextureLayerEXT); + fn_glFramebufferTextureLayerEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayerEXT"), + def_glFramebufferTextureLayerEXT, + ); } diff --git a/api/ext/GL_EXT_texture_border_clamp.ts b/api/ext/GL_EXT_texture_border_clamp.ts index bdcfb65..75551ee 100644 --- a/api/ext/GL_EXT_texture_border_clamp.ts +++ b/api/ext/GL_EXT_texture_border_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glTexParameterIivEXT = { result: "void", } as const; -let fn_glTexParameterIivEXT!: Deno.UnsafeFnPointer; +let fn_glTexParameterIivEXT!: Deno.UnsafeFnPointer< + typeof def_glTexParameterIivEXT +>; export function TexParameterIivEXT( target: GLenum, @@ -89,7 +99,9 @@ export const def_glTexParameterIuivEXT = { result: "void", } as const; -let fn_glTexParameterIuivEXT!: Deno.UnsafeFnPointer; +let fn_glTexParameterIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glTexParameterIuivEXT +>; export function TexParameterIuivEXT( target: GLenum, @@ -108,7 +120,9 @@ export const def_glGetTexParameterIivEXT = { result: "void", } as const; -let fn_glGetTexParameterIivEXT!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIivEXT +>; export function GetTexParameterIivEXT( target: GLenum, @@ -127,7 +141,9 @@ export const def_glGetTexParameterIuivEXT = { result: "void", } as const; -let fn_glGetTexParameterIuivEXT!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuivEXT +>; export function GetTexParameterIuivEXT( target: GLenum, @@ -146,7 +162,9 @@ export const def_glSamplerParameterIivEXT = { result: "void", } as const; -let fn_glSamplerParameterIivEXT!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIivEXT!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIivEXT +>; export function SamplerParameterIivEXT( sampler: GLuint, @@ -165,7 +183,9 @@ export const def_glSamplerParameterIuivEXT = { result: "void", } as const; -let fn_glSamplerParameterIuivEXT!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuivEXT +>; export function SamplerParameterIuivEXT( sampler: GLuint, @@ -184,7 +204,9 @@ export const def_glGetSamplerParameterIivEXT = { result: "void", } as const; -let fn_glGetSamplerParameterIivEXT!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIivEXT +>; export function GetSamplerParameterIivEXT( sampler: GLuint, @@ -203,7 +225,9 @@ export const def_glGetSamplerParameterIuivEXT = { result: "void", } as const; -let fn_glGetSamplerParameterIuivEXT!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuivEXT +>; export function GetSamplerParameterIuivEXT( sampler: GLuint, @@ -219,12 +243,36 @@ export function GetSamplerParameterIuivEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexParameterIivEXT = new Deno.UnsafeFnPointer(proc("glTexParameterIivEXT"), def_glTexParameterIivEXT); - fn_glTexParameterIuivEXT = new Deno.UnsafeFnPointer(proc("glTexParameterIuivEXT"), def_glTexParameterIuivEXT); - fn_glGetTexParameterIivEXT = new Deno.UnsafeFnPointer(proc("glGetTexParameterIivEXT"), def_glGetTexParameterIivEXT); - fn_glGetTexParameterIuivEXT = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuivEXT"), def_glGetTexParameterIuivEXT); - fn_glSamplerParameterIivEXT = new Deno.UnsafeFnPointer(proc("glSamplerParameterIivEXT"), def_glSamplerParameterIivEXT); - fn_glSamplerParameterIuivEXT = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuivEXT"), def_glSamplerParameterIuivEXT); - fn_glGetSamplerParameterIivEXT = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIivEXT"), def_glGetSamplerParameterIivEXT); - fn_glGetSamplerParameterIuivEXT = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuivEXT"), def_glGetSamplerParameterIuivEXT); + fn_glTexParameterIivEXT = new Deno.UnsafeFnPointer( + proc("glTexParameterIivEXT"), + def_glTexParameterIivEXT, + ); + fn_glTexParameterIuivEXT = new Deno.UnsafeFnPointer( + proc("glTexParameterIuivEXT"), + def_glTexParameterIuivEXT, + ); + fn_glGetTexParameterIivEXT = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIivEXT"), + def_glGetTexParameterIivEXT, + ); + fn_glGetTexParameterIuivEXT = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuivEXT"), + def_glGetTexParameterIuivEXT, + ); + fn_glSamplerParameterIivEXT = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIivEXT"), + def_glSamplerParameterIivEXT, + ); + fn_glSamplerParameterIuivEXT = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuivEXT"), + def_glSamplerParameterIuivEXT, + ); + fn_glGetSamplerParameterIivEXT = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIivEXT"), + def_glGetSamplerParameterIivEXT, + ); + fn_glGetSamplerParameterIuivEXT = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuivEXT"), + def_glGetSamplerParameterIuivEXT, + ); } diff --git a/api/ext/GL_EXT_texture_buffer.ts b/api/ext/GL_EXT_texture_buffer.ts index 6f2578e..0b4c0f6 100644 --- a/api/ext/GL_EXT_texture_buffer.ts +++ b/api/ext/GL_EXT_texture_buffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -101,7 +109,9 @@ export const def_glTexBufferRangeEXT = { result: "void", } as const; -let fn_glTexBufferRangeEXT!: Deno.UnsafeFnPointer; +let fn_glTexBufferRangeEXT!: Deno.UnsafeFnPointer< + typeof def_glTexBufferRangeEXT +>; export function TexBufferRangeEXT( target: GLenum, @@ -121,6 +131,12 @@ export function TexBufferRangeEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexBufferEXT = new Deno.UnsafeFnPointer(proc("glTexBufferEXT"), def_glTexBufferEXT); - fn_glTexBufferRangeEXT = new Deno.UnsafeFnPointer(proc("glTexBufferRangeEXT"), def_glTexBufferRangeEXT); + fn_glTexBufferEXT = new Deno.UnsafeFnPointer( + proc("glTexBufferEXT"), + def_glTexBufferEXT, + ); + fn_glTexBufferRangeEXT = new Deno.UnsafeFnPointer( + proc("glTexBufferRangeEXT"), + def_glTexBufferRangeEXT, + ); } diff --git a/api/ext/GL_EXT_texture_buffer_object.ts b/api/ext/GL_EXT_texture_buffer_object.ts index 0da855a..f0fa918 100644 --- a/api/ext/GL_EXT_texture_buffer_object.ts +++ b/api/ext/GL_EXT_texture_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -89,5 +97,8 @@ export function TexBufferEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexBufferEXT = new Deno.UnsafeFnPointer(proc("glTexBufferEXT"), def_glTexBufferEXT); + fn_glTexBufferEXT = new Deno.UnsafeFnPointer( + proc("glTexBufferEXT"), + def_glTexBufferEXT, + ); } diff --git a/api/ext/GL_EXT_texture_compression_astc_decode_mode.ts b/api/ext/GL_EXT_texture_compression_astc_decode_mode.ts index f8de06b..d0492e1 100644 --- a/api/ext/GL_EXT_texture_compression_astc_decode_mode.ts +++ b/api/ext/GL_EXT_texture_compression_astc_decode_mode.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_compression_bptc.ts b/api/ext/GL_EXT_texture_compression_bptc.ts index 389a9a4..9d93074 100644 --- a/api/ext/GL_EXT_texture_compression_bptc.ts +++ b/api/ext/GL_EXT_texture_compression_bptc.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_compression_dxt1.ts b/api/ext/GL_EXT_texture_compression_dxt1.ts index c1c50b3..19d337d 100644 --- a/api/ext/GL_EXT_texture_compression_dxt1.ts +++ b/api/ext/GL_EXT_texture_compression_dxt1.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_compression_latc.ts b/api/ext/GL_EXT_texture_compression_latc.ts index 9b0f2bb..8e4931e 100644 --- a/api/ext/GL_EXT_texture_compression_latc.ts +++ b/api/ext/GL_EXT_texture_compression_latc.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_compression_rgtc.ts b/api/ext/GL_EXT_texture_compression_rgtc.ts index 7f391d8..b2b723c 100644 --- a/api/ext/GL_EXT_texture_compression_rgtc.ts +++ b/api/ext/GL_EXT_texture_compression_rgtc.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_compression_s3tc.ts b/api/ext/GL_EXT_texture_compression_s3tc.ts index ad50d1a..d94517c 100644 --- a/api/ext/GL_EXT_texture_compression_s3tc.ts +++ b/api/ext/GL_EXT_texture_compression_s3tc.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_compression_s3tc_srgb.ts b/api/ext/GL_EXT_texture_compression_s3tc_srgb.ts index 71eff4a..2be0c15 100644 --- a/api/ext/GL_EXT_texture_compression_s3tc_srgb.ts +++ b/api/ext/GL_EXT_texture_compression_s3tc_srgb.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_cube_map.ts b/api/ext/GL_EXT_texture_cube_map.ts index 75cc1c1..4dca683 100644 --- a/api/ext/GL_EXT_texture_cube_map.ts +++ b/api/ext/GL_EXT_texture_cube_map.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_cube_map_array.ts b/api/ext/GL_EXT_texture_cube_map_array.ts index 9749431..47d54b4 100644 --- a/api/ext/GL_EXT_texture_cube_map_array.ts +++ b/api/ext/GL_EXT_texture_cube_map_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_env_add.ts b/api/ext/GL_EXT_texture_env_add.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_texture_env_add.ts +++ b/api/ext/GL_EXT_texture_env_add.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_env_combine.ts b/api/ext/GL_EXT_texture_env_combine.ts index beaabc3..386f17b 100644 --- a/api/ext/GL_EXT_texture_env_combine.ts +++ b/api/ext/GL_EXT_texture_env_combine.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_env_dot3.ts b/api/ext/GL_EXT_texture_env_dot3.ts index f3369b7..60de936 100644 --- a/api/ext/GL_EXT_texture_env_dot3.ts +++ b/api/ext/GL_EXT_texture_env_dot3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_filter_anisotropic.ts b/api/ext/GL_EXT_texture_filter_anisotropic.ts index 6b85476..ad25835 100644 --- a/api/ext/GL_EXT_texture_filter_anisotropic.ts +++ b/api/ext/GL_EXT_texture_filter_anisotropic.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_filter_minmax.ts b/api/ext/GL_EXT_texture_filter_minmax.ts index 0083f68..612b8c2 100644 --- a/api/ext/GL_EXT_texture_filter_minmax.ts +++ b/api/ext/GL_EXT_texture_filter_minmax.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_format_BGRA8888.ts b/api/ext/GL_EXT_texture_format_BGRA8888.ts index a1f2ea1..0399177 100644 --- a/api/ext/GL_EXT_texture_format_BGRA8888.ts +++ b/api/ext/GL_EXT_texture_format_BGRA8888.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_format_sRGB_override.ts b/api/ext/GL_EXT_texture_format_sRGB_override.ts index 69e3866..d0ba774 100644 --- a/api/ext/GL_EXT_texture_format_sRGB_override.ts +++ b/api/ext/GL_EXT_texture_format_sRGB_override.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_integer.ts b/api/ext/GL_EXT_texture_integer.ts index d594b43..66bc97c 100644 --- a/api/ext/GL_EXT_texture_integer.ts +++ b/api/ext/GL_EXT_texture_integer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -115,7 +123,9 @@ export const def_glTexParameterIivEXT = { result: "void", } as const; -let fn_glTexParameterIivEXT!: Deno.UnsafeFnPointer; +let fn_glTexParameterIivEXT!: Deno.UnsafeFnPointer< + typeof def_glTexParameterIivEXT +>; export function TexParameterIivEXT( target: GLenum, @@ -134,7 +144,9 @@ export const def_glTexParameterIuivEXT = { result: "void", } as const; -let fn_glTexParameterIuivEXT!: Deno.UnsafeFnPointer; +let fn_glTexParameterIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glTexParameterIuivEXT +>; export function TexParameterIuivEXT( target: GLenum, @@ -153,7 +165,9 @@ export const def_glGetTexParameterIivEXT = { result: "void", } as const; -let fn_glGetTexParameterIivEXT!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIivEXT +>; export function GetTexParameterIivEXT( target: GLenum, @@ -172,7 +186,9 @@ export const def_glGetTexParameterIuivEXT = { result: "void", } as const; -let fn_glGetTexParameterIuivEXT!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuivEXT +>; export function GetTexParameterIuivEXT( target: GLenum, @@ -230,10 +246,28 @@ export function ClearColorIuiEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexParameterIivEXT = new Deno.UnsafeFnPointer(proc("glTexParameterIivEXT"), def_glTexParameterIivEXT); - fn_glTexParameterIuivEXT = new Deno.UnsafeFnPointer(proc("glTexParameterIuivEXT"), def_glTexParameterIuivEXT); - fn_glGetTexParameterIivEXT = new Deno.UnsafeFnPointer(proc("glGetTexParameterIivEXT"), def_glGetTexParameterIivEXT); - fn_glGetTexParameterIuivEXT = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuivEXT"), def_glGetTexParameterIuivEXT); - fn_glClearColorIiEXT = new Deno.UnsafeFnPointer(proc("glClearColorIiEXT"), def_glClearColorIiEXT); - fn_glClearColorIuiEXT = new Deno.UnsafeFnPointer(proc("glClearColorIuiEXT"), def_glClearColorIuiEXT); + fn_glTexParameterIivEXT = new Deno.UnsafeFnPointer( + proc("glTexParameterIivEXT"), + def_glTexParameterIivEXT, + ); + fn_glTexParameterIuivEXT = new Deno.UnsafeFnPointer( + proc("glTexParameterIuivEXT"), + def_glTexParameterIuivEXT, + ); + fn_glGetTexParameterIivEXT = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIivEXT"), + def_glGetTexParameterIivEXT, + ); + fn_glGetTexParameterIuivEXT = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuivEXT"), + def_glGetTexParameterIuivEXT, + ); + fn_glClearColorIiEXT = new Deno.UnsafeFnPointer( + proc("glClearColorIiEXT"), + def_glClearColorIiEXT, + ); + fn_glClearColorIuiEXT = new Deno.UnsafeFnPointer( + proc("glClearColorIuiEXT"), + def_glClearColorIuiEXT, + ); } diff --git a/api/ext/GL_EXT_texture_lod_bias.ts b/api/ext/GL_EXT_texture_lod_bias.ts index 1542ffd..aaabc95 100644 --- a/api/ext/GL_EXT_texture_lod_bias.ts +++ b/api/ext/GL_EXT_texture_lod_bias.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_mirror_clamp.ts b/api/ext/GL_EXT_texture_mirror_clamp.ts index 68ee63b..f5b98ed 100644 --- a/api/ext/GL_EXT_texture_mirror_clamp.ts +++ b/api/ext/GL_EXT_texture_mirror_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_mirror_clamp_to_edge.ts b/api/ext/GL_EXT_texture_mirror_clamp_to_edge.ts index 503c123..8c6cd7f 100644 --- a/api/ext/GL_EXT_texture_mirror_clamp_to_edge.ts +++ b/api/ext/GL_EXT_texture_mirror_clamp_to_edge.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_norm16.ts b/api/ext/GL_EXT_texture_norm16.ts index 11b3ddc..338a375 100644 --- a/api/ext/GL_EXT_texture_norm16.ts +++ b/api/ext/GL_EXT_texture_norm16.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_object.ts b/api/ext/GL_EXT_texture_object.ts index f5e45bf..457e119 100644 --- a/api/ext/GL_EXT_texture_object.ts +++ b/api/ext/GL_EXT_texture_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -73,7 +81,9 @@ export const def_glAreTexturesResidentEXT = { result: "u8", } as const; -let fn_glAreTexturesResidentEXT!: Deno.UnsafeFnPointer; +let fn_glAreTexturesResidentEXT!: Deno.UnsafeFnPointer< + typeof def_glAreTexturesResidentEXT +>; export function AreTexturesResidentEXT( n: GLsizei, @@ -109,7 +119,9 @@ export const def_glDeleteTexturesEXT = { result: "void", } as const; -let fn_glDeleteTexturesEXT!: Deno.UnsafeFnPointer; +let fn_glDeleteTexturesEXT!: Deno.UnsafeFnPointer< + typeof def_glDeleteTexturesEXT +>; export function DeleteTexturesEXT( n: GLsizei, @@ -158,7 +170,9 @@ export const def_glPrioritizeTexturesEXT = { result: "void", } as const; -let fn_glPrioritizeTexturesEXT!: Deno.UnsafeFnPointer; +let fn_glPrioritizeTexturesEXT!: Deno.UnsafeFnPointer< + typeof def_glPrioritizeTexturesEXT +>; export function PrioritizeTexturesEXT( n: GLsizei, @@ -174,10 +188,28 @@ export function PrioritizeTexturesEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glAreTexturesResidentEXT = new Deno.UnsafeFnPointer(proc("glAreTexturesResidentEXT"), def_glAreTexturesResidentEXT); - fn_glBindTextureEXT = new Deno.UnsafeFnPointer(proc("glBindTextureEXT"), def_glBindTextureEXT); - fn_glDeleteTexturesEXT = new Deno.UnsafeFnPointer(proc("glDeleteTexturesEXT"), def_glDeleteTexturesEXT); - fn_glGenTexturesEXT = new Deno.UnsafeFnPointer(proc("glGenTexturesEXT"), def_glGenTexturesEXT); - fn_glIsTextureEXT = new Deno.UnsafeFnPointer(proc("glIsTextureEXT"), def_glIsTextureEXT); - fn_glPrioritizeTexturesEXT = new Deno.UnsafeFnPointer(proc("glPrioritizeTexturesEXT"), def_glPrioritizeTexturesEXT); + fn_glAreTexturesResidentEXT = new Deno.UnsafeFnPointer( + proc("glAreTexturesResidentEXT"), + def_glAreTexturesResidentEXT, + ); + fn_glBindTextureEXT = new Deno.UnsafeFnPointer( + proc("glBindTextureEXT"), + def_glBindTextureEXT, + ); + fn_glDeleteTexturesEXT = new Deno.UnsafeFnPointer( + proc("glDeleteTexturesEXT"), + def_glDeleteTexturesEXT, + ); + fn_glGenTexturesEXT = new Deno.UnsafeFnPointer( + proc("glGenTexturesEXT"), + def_glGenTexturesEXT, + ); + fn_glIsTextureEXT = new Deno.UnsafeFnPointer( + proc("glIsTextureEXT"), + def_glIsTextureEXT, + ); + fn_glPrioritizeTexturesEXT = new Deno.UnsafeFnPointer( + proc("glPrioritizeTexturesEXT"), + def_glPrioritizeTexturesEXT, + ); } diff --git a/api/ext/GL_EXT_texture_perturb_normal.ts b/api/ext/GL_EXT_texture_perturb_normal.ts index ae1d43e..2218ce1 100644 --- a/api/ext/GL_EXT_texture_perturb_normal.ts +++ b/api/ext/GL_EXT_texture_perturb_normal.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -82,5 +90,8 @@ export function TextureNormalEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTextureNormalEXT = new Deno.UnsafeFnPointer(proc("glTextureNormalEXT"), def_glTextureNormalEXT); + fn_glTextureNormalEXT = new Deno.UnsafeFnPointer( + proc("glTextureNormalEXT"), + def_glTextureNormalEXT, + ); } diff --git a/api/ext/GL_EXT_texture_query_lod.ts b/api/ext/GL_EXT_texture_query_lod.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_texture_query_lod.ts +++ b/api/ext/GL_EXT_texture_query_lod.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_rg.ts b/api/ext/GL_EXT_texture_rg.ts index c86860b..1fe14e2 100644 --- a/api/ext/GL_EXT_texture_rg.ts +++ b/api/ext/GL_EXT_texture_rg.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_sRGB.ts b/api/ext/GL_EXT_texture_sRGB.ts index 3f760ac..9f2caa0 100644 --- a/api/ext/GL_EXT_texture_sRGB.ts +++ b/api/ext/GL_EXT_texture_sRGB.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_sRGB_R8.ts b/api/ext/GL_EXT_texture_sRGB_R8.ts index 3b34478..7e866bb 100644 --- a/api/ext/GL_EXT_texture_sRGB_R8.ts +++ b/api/ext/GL_EXT_texture_sRGB_R8.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_sRGB_RG8.ts b/api/ext/GL_EXT_texture_sRGB_RG8.ts index dc50acd..25c13ea 100644 --- a/api/ext/GL_EXT_texture_sRGB_RG8.ts +++ b/api/ext/GL_EXT_texture_sRGB_RG8.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_sRGB_decode.ts b/api/ext/GL_EXT_texture_sRGB_decode.ts index ff92efa..3fd77ef 100644 --- a/api/ext/GL_EXT_texture_sRGB_decode.ts +++ b/api/ext/GL_EXT_texture_sRGB_decode.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_shadow_lod.ts b/api/ext/GL_EXT_texture_shadow_lod.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_EXT_texture_shadow_lod.ts +++ b/api/ext/GL_EXT_texture_shadow_lod.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_shared_exponent.ts b/api/ext/GL_EXT_texture_shared_exponent.ts index c290224..449dc5a 100644 --- a/api/ext/GL_EXT_texture_shared_exponent.ts +++ b/api/ext/GL_EXT_texture_shared_exponent.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_snorm.ts b/api/ext/GL_EXT_texture_snorm.ts index c77fd60..302cd75 100644 --- a/api/ext/GL_EXT_texture_snorm.ts +++ b/api/ext/GL_EXT_texture_snorm.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_storage.ts b/api/ext/GL_EXT_texture_storage.ts index d3bf25c..9389fc9 100644 --- a/api/ext/GL_EXT_texture_storage.ts +++ b/api/ext/GL_EXT_texture_storage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -160,7 +168,9 @@ export const def_glTextureStorage1DEXT = { result: "void", } as const; -let fn_glTextureStorage1DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorage1DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage1DEXT +>; export function TextureStorage1DEXT( texture: GLuint, @@ -183,7 +193,9 @@ export const def_glTextureStorage2DEXT = { result: "void", } as const; -let fn_glTextureStorage2DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorage2DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage2DEXT +>; export function TextureStorage2DEXT( texture: GLuint, @@ -208,7 +220,9 @@ export const def_glTextureStorage3DEXT = { result: "void", } as const; -let fn_glTextureStorage3DEXT!: Deno.UnsafeFnPointer; +let fn_glTextureStorage3DEXT!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage3DEXT +>; export function TextureStorage3DEXT( texture: GLuint, @@ -232,10 +246,28 @@ export function TextureStorage3DEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexStorage1DEXT = new Deno.UnsafeFnPointer(proc("glTexStorage1DEXT"), def_glTexStorage1DEXT); - fn_glTexStorage2DEXT = new Deno.UnsafeFnPointer(proc("glTexStorage2DEXT"), def_glTexStorage2DEXT); - fn_glTexStorage3DEXT = new Deno.UnsafeFnPointer(proc("glTexStorage3DEXT"), def_glTexStorage3DEXT); - fn_glTextureStorage1DEXT = new Deno.UnsafeFnPointer(proc("glTextureStorage1DEXT"), def_glTextureStorage1DEXT); - fn_glTextureStorage2DEXT = new Deno.UnsafeFnPointer(proc("glTextureStorage2DEXT"), def_glTextureStorage2DEXT); - fn_glTextureStorage3DEXT = new Deno.UnsafeFnPointer(proc("glTextureStorage3DEXT"), def_glTextureStorage3DEXT); + fn_glTexStorage1DEXT = new Deno.UnsafeFnPointer( + proc("glTexStorage1DEXT"), + def_glTexStorage1DEXT, + ); + fn_glTexStorage2DEXT = new Deno.UnsafeFnPointer( + proc("glTexStorage2DEXT"), + def_glTexStorage2DEXT, + ); + fn_glTexStorage3DEXT = new Deno.UnsafeFnPointer( + proc("glTexStorage3DEXT"), + def_glTexStorage3DEXT, + ); + fn_glTextureStorage1DEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorage1DEXT"), + def_glTextureStorage1DEXT, + ); + fn_glTextureStorage2DEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorage2DEXT"), + def_glTextureStorage2DEXT, + ); + fn_glTextureStorage3DEXT = new Deno.UnsafeFnPointer( + proc("glTextureStorage3DEXT"), + def_glTextureStorage3DEXT, + ); } diff --git a/api/ext/GL_EXT_texture_storage_compression.ts b/api/ext/GL_EXT_texture_storage_compression.ts index 7d34a49..0a5d0a7 100644 --- a/api/ext/GL_EXT_texture_storage_compression.ts +++ b/api/ext/GL_EXT_texture_storage_compression.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,7 +92,9 @@ export const def_glTexStorageAttribs2DEXT = { result: "void", } as const; -let fn_glTexStorageAttribs2DEXT!: Deno.UnsafeFnPointer; +let fn_glTexStorageAttribs2DEXT!: Deno.UnsafeFnPointer< + typeof def_glTexStorageAttribs2DEXT +>; export function TexStorageAttribs2DEXT( target: GLenum, @@ -109,7 +119,9 @@ export const def_glTexStorageAttribs3DEXT = { result: "void", } as const; -let fn_glTexStorageAttribs3DEXT!: Deno.UnsafeFnPointer; +let fn_glTexStorageAttribs3DEXT!: Deno.UnsafeFnPointer< + typeof def_glTexStorageAttribs3DEXT +>; export function TexStorageAttribs3DEXT( target: GLenum, @@ -133,6 +145,12 @@ export function TexStorageAttribs3DEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexStorageAttribs2DEXT = new Deno.UnsafeFnPointer(proc("glTexStorageAttribs2DEXT"), def_glTexStorageAttribs2DEXT); - fn_glTexStorageAttribs3DEXT = new Deno.UnsafeFnPointer(proc("glTexStorageAttribs3DEXT"), def_glTexStorageAttribs3DEXT); + fn_glTexStorageAttribs2DEXT = new Deno.UnsafeFnPointer( + proc("glTexStorageAttribs2DEXT"), + def_glTexStorageAttribs2DEXT, + ); + fn_glTexStorageAttribs3DEXT = new Deno.UnsafeFnPointer( + proc("glTexStorageAttribs3DEXT"), + def_glTexStorageAttribs3DEXT, + ); } diff --git a/api/ext/GL_EXT_texture_swizzle.ts b/api/ext/GL_EXT_texture_swizzle.ts index a9aadd1..b60b203 100644 --- a/api/ext/GL_EXT_texture_swizzle.ts +++ b/api/ext/GL_EXT_texture_swizzle.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_type_2_10_10_10_REV.ts b/api/ext/GL_EXT_texture_type_2_10_10_10_REV.ts index a80b962..a6fee40 100644 --- a/api/ext/GL_EXT_texture_type_2_10_10_10_REV.ts +++ b/api/ext/GL_EXT_texture_type_2_10_10_10_REV.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_texture_view.ts b/api/ext/GL_EXT_texture_view.ts index 8f7be0b..8bd9b85 100644 --- a/api/ext/GL_EXT_texture_view.ts +++ b/api/ext/GL_EXT_texture_view.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -99,5 +107,8 @@ export function TextureViewEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTextureViewEXT = new Deno.UnsafeFnPointer(proc("glTextureViewEXT"), def_glTextureViewEXT); + fn_glTextureViewEXT = new Deno.UnsafeFnPointer( + proc("glTextureViewEXT"), + def_glTextureViewEXT, + ); } diff --git a/api/ext/GL_EXT_timer_query.ts b/api/ext/GL_EXT_timer_query.ts index 2325f59..dda50a9 100644 --- a/api/ext/GL_EXT_timer_query.ts +++ b/api/ext/GL_EXT_timer_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glGetQueryObjecti64vEXT = { result: "void", } as const; -let fn_glGetQueryObjecti64vEXT!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjecti64vEXT!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjecti64vEXT +>; export function GetQueryObjecti64vEXT( id: GLuint, @@ -88,7 +98,9 @@ export const def_glGetQueryObjectui64vEXT = { result: "void", } as const; -let fn_glGetQueryObjectui64vEXT!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectui64vEXT!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectui64vEXT +>; export function GetQueryObjectui64vEXT( id: GLuint, @@ -104,6 +116,12 @@ export function GetQueryObjectui64vEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetQueryObjecti64vEXT = new Deno.UnsafeFnPointer(proc("glGetQueryObjecti64vEXT"), def_glGetQueryObjecti64vEXT); - fn_glGetQueryObjectui64vEXT = new Deno.UnsafeFnPointer(proc("glGetQueryObjectui64vEXT"), def_glGetQueryObjectui64vEXT); + fn_glGetQueryObjecti64vEXT = new Deno.UnsafeFnPointer( + proc("glGetQueryObjecti64vEXT"), + def_glGetQueryObjecti64vEXT, + ); + fn_glGetQueryObjectui64vEXT = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectui64vEXT"), + def_glGetQueryObjectui64vEXT, + ); } diff --git a/api/ext/GL_EXT_transform_feedback.ts b/api/ext/GL_EXT_transform_feedback.ts index c10caf3..47104d3 100644 --- a/api/ext/GL_EXT_transform_feedback.ts +++ b/api/ext/GL_EXT_transform_feedback.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -83,7 +91,9 @@ export const def_glBeginTransformFeedbackEXT = { result: "void", } as const; -let fn_glBeginTransformFeedbackEXT!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedbackEXT!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedbackEXT +>; export function BeginTransformFeedbackEXT( primitiveMode: GLenum, @@ -98,7 +108,9 @@ export const def_glEndTransformFeedbackEXT = { result: "void", } as const; -let fn_glEndTransformFeedbackEXT!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedbackEXT!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedbackEXT +>; export function EndTransformFeedbackEXT(): void { fn_glEndTransformFeedbackEXT.call(); @@ -109,7 +121,9 @@ export const def_glBindBufferRangeEXT = { result: "void", } as const; -let fn_glBindBufferRangeEXT!: Deno.UnsafeFnPointer; +let fn_glBindBufferRangeEXT!: Deno.UnsafeFnPointer< + typeof def_glBindBufferRangeEXT +>; export function BindBufferRangeEXT( target: GLenum, @@ -132,7 +146,9 @@ export const def_glBindBufferOffsetEXT = { result: "void", } as const; -let fn_glBindBufferOffsetEXT!: Deno.UnsafeFnPointer; +let fn_glBindBufferOffsetEXT!: Deno.UnsafeFnPointer< + typeof def_glBindBufferOffsetEXT +>; export function BindBufferOffsetEXT( target: GLenum, @@ -153,7 +169,9 @@ export const def_glBindBufferBaseEXT = { result: "void", } as const; -let fn_glBindBufferBaseEXT!: Deno.UnsafeFnPointer; +let fn_glBindBufferBaseEXT!: Deno.UnsafeFnPointer< + typeof def_glBindBufferBaseEXT +>; export function BindBufferBaseEXT( target: GLenum, @@ -172,7 +190,9 @@ export const def_glTransformFeedbackVaryingsEXT = { result: "void", } as const; -let fn_glTransformFeedbackVaryingsEXT!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryingsEXT!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryingsEXT +>; export function TransformFeedbackVaryingsEXT( program: GLuint, @@ -193,7 +213,9 @@ export const def_glGetTransformFeedbackVaryingEXT = { result: "void", } as const; -let fn_glGetTransformFeedbackVaryingEXT!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVaryingEXT!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVaryingEXT +>; export function GetTransformFeedbackVaryingEXT( program: GLuint, @@ -217,11 +239,32 @@ export function GetTransformFeedbackVaryingEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBeginTransformFeedbackEXT = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedbackEXT"), def_glBeginTransformFeedbackEXT); - fn_glEndTransformFeedbackEXT = new Deno.UnsafeFnPointer(proc("glEndTransformFeedbackEXT"), def_glEndTransformFeedbackEXT); - fn_glBindBufferRangeEXT = new Deno.UnsafeFnPointer(proc("glBindBufferRangeEXT"), def_glBindBufferRangeEXT); - fn_glBindBufferOffsetEXT = new Deno.UnsafeFnPointer(proc("glBindBufferOffsetEXT"), def_glBindBufferOffsetEXT); - fn_glBindBufferBaseEXT = new Deno.UnsafeFnPointer(proc("glBindBufferBaseEXT"), def_glBindBufferBaseEXT); - fn_glTransformFeedbackVaryingsEXT = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryingsEXT"), def_glTransformFeedbackVaryingsEXT); - fn_glGetTransformFeedbackVaryingEXT = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVaryingEXT"), def_glGetTransformFeedbackVaryingEXT); + fn_glBeginTransformFeedbackEXT = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedbackEXT"), + def_glBeginTransformFeedbackEXT, + ); + fn_glEndTransformFeedbackEXT = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedbackEXT"), + def_glEndTransformFeedbackEXT, + ); + fn_glBindBufferRangeEXT = new Deno.UnsafeFnPointer( + proc("glBindBufferRangeEXT"), + def_glBindBufferRangeEXT, + ); + fn_glBindBufferOffsetEXT = new Deno.UnsafeFnPointer( + proc("glBindBufferOffsetEXT"), + def_glBindBufferOffsetEXT, + ); + fn_glBindBufferBaseEXT = new Deno.UnsafeFnPointer( + proc("glBindBufferBaseEXT"), + def_glBindBufferBaseEXT, + ); + fn_glTransformFeedbackVaryingsEXT = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryingsEXT"), + def_glTransformFeedbackVaryingsEXT, + ); + fn_glGetTransformFeedbackVaryingEXT = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVaryingEXT"), + def_glGetTransformFeedbackVaryingEXT, + ); } diff --git a/api/ext/GL_EXT_unpack_subimage.ts b/api/ext/GL_EXT_unpack_subimage.ts index 72d90bf..0e4fba4 100644 --- a/api/ext/GL_EXT_unpack_subimage.ts +++ b/api/ext/GL_EXT_unpack_subimage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_vertex_array.ts b/api/ext/GL_EXT_vertex_array.ts index 73dffde..9f98cfc 100644 --- a/api/ext/GL_EXT_vertex_array.ts +++ b/api/ext/GL_EXT_vertex_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -157,7 +165,9 @@ export const def_glEdgeFlagPointerEXT = { result: "void", } as const; -let fn_glEdgeFlagPointerEXT!: Deno.UnsafeFnPointer; +let fn_glEdgeFlagPointerEXT!: Deno.UnsafeFnPointer< + typeof def_glEdgeFlagPointerEXT +>; export function EdgeFlagPointerEXT( stride: GLsizei, @@ -235,7 +245,9 @@ export const def_glTexCoordPointerEXT = { result: "void", } as const; -let fn_glTexCoordPointerEXT!: Deno.UnsafeFnPointer; +let fn_glTexCoordPointerEXT!: Deno.UnsafeFnPointer< + typeof def_glTexCoordPointerEXT +>; export function TexCoordPointerEXT( size: GLint, @@ -278,13 +290,40 @@ export function VertexPointerEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glArrayElementEXT = new Deno.UnsafeFnPointer(proc("glArrayElementEXT"), def_glArrayElementEXT); - fn_glColorPointerEXT = new Deno.UnsafeFnPointer(proc("glColorPointerEXT"), def_glColorPointerEXT); - fn_glDrawArraysEXT = new Deno.UnsafeFnPointer(proc("glDrawArraysEXT"), def_glDrawArraysEXT); - fn_glEdgeFlagPointerEXT = new Deno.UnsafeFnPointer(proc("glEdgeFlagPointerEXT"), def_glEdgeFlagPointerEXT); - fn_glGetPointervEXT = new Deno.UnsafeFnPointer(proc("glGetPointervEXT"), def_glGetPointervEXT); - fn_glIndexPointerEXT = new Deno.UnsafeFnPointer(proc("glIndexPointerEXT"), def_glIndexPointerEXT); - fn_glNormalPointerEXT = new Deno.UnsafeFnPointer(proc("glNormalPointerEXT"), def_glNormalPointerEXT); - fn_glTexCoordPointerEXT = new Deno.UnsafeFnPointer(proc("glTexCoordPointerEXT"), def_glTexCoordPointerEXT); - fn_glVertexPointerEXT = new Deno.UnsafeFnPointer(proc("glVertexPointerEXT"), def_glVertexPointerEXT); + fn_glArrayElementEXT = new Deno.UnsafeFnPointer( + proc("glArrayElementEXT"), + def_glArrayElementEXT, + ); + fn_glColorPointerEXT = new Deno.UnsafeFnPointer( + proc("glColorPointerEXT"), + def_glColorPointerEXT, + ); + fn_glDrawArraysEXT = new Deno.UnsafeFnPointer( + proc("glDrawArraysEXT"), + def_glDrawArraysEXT, + ); + fn_glEdgeFlagPointerEXT = new Deno.UnsafeFnPointer( + proc("glEdgeFlagPointerEXT"), + def_glEdgeFlagPointerEXT, + ); + fn_glGetPointervEXT = new Deno.UnsafeFnPointer( + proc("glGetPointervEXT"), + def_glGetPointervEXT, + ); + fn_glIndexPointerEXT = new Deno.UnsafeFnPointer( + proc("glIndexPointerEXT"), + def_glIndexPointerEXT, + ); + fn_glNormalPointerEXT = new Deno.UnsafeFnPointer( + proc("glNormalPointerEXT"), + def_glNormalPointerEXT, + ); + fn_glTexCoordPointerEXT = new Deno.UnsafeFnPointer( + proc("glTexCoordPointerEXT"), + def_glTexCoordPointerEXT, + ); + fn_glVertexPointerEXT = new Deno.UnsafeFnPointer( + proc("glVertexPointerEXT"), + def_glVertexPointerEXT, + ); } diff --git a/api/ext/GL_EXT_vertex_array_bgra.ts b/api/ext/GL_EXT_vertex_array_bgra.ts index 00f8378..2ab4f28 100644 --- a/api/ext/GL_EXT_vertex_array_bgra.ts +++ b/api/ext/GL_EXT_vertex_array_bgra.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_EXT_vertex_attrib_64bit.ts b/api/ext/GL_EXT_vertex_attrib_64bit.ts index 9cff29e..68224cd 100644 --- a/api/ext/GL_EXT_vertex_attrib_64bit.ts +++ b/api/ext/GL_EXT_vertex_attrib_64bit.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -81,7 +89,9 @@ export const def_glVertexAttribL1dEXT = { result: "void", } as const; -let fn_glVertexAttribL1dEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL1dEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL1dEXT +>; export function VertexAttribL1dEXT( index: GLuint, @@ -98,7 +108,9 @@ export const def_glVertexAttribL2dEXT = { result: "void", } as const; -let fn_glVertexAttribL2dEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL2dEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL2dEXT +>; export function VertexAttribL2dEXT( index: GLuint, @@ -117,7 +129,9 @@ export const def_glVertexAttribL3dEXT = { result: "void", } as const; -let fn_glVertexAttribL3dEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL3dEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL3dEXT +>; export function VertexAttribL3dEXT( index: GLuint, @@ -138,7 +152,9 @@ export const def_glVertexAttribL4dEXT = { result: "void", } as const; -let fn_glVertexAttribL4dEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL4dEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL4dEXT +>; export function VertexAttribL4dEXT( index: GLuint, @@ -161,7 +177,9 @@ export const def_glVertexAttribL1dvEXT = { result: "void", } as const; -let fn_glVertexAttribL1dvEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL1dvEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL1dvEXT +>; export function VertexAttribL1dvEXT( index: GLuint, @@ -178,7 +196,9 @@ export const def_glVertexAttribL2dvEXT = { result: "void", } as const; -let fn_glVertexAttribL2dvEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL2dvEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL2dvEXT +>; export function VertexAttribL2dvEXT( index: GLuint, @@ -195,7 +215,9 @@ export const def_glVertexAttribL3dvEXT = { result: "void", } as const; -let fn_glVertexAttribL3dvEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL3dvEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL3dvEXT +>; export function VertexAttribL3dvEXT( index: GLuint, @@ -212,7 +234,9 @@ export const def_glVertexAttribL4dvEXT = { result: "void", } as const; -let fn_glVertexAttribL4dvEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL4dvEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL4dvEXT +>; export function VertexAttribL4dvEXT( index: GLuint, @@ -229,7 +253,9 @@ export const def_glVertexAttribLPointerEXT = { result: "void", } as const; -let fn_glVertexAttribLPointerEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLPointerEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLPointerEXT +>; export function VertexAttribLPointerEXT( index: GLuint, @@ -252,7 +278,9 @@ export const def_glGetVertexAttribLdvEXT = { result: "void", } as const; -let fn_glGetVertexAttribLdvEXT!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribLdvEXT!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribLdvEXT +>; export function GetVertexAttribLdvEXT( index: GLuint, @@ -268,14 +296,44 @@ export function GetVertexAttribLdvEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexAttribL1dEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribL1dEXT"), def_glVertexAttribL1dEXT); - fn_glVertexAttribL2dEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribL2dEXT"), def_glVertexAttribL2dEXT); - fn_glVertexAttribL3dEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribL3dEXT"), def_glVertexAttribL3dEXT); - fn_glVertexAttribL4dEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribL4dEXT"), def_glVertexAttribL4dEXT); - fn_glVertexAttribL1dvEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribL1dvEXT"), def_glVertexAttribL1dvEXT); - fn_glVertexAttribL2dvEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribL2dvEXT"), def_glVertexAttribL2dvEXT); - fn_glVertexAttribL3dvEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribL3dvEXT"), def_glVertexAttribL3dvEXT); - fn_glVertexAttribL4dvEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribL4dvEXT"), def_glVertexAttribL4dvEXT); - fn_glVertexAttribLPointerEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribLPointerEXT"), def_glVertexAttribLPointerEXT); - fn_glGetVertexAttribLdvEXT = new Deno.UnsafeFnPointer(proc("glGetVertexAttribLdvEXT"), def_glGetVertexAttribLdvEXT); + fn_glVertexAttribL1dEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1dEXT"), + def_glVertexAttribL1dEXT, + ); + fn_glVertexAttribL2dEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2dEXT"), + def_glVertexAttribL2dEXT, + ); + fn_glVertexAttribL3dEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3dEXT"), + def_glVertexAttribL3dEXT, + ); + fn_glVertexAttribL4dEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4dEXT"), + def_glVertexAttribL4dEXT, + ); + fn_glVertexAttribL1dvEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1dvEXT"), + def_glVertexAttribL1dvEXT, + ); + fn_glVertexAttribL2dvEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2dvEXT"), + def_glVertexAttribL2dvEXT, + ); + fn_glVertexAttribL3dvEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3dvEXT"), + def_glVertexAttribL3dvEXT, + ); + fn_glVertexAttribL4dvEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4dvEXT"), + def_glVertexAttribL4dvEXT, + ); + fn_glVertexAttribLPointerEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribLPointerEXT"), + def_glVertexAttribLPointerEXT, + ); + fn_glGetVertexAttribLdvEXT = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribLdvEXT"), + def_glGetVertexAttribLdvEXT, + ); } diff --git a/api/ext/GL_EXT_vertex_weighting.ts b/api/ext/GL_EXT_vertex_weighting.ts index e5532c3..4ac336e 100644 --- a/api/ext/GL_EXT_vertex_weighting.ts +++ b/api/ext/GL_EXT_vertex_weighting.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -96,7 +104,9 @@ export const def_glVertexWeightfvEXT = { result: "void", } as const; -let fn_glVertexWeightfvEXT!: Deno.UnsafeFnPointer; +let fn_glVertexWeightfvEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexWeightfvEXT +>; export function VertexWeightfvEXT( weight: Buffer, @@ -111,7 +121,9 @@ export const def_glVertexWeightPointerEXT = { result: "void", } as const; -let fn_glVertexWeightPointerEXT!: Deno.UnsafeFnPointer; +let fn_glVertexWeightPointerEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexWeightPointerEXT +>; export function VertexWeightPointerEXT( size: GLint, @@ -129,7 +141,16 @@ export function VertexWeightPointerEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexWeightfEXT = new Deno.UnsafeFnPointer(proc("glVertexWeightfEXT"), def_glVertexWeightfEXT); - fn_glVertexWeightfvEXT = new Deno.UnsafeFnPointer(proc("glVertexWeightfvEXT"), def_glVertexWeightfvEXT); - fn_glVertexWeightPointerEXT = new Deno.UnsafeFnPointer(proc("glVertexWeightPointerEXT"), def_glVertexWeightPointerEXT); + fn_glVertexWeightfEXT = new Deno.UnsafeFnPointer( + proc("glVertexWeightfEXT"), + def_glVertexWeightfEXT, + ); + fn_glVertexWeightfvEXT = new Deno.UnsafeFnPointer( + proc("glVertexWeightfvEXT"), + def_glVertexWeightfvEXT, + ); + fn_glVertexWeightPointerEXT = new Deno.UnsafeFnPointer( + proc("glVertexWeightPointerEXT"), + def_glVertexWeightPointerEXT, + ); } diff --git a/api/ext/GL_EXT_win32_keyed_mutex.ts b/api/ext/GL_EXT_win32_keyed_mutex.ts index eba10f0..6470ccb 100644 --- a/api/ext/GL_EXT_win32_keyed_mutex.ts +++ b/api/ext/GL_EXT_win32_keyed_mutex.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glAcquireKeyedMutexWin32EXT = { result: "u8", } as const; -let fn_glAcquireKeyedMutexWin32EXT!: Deno.UnsafeFnPointer; +let fn_glAcquireKeyedMutexWin32EXT!: Deno.UnsafeFnPointer< + typeof def_glAcquireKeyedMutexWin32EXT +>; export function AcquireKeyedMutexWin32EXT( memory: GLuint, @@ -85,7 +95,9 @@ export const def_glReleaseKeyedMutexWin32EXT = { result: "u8", } as const; -let fn_glReleaseKeyedMutexWin32EXT!: Deno.UnsafeFnPointer; +let fn_glReleaseKeyedMutexWin32EXT!: Deno.UnsafeFnPointer< + typeof def_glReleaseKeyedMutexWin32EXT +>; export function ReleaseKeyedMutexWin32EXT( memory: GLuint, @@ -99,6 +111,12 @@ export function ReleaseKeyedMutexWin32EXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glAcquireKeyedMutexWin32EXT = new Deno.UnsafeFnPointer(proc("glAcquireKeyedMutexWin32EXT"), def_glAcquireKeyedMutexWin32EXT); - fn_glReleaseKeyedMutexWin32EXT = new Deno.UnsafeFnPointer(proc("glReleaseKeyedMutexWin32EXT"), def_glReleaseKeyedMutexWin32EXT); + fn_glAcquireKeyedMutexWin32EXT = new Deno.UnsafeFnPointer( + proc("glAcquireKeyedMutexWin32EXT"), + def_glAcquireKeyedMutexWin32EXT, + ); + fn_glReleaseKeyedMutexWin32EXT = new Deno.UnsafeFnPointer( + proc("glReleaseKeyedMutexWin32EXT"), + def_glReleaseKeyedMutexWin32EXT, + ); } diff --git a/api/ext/GL_EXT_window_rectangles.ts b/api/ext/GL_EXT_window_rectangles.ts index e58dd7a..5bce983 100644 --- a/api/ext/GL_EXT_window_rectangles.ts +++ b/api/ext/GL_EXT_window_rectangles.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,7 +82,9 @@ export const def_glWindowRectanglesEXT = { result: "void", } as const; -let fn_glWindowRectanglesEXT!: Deno.UnsafeFnPointer; +let fn_glWindowRectanglesEXT!: Deno.UnsafeFnPointer< + typeof def_glWindowRectanglesEXT +>; export function WindowRectanglesEXT( mode: GLenum, @@ -90,5 +100,8 @@ export function WindowRectanglesEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glWindowRectanglesEXT = new Deno.UnsafeFnPointer(proc("glWindowRectanglesEXT"), def_glWindowRectanglesEXT); + fn_glWindowRectanglesEXT = new Deno.UnsafeFnPointer( + proc("glWindowRectanglesEXT"), + def_glWindowRectanglesEXT, + ); } diff --git a/api/ext/GL_EXT_x11_sync_object.ts b/api/ext/GL_EXT_x11_sync_object.ts index dd2e903..aa62477 100644 --- a/api/ext/GL_EXT_x11_sync_object.ts +++ b/api/ext/GL_EXT_x11_sync_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -85,5 +93,8 @@ export function ImportSyncEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glImportSyncEXT = new Deno.UnsafeFnPointer(proc("glImportSyncEXT"), def_glImportSyncEXT); + fn_glImportSyncEXT = new Deno.UnsafeFnPointer( + proc("glImportSyncEXT"), + def_glImportSyncEXT, + ); } diff --git a/api/ext/GL_FJ_shader_binary_GCCSO.ts b/api/ext/GL_FJ_shader_binary_GCCSO.ts index 9d56a92..a3cbfe4 100644 --- a/api/ext/GL_FJ_shader_binary_GCCSO.ts +++ b/api/ext/GL_FJ_shader_binary_GCCSO.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_GREMEDY_frame_terminator.ts b/api/ext/GL_GREMEDY_frame_terminator.ts index ae9e7af..8959f6c 100644 --- a/api/ext/GL_GREMEDY_frame_terminator.ts +++ b/api/ext/GL_GREMEDY_frame_terminator.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glFrameTerminatorGREMEDY = { result: "void", } as const; -let fn_glFrameTerminatorGREMEDY!: Deno.UnsafeFnPointer; +let fn_glFrameTerminatorGREMEDY!: Deno.UnsafeFnPointer< + typeof def_glFrameTerminatorGREMEDY +>; export function FrameTerminatorGREMEDY(): void { fn_glFrameTerminatorGREMEDY.call(); @@ -74,5 +84,8 @@ export function FrameTerminatorGREMEDY(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFrameTerminatorGREMEDY = new Deno.UnsafeFnPointer(proc("glFrameTerminatorGREMEDY"), def_glFrameTerminatorGREMEDY); + fn_glFrameTerminatorGREMEDY = new Deno.UnsafeFnPointer( + proc("glFrameTerminatorGREMEDY"), + def_glFrameTerminatorGREMEDY, + ); } diff --git a/api/ext/GL_GREMEDY_string_marker.ts b/api/ext/GL_GREMEDY_string_marker.ts index d9ffc01..3c99b13 100644 --- a/api/ext/GL_GREMEDY_string_marker.ts +++ b/api/ext/GL_GREMEDY_string_marker.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glStringMarkerGREMEDY = { result: "void", } as const; -let fn_glStringMarkerGREMEDY!: Deno.UnsafeFnPointer; +let fn_glStringMarkerGREMEDY!: Deno.UnsafeFnPointer< + typeof def_glStringMarkerGREMEDY +>; export function StringMarkerGREMEDY( len: GLsizei, @@ -80,5 +90,8 @@ export function StringMarkerGREMEDY( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glStringMarkerGREMEDY = new Deno.UnsafeFnPointer(proc("glStringMarkerGREMEDY"), def_glStringMarkerGREMEDY); + fn_glStringMarkerGREMEDY = new Deno.UnsafeFnPointer( + proc("glStringMarkerGREMEDY"), + def_glStringMarkerGREMEDY, + ); } diff --git a/api/ext/GL_HP_convolution_border_modes.ts b/api/ext/GL_HP_convolution_border_modes.ts index 6f3a50d..bac8858 100644 --- a/api/ext/GL_HP_convolution_border_modes.ts +++ b/api/ext/GL_HP_convolution_border_modes.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_HP_image_transform.ts b/api/ext/GL_HP_image_transform.ts index ff3fdb0..0ee9443 100644 --- a/api/ext/GL_HP_image_transform.ts +++ b/api/ext/GL_HP_image_transform.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -83,7 +91,9 @@ export const def_glImageTransformParameteriHP = { result: "void", } as const; -let fn_glImageTransformParameteriHP!: Deno.UnsafeFnPointer; +let fn_glImageTransformParameteriHP!: Deno.UnsafeFnPointer< + typeof def_glImageTransformParameteriHP +>; export function ImageTransformParameteriHP( target: GLenum, @@ -102,7 +112,9 @@ export const def_glImageTransformParameterfHP = { result: "void", } as const; -let fn_glImageTransformParameterfHP!: Deno.UnsafeFnPointer; +let fn_glImageTransformParameterfHP!: Deno.UnsafeFnPointer< + typeof def_glImageTransformParameterfHP +>; export function ImageTransformParameterfHP( target: GLenum, @@ -121,7 +133,9 @@ export const def_glImageTransformParameterivHP = { result: "void", } as const; -let fn_glImageTransformParameterivHP!: Deno.UnsafeFnPointer; +let fn_glImageTransformParameterivHP!: Deno.UnsafeFnPointer< + typeof def_glImageTransformParameterivHP +>; export function ImageTransformParameterivHP( target: GLenum, @@ -140,7 +154,9 @@ export const def_glImageTransformParameterfvHP = { result: "void", } as const; -let fn_glImageTransformParameterfvHP!: Deno.UnsafeFnPointer; +let fn_glImageTransformParameterfvHP!: Deno.UnsafeFnPointer< + typeof def_glImageTransformParameterfvHP +>; export function ImageTransformParameterfvHP( target: GLenum, @@ -159,7 +175,9 @@ export const def_glGetImageTransformParameterivHP = { result: "void", } as const; -let fn_glGetImageTransformParameterivHP!: Deno.UnsafeFnPointer; +let fn_glGetImageTransformParameterivHP!: Deno.UnsafeFnPointer< + typeof def_glGetImageTransformParameterivHP +>; export function GetImageTransformParameterivHP( target: GLenum, @@ -178,7 +196,9 @@ export const def_glGetImageTransformParameterfvHP = { result: "void", } as const; -let fn_glGetImageTransformParameterfvHP!: Deno.UnsafeFnPointer; +let fn_glGetImageTransformParameterfvHP!: Deno.UnsafeFnPointer< + typeof def_glGetImageTransformParameterfvHP +>; export function GetImageTransformParameterfvHP( target: GLenum, @@ -194,10 +214,28 @@ export function GetImageTransformParameterfvHP( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glImageTransformParameteriHP = new Deno.UnsafeFnPointer(proc("glImageTransformParameteriHP"), def_glImageTransformParameteriHP); - fn_glImageTransformParameterfHP = new Deno.UnsafeFnPointer(proc("glImageTransformParameterfHP"), def_glImageTransformParameterfHP); - fn_glImageTransformParameterivHP = new Deno.UnsafeFnPointer(proc("glImageTransformParameterivHP"), def_glImageTransformParameterivHP); - fn_glImageTransformParameterfvHP = new Deno.UnsafeFnPointer(proc("glImageTransformParameterfvHP"), def_glImageTransformParameterfvHP); - fn_glGetImageTransformParameterivHP = new Deno.UnsafeFnPointer(proc("glGetImageTransformParameterivHP"), def_glGetImageTransformParameterivHP); - fn_glGetImageTransformParameterfvHP = new Deno.UnsafeFnPointer(proc("glGetImageTransformParameterfvHP"), def_glGetImageTransformParameterfvHP); + fn_glImageTransformParameteriHP = new Deno.UnsafeFnPointer( + proc("glImageTransformParameteriHP"), + def_glImageTransformParameteriHP, + ); + fn_glImageTransformParameterfHP = new Deno.UnsafeFnPointer( + proc("glImageTransformParameterfHP"), + def_glImageTransformParameterfHP, + ); + fn_glImageTransformParameterivHP = new Deno.UnsafeFnPointer( + proc("glImageTransformParameterivHP"), + def_glImageTransformParameterivHP, + ); + fn_glImageTransformParameterfvHP = new Deno.UnsafeFnPointer( + proc("glImageTransformParameterfvHP"), + def_glImageTransformParameterfvHP, + ); + fn_glGetImageTransformParameterivHP = new Deno.UnsafeFnPointer( + proc("glGetImageTransformParameterivHP"), + def_glGetImageTransformParameterivHP, + ); + fn_glGetImageTransformParameterfvHP = new Deno.UnsafeFnPointer( + proc("glGetImageTransformParameterfvHP"), + def_glGetImageTransformParameterfvHP, + ); } diff --git a/api/ext/GL_HP_occlusion_test.ts b/api/ext/GL_HP_occlusion_test.ts index 0107b06..a546412 100644 --- a/api/ext/GL_HP_occlusion_test.ts +++ b/api/ext/GL_HP_occlusion_test.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_HP_texture_lighting.ts b/api/ext/GL_HP_texture_lighting.ts index c058673..a321106 100644 --- a/api/ext/GL_HP_texture_lighting.ts +++ b/api/ext/GL_HP_texture_lighting.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IBM_cull_vertex.ts b/api/ext/GL_IBM_cull_vertex.ts index 082bace..bf60026 100644 --- a/api/ext/GL_IBM_cull_vertex.ts +++ b/api/ext/GL_IBM_cull_vertex.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IBM_multimode_draw_arrays.ts b/api/ext/GL_IBM_multimode_draw_arrays.ts index 3c8e0a3..053ef43 100644 --- a/api/ext/GL_IBM_multimode_draw_arrays.ts +++ b/api/ext/GL_IBM_multimode_draw_arrays.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glMultiModeDrawArraysIBM = { result: "void", } as const; -let fn_glMultiModeDrawArraysIBM!: Deno.UnsafeFnPointer; +let fn_glMultiModeDrawArraysIBM!: Deno.UnsafeFnPointer< + typeof def_glMultiModeDrawArraysIBM +>; export function MultiModeDrawArraysIBM( mode: Buffer, @@ -89,7 +99,9 @@ export const def_glMultiModeDrawElementsIBM = { result: "void", } as const; -let fn_glMultiModeDrawElementsIBM!: Deno.UnsafeFnPointer; +let fn_glMultiModeDrawElementsIBM!: Deno.UnsafeFnPointer< + typeof def_glMultiModeDrawElementsIBM +>; export function MultiModeDrawElementsIBM( mode: Buffer, @@ -111,6 +123,12 @@ export function MultiModeDrawElementsIBM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMultiModeDrawArraysIBM = new Deno.UnsafeFnPointer(proc("glMultiModeDrawArraysIBM"), def_glMultiModeDrawArraysIBM); - fn_glMultiModeDrawElementsIBM = new Deno.UnsafeFnPointer(proc("glMultiModeDrawElementsIBM"), def_glMultiModeDrawElementsIBM); + fn_glMultiModeDrawArraysIBM = new Deno.UnsafeFnPointer( + proc("glMultiModeDrawArraysIBM"), + def_glMultiModeDrawArraysIBM, + ); + fn_glMultiModeDrawElementsIBM = new Deno.UnsafeFnPointer( + proc("glMultiModeDrawElementsIBM"), + def_glMultiModeDrawElementsIBM, + ); } diff --git a/api/ext/GL_IBM_rasterpos_clip.ts b/api/ext/GL_IBM_rasterpos_clip.ts index eb13620..76967d1 100644 --- a/api/ext/GL_IBM_rasterpos_clip.ts +++ b/api/ext/GL_IBM_rasterpos_clip.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IBM_static_data.ts b/api/ext/GL_IBM_static_data.ts index 3fb5876..9ce24b6 100644 --- a/api/ext/GL_IBM_static_data.ts +++ b/api/ext/GL_IBM_static_data.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glFlushStaticDataIBM = { result: "void", } as const; -let fn_glFlushStaticDataIBM!: Deno.UnsafeFnPointer; +let fn_glFlushStaticDataIBM!: Deno.UnsafeFnPointer< + typeof def_glFlushStaticDataIBM +>; export function FlushStaticDataIBM( target: GLenum, @@ -82,5 +92,8 @@ export function FlushStaticDataIBM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFlushStaticDataIBM = new Deno.UnsafeFnPointer(proc("glFlushStaticDataIBM"), def_glFlushStaticDataIBM); + fn_glFlushStaticDataIBM = new Deno.UnsafeFnPointer( + proc("glFlushStaticDataIBM"), + def_glFlushStaticDataIBM, + ); } diff --git a/api/ext/GL_IBM_texture_mirrored_repeat.ts b/api/ext/GL_IBM_texture_mirrored_repeat.ts index 414cf6d..5c70aa8 100644 --- a/api/ext/GL_IBM_texture_mirrored_repeat.ts +++ b/api/ext/GL_IBM_texture_mirrored_repeat.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IBM_vertex_array_lists.ts b/api/ext/GL_IBM_vertex_array_lists.ts index e7cbc81..7baf982 100644 --- a/api/ext/GL_IBM_vertex_array_lists.ts +++ b/api/ext/GL_IBM_vertex_array_lists.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,7 +92,9 @@ export const def_glColorPointerListIBM = { result: "void", } as const; -let fn_glColorPointerListIBM!: Deno.UnsafeFnPointer; +let fn_glColorPointerListIBM!: Deno.UnsafeFnPointer< + typeof def_glColorPointerListIBM +>; export function ColorPointerListIBM( size: GLint, @@ -107,7 +117,9 @@ export const def_glSecondaryColorPointerListIBM = { result: "void", } as const; -let fn_glSecondaryColorPointerListIBM!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorPointerListIBM!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorPointerListIBM +>; export function SecondaryColorPointerListIBM( size: GLint, @@ -130,7 +142,9 @@ export const def_glEdgeFlagPointerListIBM = { result: "void", } as const; -let fn_glEdgeFlagPointerListIBM!: Deno.UnsafeFnPointer; +let fn_glEdgeFlagPointerListIBM!: Deno.UnsafeFnPointer< + typeof def_glEdgeFlagPointerListIBM +>; export function EdgeFlagPointerListIBM( stride: GLint, @@ -149,7 +163,9 @@ export const def_glFogCoordPointerListIBM = { result: "void", } as const; -let fn_glFogCoordPointerListIBM!: Deno.UnsafeFnPointer; +let fn_glFogCoordPointerListIBM!: Deno.UnsafeFnPointer< + typeof def_glFogCoordPointerListIBM +>; export function FogCoordPointerListIBM( type: GLenum, @@ -170,7 +186,9 @@ export const def_glIndexPointerListIBM = { result: "void", } as const; -let fn_glIndexPointerListIBM!: Deno.UnsafeFnPointer; +let fn_glIndexPointerListIBM!: Deno.UnsafeFnPointer< + typeof def_glIndexPointerListIBM +>; export function IndexPointerListIBM( type: GLenum, @@ -191,7 +209,9 @@ export const def_glNormalPointerListIBM = { result: "void", } as const; -let fn_glNormalPointerListIBM!: Deno.UnsafeFnPointer; +let fn_glNormalPointerListIBM!: Deno.UnsafeFnPointer< + typeof def_glNormalPointerListIBM +>; export function NormalPointerListIBM( type: GLenum, @@ -212,7 +232,9 @@ export const def_glTexCoordPointerListIBM = { result: "void", } as const; -let fn_glTexCoordPointerListIBM!: Deno.UnsafeFnPointer; +let fn_glTexCoordPointerListIBM!: Deno.UnsafeFnPointer< + typeof def_glTexCoordPointerListIBM +>; export function TexCoordPointerListIBM( size: GLint, @@ -235,7 +257,9 @@ export const def_glVertexPointerListIBM = { result: "void", } as const; -let fn_glVertexPointerListIBM!: Deno.UnsafeFnPointer; +let fn_glVertexPointerListIBM!: Deno.UnsafeFnPointer< + typeof def_glVertexPointerListIBM +>; export function VertexPointerListIBM( size: GLint, @@ -255,12 +279,36 @@ export function VertexPointerListIBM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glColorPointerListIBM = new Deno.UnsafeFnPointer(proc("glColorPointerListIBM"), def_glColorPointerListIBM); - fn_glSecondaryColorPointerListIBM = new Deno.UnsafeFnPointer(proc("glSecondaryColorPointerListIBM"), def_glSecondaryColorPointerListIBM); - fn_glEdgeFlagPointerListIBM = new Deno.UnsafeFnPointer(proc("glEdgeFlagPointerListIBM"), def_glEdgeFlagPointerListIBM); - fn_glFogCoordPointerListIBM = new Deno.UnsafeFnPointer(proc("glFogCoordPointerListIBM"), def_glFogCoordPointerListIBM); - fn_glIndexPointerListIBM = new Deno.UnsafeFnPointer(proc("glIndexPointerListIBM"), def_glIndexPointerListIBM); - fn_glNormalPointerListIBM = new Deno.UnsafeFnPointer(proc("glNormalPointerListIBM"), def_glNormalPointerListIBM); - fn_glTexCoordPointerListIBM = new Deno.UnsafeFnPointer(proc("glTexCoordPointerListIBM"), def_glTexCoordPointerListIBM); - fn_glVertexPointerListIBM = new Deno.UnsafeFnPointer(proc("glVertexPointerListIBM"), def_glVertexPointerListIBM); + fn_glColorPointerListIBM = new Deno.UnsafeFnPointer( + proc("glColorPointerListIBM"), + def_glColorPointerListIBM, + ); + fn_glSecondaryColorPointerListIBM = new Deno.UnsafeFnPointer( + proc("glSecondaryColorPointerListIBM"), + def_glSecondaryColorPointerListIBM, + ); + fn_glEdgeFlagPointerListIBM = new Deno.UnsafeFnPointer( + proc("glEdgeFlagPointerListIBM"), + def_glEdgeFlagPointerListIBM, + ); + fn_glFogCoordPointerListIBM = new Deno.UnsafeFnPointer( + proc("glFogCoordPointerListIBM"), + def_glFogCoordPointerListIBM, + ); + fn_glIndexPointerListIBM = new Deno.UnsafeFnPointer( + proc("glIndexPointerListIBM"), + def_glIndexPointerListIBM, + ); + fn_glNormalPointerListIBM = new Deno.UnsafeFnPointer( + proc("glNormalPointerListIBM"), + def_glNormalPointerListIBM, + ); + fn_glTexCoordPointerListIBM = new Deno.UnsafeFnPointer( + proc("glTexCoordPointerListIBM"), + def_glTexCoordPointerListIBM, + ); + fn_glVertexPointerListIBM = new Deno.UnsafeFnPointer( + proc("glVertexPointerListIBM"), + def_glVertexPointerListIBM, + ); } diff --git a/api/ext/GL_IMG_bindless_texture.ts b/api/ext/GL_IMG_bindless_texture.ts index 43f10f1..43957fe 100644 --- a/api/ext/GL_IMG_bindless_texture.ts +++ b/api/ext/GL_IMG_bindless_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glGetTextureHandleIMG = { result: "u64", } as const; -let fn_glGetTextureHandleIMG!: Deno.UnsafeFnPointer; +let fn_glGetTextureHandleIMG!: Deno.UnsafeFnPointer< + typeof def_glGetTextureHandleIMG +>; export function GetTextureHandleIMG( texture: GLuint, @@ -81,7 +91,9 @@ export const def_glGetTextureSamplerHandleIMG = { result: "u64", } as const; -let fn_glGetTextureSamplerHandleIMG!: Deno.UnsafeFnPointer; +let fn_glGetTextureSamplerHandleIMG!: Deno.UnsafeFnPointer< + typeof def_glGetTextureSamplerHandleIMG +>; export function GetTextureSamplerHandleIMG( texture: GLuint, @@ -98,7 +110,9 @@ export const def_glUniformHandleui64IMG = { result: "void", } as const; -let fn_glUniformHandleui64IMG!: Deno.UnsafeFnPointer; +let fn_glUniformHandleui64IMG!: Deno.UnsafeFnPointer< + typeof def_glUniformHandleui64IMG +>; export function UniformHandleui64IMG( location: GLint, @@ -115,7 +129,9 @@ export const def_glUniformHandleui64vIMG = { result: "void", } as const; -let fn_glUniformHandleui64vIMG!: Deno.UnsafeFnPointer; +let fn_glUniformHandleui64vIMG!: Deno.UnsafeFnPointer< + typeof def_glUniformHandleui64vIMG +>; export function UniformHandleui64vIMG( location: GLint, @@ -134,7 +150,9 @@ export const def_glProgramUniformHandleui64IMG = { result: "void", } as const; -let fn_glProgramUniformHandleui64IMG!: Deno.UnsafeFnPointer; +let fn_glProgramUniformHandleui64IMG!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformHandleui64IMG +>; export function ProgramUniformHandleui64IMG( program: GLuint, @@ -153,7 +171,9 @@ export const def_glProgramUniformHandleui64vIMG = { result: "void", } as const; -let fn_glProgramUniformHandleui64vIMG!: Deno.UnsafeFnPointer; +let fn_glProgramUniformHandleui64vIMG!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformHandleui64vIMG +>; export function ProgramUniformHandleui64vIMG( program: GLuint, @@ -171,10 +191,28 @@ export function ProgramUniformHandleui64vIMG( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetTextureHandleIMG = new Deno.UnsafeFnPointer(proc("glGetTextureHandleIMG"), def_glGetTextureHandleIMG); - fn_glGetTextureSamplerHandleIMG = new Deno.UnsafeFnPointer(proc("glGetTextureSamplerHandleIMG"), def_glGetTextureSamplerHandleIMG); - fn_glUniformHandleui64IMG = new Deno.UnsafeFnPointer(proc("glUniformHandleui64IMG"), def_glUniformHandleui64IMG); - fn_glUniformHandleui64vIMG = new Deno.UnsafeFnPointer(proc("glUniformHandleui64vIMG"), def_glUniformHandleui64vIMG); - fn_glProgramUniformHandleui64IMG = new Deno.UnsafeFnPointer(proc("glProgramUniformHandleui64IMG"), def_glProgramUniformHandleui64IMG); - fn_glProgramUniformHandleui64vIMG = new Deno.UnsafeFnPointer(proc("glProgramUniformHandleui64vIMG"), def_glProgramUniformHandleui64vIMG); + fn_glGetTextureHandleIMG = new Deno.UnsafeFnPointer( + proc("glGetTextureHandleIMG"), + def_glGetTextureHandleIMG, + ); + fn_glGetTextureSamplerHandleIMG = new Deno.UnsafeFnPointer( + proc("glGetTextureSamplerHandleIMG"), + def_glGetTextureSamplerHandleIMG, + ); + fn_glUniformHandleui64IMG = new Deno.UnsafeFnPointer( + proc("glUniformHandleui64IMG"), + def_glUniformHandleui64IMG, + ); + fn_glUniformHandleui64vIMG = new Deno.UnsafeFnPointer( + proc("glUniformHandleui64vIMG"), + def_glUniformHandleui64vIMG, + ); + fn_glProgramUniformHandleui64IMG = new Deno.UnsafeFnPointer( + proc("glProgramUniformHandleui64IMG"), + def_glProgramUniformHandleui64IMG, + ); + fn_glProgramUniformHandleui64vIMG = new Deno.UnsafeFnPointer( + proc("glProgramUniformHandleui64vIMG"), + def_glProgramUniformHandleui64vIMG, + ); } diff --git a/api/ext/GL_IMG_framebuffer_downsample.ts b/api/ext/GL_IMG_framebuffer_downsample.ts index 24de237..68643b4 100644 --- a/api/ext/GL_IMG_framebuffer_downsample.ts +++ b/api/ext/GL_IMG_framebuffer_downsample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glFramebufferTexture2DDownsampleIMG = { result: "void", } as const; -let fn_glFramebufferTexture2DDownsampleIMG!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2DDownsampleIMG!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2DDownsampleIMG +>; export function FramebufferTexture2DDownsampleIMG( target: GLenum, @@ -99,7 +109,9 @@ export const def_glFramebufferTextureLayerDownsampleIMG = { result: "void", } as const; -let fn_glFramebufferTextureLayerDownsampleIMG!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayerDownsampleIMG!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayerDownsampleIMG +>; export function FramebufferTextureLayerDownsampleIMG( target: GLenum, @@ -123,6 +135,12 @@ export function FramebufferTextureLayerDownsampleIMG( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferTexture2DDownsampleIMG = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2DDownsampleIMG"), def_glFramebufferTexture2DDownsampleIMG); - fn_glFramebufferTextureLayerDownsampleIMG = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayerDownsampleIMG"), def_glFramebufferTextureLayerDownsampleIMG); + fn_glFramebufferTexture2DDownsampleIMG = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2DDownsampleIMG"), + def_glFramebufferTexture2DDownsampleIMG, + ); + fn_glFramebufferTextureLayerDownsampleIMG = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayerDownsampleIMG"), + def_glFramebufferTextureLayerDownsampleIMG, + ); } diff --git a/api/ext/GL_IMG_multisampled_render_to_texture.ts b/api/ext/GL_IMG_multisampled_render_to_texture.ts index 8c6dbdb..7cb12af 100644 --- a/api/ext/GL_IMG_multisampled_render_to_texture.ts +++ b/api/ext/GL_IMG_multisampled_render_to_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glRenderbufferStorageMultisampleIMG = { result: "void", } as const; -let fn_glRenderbufferStorageMultisampleIMG!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisampleIMG!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisampleIMG +>; export function RenderbufferStorageMultisampleIMG( target: GLenum, @@ -95,7 +105,9 @@ export const def_glFramebufferTexture2DMultisampleIMG = { result: "void", } as const; -let fn_glFramebufferTexture2DMultisampleIMG!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2DMultisampleIMG!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2DMultisampleIMG +>; export function FramebufferTexture2DMultisampleIMG( target: GLenum, @@ -117,6 +129,12 @@ export function FramebufferTexture2DMultisampleIMG( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glRenderbufferStorageMultisampleIMG = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisampleIMG"), def_glRenderbufferStorageMultisampleIMG); - fn_glFramebufferTexture2DMultisampleIMG = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2DMultisampleIMG"), def_glFramebufferTexture2DMultisampleIMG); + fn_glRenderbufferStorageMultisampleIMG = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisampleIMG"), + def_glRenderbufferStorageMultisampleIMG, + ); + fn_glFramebufferTexture2DMultisampleIMG = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2DMultisampleIMG"), + def_glFramebufferTexture2DMultisampleIMG, + ); } diff --git a/api/ext/GL_IMG_program_binary.ts b/api/ext/GL_IMG_program_binary.ts index 0bbbffa..4504b1b 100644 --- a/api/ext/GL_IMG_program_binary.ts +++ b/api/ext/GL_IMG_program_binary.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IMG_read_format.ts b/api/ext/GL_IMG_read_format.ts index b7f7034..66e60dc 100644 --- a/api/ext/GL_IMG_read_format.ts +++ b/api/ext/GL_IMG_read_format.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IMG_shader_binary.ts b/api/ext/GL_IMG_shader_binary.ts index 20a82fd..9975f61 100644 --- a/api/ext/GL_IMG_shader_binary.ts +++ b/api/ext/GL_IMG_shader_binary.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IMG_texture_compression_pvrtc.ts b/api/ext/GL_IMG_texture_compression_pvrtc.ts index 28f898e..822754b 100644 --- a/api/ext/GL_IMG_texture_compression_pvrtc.ts +++ b/api/ext/GL_IMG_texture_compression_pvrtc.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IMG_texture_compression_pvrtc2.ts b/api/ext/GL_IMG_texture_compression_pvrtc2.ts index 5a3cda6..5529d32 100644 --- a/api/ext/GL_IMG_texture_compression_pvrtc2.ts +++ b/api/ext/GL_IMG_texture_compression_pvrtc2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IMG_texture_env_enhanced_fixed_function.ts b/api/ext/GL_IMG_texture_env_enhanced_fixed_function.ts index beda8f1..4612ad7 100644 --- a/api/ext/GL_IMG_texture_env_enhanced_fixed_function.ts +++ b/api/ext/GL_IMG_texture_env_enhanced_fixed_function.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IMG_texture_filter_cubic.ts b/api/ext/GL_IMG_texture_filter_cubic.ts index 98a6d61..07c1ae8 100644 --- a/api/ext/GL_IMG_texture_filter_cubic.ts +++ b/api/ext/GL_IMG_texture_filter_cubic.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IMG_tile_region_protection.ts b/api/ext/GL_IMG_tile_region_protection.ts index 048f3d7..ed575a4 100644 --- a/api/ext/GL_IMG_tile_region_protection.ts +++ b/api/ext/GL_IMG_tile_region_protection.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_IMG_user_clip_plane.ts b/api/ext/GL_IMG_user_clip_plane.ts index d573358..1b52eeb 100644 --- a/api/ext/GL_IMG_user_clip_plane.ts +++ b/api/ext/GL_IMG_user_clip_plane.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -106,6 +114,12 @@ export function ClipPlanexIMG( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glClipPlanefIMG = new Deno.UnsafeFnPointer(proc("glClipPlanefIMG"), def_glClipPlanefIMG); - fn_glClipPlanexIMG = new Deno.UnsafeFnPointer(proc("glClipPlanexIMG"), def_glClipPlanexIMG); + fn_glClipPlanefIMG = new Deno.UnsafeFnPointer( + proc("glClipPlanefIMG"), + def_glClipPlanefIMG, + ); + fn_glClipPlanexIMG = new Deno.UnsafeFnPointer( + proc("glClipPlanexIMG"), + def_glClipPlanexIMG, + ); } diff --git a/api/ext/GL_INGR_blend_func_separate.ts b/api/ext/GL_INGR_blend_func_separate.ts index 5050f73..3521c0a 100644 --- a/api/ext/GL_INGR_blend_func_separate.ts +++ b/api/ext/GL_INGR_blend_func_separate.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glBlendFuncSeparateINGR = { result: "void", } as const; -let fn_glBlendFuncSeparateINGR!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparateINGR!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparateINGR +>; export function BlendFuncSeparateINGR( sfactorRGB: GLenum, @@ -84,5 +94,8 @@ export function BlendFuncSeparateINGR( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendFuncSeparateINGR = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparateINGR"), def_glBlendFuncSeparateINGR); + fn_glBlendFuncSeparateINGR = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparateINGR"), + def_glBlendFuncSeparateINGR, + ); } diff --git a/api/ext/GL_INGR_color_clamp.ts b/api/ext/GL_INGR_color_clamp.ts index c2af6d7..8a2a185 100644 --- a/api/ext/GL_INGR_color_clamp.ts +++ b/api/ext/GL_INGR_color_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_INGR_interlace_read.ts b/api/ext/GL_INGR_interlace_read.ts index 90e2146..f2de6c4 100644 --- a/api/ext/GL_INGR_interlace_read.ts +++ b/api/ext/GL_INGR_interlace_read.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_INTEL_blackhole_render.ts b/api/ext/GL_INTEL_blackhole_render.ts index 8a91869..db18236 100644 --- a/api/ext/GL_INTEL_blackhole_render.ts +++ b/api/ext/GL_INTEL_blackhole_render.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_INTEL_conservative_rasterization.ts b/api/ext/GL_INTEL_conservative_rasterization.ts index 78a4354..fcd8da7 100644 --- a/api/ext/GL_INTEL_conservative_rasterization.ts +++ b/api/ext/GL_INTEL_conservative_rasterization.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_INTEL_fragment_shader_ordering.ts b/api/ext/GL_INTEL_fragment_shader_ordering.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_INTEL_fragment_shader_ordering.ts +++ b/api/ext/GL_INTEL_fragment_shader_ordering.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_INTEL_framebuffer_CMAA.ts b/api/ext/GL_INTEL_framebuffer_CMAA.ts index eae35bb..742b108 100644 --- a/api/ext/GL_INTEL_framebuffer_CMAA.ts +++ b/api/ext/GL_INTEL_framebuffer_CMAA.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glApplyFramebufferAttachmentCMAAINTEL = { result: "void", } as const; -let fn_glApplyFramebufferAttachmentCMAAINTEL!: Deno.UnsafeFnPointer; +let fn_glApplyFramebufferAttachmentCMAAINTEL!: Deno.UnsafeFnPointer< + typeof def_glApplyFramebufferAttachmentCMAAINTEL +>; export function ApplyFramebufferAttachmentCMAAINTEL(): void { fn_glApplyFramebufferAttachmentCMAAINTEL.call(); @@ -74,5 +84,8 @@ export function ApplyFramebufferAttachmentCMAAINTEL(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glApplyFramebufferAttachmentCMAAINTEL = new Deno.UnsafeFnPointer(proc("glApplyFramebufferAttachmentCMAAINTEL"), def_glApplyFramebufferAttachmentCMAAINTEL); + fn_glApplyFramebufferAttachmentCMAAINTEL = new Deno.UnsafeFnPointer( + proc("glApplyFramebufferAttachmentCMAAINTEL"), + def_glApplyFramebufferAttachmentCMAAINTEL, + ); } diff --git a/api/ext/GL_INTEL_map_texture.ts b/api/ext/GL_INTEL_map_texture.ts index 367ef09..bd5c44d 100644 --- a/api/ext/GL_INTEL_map_texture.ts +++ b/api/ext/GL_INTEL_map_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -87,7 +95,9 @@ export const def_glUnmapTexture2DINTEL = { result: "void", } as const; -let fn_glUnmapTexture2DINTEL!: Deno.UnsafeFnPointer; +let fn_glUnmapTexture2DINTEL!: Deno.UnsafeFnPointer< + typeof def_glUnmapTexture2DINTEL +>; export function UnmapTexture2DINTEL( texture: GLuint, @@ -104,7 +114,9 @@ export const def_glMapTexture2DINTEL = { result: "buffer", } as const; -let fn_glMapTexture2DINTEL!: Deno.UnsafeFnPointer; +let fn_glMapTexture2DINTEL!: Deno.UnsafeFnPointer< + typeof def_glMapTexture2DINTEL +>; export function MapTexture2DINTEL( texture: GLuint, @@ -124,7 +136,16 @@ export function MapTexture2DINTEL( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glSyncTextureINTEL = new Deno.UnsafeFnPointer(proc("glSyncTextureINTEL"), def_glSyncTextureINTEL); - fn_glUnmapTexture2DINTEL = new Deno.UnsafeFnPointer(proc("glUnmapTexture2DINTEL"), def_glUnmapTexture2DINTEL); - fn_glMapTexture2DINTEL = new Deno.UnsafeFnPointer(proc("glMapTexture2DINTEL"), def_glMapTexture2DINTEL); + fn_glSyncTextureINTEL = new Deno.UnsafeFnPointer( + proc("glSyncTextureINTEL"), + def_glSyncTextureINTEL, + ); + fn_glUnmapTexture2DINTEL = new Deno.UnsafeFnPointer( + proc("glUnmapTexture2DINTEL"), + def_glUnmapTexture2DINTEL, + ); + fn_glMapTexture2DINTEL = new Deno.UnsafeFnPointer( + proc("glMapTexture2DINTEL"), + def_glMapTexture2DINTEL, + ); } diff --git a/api/ext/GL_INTEL_parallel_arrays.ts b/api/ext/GL_INTEL_parallel_arrays.ts index 883eb8d..79e6fa8 100644 --- a/api/ext/GL_INTEL_parallel_arrays.ts +++ b/api/ext/GL_INTEL_parallel_arrays.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -73,7 +81,9 @@ export const def_glVertexPointervINTEL = { result: "void", } as const; -let fn_glVertexPointervINTEL!: Deno.UnsafeFnPointer; +let fn_glVertexPointervINTEL!: Deno.UnsafeFnPointer< + typeof def_glVertexPointervINTEL +>; export function VertexPointervINTEL( size: GLint, @@ -92,7 +102,9 @@ export const def_glNormalPointervINTEL = { result: "void", } as const; -let fn_glNormalPointervINTEL!: Deno.UnsafeFnPointer; +let fn_glNormalPointervINTEL!: Deno.UnsafeFnPointer< + typeof def_glNormalPointervINTEL +>; export function NormalPointervINTEL( type: GLenum, @@ -109,7 +121,9 @@ export const def_glColorPointervINTEL = { result: "void", } as const; -let fn_glColorPointervINTEL!: Deno.UnsafeFnPointer; +let fn_glColorPointervINTEL!: Deno.UnsafeFnPointer< + typeof def_glColorPointervINTEL +>; export function ColorPointervINTEL( size: GLint, @@ -128,7 +142,9 @@ export const def_glTexCoordPointervINTEL = { result: "void", } as const; -let fn_glTexCoordPointervINTEL!: Deno.UnsafeFnPointer; +let fn_glTexCoordPointervINTEL!: Deno.UnsafeFnPointer< + typeof def_glTexCoordPointervINTEL +>; export function TexCoordPointervINTEL( size: GLint, @@ -144,8 +160,20 @@ export function TexCoordPointervINTEL( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexPointervINTEL = new Deno.UnsafeFnPointer(proc("glVertexPointervINTEL"), def_glVertexPointervINTEL); - fn_glNormalPointervINTEL = new Deno.UnsafeFnPointer(proc("glNormalPointervINTEL"), def_glNormalPointervINTEL); - fn_glColorPointervINTEL = new Deno.UnsafeFnPointer(proc("glColorPointervINTEL"), def_glColorPointervINTEL); - fn_glTexCoordPointervINTEL = new Deno.UnsafeFnPointer(proc("glTexCoordPointervINTEL"), def_glTexCoordPointervINTEL); + fn_glVertexPointervINTEL = new Deno.UnsafeFnPointer( + proc("glVertexPointervINTEL"), + def_glVertexPointervINTEL, + ); + fn_glNormalPointervINTEL = new Deno.UnsafeFnPointer( + proc("glNormalPointervINTEL"), + def_glNormalPointervINTEL, + ); + fn_glColorPointervINTEL = new Deno.UnsafeFnPointer( + proc("glColorPointervINTEL"), + def_glColorPointervINTEL, + ); + fn_glTexCoordPointervINTEL = new Deno.UnsafeFnPointer( + proc("glTexCoordPointervINTEL"), + def_glTexCoordPointervINTEL, + ); } diff --git a/api/ext/GL_INTEL_performance_query.ts b/api/ext/GL_INTEL_performance_query.ts index 22fe43f..b2390ef 100644 --- a/api/ext/GL_INTEL_performance_query.ts +++ b/api/ext/GL_INTEL_performance_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,7 +96,9 @@ export const def_glBeginPerfQueryINTEL = { result: "void", } as const; -let fn_glBeginPerfQueryINTEL!: Deno.UnsafeFnPointer; +let fn_glBeginPerfQueryINTEL!: Deno.UnsafeFnPointer< + typeof def_glBeginPerfQueryINTEL +>; export function BeginPerfQueryINTEL( queryHandle: GLuint, @@ -103,7 +113,9 @@ export const def_glCreatePerfQueryINTEL = { result: "void", } as const; -let fn_glCreatePerfQueryINTEL!: Deno.UnsafeFnPointer; +let fn_glCreatePerfQueryINTEL!: Deno.UnsafeFnPointer< + typeof def_glCreatePerfQueryINTEL +>; export function CreatePerfQueryINTEL( queryId: GLuint, @@ -120,7 +132,9 @@ export const def_glDeletePerfQueryINTEL = { result: "void", } as const; -let fn_glDeletePerfQueryINTEL!: Deno.UnsafeFnPointer; +let fn_glDeletePerfQueryINTEL!: Deno.UnsafeFnPointer< + typeof def_glDeletePerfQueryINTEL +>; export function DeletePerfQueryINTEL( queryHandle: GLuint, @@ -135,7 +149,9 @@ export const def_glEndPerfQueryINTEL = { result: "void", } as const; -let fn_glEndPerfQueryINTEL!: Deno.UnsafeFnPointer; +let fn_glEndPerfQueryINTEL!: Deno.UnsafeFnPointer< + typeof def_glEndPerfQueryINTEL +>; export function EndPerfQueryINTEL( queryHandle: GLuint, @@ -150,7 +166,9 @@ export const def_glGetFirstPerfQueryIdINTEL = { result: "void", } as const; -let fn_glGetFirstPerfQueryIdINTEL!: Deno.UnsafeFnPointer; +let fn_glGetFirstPerfQueryIdINTEL!: Deno.UnsafeFnPointer< + typeof def_glGetFirstPerfQueryIdINTEL +>; export function GetFirstPerfQueryIdINTEL( queryId: Buffer, @@ -165,7 +183,9 @@ export const def_glGetNextPerfQueryIdINTEL = { result: "void", } as const; -let fn_glGetNextPerfQueryIdINTEL!: Deno.UnsafeFnPointer; +let fn_glGetNextPerfQueryIdINTEL!: Deno.UnsafeFnPointer< + typeof def_glGetNextPerfQueryIdINTEL +>; export function GetNextPerfQueryIdINTEL( queryId: GLuint, @@ -178,11 +198,25 @@ export function GetNextPerfQueryIdINTEL( } export const def_glGetPerfCounterInfoINTEL = { - parameters: ["u32", "u32", "u32", "buffer", "u32", "buffer", "buffer", "buffer", "buffer", "buffer", "buffer"], + parameters: [ + "u32", + "u32", + "u32", + "buffer", + "u32", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + ], result: "void", } as const; -let fn_glGetPerfCounterInfoINTEL!: Deno.UnsafeFnPointer; +let fn_glGetPerfCounterInfoINTEL!: Deno.UnsafeFnPointer< + typeof def_glGetPerfCounterInfoINTEL +>; export function GetPerfCounterInfoINTEL( queryId: GLuint, @@ -217,7 +251,9 @@ export const def_glGetPerfQueryDataINTEL = { result: "void", } as const; -let fn_glGetPerfQueryDataINTEL!: Deno.UnsafeFnPointer; +let fn_glGetPerfQueryDataINTEL!: Deno.UnsafeFnPointer< + typeof def_glGetPerfQueryDataINTEL +>; export function GetPerfQueryDataINTEL( queryHandle: GLuint, @@ -240,7 +276,9 @@ export const def_glGetPerfQueryIdByNameINTEL = { result: "void", } as const; -let fn_glGetPerfQueryIdByNameINTEL!: Deno.UnsafeFnPointer; +let fn_glGetPerfQueryIdByNameINTEL!: Deno.UnsafeFnPointer< + typeof def_glGetPerfQueryIdByNameINTEL +>; export function GetPerfQueryIdByNameINTEL( queryName: Buffer, @@ -257,7 +295,9 @@ export const def_glGetPerfQueryInfoINTEL = { result: "void", } as const; -let fn_glGetPerfQueryInfoINTEL!: Deno.UnsafeFnPointer; +let fn_glGetPerfQueryInfoINTEL!: Deno.UnsafeFnPointer< + typeof def_glGetPerfQueryInfoINTEL +>; export function GetPerfQueryInfoINTEL( queryId: GLuint, @@ -281,14 +321,44 @@ export function GetPerfQueryInfoINTEL( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBeginPerfQueryINTEL = new Deno.UnsafeFnPointer(proc("glBeginPerfQueryINTEL"), def_glBeginPerfQueryINTEL); - fn_glCreatePerfQueryINTEL = new Deno.UnsafeFnPointer(proc("glCreatePerfQueryINTEL"), def_glCreatePerfQueryINTEL); - fn_glDeletePerfQueryINTEL = new Deno.UnsafeFnPointer(proc("glDeletePerfQueryINTEL"), def_glDeletePerfQueryINTEL); - fn_glEndPerfQueryINTEL = new Deno.UnsafeFnPointer(proc("glEndPerfQueryINTEL"), def_glEndPerfQueryINTEL); - fn_glGetFirstPerfQueryIdINTEL = new Deno.UnsafeFnPointer(proc("glGetFirstPerfQueryIdINTEL"), def_glGetFirstPerfQueryIdINTEL); - fn_glGetNextPerfQueryIdINTEL = new Deno.UnsafeFnPointer(proc("glGetNextPerfQueryIdINTEL"), def_glGetNextPerfQueryIdINTEL); - fn_glGetPerfCounterInfoINTEL = new Deno.UnsafeFnPointer(proc("glGetPerfCounterInfoINTEL"), def_glGetPerfCounterInfoINTEL); - fn_glGetPerfQueryDataINTEL = new Deno.UnsafeFnPointer(proc("glGetPerfQueryDataINTEL"), def_glGetPerfQueryDataINTEL); - fn_glGetPerfQueryIdByNameINTEL = new Deno.UnsafeFnPointer(proc("glGetPerfQueryIdByNameINTEL"), def_glGetPerfQueryIdByNameINTEL); - fn_glGetPerfQueryInfoINTEL = new Deno.UnsafeFnPointer(proc("glGetPerfQueryInfoINTEL"), def_glGetPerfQueryInfoINTEL); + fn_glBeginPerfQueryINTEL = new Deno.UnsafeFnPointer( + proc("glBeginPerfQueryINTEL"), + def_glBeginPerfQueryINTEL, + ); + fn_glCreatePerfQueryINTEL = new Deno.UnsafeFnPointer( + proc("glCreatePerfQueryINTEL"), + def_glCreatePerfQueryINTEL, + ); + fn_glDeletePerfQueryINTEL = new Deno.UnsafeFnPointer( + proc("glDeletePerfQueryINTEL"), + def_glDeletePerfQueryINTEL, + ); + fn_glEndPerfQueryINTEL = new Deno.UnsafeFnPointer( + proc("glEndPerfQueryINTEL"), + def_glEndPerfQueryINTEL, + ); + fn_glGetFirstPerfQueryIdINTEL = new Deno.UnsafeFnPointer( + proc("glGetFirstPerfQueryIdINTEL"), + def_glGetFirstPerfQueryIdINTEL, + ); + fn_glGetNextPerfQueryIdINTEL = new Deno.UnsafeFnPointer( + proc("glGetNextPerfQueryIdINTEL"), + def_glGetNextPerfQueryIdINTEL, + ); + fn_glGetPerfCounterInfoINTEL = new Deno.UnsafeFnPointer( + proc("glGetPerfCounterInfoINTEL"), + def_glGetPerfCounterInfoINTEL, + ); + fn_glGetPerfQueryDataINTEL = new Deno.UnsafeFnPointer( + proc("glGetPerfQueryDataINTEL"), + def_glGetPerfQueryDataINTEL, + ); + fn_glGetPerfQueryIdByNameINTEL = new Deno.UnsafeFnPointer( + proc("glGetPerfQueryIdByNameINTEL"), + def_glGetPerfQueryIdByNameINTEL, + ); + fn_glGetPerfQueryInfoINTEL = new Deno.UnsafeFnPointer( + proc("glGetPerfQueryInfoINTEL"), + def_glGetPerfQueryInfoINTEL, + ); } diff --git a/api/ext/GL_KHR_blend_equation_advanced.ts b/api/ext/GL_KHR_blend_equation_advanced.ts index d1af788..2298a63 100644 --- a/api/ext/GL_KHR_blend_equation_advanced.ts +++ b/api/ext/GL_KHR_blend_equation_advanced.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -91,5 +99,8 @@ export function BlendBarrierKHR(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendBarrierKHR = new Deno.UnsafeFnPointer(proc("glBlendBarrierKHR"), def_glBlendBarrierKHR); + fn_glBlendBarrierKHR = new Deno.UnsafeFnPointer( + proc("glBlendBarrierKHR"), + def_glBlendBarrierKHR, + ); } diff --git a/api/ext/GL_KHR_blend_equation_advanced_coherent.ts b/api/ext/GL_KHR_blend_equation_advanced_coherent.ts index 52f7b13..eed0bfc 100644 --- a/api/ext/GL_KHR_blend_equation_advanced_coherent.ts +++ b/api/ext/GL_KHR_blend_equation_advanced_coherent.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_KHR_context_flush_control.ts b/api/ext/GL_KHR_context_flush_control.ts index 900ff9b..13cbff7 100644 --- a/api/ext/GL_KHR_context_flush_control.ts +++ b/api/ext/GL_KHR_context_flush_control.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_KHR_debug.ts b/api/ext/GL_KHR_debug.ts index 51b0683..5b948cb 100644 --- a/api/ext/GL_KHR_debug.ts +++ b/api/ext/GL_KHR_debug.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -149,7 +157,9 @@ export const def_glDebugMessageControl = { result: "void", } as const; -let fn_glDebugMessageControl!: Deno.UnsafeFnPointer; +let fn_glDebugMessageControl!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageControl +>; export function DebugMessageControl( source: GLenum, @@ -174,7 +184,9 @@ export const def_glDebugMessageInsert = { result: "void", } as const; -let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer; +let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageInsert +>; export function DebugMessageInsert( source: GLenum, @@ -199,7 +211,9 @@ export const def_glDebugMessageCallback = { result: "void", } as const; -let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer; +let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageCallback +>; export function DebugMessageCallback( callback: GLDEBUGPROC, @@ -212,11 +226,22 @@ export function DebugMessageCallback( } export const def_glGetDebugMessageLog = { - parameters: ["u32", "i32", "buffer", "buffer", "buffer", "buffer", "buffer", "buffer"], + parameters: [ + "u32", + "i32", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + ], result: "u32", } as const; -let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer; +let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer< + typeof def_glGetDebugMessageLog +>; export function GetDebugMessageLog( count: GLuint, @@ -340,7 +365,9 @@ export const def_glGetObjectPtrLabel = { result: "void", } as const; -let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer; +let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer< + typeof def_glGetObjectPtrLabel +>; export function GetObjectPtrLabel( ptr: Buffer, @@ -378,7 +405,9 @@ export const def_glDebugMessageControlKHR = { result: "void", } as const; -let fn_glDebugMessageControlKHR!: Deno.UnsafeFnPointer; +let fn_glDebugMessageControlKHR!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageControlKHR +>; export function DebugMessageControlKHR( source: GLenum, @@ -403,7 +432,9 @@ export const def_glDebugMessageInsertKHR = { result: "void", } as const; -let fn_glDebugMessageInsertKHR!: Deno.UnsafeFnPointer; +let fn_glDebugMessageInsertKHR!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageInsertKHR +>; export function DebugMessageInsertKHR( source: GLenum, @@ -428,7 +459,9 @@ export const def_glDebugMessageCallbackKHR = { result: "void", } as const; -let fn_glDebugMessageCallbackKHR!: Deno.UnsafeFnPointer; +let fn_glDebugMessageCallbackKHR!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageCallbackKHR +>; export function DebugMessageCallbackKHR( callback: GLDEBUGPROCKHR, @@ -441,11 +474,22 @@ export function DebugMessageCallbackKHR( } export const def_glGetDebugMessageLogKHR = { - parameters: ["u32", "i32", "buffer", "buffer", "buffer", "buffer", "buffer", "buffer"], + parameters: [ + "u32", + "i32", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + ], result: "u32", } as const; -let fn_glGetDebugMessageLogKHR!: Deno.UnsafeFnPointer; +let fn_glGetDebugMessageLogKHR!: Deno.UnsafeFnPointer< + typeof def_glGetDebugMessageLogKHR +>; export function GetDebugMessageLogKHR( count: GLuint, @@ -474,7 +518,9 @@ export const def_glPushDebugGroupKHR = { result: "void", } as const; -let fn_glPushDebugGroupKHR!: Deno.UnsafeFnPointer; +let fn_glPushDebugGroupKHR!: Deno.UnsafeFnPointer< + typeof def_glPushDebugGroupKHR +>; export function PushDebugGroupKHR( source: GLenum, @@ -527,7 +573,9 @@ export const def_glGetObjectLabelKHR = { result: "void", } as const; -let fn_glGetObjectLabelKHR!: Deno.UnsafeFnPointer; +let fn_glGetObjectLabelKHR!: Deno.UnsafeFnPointer< + typeof def_glGetObjectLabelKHR +>; export function GetObjectLabelKHR( identifier: GLenum, @@ -550,7 +598,9 @@ export const def_glObjectPtrLabelKHR = { result: "void", } as const; -let fn_glObjectPtrLabelKHR!: Deno.UnsafeFnPointer; +let fn_glObjectPtrLabelKHR!: Deno.UnsafeFnPointer< + typeof def_glObjectPtrLabelKHR +>; export function ObjectPtrLabelKHR( ptr: Buffer, @@ -569,7 +619,9 @@ export const def_glGetObjectPtrLabelKHR = { result: "void", } as const; -let fn_glGetObjectPtrLabelKHR!: Deno.UnsafeFnPointer; +let fn_glGetObjectPtrLabelKHR!: Deno.UnsafeFnPointer< + typeof def_glGetObjectPtrLabelKHR +>; export function GetObjectPtrLabelKHR( ptr: Buffer, @@ -604,26 +656,92 @@ export function GetPointervKHR( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDebugMessageControl = new Deno.UnsafeFnPointer(proc("glDebugMessageControl"), def_glDebugMessageControl); - fn_glDebugMessageInsert = new Deno.UnsafeFnPointer(proc("glDebugMessageInsert"), def_glDebugMessageInsert); - fn_glDebugMessageCallback = new Deno.UnsafeFnPointer(proc("glDebugMessageCallback"), def_glDebugMessageCallback); - fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer(proc("glGetDebugMessageLog"), def_glGetDebugMessageLog); - fn_glPushDebugGroup = new Deno.UnsafeFnPointer(proc("glPushDebugGroup"), def_glPushDebugGroup); - fn_glPopDebugGroup = new Deno.UnsafeFnPointer(proc("glPopDebugGroup"), def_glPopDebugGroup); - fn_glObjectLabel = new Deno.UnsafeFnPointer(proc("glObjectLabel"), def_glObjectLabel); - fn_glGetObjectLabel = new Deno.UnsafeFnPointer(proc("glGetObjectLabel"), def_glGetObjectLabel); - fn_glObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glObjectPtrLabel"), def_glObjectPtrLabel); - fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glGetObjectPtrLabel"), def_glGetObjectPtrLabel); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glDebugMessageControlKHR = new Deno.UnsafeFnPointer(proc("glDebugMessageControlKHR"), def_glDebugMessageControlKHR); - fn_glDebugMessageInsertKHR = new Deno.UnsafeFnPointer(proc("glDebugMessageInsertKHR"), def_glDebugMessageInsertKHR); - fn_glDebugMessageCallbackKHR = new Deno.UnsafeFnPointer(proc("glDebugMessageCallbackKHR"), def_glDebugMessageCallbackKHR); - fn_glGetDebugMessageLogKHR = new Deno.UnsafeFnPointer(proc("glGetDebugMessageLogKHR"), def_glGetDebugMessageLogKHR); - fn_glPushDebugGroupKHR = new Deno.UnsafeFnPointer(proc("glPushDebugGroupKHR"), def_glPushDebugGroupKHR); - fn_glPopDebugGroupKHR = new Deno.UnsafeFnPointer(proc("glPopDebugGroupKHR"), def_glPopDebugGroupKHR); - fn_glObjectLabelKHR = new Deno.UnsafeFnPointer(proc("glObjectLabelKHR"), def_glObjectLabelKHR); - fn_glGetObjectLabelKHR = new Deno.UnsafeFnPointer(proc("glGetObjectLabelKHR"), def_glGetObjectLabelKHR); - fn_glObjectPtrLabelKHR = new Deno.UnsafeFnPointer(proc("glObjectPtrLabelKHR"), def_glObjectPtrLabelKHR); - fn_glGetObjectPtrLabelKHR = new Deno.UnsafeFnPointer(proc("glGetObjectPtrLabelKHR"), def_glGetObjectPtrLabelKHR); - fn_glGetPointervKHR = new Deno.UnsafeFnPointer(proc("glGetPointervKHR"), def_glGetPointervKHR); + fn_glDebugMessageControl = new Deno.UnsafeFnPointer( + proc("glDebugMessageControl"), + def_glDebugMessageControl, + ); + fn_glDebugMessageInsert = new Deno.UnsafeFnPointer( + proc("glDebugMessageInsert"), + def_glDebugMessageInsert, + ); + fn_glDebugMessageCallback = new Deno.UnsafeFnPointer( + proc("glDebugMessageCallback"), + def_glDebugMessageCallback, + ); + fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer( + proc("glGetDebugMessageLog"), + def_glGetDebugMessageLog, + ); + fn_glPushDebugGroup = new Deno.UnsafeFnPointer( + proc("glPushDebugGroup"), + def_glPushDebugGroup, + ); + fn_glPopDebugGroup = new Deno.UnsafeFnPointer( + proc("glPopDebugGroup"), + def_glPopDebugGroup, + ); + fn_glObjectLabel = new Deno.UnsafeFnPointer( + proc("glObjectLabel"), + def_glObjectLabel, + ); + fn_glGetObjectLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectLabel"), + def_glGetObjectLabel, + ); + fn_glObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glObjectPtrLabel"), + def_glObjectPtrLabel, + ); + fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectPtrLabel"), + def_glGetObjectPtrLabel, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glDebugMessageControlKHR = new Deno.UnsafeFnPointer( + proc("glDebugMessageControlKHR"), + def_glDebugMessageControlKHR, + ); + fn_glDebugMessageInsertKHR = new Deno.UnsafeFnPointer( + proc("glDebugMessageInsertKHR"), + def_glDebugMessageInsertKHR, + ); + fn_glDebugMessageCallbackKHR = new Deno.UnsafeFnPointer( + proc("glDebugMessageCallbackKHR"), + def_glDebugMessageCallbackKHR, + ); + fn_glGetDebugMessageLogKHR = new Deno.UnsafeFnPointer( + proc("glGetDebugMessageLogKHR"), + def_glGetDebugMessageLogKHR, + ); + fn_glPushDebugGroupKHR = new Deno.UnsafeFnPointer( + proc("glPushDebugGroupKHR"), + def_glPushDebugGroupKHR, + ); + fn_glPopDebugGroupKHR = new Deno.UnsafeFnPointer( + proc("glPopDebugGroupKHR"), + def_glPopDebugGroupKHR, + ); + fn_glObjectLabelKHR = new Deno.UnsafeFnPointer( + proc("glObjectLabelKHR"), + def_glObjectLabelKHR, + ); + fn_glGetObjectLabelKHR = new Deno.UnsafeFnPointer( + proc("glGetObjectLabelKHR"), + def_glGetObjectLabelKHR, + ); + fn_glObjectPtrLabelKHR = new Deno.UnsafeFnPointer( + proc("glObjectPtrLabelKHR"), + def_glObjectPtrLabelKHR, + ); + fn_glGetObjectPtrLabelKHR = new Deno.UnsafeFnPointer( + proc("glGetObjectPtrLabelKHR"), + def_glGetObjectPtrLabelKHR, + ); + fn_glGetPointervKHR = new Deno.UnsafeFnPointer( + proc("glGetPointervKHR"), + def_glGetPointervKHR, + ); } diff --git a/api/ext/GL_KHR_no_error.ts b/api/ext/GL_KHR_no_error.ts index 042f6d6..a9d80c9 100644 --- a/api/ext/GL_KHR_no_error.ts +++ b/api/ext/GL_KHR_no_error.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_KHR_parallel_shader_compile.ts b/api/ext/GL_KHR_parallel_shader_compile.ts index a451888..5b698c9 100644 --- a/api/ext/GL_KHR_parallel_shader_compile.ts +++ b/api/ext/GL_KHR_parallel_shader_compile.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glMaxShaderCompilerThreadsKHR = { result: "void", } as const; -let fn_glMaxShaderCompilerThreadsKHR!: Deno.UnsafeFnPointer; +let fn_glMaxShaderCompilerThreadsKHR!: Deno.UnsafeFnPointer< + typeof def_glMaxShaderCompilerThreadsKHR +>; export function MaxShaderCompilerThreadsKHR( count: GLuint, @@ -82,5 +92,8 @@ export function MaxShaderCompilerThreadsKHR( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMaxShaderCompilerThreadsKHR = new Deno.UnsafeFnPointer(proc("glMaxShaderCompilerThreadsKHR"), def_glMaxShaderCompilerThreadsKHR); + fn_glMaxShaderCompilerThreadsKHR = new Deno.UnsafeFnPointer( + proc("glMaxShaderCompilerThreadsKHR"), + def_glMaxShaderCompilerThreadsKHR, + ); } diff --git a/api/ext/GL_KHR_robust_buffer_access_behavior.ts b/api/ext/GL_KHR_robust_buffer_access_behavior.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_KHR_robust_buffer_access_behavior.ts +++ b/api/ext/GL_KHR_robust_buffer_access_behavior.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_KHR_robustness.ts b/api/ext/GL_KHR_robustness.ts index 3459556..cc6e1d1 100644 --- a/api/ext/GL_KHR_robustness.ts +++ b/api/ext/GL_KHR_robustness.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -86,7 +94,9 @@ export const def_glGetGraphicsResetStatus = { result: "u32", } as const; -let fn_glGetGraphicsResetStatus!: Deno.UnsafeFnPointer; +let fn_glGetGraphicsResetStatus!: Deno.UnsafeFnPointer< + typeof def_glGetGraphicsResetStatus +>; export function GetGraphicsResetStatus(): GLenum { return fn_glGetGraphicsResetStatus.call(); @@ -189,7 +199,9 @@ export const def_glGetGraphicsResetStatusKHR = { result: "u32", } as const; -let fn_glGetGraphicsResetStatusKHR!: Deno.UnsafeFnPointer; +let fn_glGetGraphicsResetStatusKHR!: Deno.UnsafeFnPointer< + typeof def_glGetGraphicsResetStatusKHR +>; export function GetGraphicsResetStatusKHR(): GLenum { return fn_glGetGraphicsResetStatusKHR.call(); @@ -271,7 +283,9 @@ export const def_glGetnUniformuivKHR = { result: "void", } as const; -let fn_glGetnUniformuivKHR!: Deno.UnsafeFnPointer; +let fn_glGetnUniformuivKHR!: Deno.UnsafeFnPointer< + typeof def_glGetnUniformuivKHR +>; export function GetnUniformuivKHR( program: GLuint, @@ -289,14 +303,44 @@ export function GetnUniformuivKHR( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetGraphicsResetStatus = new Deno.UnsafeFnPointer(proc("glGetGraphicsResetStatus"), def_glGetGraphicsResetStatus); - fn_glReadnPixels = new Deno.UnsafeFnPointer(proc("glReadnPixels"), def_glReadnPixels); - fn_glGetnUniformfv = new Deno.UnsafeFnPointer(proc("glGetnUniformfv"), def_glGetnUniformfv); - fn_glGetnUniformiv = new Deno.UnsafeFnPointer(proc("glGetnUniformiv"), def_glGetnUniformiv); - fn_glGetnUniformuiv = new Deno.UnsafeFnPointer(proc("glGetnUniformuiv"), def_glGetnUniformuiv); - fn_glGetGraphicsResetStatusKHR = new Deno.UnsafeFnPointer(proc("glGetGraphicsResetStatusKHR"), def_glGetGraphicsResetStatusKHR); - fn_glReadnPixelsKHR = new Deno.UnsafeFnPointer(proc("glReadnPixelsKHR"), def_glReadnPixelsKHR); - fn_glGetnUniformfvKHR = new Deno.UnsafeFnPointer(proc("glGetnUniformfvKHR"), def_glGetnUniformfvKHR); - fn_glGetnUniformivKHR = new Deno.UnsafeFnPointer(proc("glGetnUniformivKHR"), def_glGetnUniformivKHR); - fn_glGetnUniformuivKHR = new Deno.UnsafeFnPointer(proc("glGetnUniformuivKHR"), def_glGetnUniformuivKHR); + fn_glGetGraphicsResetStatus = new Deno.UnsafeFnPointer( + proc("glGetGraphicsResetStatus"), + def_glGetGraphicsResetStatus, + ); + fn_glReadnPixels = new Deno.UnsafeFnPointer( + proc("glReadnPixels"), + def_glReadnPixels, + ); + fn_glGetnUniformfv = new Deno.UnsafeFnPointer( + proc("glGetnUniformfv"), + def_glGetnUniformfv, + ); + fn_glGetnUniformiv = new Deno.UnsafeFnPointer( + proc("glGetnUniformiv"), + def_glGetnUniformiv, + ); + fn_glGetnUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetnUniformuiv"), + def_glGetnUniformuiv, + ); + fn_glGetGraphicsResetStatusKHR = new Deno.UnsafeFnPointer( + proc("glGetGraphicsResetStatusKHR"), + def_glGetGraphicsResetStatusKHR, + ); + fn_glReadnPixelsKHR = new Deno.UnsafeFnPointer( + proc("glReadnPixelsKHR"), + def_glReadnPixelsKHR, + ); + fn_glGetnUniformfvKHR = new Deno.UnsafeFnPointer( + proc("glGetnUniformfvKHR"), + def_glGetnUniformfvKHR, + ); + fn_glGetnUniformivKHR = new Deno.UnsafeFnPointer( + proc("glGetnUniformivKHR"), + def_glGetnUniformivKHR, + ); + fn_glGetnUniformuivKHR = new Deno.UnsafeFnPointer( + proc("glGetnUniformuivKHR"), + def_glGetnUniformuivKHR, + ); } diff --git a/api/ext/GL_KHR_shader_subgroup.ts b/api/ext/GL_KHR_shader_subgroup.ts index 4ca6a58..c82e9da 100644 --- a/api/ext/GL_KHR_shader_subgroup.ts +++ b/api/ext/GL_KHR_shader_subgroup.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_KHR_texture_compression_astc_hdr.ts b/api/ext/GL_KHR_texture_compression_astc_hdr.ts index 9b14ac3..e97596c 100644 --- a/api/ext/GL_KHR_texture_compression_astc_hdr.ts +++ b/api/ext/GL_KHR_texture_compression_astc_hdr.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_KHR_texture_compression_astc_ldr.ts b/api/ext/GL_KHR_texture_compression_astc_ldr.ts index 9b14ac3..e97596c 100644 --- a/api/ext/GL_KHR_texture_compression_astc_ldr.ts +++ b/api/ext/GL_KHR_texture_compression_astc_ldr.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_KHR_texture_compression_astc_sliced_3d.ts b/api/ext/GL_KHR_texture_compression_astc_sliced_3d.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_KHR_texture_compression_astc_sliced_3d.ts +++ b/api/ext/GL_KHR_texture_compression_astc_sliced_3d.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_MESAX_texture_stack.ts b/api/ext/GL_MESAX_texture_stack.ts index 52655d4..5d46155 100644 --- a/api/ext/GL_MESAX_texture_stack.ts +++ b/api/ext/GL_MESAX_texture_stack.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_MESA_bgra.ts b/api/ext/GL_MESA_bgra.ts index fec5b51..8dec951 100644 --- a/api/ext/GL_MESA_bgra.ts +++ b/api/ext/GL_MESA_bgra.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_MESA_framebuffer_flip_x.ts b/api/ext/GL_MESA_framebuffer_flip_x.ts index 5f9a014..eeaf18a 100644 --- a/api/ext/GL_MESA_framebuffer_flip_x.ts +++ b/api/ext/GL_MESA_framebuffer_flip_x.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_MESA_framebuffer_flip_y.ts b/api/ext/GL_MESA_framebuffer_flip_y.ts index e5811b8..b3458a7 100644 --- a/api/ext/GL_MESA_framebuffer_flip_y.ts +++ b/api/ext/GL_MESA_framebuffer_flip_y.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glFramebufferParameteriMESA = { result: "void", } as const; -let fn_glFramebufferParameteriMESA!: Deno.UnsafeFnPointer; +let fn_glFramebufferParameteriMESA!: Deno.UnsafeFnPointer< + typeof def_glFramebufferParameteriMESA +>; export function FramebufferParameteriMESA( target: GLenum, @@ -88,7 +98,9 @@ export const def_glGetFramebufferParameterivMESA = { result: "void", } as const; -let fn_glGetFramebufferParameterivMESA!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferParameterivMESA!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferParameterivMESA +>; export function GetFramebufferParameterivMESA( target: GLenum, @@ -104,6 +116,12 @@ export function GetFramebufferParameterivMESA( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferParameteriMESA = new Deno.UnsafeFnPointer(proc("glFramebufferParameteriMESA"), def_glFramebufferParameteriMESA); - fn_glGetFramebufferParameterivMESA = new Deno.UnsafeFnPointer(proc("glGetFramebufferParameterivMESA"), def_glGetFramebufferParameterivMESA); + fn_glFramebufferParameteriMESA = new Deno.UnsafeFnPointer( + proc("glFramebufferParameteriMESA"), + def_glFramebufferParameteriMESA, + ); + fn_glGetFramebufferParameterivMESA = new Deno.UnsafeFnPointer( + proc("glGetFramebufferParameterivMESA"), + def_glGetFramebufferParameterivMESA, + ); } diff --git a/api/ext/GL_MESA_framebuffer_swap_xy.ts b/api/ext/GL_MESA_framebuffer_swap_xy.ts index 6f1f221..d762959 100644 --- a/api/ext/GL_MESA_framebuffer_swap_xy.ts +++ b/api/ext/GL_MESA_framebuffer_swap_xy.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_MESA_pack_invert.ts b/api/ext/GL_MESA_pack_invert.ts index 1ccc71e..ce1a846 100644 --- a/api/ext/GL_MESA_pack_invert.ts +++ b/api/ext/GL_MESA_pack_invert.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_MESA_program_binary_formats.ts b/api/ext/GL_MESA_program_binary_formats.ts index 9b7462c..2b12c53 100644 --- a/api/ext/GL_MESA_program_binary_formats.ts +++ b/api/ext/GL_MESA_program_binary_formats.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_MESA_resize_buffers.ts b/api/ext/GL_MESA_resize_buffers.ts index 8a391ff..9f4f6ca 100644 --- a/api/ext/GL_MESA_resize_buffers.ts +++ b/api/ext/GL_MESA_resize_buffers.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glResizeBuffersMESA = { result: "void", } as const; -let fn_glResizeBuffersMESA!: Deno.UnsafeFnPointer; +let fn_glResizeBuffersMESA!: Deno.UnsafeFnPointer< + typeof def_glResizeBuffersMESA +>; export function ResizeBuffersMESA(): void { fn_glResizeBuffersMESA.call(); @@ -74,5 +84,8 @@ export function ResizeBuffersMESA(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glResizeBuffersMESA = new Deno.UnsafeFnPointer(proc("glResizeBuffersMESA"), def_glResizeBuffersMESA); + fn_glResizeBuffersMESA = new Deno.UnsafeFnPointer( + proc("glResizeBuffersMESA"), + def_glResizeBuffersMESA, + ); } diff --git a/api/ext/GL_MESA_shader_integer_functions.ts b/api/ext/GL_MESA_shader_integer_functions.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_MESA_shader_integer_functions.ts +++ b/api/ext/GL_MESA_shader_integer_functions.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_MESA_tile_raster_order.ts b/api/ext/GL_MESA_tile_raster_order.ts index 087fbd1..d9959c7 100644 --- a/api/ext/GL_MESA_tile_raster_order.ts +++ b/api/ext/GL_MESA_tile_raster_order.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_MESA_window_pos.ts b/api/ext/GL_MESA_window_pos.ts index 94aa2df..4e537d9 100644 --- a/api/ext/GL_MESA_window_pos.ts +++ b/api/ext/GL_MESA_window_pos.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -471,28 +479,100 @@ export function WindowPos4svMESA( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glWindowPos2dMESA = new Deno.UnsafeFnPointer(proc("glWindowPos2dMESA"), def_glWindowPos2dMESA); - fn_glWindowPos2dvMESA = new Deno.UnsafeFnPointer(proc("glWindowPos2dvMESA"), def_glWindowPos2dvMESA); - fn_glWindowPos2fMESA = new Deno.UnsafeFnPointer(proc("glWindowPos2fMESA"), def_glWindowPos2fMESA); - fn_glWindowPos2fvMESA = new Deno.UnsafeFnPointer(proc("glWindowPos2fvMESA"), def_glWindowPos2fvMESA); - fn_glWindowPos2iMESA = new Deno.UnsafeFnPointer(proc("glWindowPos2iMESA"), def_glWindowPos2iMESA); - fn_glWindowPos2ivMESA = new Deno.UnsafeFnPointer(proc("glWindowPos2ivMESA"), def_glWindowPos2ivMESA); - fn_glWindowPos2sMESA = new Deno.UnsafeFnPointer(proc("glWindowPos2sMESA"), def_glWindowPos2sMESA); - fn_glWindowPos2svMESA = new Deno.UnsafeFnPointer(proc("glWindowPos2svMESA"), def_glWindowPos2svMESA); - fn_glWindowPos3dMESA = new Deno.UnsafeFnPointer(proc("glWindowPos3dMESA"), def_glWindowPos3dMESA); - fn_glWindowPos3dvMESA = new Deno.UnsafeFnPointer(proc("glWindowPos3dvMESA"), def_glWindowPos3dvMESA); - fn_glWindowPos3fMESA = new Deno.UnsafeFnPointer(proc("glWindowPos3fMESA"), def_glWindowPos3fMESA); - fn_glWindowPos3fvMESA = new Deno.UnsafeFnPointer(proc("glWindowPos3fvMESA"), def_glWindowPos3fvMESA); - fn_glWindowPos3iMESA = new Deno.UnsafeFnPointer(proc("glWindowPos3iMESA"), def_glWindowPos3iMESA); - fn_glWindowPos3ivMESA = new Deno.UnsafeFnPointer(proc("glWindowPos3ivMESA"), def_glWindowPos3ivMESA); - fn_glWindowPos3sMESA = new Deno.UnsafeFnPointer(proc("glWindowPos3sMESA"), def_glWindowPos3sMESA); - fn_glWindowPos3svMESA = new Deno.UnsafeFnPointer(proc("glWindowPos3svMESA"), def_glWindowPos3svMESA); - fn_glWindowPos4dMESA = new Deno.UnsafeFnPointer(proc("glWindowPos4dMESA"), def_glWindowPos4dMESA); - fn_glWindowPos4dvMESA = new Deno.UnsafeFnPointer(proc("glWindowPos4dvMESA"), def_glWindowPos4dvMESA); - fn_glWindowPos4fMESA = new Deno.UnsafeFnPointer(proc("glWindowPos4fMESA"), def_glWindowPos4fMESA); - fn_glWindowPos4fvMESA = new Deno.UnsafeFnPointer(proc("glWindowPos4fvMESA"), def_glWindowPos4fvMESA); - fn_glWindowPos4iMESA = new Deno.UnsafeFnPointer(proc("glWindowPos4iMESA"), def_glWindowPos4iMESA); - fn_glWindowPos4ivMESA = new Deno.UnsafeFnPointer(proc("glWindowPos4ivMESA"), def_glWindowPos4ivMESA); - fn_glWindowPos4sMESA = new Deno.UnsafeFnPointer(proc("glWindowPos4sMESA"), def_glWindowPos4sMESA); - fn_glWindowPos4svMESA = new Deno.UnsafeFnPointer(proc("glWindowPos4svMESA"), def_glWindowPos4svMESA); + fn_glWindowPos2dMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos2dMESA"), + def_glWindowPos2dMESA, + ); + fn_glWindowPos2dvMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos2dvMESA"), + def_glWindowPos2dvMESA, + ); + fn_glWindowPos2fMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos2fMESA"), + def_glWindowPos2fMESA, + ); + fn_glWindowPos2fvMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos2fvMESA"), + def_glWindowPos2fvMESA, + ); + fn_glWindowPos2iMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos2iMESA"), + def_glWindowPos2iMESA, + ); + fn_glWindowPos2ivMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos2ivMESA"), + def_glWindowPos2ivMESA, + ); + fn_glWindowPos2sMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos2sMESA"), + def_glWindowPos2sMESA, + ); + fn_glWindowPos2svMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos2svMESA"), + def_glWindowPos2svMESA, + ); + fn_glWindowPos3dMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos3dMESA"), + def_glWindowPos3dMESA, + ); + fn_glWindowPos3dvMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos3dvMESA"), + def_glWindowPos3dvMESA, + ); + fn_glWindowPos3fMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos3fMESA"), + def_glWindowPos3fMESA, + ); + fn_glWindowPos3fvMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos3fvMESA"), + def_glWindowPos3fvMESA, + ); + fn_glWindowPos3iMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos3iMESA"), + def_glWindowPos3iMESA, + ); + fn_glWindowPos3ivMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos3ivMESA"), + def_glWindowPos3ivMESA, + ); + fn_glWindowPos3sMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos3sMESA"), + def_glWindowPos3sMESA, + ); + fn_glWindowPos3svMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos3svMESA"), + def_glWindowPos3svMESA, + ); + fn_glWindowPos4dMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos4dMESA"), + def_glWindowPos4dMESA, + ); + fn_glWindowPos4dvMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos4dvMESA"), + def_glWindowPos4dvMESA, + ); + fn_glWindowPos4fMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos4fMESA"), + def_glWindowPos4fMESA, + ); + fn_glWindowPos4fvMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos4fvMESA"), + def_glWindowPos4fvMESA, + ); + fn_glWindowPos4iMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos4iMESA"), + def_glWindowPos4iMESA, + ); + fn_glWindowPos4ivMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos4ivMESA"), + def_glWindowPos4ivMESA, + ); + fn_glWindowPos4sMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos4sMESA"), + def_glWindowPos4sMESA, + ); + fn_glWindowPos4svMESA = new Deno.UnsafeFnPointer( + proc("glWindowPos4svMESA"), + def_glWindowPos4svMESA, + ); } diff --git a/api/ext/GL_MESA_ycbcr_texture.ts b/api/ext/GL_MESA_ycbcr_texture.ts index c8696a8..f2a1f39 100644 --- a/api/ext/GL_MESA_ycbcr_texture.ts +++ b/api/ext/GL_MESA_ycbcr_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NVX_blend_equation_advanced_multi_draw_buffers.ts b/api/ext/GL_NVX_blend_equation_advanced_multi_draw_buffers.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NVX_blend_equation_advanced_multi_draw_buffers.ts +++ b/api/ext/GL_NVX_blend_equation_advanced_multi_draw_buffers.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NVX_conditional_render.ts b/api/ext/GL_NVX_conditional_render.ts index ceaa842..b19a48c 100644 --- a/api/ext/GL_NVX_conditional_render.ts +++ b/api/ext/GL_NVX_conditional_render.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glBeginConditionalRenderNVX = { result: "void", } as const; -let fn_glBeginConditionalRenderNVX!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRenderNVX!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRenderNVX +>; export function BeginConditionalRenderNVX( id: GLuint, @@ -81,7 +91,9 @@ export const def_glEndConditionalRenderNVX = { result: "void", } as const; -let fn_glEndConditionalRenderNVX!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRenderNVX!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRenderNVX +>; export function EndConditionalRenderNVX(): void { fn_glEndConditionalRenderNVX.call(); @@ -89,6 +101,12 @@ export function EndConditionalRenderNVX(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBeginConditionalRenderNVX = new Deno.UnsafeFnPointer(proc("glBeginConditionalRenderNVX"), def_glBeginConditionalRenderNVX); - fn_glEndConditionalRenderNVX = new Deno.UnsafeFnPointer(proc("glEndConditionalRenderNVX"), def_glEndConditionalRenderNVX); + fn_glBeginConditionalRenderNVX = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRenderNVX"), + def_glBeginConditionalRenderNVX, + ); + fn_glEndConditionalRenderNVX = new Deno.UnsafeFnPointer( + proc("glEndConditionalRenderNVX"), + def_glEndConditionalRenderNVX, + ); } diff --git a/api/ext/GL_NVX_cross_process_interop.ts b/api/ext/GL_NVX_cross_process_interop.ts index 53d0975..b0aba46 100644 --- a/api/ext/GL_NVX_cross_process_interop.ts +++ b/api/ext/GL_NVX_cross_process_interop.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NVX_gpu_memory_info.ts b/api/ext/GL_NVX_gpu_memory_info.ts index 54344bf..457fad1 100644 --- a/api/ext/GL_NVX_gpu_memory_info.ts +++ b/api/ext/GL_NVX_gpu_memory_info.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NVX_gpu_multicast2.ts b/api/ext/GL_NVX_gpu_multicast2.ts index e84d1f8..bf98724 100644 --- a/api/ext/GL_NVX_gpu_multicast2.ts +++ b/api/ext/GL_NVX_gpu_multicast2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,7 +92,9 @@ export const def_glMulticastViewportArrayvNVX = { result: "void", } as const; -let fn_glMulticastViewportArrayvNVX!: Deno.UnsafeFnPointer; +let fn_glMulticastViewportArrayvNVX!: Deno.UnsafeFnPointer< + typeof def_glMulticastViewportArrayvNVX +>; export function MulticastViewportArrayvNVX( gpu: GLuint, @@ -105,7 +115,9 @@ export const def_glMulticastViewportPositionWScaleNVX = { result: "void", } as const; -let fn_glMulticastViewportPositionWScaleNVX!: Deno.UnsafeFnPointer; +let fn_glMulticastViewportPositionWScaleNVX!: Deno.UnsafeFnPointer< + typeof def_glMulticastViewportPositionWScaleNVX +>; export function MulticastViewportPositionWScaleNVX( gpu: GLuint, @@ -126,7 +138,9 @@ export const def_glMulticastScissorArrayvNVX = { result: "void", } as const; -let fn_glMulticastScissorArrayvNVX!: Deno.UnsafeFnPointer; +let fn_glMulticastScissorArrayvNVX!: Deno.UnsafeFnPointer< + typeof def_glMulticastScissorArrayvNVX +>; export function MulticastScissorArrayvNVX( gpu: GLuint, @@ -143,11 +157,27 @@ export function MulticastScissorArrayvNVX( } export const def_glAsyncCopyBufferSubDataNVX = { - parameters: ["i32", "buffer", "buffer", "u32", "u32", "u32", "u32", "buffer", "buffer", "isize", "i32", "buffer", "buffer"], + parameters: [ + "i32", + "buffer", + "buffer", + "u32", + "u32", + "u32", + "u32", + "buffer", + "buffer", + "isize", + "i32", + "buffer", + "buffer", + ], result: "u32", } as const; -let fn_glAsyncCopyBufferSubDataNVX!: Deno.UnsafeFnPointer; +let fn_glAsyncCopyBufferSubDataNVX!: Deno.UnsafeFnPointer< + typeof def_glAsyncCopyBufferSubDataNVX +>; export function AsyncCopyBufferSubDataNVX( waitSemaphoreCount: GLsizei, @@ -182,11 +212,37 @@ export function AsyncCopyBufferSubDataNVX( } export const def_glAsyncCopyImageSubDataNVX = { - parameters: ["i32", "buffer", "buffer", "u32", "u32", "u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "buffer", "buffer"], + parameters: [ + "i32", + "buffer", + "buffer", + "u32", + "u32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + "buffer", + ], result: "u32", } as const; -let fn_glAsyncCopyImageSubDataNVX!: Deno.UnsafeFnPointer; +let fn_glAsyncCopyImageSubDataNVX!: Deno.UnsafeFnPointer< + typeof def_glAsyncCopyImageSubDataNVX +>; export function AsyncCopyImageSubDataNVX( waitSemaphoreCount: GLsizei, @@ -242,10 +298,28 @@ export function AsyncCopyImageSubDataNVX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glUploadGpuMaskNVX = new Deno.UnsafeFnPointer(proc("glUploadGpuMaskNVX"), def_glUploadGpuMaskNVX); - fn_glMulticastViewportArrayvNVX = new Deno.UnsafeFnPointer(proc("glMulticastViewportArrayvNVX"), def_glMulticastViewportArrayvNVX); - fn_glMulticastViewportPositionWScaleNVX = new Deno.UnsafeFnPointer(proc("glMulticastViewportPositionWScaleNVX"), def_glMulticastViewportPositionWScaleNVX); - fn_glMulticastScissorArrayvNVX = new Deno.UnsafeFnPointer(proc("glMulticastScissorArrayvNVX"), def_glMulticastScissorArrayvNVX); - fn_glAsyncCopyBufferSubDataNVX = new Deno.UnsafeFnPointer(proc("glAsyncCopyBufferSubDataNVX"), def_glAsyncCopyBufferSubDataNVX); - fn_glAsyncCopyImageSubDataNVX = new Deno.UnsafeFnPointer(proc("glAsyncCopyImageSubDataNVX"), def_glAsyncCopyImageSubDataNVX); + fn_glUploadGpuMaskNVX = new Deno.UnsafeFnPointer( + proc("glUploadGpuMaskNVX"), + def_glUploadGpuMaskNVX, + ); + fn_glMulticastViewportArrayvNVX = new Deno.UnsafeFnPointer( + proc("glMulticastViewportArrayvNVX"), + def_glMulticastViewportArrayvNVX, + ); + fn_glMulticastViewportPositionWScaleNVX = new Deno.UnsafeFnPointer( + proc("glMulticastViewportPositionWScaleNVX"), + def_glMulticastViewportPositionWScaleNVX, + ); + fn_glMulticastScissorArrayvNVX = new Deno.UnsafeFnPointer( + proc("glMulticastScissorArrayvNVX"), + def_glMulticastScissorArrayvNVX, + ); + fn_glAsyncCopyBufferSubDataNVX = new Deno.UnsafeFnPointer( + proc("glAsyncCopyBufferSubDataNVX"), + def_glAsyncCopyBufferSubDataNVX, + ); + fn_glAsyncCopyImageSubDataNVX = new Deno.UnsafeFnPointer( + proc("glAsyncCopyImageSubDataNVX"), + def_glAsyncCopyImageSubDataNVX, + ); } diff --git a/api/ext/GL_NVX_linked_gpu_multicast.ts b/api/ext/GL_NVX_linked_gpu_multicast.ts index f0a7752..c4af360 100644 --- a/api/ext/GL_NVX_linked_gpu_multicast.ts +++ b/api/ext/GL_NVX_linked_gpu_multicast.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glLGPUNamedBufferSubDataNVX = { result: "void", } as const; -let fn_glLGPUNamedBufferSubDataNVX!: Deno.UnsafeFnPointer; +let fn_glLGPUNamedBufferSubDataNVX!: Deno.UnsafeFnPointer< + typeof def_glLGPUNamedBufferSubDataNVX +>; export function LGPUNamedBufferSubDataNVX( gpuMask: GLbitfield, @@ -89,11 +99,31 @@ export function LGPUNamedBufferSubDataNVX( } export const def_glLGPUCopyImageSubDataNVX = { - parameters: ["u32", "u32", "u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; -let fn_glLGPUCopyImageSubDataNVX!: Deno.UnsafeFnPointer; +let fn_glLGPUCopyImageSubDataNVX!: Deno.UnsafeFnPointer< + typeof def_glLGPUCopyImageSubDataNVX +>; export function LGPUCopyImageSubDataNVX( sourceGpu: GLuint, @@ -148,7 +178,16 @@ export function LGPUInterlockNVX(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glLGPUNamedBufferSubDataNVX = new Deno.UnsafeFnPointer(proc("glLGPUNamedBufferSubDataNVX"), def_glLGPUNamedBufferSubDataNVX); - fn_glLGPUCopyImageSubDataNVX = new Deno.UnsafeFnPointer(proc("glLGPUCopyImageSubDataNVX"), def_glLGPUCopyImageSubDataNVX); - fn_glLGPUInterlockNVX = new Deno.UnsafeFnPointer(proc("glLGPUInterlockNVX"), def_glLGPUInterlockNVX); + fn_glLGPUNamedBufferSubDataNVX = new Deno.UnsafeFnPointer( + proc("glLGPUNamedBufferSubDataNVX"), + def_glLGPUNamedBufferSubDataNVX, + ); + fn_glLGPUCopyImageSubDataNVX = new Deno.UnsafeFnPointer( + proc("glLGPUCopyImageSubDataNVX"), + def_glLGPUCopyImageSubDataNVX, + ); + fn_glLGPUInterlockNVX = new Deno.UnsafeFnPointer( + proc("glLGPUInterlockNVX"), + def_glLGPUInterlockNVX, + ); } diff --git a/api/ext/GL_NVX_progress_fence.ts b/api/ext/GL_NVX_progress_fence.ts index 21f25c8..4761df8 100644 --- a/api/ext/GL_NVX_progress_fence.ts +++ b/api/ext/GL_NVX_progress_fence.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glCreateProgressFenceNVX = { result: "u32", } as const; -let fn_glCreateProgressFenceNVX!: Deno.UnsafeFnPointer; +let fn_glCreateProgressFenceNVX!: Deno.UnsafeFnPointer< + typeof def_glCreateProgressFenceNVX +>; export function CreateProgressFenceNVX(): GLuint { return fn_glCreateProgressFenceNVX.call(); @@ -77,7 +87,9 @@ export const def_glSignalSemaphoreui64NVX = { result: "void", } as const; -let fn_glSignalSemaphoreui64NVX!: Deno.UnsafeFnPointer; +let fn_glSignalSemaphoreui64NVX!: Deno.UnsafeFnPointer< + typeof def_glSignalSemaphoreui64NVX +>; export function SignalSemaphoreui64NVX( signalGpu: GLuint, @@ -98,7 +110,9 @@ export const def_glWaitSemaphoreui64NVX = { result: "void", } as const; -let fn_glWaitSemaphoreui64NVX!: Deno.UnsafeFnPointer; +let fn_glWaitSemaphoreui64NVX!: Deno.UnsafeFnPointer< + typeof def_glWaitSemaphoreui64NVX +>; export function WaitSemaphoreui64NVX( waitGpu: GLuint, @@ -119,7 +133,9 @@ export const def_glClientWaitSemaphoreui64NVX = { result: "void", } as const; -let fn_glClientWaitSemaphoreui64NVX!: Deno.UnsafeFnPointer; +let fn_glClientWaitSemaphoreui64NVX!: Deno.UnsafeFnPointer< + typeof def_glClientWaitSemaphoreui64NVX +>; export function ClientWaitSemaphoreui64NVX( fenceObjectCount: GLsizei, @@ -135,8 +151,20 @@ export function ClientWaitSemaphoreui64NVX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCreateProgressFenceNVX = new Deno.UnsafeFnPointer(proc("glCreateProgressFenceNVX"), def_glCreateProgressFenceNVX); - fn_glSignalSemaphoreui64NVX = new Deno.UnsafeFnPointer(proc("glSignalSemaphoreui64NVX"), def_glSignalSemaphoreui64NVX); - fn_glWaitSemaphoreui64NVX = new Deno.UnsafeFnPointer(proc("glWaitSemaphoreui64NVX"), def_glWaitSemaphoreui64NVX); - fn_glClientWaitSemaphoreui64NVX = new Deno.UnsafeFnPointer(proc("glClientWaitSemaphoreui64NVX"), def_glClientWaitSemaphoreui64NVX); + fn_glCreateProgressFenceNVX = new Deno.UnsafeFnPointer( + proc("glCreateProgressFenceNVX"), + def_glCreateProgressFenceNVX, + ); + fn_glSignalSemaphoreui64NVX = new Deno.UnsafeFnPointer( + proc("glSignalSemaphoreui64NVX"), + def_glSignalSemaphoreui64NVX, + ); + fn_glWaitSemaphoreui64NVX = new Deno.UnsafeFnPointer( + proc("glWaitSemaphoreui64NVX"), + def_glWaitSemaphoreui64NVX, + ); + fn_glClientWaitSemaphoreui64NVX = new Deno.UnsafeFnPointer( + proc("glClientWaitSemaphoreui64NVX"), + def_glClientWaitSemaphoreui64NVX, + ); } diff --git a/api/ext/GL_NV_alpha_to_coverage_dither_control.ts b/api/ext/GL_NV_alpha_to_coverage_dither_control.ts index c983fc1..46cdfdb 100644 --- a/api/ext/GL_NV_alpha_to_coverage_dither_control.ts +++ b/api/ext/GL_NV_alpha_to_coverage_dither_control.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glAlphaToCoverageDitherControlNV = { result: "void", } as const; -let fn_glAlphaToCoverageDitherControlNV!: Deno.UnsafeFnPointer; +let fn_glAlphaToCoverageDitherControlNV!: Deno.UnsafeFnPointer< + typeof def_glAlphaToCoverageDitherControlNV +>; export function AlphaToCoverageDitherControlNV( mode: GLenum, @@ -84,5 +94,8 @@ export function AlphaToCoverageDitherControlNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glAlphaToCoverageDitherControlNV = new Deno.UnsafeFnPointer(proc("glAlphaToCoverageDitherControlNV"), def_glAlphaToCoverageDitherControlNV); + fn_glAlphaToCoverageDitherControlNV = new Deno.UnsafeFnPointer( + proc("glAlphaToCoverageDitherControlNV"), + def_glAlphaToCoverageDitherControlNV, + ); } diff --git a/api/ext/GL_NV_bindless_multi_draw_indirect.ts b/api/ext/GL_NV_bindless_multi_draw_indirect.ts index 02f7a3a..e72d497 100644 --- a/api/ext/GL_NV_bindless_multi_draw_indirect.ts +++ b/api/ext/GL_NV_bindless_multi_draw_indirect.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glMultiDrawArraysIndirectBindlessNV = { result: "void", } as const; -let fn_glMultiDrawArraysIndirectBindlessNV!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysIndirectBindlessNV!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysIndirectBindlessNV +>; export function MultiDrawArraysIndirectBindlessNV( mode: GLenum, @@ -89,7 +99,9 @@ export const def_glMultiDrawElementsIndirectBindlessNV = { result: "void", } as const; -let fn_glMultiDrawElementsIndirectBindlessNV!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsIndirectBindlessNV!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsIndirectBindlessNV +>; export function MultiDrawElementsIndirectBindlessNV( mode: GLenum, @@ -111,6 +123,12 @@ export function MultiDrawElementsIndirectBindlessNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMultiDrawArraysIndirectBindlessNV = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysIndirectBindlessNV"), def_glMultiDrawArraysIndirectBindlessNV); - fn_glMultiDrawElementsIndirectBindlessNV = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsIndirectBindlessNV"), def_glMultiDrawElementsIndirectBindlessNV); + fn_glMultiDrawArraysIndirectBindlessNV = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysIndirectBindlessNV"), + def_glMultiDrawArraysIndirectBindlessNV, + ); + fn_glMultiDrawElementsIndirectBindlessNV = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsIndirectBindlessNV"), + def_glMultiDrawElementsIndirectBindlessNV, + ); } diff --git a/api/ext/GL_NV_bindless_multi_draw_indirect_count.ts b/api/ext/GL_NV_bindless_multi_draw_indirect_count.ts index 376d510..0fd9283 100644 --- a/api/ext/GL_NV_bindless_multi_draw_indirect_count.ts +++ b/api/ext/GL_NV_bindless_multi_draw_indirect_count.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glMultiDrawArraysIndirectBindlessCountNV = { result: "void", } as const; -let fn_glMultiDrawArraysIndirectBindlessCountNV!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysIndirectBindlessCountNV!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysIndirectBindlessCountNV +>; export function MultiDrawArraysIndirectBindlessCountNV( mode: GLenum, @@ -91,7 +101,9 @@ export const def_glMultiDrawElementsIndirectBindlessCountNV = { result: "void", } as const; -let fn_glMultiDrawElementsIndirectBindlessCountNV!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsIndirectBindlessCountNV!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsIndirectBindlessCountNV +>; export function MultiDrawElementsIndirectBindlessCountNV( mode: GLenum, @@ -115,6 +127,12 @@ export function MultiDrawElementsIndirectBindlessCountNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMultiDrawArraysIndirectBindlessCountNV = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysIndirectBindlessCountNV"), def_glMultiDrawArraysIndirectBindlessCountNV); - fn_glMultiDrawElementsIndirectBindlessCountNV = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsIndirectBindlessCountNV"), def_glMultiDrawElementsIndirectBindlessCountNV); + fn_glMultiDrawArraysIndirectBindlessCountNV = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysIndirectBindlessCountNV"), + def_glMultiDrawArraysIndirectBindlessCountNV, + ); + fn_glMultiDrawElementsIndirectBindlessCountNV = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsIndirectBindlessCountNV"), + def_glMultiDrawElementsIndirectBindlessCountNV, + ); } diff --git a/api/ext/GL_NV_bindless_texture.ts b/api/ext/GL_NV_bindless_texture.ts index 1e3db28..33f6947 100644 --- a/api/ext/GL_NV_bindless_texture.ts +++ b/api/ext/GL_NV_bindless_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glGetTextureHandleNV = { result: "u64", } as const; -let fn_glGetTextureHandleNV!: Deno.UnsafeFnPointer; +let fn_glGetTextureHandleNV!: Deno.UnsafeFnPointer< + typeof def_glGetTextureHandleNV +>; export function GetTextureHandleNV( texture: GLuint, @@ -81,7 +91,9 @@ export const def_glGetTextureSamplerHandleNV = { result: "u64", } as const; -let fn_glGetTextureSamplerHandleNV!: Deno.UnsafeFnPointer; +let fn_glGetTextureSamplerHandleNV!: Deno.UnsafeFnPointer< + typeof def_glGetTextureSamplerHandleNV +>; export function GetTextureSamplerHandleNV( texture: GLuint, @@ -98,7 +110,9 @@ export const def_glMakeTextureHandleResidentNV = { result: "void", } as const; -let fn_glMakeTextureHandleResidentNV!: Deno.UnsafeFnPointer; +let fn_glMakeTextureHandleResidentNV!: Deno.UnsafeFnPointer< + typeof def_glMakeTextureHandleResidentNV +>; export function MakeTextureHandleResidentNV( handle: GLuint64, @@ -113,7 +127,9 @@ export const def_glMakeTextureHandleNonResidentNV = { result: "void", } as const; -let fn_glMakeTextureHandleNonResidentNV!: Deno.UnsafeFnPointer; +let fn_glMakeTextureHandleNonResidentNV!: Deno.UnsafeFnPointer< + typeof def_glMakeTextureHandleNonResidentNV +>; export function MakeTextureHandleNonResidentNV( handle: GLuint64, @@ -151,7 +167,9 @@ export const def_glMakeImageHandleResidentNV = { result: "void", } as const; -let fn_glMakeImageHandleResidentNV!: Deno.UnsafeFnPointer; +let fn_glMakeImageHandleResidentNV!: Deno.UnsafeFnPointer< + typeof def_glMakeImageHandleResidentNV +>; export function MakeImageHandleResidentNV( handle: GLuint64, @@ -168,7 +186,9 @@ export const def_glMakeImageHandleNonResidentNV = { result: "void", } as const; -let fn_glMakeImageHandleNonResidentNV!: Deno.UnsafeFnPointer; +let fn_glMakeImageHandleNonResidentNV!: Deno.UnsafeFnPointer< + typeof def_glMakeImageHandleNonResidentNV +>; export function MakeImageHandleNonResidentNV( handle: GLuint64, @@ -183,7 +203,9 @@ export const def_glUniformHandleui64NV = { result: "void", } as const; -let fn_glUniformHandleui64NV!: Deno.UnsafeFnPointer; +let fn_glUniformHandleui64NV!: Deno.UnsafeFnPointer< + typeof def_glUniformHandleui64NV +>; export function UniformHandleui64NV( location: GLint, @@ -200,7 +222,9 @@ export const def_glUniformHandleui64vNV = { result: "void", } as const; -let fn_glUniformHandleui64vNV!: Deno.UnsafeFnPointer; +let fn_glUniformHandleui64vNV!: Deno.UnsafeFnPointer< + typeof def_glUniformHandleui64vNV +>; export function UniformHandleui64vNV( location: GLint, @@ -219,7 +243,9 @@ export const def_glProgramUniformHandleui64NV = { result: "void", } as const; -let fn_glProgramUniformHandleui64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniformHandleui64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformHandleui64NV +>; export function ProgramUniformHandleui64NV( program: GLuint, @@ -238,7 +264,9 @@ export const def_glProgramUniformHandleui64vNV = { result: "void", } as const; -let fn_glProgramUniformHandleui64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniformHandleui64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformHandleui64vNV +>; export function ProgramUniformHandleui64vNV( program: GLuint, @@ -259,7 +287,9 @@ export const def_glIsTextureHandleResidentNV = { result: "u8", } as const; -let fn_glIsTextureHandleResidentNV!: Deno.UnsafeFnPointer; +let fn_glIsTextureHandleResidentNV!: Deno.UnsafeFnPointer< + typeof def_glIsTextureHandleResidentNV +>; export function IsTextureHandleResidentNV( handle: GLuint64, @@ -274,7 +304,9 @@ export const def_glIsImageHandleResidentNV = { result: "u8", } as const; -let fn_glIsImageHandleResidentNV!: Deno.UnsafeFnPointer; +let fn_glIsImageHandleResidentNV!: Deno.UnsafeFnPointer< + typeof def_glIsImageHandleResidentNV +>; export function IsImageHandleResidentNV( handle: GLuint64, @@ -286,17 +318,56 @@ export function IsImageHandleResidentNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetTextureHandleNV = new Deno.UnsafeFnPointer(proc("glGetTextureHandleNV"), def_glGetTextureHandleNV); - fn_glGetTextureSamplerHandleNV = new Deno.UnsafeFnPointer(proc("glGetTextureSamplerHandleNV"), def_glGetTextureSamplerHandleNV); - fn_glMakeTextureHandleResidentNV = new Deno.UnsafeFnPointer(proc("glMakeTextureHandleResidentNV"), def_glMakeTextureHandleResidentNV); - fn_glMakeTextureHandleNonResidentNV = new Deno.UnsafeFnPointer(proc("glMakeTextureHandleNonResidentNV"), def_glMakeTextureHandleNonResidentNV); - fn_glGetImageHandleNV = new Deno.UnsafeFnPointer(proc("glGetImageHandleNV"), def_glGetImageHandleNV); - fn_glMakeImageHandleResidentNV = new Deno.UnsafeFnPointer(proc("glMakeImageHandleResidentNV"), def_glMakeImageHandleResidentNV); - fn_glMakeImageHandleNonResidentNV = new Deno.UnsafeFnPointer(proc("glMakeImageHandleNonResidentNV"), def_glMakeImageHandleNonResidentNV); - fn_glUniformHandleui64NV = new Deno.UnsafeFnPointer(proc("glUniformHandleui64NV"), def_glUniformHandleui64NV); - fn_glUniformHandleui64vNV = new Deno.UnsafeFnPointer(proc("glUniformHandleui64vNV"), def_glUniformHandleui64vNV); - fn_glProgramUniformHandleui64NV = new Deno.UnsafeFnPointer(proc("glProgramUniformHandleui64NV"), def_glProgramUniformHandleui64NV); - fn_glProgramUniformHandleui64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniformHandleui64vNV"), def_glProgramUniformHandleui64vNV); - fn_glIsTextureHandleResidentNV = new Deno.UnsafeFnPointer(proc("glIsTextureHandleResidentNV"), def_glIsTextureHandleResidentNV); - fn_glIsImageHandleResidentNV = new Deno.UnsafeFnPointer(proc("glIsImageHandleResidentNV"), def_glIsImageHandleResidentNV); + fn_glGetTextureHandleNV = new Deno.UnsafeFnPointer( + proc("glGetTextureHandleNV"), + def_glGetTextureHandleNV, + ); + fn_glGetTextureSamplerHandleNV = new Deno.UnsafeFnPointer( + proc("glGetTextureSamplerHandleNV"), + def_glGetTextureSamplerHandleNV, + ); + fn_glMakeTextureHandleResidentNV = new Deno.UnsafeFnPointer( + proc("glMakeTextureHandleResidentNV"), + def_glMakeTextureHandleResidentNV, + ); + fn_glMakeTextureHandleNonResidentNV = new Deno.UnsafeFnPointer( + proc("glMakeTextureHandleNonResidentNV"), + def_glMakeTextureHandleNonResidentNV, + ); + fn_glGetImageHandleNV = new Deno.UnsafeFnPointer( + proc("glGetImageHandleNV"), + def_glGetImageHandleNV, + ); + fn_glMakeImageHandleResidentNV = new Deno.UnsafeFnPointer( + proc("glMakeImageHandleResidentNV"), + def_glMakeImageHandleResidentNV, + ); + fn_glMakeImageHandleNonResidentNV = new Deno.UnsafeFnPointer( + proc("glMakeImageHandleNonResidentNV"), + def_glMakeImageHandleNonResidentNV, + ); + fn_glUniformHandleui64NV = new Deno.UnsafeFnPointer( + proc("glUniformHandleui64NV"), + def_glUniformHandleui64NV, + ); + fn_glUniformHandleui64vNV = new Deno.UnsafeFnPointer( + proc("glUniformHandleui64vNV"), + def_glUniformHandleui64vNV, + ); + fn_glProgramUniformHandleui64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniformHandleui64NV"), + def_glProgramUniformHandleui64NV, + ); + fn_glProgramUniformHandleui64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniformHandleui64vNV"), + def_glProgramUniformHandleui64vNV, + ); + fn_glIsTextureHandleResidentNV = new Deno.UnsafeFnPointer( + proc("glIsTextureHandleResidentNV"), + def_glIsTextureHandleResidentNV, + ); + fn_glIsImageHandleResidentNV = new Deno.UnsafeFnPointer( + proc("glIsImageHandleResidentNV"), + def_glIsImageHandleResidentNV, + ); } diff --git a/api/ext/GL_NV_blend_equation_advanced.ts b/api/ext/GL_NV_blend_equation_advanced.ts index b047d41..b76623e 100644 --- a/api/ext/GL_NV_blend_equation_advanced.ts +++ b/api/ext/GL_NV_blend_equation_advanced.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -119,7 +127,9 @@ export const def_glBlendParameteriNV = { result: "void", } as const; -let fn_glBlendParameteriNV!: Deno.UnsafeFnPointer; +let fn_glBlendParameteriNV!: Deno.UnsafeFnPointer< + typeof def_glBlendParameteriNV +>; export function BlendParameteriNV( pname: GLenum, @@ -144,6 +154,12 @@ export function BlendBarrierNV(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendParameteriNV = new Deno.UnsafeFnPointer(proc("glBlendParameteriNV"), def_glBlendParameteriNV); - fn_glBlendBarrierNV = new Deno.UnsafeFnPointer(proc("glBlendBarrierNV"), def_glBlendBarrierNV); + fn_glBlendParameteriNV = new Deno.UnsafeFnPointer( + proc("glBlendParameteriNV"), + def_glBlendParameteriNV, + ); + fn_glBlendBarrierNV = new Deno.UnsafeFnPointer( + proc("glBlendBarrierNV"), + def_glBlendBarrierNV, + ); } diff --git a/api/ext/GL_NV_blend_equation_advanced_coherent.ts b/api/ext/GL_NV_blend_equation_advanced_coherent.ts index 00cfc1c..1c1d864 100644 --- a/api/ext/GL_NV_blend_equation_advanced_coherent.ts +++ b/api/ext/GL_NV_blend_equation_advanced_coherent.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_blend_minmax_factor.ts b/api/ext/GL_NV_blend_minmax_factor.ts index 474478e..c546b81 100644 --- a/api/ext/GL_NV_blend_minmax_factor.ts +++ b/api/ext/GL_NV_blend_minmax_factor.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_blend_square.ts b/api/ext/GL_NV_blend_square.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_blend_square.ts +++ b/api/ext/GL_NV_blend_square.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_clip_space_w_scaling.ts b/api/ext/GL_NV_clip_space_w_scaling.ts index 449780f..3ce5cbe 100644 --- a/api/ext/GL_NV_clip_space_w_scaling.ts +++ b/api/ext/GL_NV_clip_space_w_scaling.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glViewportPositionWScaleNV = { result: "void", } as const; -let fn_glViewportPositionWScaleNV!: Deno.UnsafeFnPointer; +let fn_glViewportPositionWScaleNV!: Deno.UnsafeFnPointer< + typeof def_glViewportPositionWScaleNV +>; export function ViewportPositionWScaleNV( index: GLuint, @@ -87,5 +97,8 @@ export function ViewportPositionWScaleNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glViewportPositionWScaleNV = new Deno.UnsafeFnPointer(proc("glViewportPositionWScaleNV"), def_glViewportPositionWScaleNV); + fn_glViewportPositionWScaleNV = new Deno.UnsafeFnPointer( + proc("glViewportPositionWScaleNV"), + def_glViewportPositionWScaleNV, + ); } diff --git a/api/ext/GL_NV_command_list.ts b/api/ext/GL_NV_command_list.ts index dbe0e15..8c269de 100644 --- a/api/ext/GL_NV_command_list.ts +++ b/api/ext/GL_NV_command_list.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -153,7 +161,9 @@ export const def_glGetCommandHeaderNV = { result: "u32", } as const; -let fn_glGetCommandHeaderNV!: Deno.UnsafeFnPointer; +let fn_glGetCommandHeaderNV!: Deno.UnsafeFnPointer< + typeof def_glGetCommandHeaderNV +>; export function GetCommandHeaderNV( tokenID: GLenum, @@ -208,7 +218,9 @@ export const def_glDrawCommandsAddressNV = { result: "void", } as const; -let fn_glDrawCommandsAddressNV!: Deno.UnsafeFnPointer; +let fn_glDrawCommandsAddressNV!: Deno.UnsafeFnPointer< + typeof def_glDrawCommandsAddressNV +>; export function DrawCommandsAddressNV( primitiveMode: GLenum, @@ -229,7 +241,9 @@ export const def_glDrawCommandsStatesNV = { result: "void", } as const; -let fn_glDrawCommandsStatesNV!: Deno.UnsafeFnPointer; +let fn_glDrawCommandsStatesNV!: Deno.UnsafeFnPointer< + typeof def_glDrawCommandsStatesNV +>; export function DrawCommandsStatesNV( buffer: GLuint, @@ -254,7 +268,9 @@ export const def_glDrawCommandsStatesAddressNV = { result: "void", } as const; -let fn_glDrawCommandsStatesAddressNV!: Deno.UnsafeFnPointer; +let fn_glDrawCommandsStatesAddressNV!: Deno.UnsafeFnPointer< + typeof def_glDrawCommandsStatesAddressNV +>; export function DrawCommandsStatesAddressNV( indirects: Buffer, @@ -277,7 +293,9 @@ export const def_glCreateCommandListsNV = { result: "void", } as const; -let fn_glCreateCommandListsNV!: Deno.UnsafeFnPointer; +let fn_glCreateCommandListsNV!: Deno.UnsafeFnPointer< + typeof def_glCreateCommandListsNV +>; export function CreateCommandListsNV( n: GLsizei, @@ -294,7 +312,9 @@ export const def_glDeleteCommandListsNV = { result: "void", } as const; -let fn_glDeleteCommandListsNV!: Deno.UnsafeFnPointer; +let fn_glDeleteCommandListsNV!: Deno.UnsafeFnPointer< + typeof def_glDeleteCommandListsNV +>; export function DeleteCommandListsNV( n: GLsizei, @@ -326,7 +346,9 @@ export const def_glListDrawCommandsStatesClientNV = { result: "void", } as const; -let fn_glListDrawCommandsStatesClientNV!: Deno.UnsafeFnPointer; +let fn_glListDrawCommandsStatesClientNV!: Deno.UnsafeFnPointer< + typeof def_glListDrawCommandsStatesClientNV +>; export function ListDrawCommandsStatesClientNV( list: GLuint, @@ -353,7 +375,9 @@ export const def_glCommandListSegmentsNV = { result: "void", } as const; -let fn_glCommandListSegmentsNV!: Deno.UnsafeFnPointer; +let fn_glCommandListSegmentsNV!: Deno.UnsafeFnPointer< + typeof def_glCommandListSegmentsNV +>; export function CommandListSegmentsNV( list: GLuint, @@ -370,7 +394,9 @@ export const def_glCompileCommandListNV = { result: "void", } as const; -let fn_glCompileCommandListNV!: Deno.UnsafeFnPointer; +let fn_glCompileCommandListNV!: Deno.UnsafeFnPointer< + typeof def_glCompileCommandListNV +>; export function CompileCommandListNV( list: GLuint, @@ -385,7 +411,9 @@ export const def_glCallCommandListNV = { result: "void", } as const; -let fn_glCallCommandListNV!: Deno.UnsafeFnPointer; +let fn_glCallCommandListNV!: Deno.UnsafeFnPointer< + typeof def_glCallCommandListNV +>; export function CallCommandListNV( list: GLuint, @@ -397,21 +425,72 @@ export function CallCommandListNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCreateStatesNV = new Deno.UnsafeFnPointer(proc("glCreateStatesNV"), def_glCreateStatesNV); - fn_glDeleteStatesNV = new Deno.UnsafeFnPointer(proc("glDeleteStatesNV"), def_glDeleteStatesNV); - fn_glIsStateNV = new Deno.UnsafeFnPointer(proc("glIsStateNV"), def_glIsStateNV); - fn_glStateCaptureNV = new Deno.UnsafeFnPointer(proc("glStateCaptureNV"), def_glStateCaptureNV); - fn_glGetCommandHeaderNV = new Deno.UnsafeFnPointer(proc("glGetCommandHeaderNV"), def_glGetCommandHeaderNV); - fn_glGetStageIndexNV = new Deno.UnsafeFnPointer(proc("glGetStageIndexNV"), def_glGetStageIndexNV); - fn_glDrawCommandsNV = new Deno.UnsafeFnPointer(proc("glDrawCommandsNV"), def_glDrawCommandsNV); - fn_glDrawCommandsAddressNV = new Deno.UnsafeFnPointer(proc("glDrawCommandsAddressNV"), def_glDrawCommandsAddressNV); - fn_glDrawCommandsStatesNV = new Deno.UnsafeFnPointer(proc("glDrawCommandsStatesNV"), def_glDrawCommandsStatesNV); - fn_glDrawCommandsStatesAddressNV = new Deno.UnsafeFnPointer(proc("glDrawCommandsStatesAddressNV"), def_glDrawCommandsStatesAddressNV); - fn_glCreateCommandListsNV = new Deno.UnsafeFnPointer(proc("glCreateCommandListsNV"), def_glCreateCommandListsNV); - fn_glDeleteCommandListsNV = new Deno.UnsafeFnPointer(proc("glDeleteCommandListsNV"), def_glDeleteCommandListsNV); - fn_glIsCommandListNV = new Deno.UnsafeFnPointer(proc("glIsCommandListNV"), def_glIsCommandListNV); - fn_glListDrawCommandsStatesClientNV = new Deno.UnsafeFnPointer(proc("glListDrawCommandsStatesClientNV"), def_glListDrawCommandsStatesClientNV); - fn_glCommandListSegmentsNV = new Deno.UnsafeFnPointer(proc("glCommandListSegmentsNV"), def_glCommandListSegmentsNV); - fn_glCompileCommandListNV = new Deno.UnsafeFnPointer(proc("glCompileCommandListNV"), def_glCompileCommandListNV); - fn_glCallCommandListNV = new Deno.UnsafeFnPointer(proc("glCallCommandListNV"), def_glCallCommandListNV); + fn_glCreateStatesNV = new Deno.UnsafeFnPointer( + proc("glCreateStatesNV"), + def_glCreateStatesNV, + ); + fn_glDeleteStatesNV = new Deno.UnsafeFnPointer( + proc("glDeleteStatesNV"), + def_glDeleteStatesNV, + ); + fn_glIsStateNV = new Deno.UnsafeFnPointer( + proc("glIsStateNV"), + def_glIsStateNV, + ); + fn_glStateCaptureNV = new Deno.UnsafeFnPointer( + proc("glStateCaptureNV"), + def_glStateCaptureNV, + ); + fn_glGetCommandHeaderNV = new Deno.UnsafeFnPointer( + proc("glGetCommandHeaderNV"), + def_glGetCommandHeaderNV, + ); + fn_glGetStageIndexNV = new Deno.UnsafeFnPointer( + proc("glGetStageIndexNV"), + def_glGetStageIndexNV, + ); + fn_glDrawCommandsNV = new Deno.UnsafeFnPointer( + proc("glDrawCommandsNV"), + def_glDrawCommandsNV, + ); + fn_glDrawCommandsAddressNV = new Deno.UnsafeFnPointer( + proc("glDrawCommandsAddressNV"), + def_glDrawCommandsAddressNV, + ); + fn_glDrawCommandsStatesNV = new Deno.UnsafeFnPointer( + proc("glDrawCommandsStatesNV"), + def_glDrawCommandsStatesNV, + ); + fn_glDrawCommandsStatesAddressNV = new Deno.UnsafeFnPointer( + proc("glDrawCommandsStatesAddressNV"), + def_glDrawCommandsStatesAddressNV, + ); + fn_glCreateCommandListsNV = new Deno.UnsafeFnPointer( + proc("glCreateCommandListsNV"), + def_glCreateCommandListsNV, + ); + fn_glDeleteCommandListsNV = new Deno.UnsafeFnPointer( + proc("glDeleteCommandListsNV"), + def_glDeleteCommandListsNV, + ); + fn_glIsCommandListNV = new Deno.UnsafeFnPointer( + proc("glIsCommandListNV"), + def_glIsCommandListNV, + ); + fn_glListDrawCommandsStatesClientNV = new Deno.UnsafeFnPointer( + proc("glListDrawCommandsStatesClientNV"), + def_glListDrawCommandsStatesClientNV, + ); + fn_glCommandListSegmentsNV = new Deno.UnsafeFnPointer( + proc("glCommandListSegmentsNV"), + def_glCommandListSegmentsNV, + ); + fn_glCompileCommandListNV = new Deno.UnsafeFnPointer( + proc("glCompileCommandListNV"), + def_glCompileCommandListNV, + ); + fn_glCallCommandListNV = new Deno.UnsafeFnPointer( + proc("glCallCommandListNV"), + def_glCallCommandListNV, + ); } diff --git a/api/ext/GL_NV_compute_program5.ts b/api/ext/GL_NV_compute_program5.ts index 24fec2b..215f4ee 100644 --- a/api/ext/GL_NV_compute_program5.ts +++ b/api/ext/GL_NV_compute_program5.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_compute_shader_derivatives.ts b/api/ext/GL_NV_compute_shader_derivatives.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_compute_shader_derivatives.ts +++ b/api/ext/GL_NV_compute_shader_derivatives.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_conditional_render.ts b/api/ext/GL_NV_conditional_render.ts index fda46a0..3b5b295 100644 --- a/api/ext/GL_NV_conditional_render.ts +++ b/api/ext/GL_NV_conditional_render.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glBeginConditionalRenderNV = { result: "void", } as const; -let fn_glBeginConditionalRenderNV!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRenderNV!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRenderNV +>; export function BeginConditionalRenderNV( id: GLuint, @@ -89,7 +99,9 @@ export const def_glEndConditionalRenderNV = { result: "void", } as const; -let fn_glEndConditionalRenderNV!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRenderNV!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRenderNV +>; export function EndConditionalRenderNV(): void { fn_glEndConditionalRenderNV.call(); @@ -97,6 +109,12 @@ export function EndConditionalRenderNV(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBeginConditionalRenderNV = new Deno.UnsafeFnPointer(proc("glBeginConditionalRenderNV"), def_glBeginConditionalRenderNV); - fn_glEndConditionalRenderNV = new Deno.UnsafeFnPointer(proc("glEndConditionalRenderNV"), def_glEndConditionalRenderNV); + fn_glBeginConditionalRenderNV = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRenderNV"), + def_glBeginConditionalRenderNV, + ); + fn_glEndConditionalRenderNV = new Deno.UnsafeFnPointer( + proc("glEndConditionalRenderNV"), + def_glEndConditionalRenderNV, + ); } diff --git a/api/ext/GL_NV_conservative_raster.ts b/api/ext/GL_NV_conservative_raster.ts index aae455c..1ad12c9 100644 --- a/api/ext/GL_NV_conservative_raster.ts +++ b/api/ext/GL_NV_conservative_raster.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glSubpixelPrecisionBiasNV = { result: "void", } as const; -let fn_glSubpixelPrecisionBiasNV!: Deno.UnsafeFnPointer; +let fn_glSubpixelPrecisionBiasNV!: Deno.UnsafeFnPointer< + typeof def_glSubpixelPrecisionBiasNV +>; export function SubpixelPrecisionBiasNV( xbits: GLuint, @@ -86,5 +96,8 @@ export function SubpixelPrecisionBiasNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glSubpixelPrecisionBiasNV = new Deno.UnsafeFnPointer(proc("glSubpixelPrecisionBiasNV"), def_glSubpixelPrecisionBiasNV); + fn_glSubpixelPrecisionBiasNV = new Deno.UnsafeFnPointer( + proc("glSubpixelPrecisionBiasNV"), + def_glSubpixelPrecisionBiasNV, + ); } diff --git a/api/ext/GL_NV_conservative_raster_dilate.ts b/api/ext/GL_NV_conservative_raster_dilate.ts index 14966a1..17cb02c 100644 --- a/api/ext/GL_NV_conservative_raster_dilate.ts +++ b/api/ext/GL_NV_conservative_raster_dilate.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glConservativeRasterParameterfNV = { result: "void", } as const; -let fn_glConservativeRasterParameterfNV!: Deno.UnsafeFnPointer; +let fn_glConservativeRasterParameterfNV!: Deno.UnsafeFnPointer< + typeof def_glConservativeRasterParameterfNV +>; export function ConservativeRasterParameterfNV( pname: GLenum, @@ -85,5 +95,8 @@ export function ConservativeRasterParameterfNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glConservativeRasterParameterfNV = new Deno.UnsafeFnPointer(proc("glConservativeRasterParameterfNV"), def_glConservativeRasterParameterfNV); + fn_glConservativeRasterParameterfNV = new Deno.UnsafeFnPointer( + proc("glConservativeRasterParameterfNV"), + def_glConservativeRasterParameterfNV, + ); } diff --git a/api/ext/GL_NV_conservative_raster_pre_snap.ts b/api/ext/GL_NV_conservative_raster_pre_snap.ts index 07953fc..73febb0 100644 --- a/api/ext/GL_NV_conservative_raster_pre_snap.ts +++ b/api/ext/GL_NV_conservative_raster_pre_snap.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_conservative_raster_pre_snap_triangles.ts b/api/ext/GL_NV_conservative_raster_pre_snap_triangles.ts index 4978a31..9403f31 100644 --- a/api/ext/GL_NV_conservative_raster_pre_snap_triangles.ts +++ b/api/ext/GL_NV_conservative_raster_pre_snap_triangles.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glConservativeRasterParameteriNV = { result: "void", } as const; -let fn_glConservativeRasterParameteriNV!: Deno.UnsafeFnPointer; +let fn_glConservativeRasterParameteriNV!: Deno.UnsafeFnPointer< + typeof def_glConservativeRasterParameteriNV +>; export function ConservativeRasterParameteriNV( pname: GLenum, @@ -85,5 +95,8 @@ export function ConservativeRasterParameteriNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glConservativeRasterParameteriNV = new Deno.UnsafeFnPointer(proc("glConservativeRasterParameteriNV"), def_glConservativeRasterParameteriNV); + fn_glConservativeRasterParameteriNV = new Deno.UnsafeFnPointer( + proc("glConservativeRasterParameteriNV"), + def_glConservativeRasterParameteriNV, + ); } diff --git a/api/ext/GL_NV_conservative_raster_underestimation.ts b/api/ext/GL_NV_conservative_raster_underestimation.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_conservative_raster_underestimation.ts +++ b/api/ext/GL_NV_conservative_raster_underestimation.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_copy_buffer.ts b/api/ext/GL_NV_copy_buffer.ts index 7fd3516..366d46f 100644 --- a/api/ext/GL_NV_copy_buffer.ts +++ b/api/ext/GL_NV_copy_buffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glCopyBufferSubDataNV = { result: "void", } as const; -let fn_glCopyBufferSubDataNV!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubDataNV!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubDataNV +>; export function CopyBufferSubDataNV( readTarget: GLenum, @@ -90,5 +100,8 @@ export function CopyBufferSubDataNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCopyBufferSubDataNV = new Deno.UnsafeFnPointer(proc("glCopyBufferSubDataNV"), def_glCopyBufferSubDataNV); + fn_glCopyBufferSubDataNV = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubDataNV"), + def_glCopyBufferSubDataNV, + ); } diff --git a/api/ext/GL_NV_copy_depth_to_color.ts b/api/ext/GL_NV_copy_depth_to_color.ts index 69da99b..c6bb536 100644 --- a/api/ext/GL_NV_copy_depth_to_color.ts +++ b/api/ext/GL_NV_copy_depth_to_color.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_copy_image.ts b/api/ext/GL_NV_copy_image.ts index cb3edef..2aade51 100644 --- a/api/ext/GL_NV_copy_image.ts +++ b/api/ext/GL_NV_copy_image.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -62,11 +70,29 @@ export type GLVULKANPROCNV = Buffer; /// Commands export const def_glCopyImageSubDataNV = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; -let fn_glCopyImageSubDataNV!: Deno.UnsafeFnPointer; +let fn_glCopyImageSubDataNV!: Deno.UnsafeFnPointer< + typeof def_glCopyImageSubDataNV +>; export function CopyImageSubDataNV( srcName: GLuint, @@ -106,5 +132,8 @@ export function CopyImageSubDataNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCopyImageSubDataNV = new Deno.UnsafeFnPointer(proc("glCopyImageSubDataNV"), def_glCopyImageSubDataNV); + fn_glCopyImageSubDataNV = new Deno.UnsafeFnPointer( + proc("glCopyImageSubDataNV"), + def_glCopyImageSubDataNV, + ); } diff --git a/api/ext/GL_NV_coverage_sample.ts b/api/ext/GL_NV_coverage_sample.ts index 36cdb87..7f5ff83 100644 --- a/api/ext/GL_NV_coverage_sample.ts +++ b/api/ext/GL_NV_coverage_sample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -92,7 +100,9 @@ export const def_glCoverageOperationNV = { result: "void", } as const; -let fn_glCoverageOperationNV!: Deno.UnsafeFnPointer; +let fn_glCoverageOperationNV!: Deno.UnsafeFnPointer< + typeof def_glCoverageOperationNV +>; export function CoverageOperationNV( operation: GLenum, @@ -104,6 +114,12 @@ export function CoverageOperationNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCoverageMaskNV = new Deno.UnsafeFnPointer(proc("glCoverageMaskNV"), def_glCoverageMaskNV); - fn_glCoverageOperationNV = new Deno.UnsafeFnPointer(proc("glCoverageOperationNV"), def_glCoverageOperationNV); + fn_glCoverageMaskNV = new Deno.UnsafeFnPointer( + proc("glCoverageMaskNV"), + def_glCoverageMaskNV, + ); + fn_glCoverageOperationNV = new Deno.UnsafeFnPointer( + proc("glCoverageOperationNV"), + def_glCoverageOperationNV, + ); } diff --git a/api/ext/GL_NV_deep_texture3D.ts b/api/ext/GL_NV_deep_texture3D.ts index a9aa809..ecaf6d0 100644 --- a/api/ext/GL_NV_deep_texture3D.ts +++ b/api/ext/GL_NV_deep_texture3D.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_depth_buffer_float.ts b/api/ext/GL_NV_depth_buffer_float.ts index e29d6c9..8173ef7 100644 --- a/api/ext/GL_NV_depth_buffer_float.ts +++ b/api/ext/GL_NV_depth_buffer_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -118,7 +126,16 @@ export function DepthBoundsdNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDepthRangedNV = new Deno.UnsafeFnPointer(proc("glDepthRangedNV"), def_glDepthRangedNV); - fn_glClearDepthdNV = new Deno.UnsafeFnPointer(proc("glClearDepthdNV"), def_glClearDepthdNV); - fn_glDepthBoundsdNV = new Deno.UnsafeFnPointer(proc("glDepthBoundsdNV"), def_glDepthBoundsdNV); + fn_glDepthRangedNV = new Deno.UnsafeFnPointer( + proc("glDepthRangedNV"), + def_glDepthRangedNV, + ); + fn_glClearDepthdNV = new Deno.UnsafeFnPointer( + proc("glClearDepthdNV"), + def_glClearDepthdNV, + ); + fn_glDepthBoundsdNV = new Deno.UnsafeFnPointer( + proc("glDepthBoundsdNV"), + def_glDepthBoundsdNV, + ); } diff --git a/api/ext/GL_NV_depth_clamp.ts b/api/ext/GL_NV_depth_clamp.ts index f8c2a72..ae4dbde 100644 --- a/api/ext/GL_NV_depth_clamp.ts +++ b/api/ext/GL_NV_depth_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_depth_nonlinear.ts b/api/ext/GL_NV_depth_nonlinear.ts index e1f0200..caa0846 100644 --- a/api/ext/GL_NV_depth_nonlinear.ts +++ b/api/ext/GL_NV_depth_nonlinear.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_draw_buffers.ts b/api/ext/GL_NV_draw_buffers.ts index c472d35..46ddd06 100644 --- a/api/ext/GL_NV_draw_buffers.ts +++ b/api/ext/GL_NV_draw_buffers.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -115,5 +123,8 @@ export function DrawBuffersNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawBuffersNV = new Deno.UnsafeFnPointer(proc("glDrawBuffersNV"), def_glDrawBuffersNV); + fn_glDrawBuffersNV = new Deno.UnsafeFnPointer( + proc("glDrawBuffersNV"), + def_glDrawBuffersNV, + ); } diff --git a/api/ext/GL_NV_draw_instanced.ts b/api/ext/GL_NV_draw_instanced.ts index 85ac88e..1e46821 100644 --- a/api/ext/GL_NV_draw_instanced.ts +++ b/api/ext/GL_NV_draw_instanced.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glDrawArraysInstancedNV = { result: "void", } as const; -let fn_glDrawArraysInstancedNV!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedNV!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedNV +>; export function DrawArraysInstancedNV( mode: GLenum, @@ -87,7 +97,9 @@ export const def_glDrawElementsInstancedNV = { result: "void", } as const; -let fn_glDrawElementsInstancedNV!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedNV!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedNV +>; export function DrawElementsInstancedNV( mode: GLenum, @@ -107,6 +119,12 @@ export function DrawElementsInstancedNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawArraysInstancedNV = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedNV"), def_glDrawArraysInstancedNV); - fn_glDrawElementsInstancedNV = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedNV"), def_glDrawElementsInstancedNV); + fn_glDrawArraysInstancedNV = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedNV"), + def_glDrawArraysInstancedNV, + ); + fn_glDrawElementsInstancedNV = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedNV"), + def_glDrawElementsInstancedNV, + ); } diff --git a/api/ext/GL_NV_draw_texture.ts b/api/ext/GL_NV_draw_texture.ts index ac3c821..1b66166 100644 --- a/api/ext/GL_NV_draw_texture.ts +++ b/api/ext/GL_NV_draw_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -62,7 +70,19 @@ export type GLVULKANPROCNV = Buffer; /// Commands export const def_glDrawTextureNV = { - parameters: ["u32", "u32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32"], + parameters: [ + "u32", + "u32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + ], result: "void", } as const; @@ -98,5 +118,8 @@ export function DrawTextureNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawTextureNV = new Deno.UnsafeFnPointer(proc("glDrawTextureNV"), def_glDrawTextureNV); + fn_glDrawTextureNV = new Deno.UnsafeFnPointer( + proc("glDrawTextureNV"), + def_glDrawTextureNV, + ); } diff --git a/api/ext/GL_NV_draw_vulkan_image.ts b/api/ext/GL_NV_draw_vulkan_image.ts index dd9d5d4..8c0947e 100644 --- a/api/ext/GL_NV_draw_vulkan_image.ts +++ b/api/ext/GL_NV_draw_vulkan_image.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -62,7 +70,19 @@ export type GLVULKANPROCNV = Buffer; /// Commands export const def_glDrawVkImageNV = { - parameters: ["u64", "u32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32"], + parameters: [ + "u64", + "u32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + ], result: "void", } as const; @@ -116,7 +136,9 @@ export const def_glWaitVkSemaphoreNV = { result: "void", } as const; -let fn_glWaitVkSemaphoreNV!: Deno.UnsafeFnPointer; +let fn_glWaitVkSemaphoreNV!: Deno.UnsafeFnPointer< + typeof def_glWaitVkSemaphoreNV +>; export function WaitVkSemaphoreNV( vkSemaphore: GLuint64, @@ -131,7 +153,9 @@ export const def_glSignalVkSemaphoreNV = { result: "void", } as const; -let fn_glSignalVkSemaphoreNV!: Deno.UnsafeFnPointer; +let fn_glSignalVkSemaphoreNV!: Deno.UnsafeFnPointer< + typeof def_glSignalVkSemaphoreNV +>; export function SignalVkSemaphoreNV( vkSemaphore: GLuint64, @@ -158,9 +182,24 @@ export function SignalVkFenceNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawVkImageNV = new Deno.UnsafeFnPointer(proc("glDrawVkImageNV"), def_glDrawVkImageNV); - fn_glGetVkProcAddrNV = new Deno.UnsafeFnPointer(proc("glGetVkProcAddrNV"), def_glGetVkProcAddrNV); - fn_glWaitVkSemaphoreNV = new Deno.UnsafeFnPointer(proc("glWaitVkSemaphoreNV"), def_glWaitVkSemaphoreNV); - fn_glSignalVkSemaphoreNV = new Deno.UnsafeFnPointer(proc("glSignalVkSemaphoreNV"), def_glSignalVkSemaphoreNV); - fn_glSignalVkFenceNV = new Deno.UnsafeFnPointer(proc("glSignalVkFenceNV"), def_glSignalVkFenceNV); + fn_glDrawVkImageNV = new Deno.UnsafeFnPointer( + proc("glDrawVkImageNV"), + def_glDrawVkImageNV, + ); + fn_glGetVkProcAddrNV = new Deno.UnsafeFnPointer( + proc("glGetVkProcAddrNV"), + def_glGetVkProcAddrNV, + ); + fn_glWaitVkSemaphoreNV = new Deno.UnsafeFnPointer( + proc("glWaitVkSemaphoreNV"), + def_glWaitVkSemaphoreNV, + ); + fn_glSignalVkSemaphoreNV = new Deno.UnsafeFnPointer( + proc("glSignalVkSemaphoreNV"), + def_glSignalVkSemaphoreNV, + ); + fn_glSignalVkFenceNV = new Deno.UnsafeFnPointer( + proc("glSignalVkFenceNV"), + def_glSignalVkFenceNV, + ); } diff --git a/api/ext/GL_NV_evaluators.ts b/api/ext/GL_NV_evaluators.ts index a7703ba..44df436 100644 --- a/api/ext/GL_NV_evaluators.ts +++ b/api/ext/GL_NV_evaluators.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -92,7 +100,9 @@ export const def_glMapControlPointsNV = { result: "void", } as const; -let fn_glMapControlPointsNV!: Deno.UnsafeFnPointer; +let fn_glMapControlPointsNV!: Deno.UnsafeFnPointer< + typeof def_glMapControlPointsNV +>; export function MapControlPointsNV( target: GLenum, @@ -161,7 +171,9 @@ export const def_glGetMapControlPointsNV = { result: "void", } as const; -let fn_glGetMapControlPointsNV!: Deno.UnsafeFnPointer; +let fn_glGetMapControlPointsNV!: Deno.UnsafeFnPointer< + typeof def_glGetMapControlPointsNV +>; export function GetMapControlPointsNV( target: GLenum, @@ -188,7 +200,9 @@ export const def_glGetMapParameterivNV = { result: "void", } as const; -let fn_glGetMapParameterivNV!: Deno.UnsafeFnPointer; +let fn_glGetMapParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glGetMapParameterivNV +>; export function GetMapParameterivNV( target: GLenum, @@ -207,7 +221,9 @@ export const def_glGetMapParameterfvNV = { result: "void", } as const; -let fn_glGetMapParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glGetMapParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetMapParameterfvNV +>; export function GetMapParameterfvNV( target: GLenum, @@ -226,7 +242,9 @@ export const def_glGetMapAttribParameterivNV = { result: "void", } as const; -let fn_glGetMapAttribParameterivNV!: Deno.UnsafeFnPointer; +let fn_glGetMapAttribParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glGetMapAttribParameterivNV +>; export function GetMapAttribParameterivNV( target: GLenum, @@ -247,7 +265,9 @@ export const def_glGetMapAttribParameterfvNV = { result: "void", } as const; -let fn_glGetMapAttribParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glGetMapAttribParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetMapAttribParameterfvNV +>; export function GetMapAttribParameterfvNV( target: GLenum, @@ -282,13 +302,40 @@ export function EvalMapsNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMapControlPointsNV = new Deno.UnsafeFnPointer(proc("glMapControlPointsNV"), def_glMapControlPointsNV); - fn_glMapParameterivNV = new Deno.UnsafeFnPointer(proc("glMapParameterivNV"), def_glMapParameterivNV); - fn_glMapParameterfvNV = new Deno.UnsafeFnPointer(proc("glMapParameterfvNV"), def_glMapParameterfvNV); - fn_glGetMapControlPointsNV = new Deno.UnsafeFnPointer(proc("glGetMapControlPointsNV"), def_glGetMapControlPointsNV); - fn_glGetMapParameterivNV = new Deno.UnsafeFnPointer(proc("glGetMapParameterivNV"), def_glGetMapParameterivNV); - fn_glGetMapParameterfvNV = new Deno.UnsafeFnPointer(proc("glGetMapParameterfvNV"), def_glGetMapParameterfvNV); - fn_glGetMapAttribParameterivNV = new Deno.UnsafeFnPointer(proc("glGetMapAttribParameterivNV"), def_glGetMapAttribParameterivNV); - fn_glGetMapAttribParameterfvNV = new Deno.UnsafeFnPointer(proc("glGetMapAttribParameterfvNV"), def_glGetMapAttribParameterfvNV); - fn_glEvalMapsNV = new Deno.UnsafeFnPointer(proc("glEvalMapsNV"), def_glEvalMapsNV); + fn_glMapControlPointsNV = new Deno.UnsafeFnPointer( + proc("glMapControlPointsNV"), + def_glMapControlPointsNV, + ); + fn_glMapParameterivNV = new Deno.UnsafeFnPointer( + proc("glMapParameterivNV"), + def_glMapParameterivNV, + ); + fn_glMapParameterfvNV = new Deno.UnsafeFnPointer( + proc("glMapParameterfvNV"), + def_glMapParameterfvNV, + ); + fn_glGetMapControlPointsNV = new Deno.UnsafeFnPointer( + proc("glGetMapControlPointsNV"), + def_glGetMapControlPointsNV, + ); + fn_glGetMapParameterivNV = new Deno.UnsafeFnPointer( + proc("glGetMapParameterivNV"), + def_glGetMapParameterivNV, + ); + fn_glGetMapParameterfvNV = new Deno.UnsafeFnPointer( + proc("glGetMapParameterfvNV"), + def_glGetMapParameterfvNV, + ); + fn_glGetMapAttribParameterivNV = new Deno.UnsafeFnPointer( + proc("glGetMapAttribParameterivNV"), + def_glGetMapAttribParameterivNV, + ); + fn_glGetMapAttribParameterfvNV = new Deno.UnsafeFnPointer( + proc("glGetMapAttribParameterfvNV"), + def_glGetMapAttribParameterfvNV, + ); + fn_glEvalMapsNV = new Deno.UnsafeFnPointer( + proc("glEvalMapsNV"), + def_glEvalMapsNV, + ); } diff --git a/api/ext/GL_NV_explicit_attrib_location.ts b/api/ext/GL_NV_explicit_attrib_location.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_explicit_attrib_location.ts +++ b/api/ext/GL_NV_explicit_attrib_location.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_explicit_multisample.ts b/api/ext/GL_NV_explicit_multisample.ts index 3d1afb6..2787c80 100644 --- a/api/ext/GL_NV_explicit_multisample.ts +++ b/api/ext/GL_NV_explicit_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -78,7 +86,9 @@ export const def_glGetMultisamplefvNV = { result: "void", } as const; -let fn_glGetMultisamplefvNV!: Deno.UnsafeFnPointer; +let fn_glGetMultisamplefvNV!: Deno.UnsafeFnPointer< + typeof def_glGetMultisamplefvNV +>; export function GetMultisamplefvNV( pname: GLenum, @@ -97,7 +107,9 @@ export const def_glSampleMaskIndexedNV = { result: "void", } as const; -let fn_glSampleMaskIndexedNV!: Deno.UnsafeFnPointer; +let fn_glSampleMaskIndexedNV!: Deno.UnsafeFnPointer< + typeof def_glSampleMaskIndexedNV +>; export function SampleMaskIndexedNV( index: GLuint, @@ -114,7 +126,9 @@ export const def_glTexRenderbufferNV = { result: "void", } as const; -let fn_glTexRenderbufferNV!: Deno.UnsafeFnPointer; +let fn_glTexRenderbufferNV!: Deno.UnsafeFnPointer< + typeof def_glTexRenderbufferNV +>; export function TexRenderbufferNV( target: GLenum, @@ -128,7 +142,16 @@ export function TexRenderbufferNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetMultisamplefvNV = new Deno.UnsafeFnPointer(proc("glGetMultisamplefvNV"), def_glGetMultisamplefvNV); - fn_glSampleMaskIndexedNV = new Deno.UnsafeFnPointer(proc("glSampleMaskIndexedNV"), def_glSampleMaskIndexedNV); - fn_glTexRenderbufferNV = new Deno.UnsafeFnPointer(proc("glTexRenderbufferNV"), def_glTexRenderbufferNV); + fn_glGetMultisamplefvNV = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefvNV"), + def_glGetMultisamplefvNV, + ); + fn_glSampleMaskIndexedNV = new Deno.UnsafeFnPointer( + proc("glSampleMaskIndexedNV"), + def_glSampleMaskIndexedNV, + ); + fn_glTexRenderbufferNV = new Deno.UnsafeFnPointer( + proc("glTexRenderbufferNV"), + def_glTexRenderbufferNV, + ); } diff --git a/api/ext/GL_NV_fbo_color_attachments.ts b/api/ext/GL_NV_fbo_color_attachments.ts index d0397e0..b151b27 100644 --- a/api/ext/GL_NV_fbo_color_attachments.ts +++ b/api/ext/GL_NV_fbo_color_attachments.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_fence.ts b/api/ext/GL_NV_fence.ts index 78d3edc..a19512c 100644 --- a/api/ext/GL_NV_fence.ts +++ b/api/ext/GL_NV_fence.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -183,11 +191,32 @@ export function SetFenceNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDeleteFencesNV = new Deno.UnsafeFnPointer(proc("glDeleteFencesNV"), def_glDeleteFencesNV); - fn_glGenFencesNV = new Deno.UnsafeFnPointer(proc("glGenFencesNV"), def_glGenFencesNV); - fn_glIsFenceNV = new Deno.UnsafeFnPointer(proc("glIsFenceNV"), def_glIsFenceNV); - fn_glTestFenceNV = new Deno.UnsafeFnPointer(proc("glTestFenceNV"), def_glTestFenceNV); - fn_glGetFenceivNV = new Deno.UnsafeFnPointer(proc("glGetFenceivNV"), def_glGetFenceivNV); - fn_glFinishFenceNV = new Deno.UnsafeFnPointer(proc("glFinishFenceNV"), def_glFinishFenceNV); - fn_glSetFenceNV = new Deno.UnsafeFnPointer(proc("glSetFenceNV"), def_glSetFenceNV); + fn_glDeleteFencesNV = new Deno.UnsafeFnPointer( + proc("glDeleteFencesNV"), + def_glDeleteFencesNV, + ); + fn_glGenFencesNV = new Deno.UnsafeFnPointer( + proc("glGenFencesNV"), + def_glGenFencesNV, + ); + fn_glIsFenceNV = new Deno.UnsafeFnPointer( + proc("glIsFenceNV"), + def_glIsFenceNV, + ); + fn_glTestFenceNV = new Deno.UnsafeFnPointer( + proc("glTestFenceNV"), + def_glTestFenceNV, + ); + fn_glGetFenceivNV = new Deno.UnsafeFnPointer( + proc("glGetFenceivNV"), + def_glGetFenceivNV, + ); + fn_glFinishFenceNV = new Deno.UnsafeFnPointer( + proc("glFinishFenceNV"), + def_glFinishFenceNV, + ); + fn_glSetFenceNV = new Deno.UnsafeFnPointer( + proc("glSetFenceNV"), + def_glSetFenceNV, + ); } diff --git a/api/ext/GL_NV_fill_rectangle.ts b/api/ext/GL_NV_fill_rectangle.ts index 3cc4ffe..f157d14 100644 --- a/api/ext/GL_NV_fill_rectangle.ts +++ b/api/ext/GL_NV_fill_rectangle.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_float_buffer.ts b/api/ext/GL_NV_float_buffer.ts index 831b93f..2ad890d 100644 --- a/api/ext/GL_NV_float_buffer.ts +++ b/api/ext/GL_NV_float_buffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_fog_distance.ts b/api/ext/GL_NV_fog_distance.ts index ce2344a..2002d4f 100644 --- a/api/ext/GL_NV_fog_distance.ts +++ b/api/ext/GL_NV_fog_distance.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_fragment_coverage_to_color.ts b/api/ext/GL_NV_fragment_coverage_to_color.ts index 2960fa8..9e42df6 100644 --- a/api/ext/GL_NV_fragment_coverage_to_color.ts +++ b/api/ext/GL_NV_fragment_coverage_to_color.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glFragmentCoverageColorNV = { result: "void", } as const; -let fn_glFragmentCoverageColorNV!: Deno.UnsafeFnPointer; +let fn_glFragmentCoverageColorNV!: Deno.UnsafeFnPointer< + typeof def_glFragmentCoverageColorNV +>; export function FragmentCoverageColorNV( color: GLuint, @@ -82,5 +92,8 @@ export function FragmentCoverageColorNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFragmentCoverageColorNV = new Deno.UnsafeFnPointer(proc("glFragmentCoverageColorNV"), def_glFragmentCoverageColorNV); + fn_glFragmentCoverageColorNV = new Deno.UnsafeFnPointer( + proc("glFragmentCoverageColorNV"), + def_glFragmentCoverageColorNV, + ); } diff --git a/api/ext/GL_NV_fragment_program.ts b/api/ext/GL_NV_fragment_program.ts index d4f8dc9..cacfa16 100644 --- a/api/ext/GL_NV_fragment_program.ts +++ b/api/ext/GL_NV_fragment_program.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,7 +82,9 @@ export const def_glProgramNamedParameter4fNV = { result: "void", } as const; -let fn_glProgramNamedParameter4fNV!: Deno.UnsafeFnPointer; +let fn_glProgramNamedParameter4fNV!: Deno.UnsafeFnPointer< + typeof def_glProgramNamedParameter4fNV +>; export function ProgramNamedParameter4fNV( id: GLuint, @@ -101,7 +111,9 @@ export const def_glProgramNamedParameter4fvNV = { result: "void", } as const; -let fn_glProgramNamedParameter4fvNV!: Deno.UnsafeFnPointer; +let fn_glProgramNamedParameter4fvNV!: Deno.UnsafeFnPointer< + typeof def_glProgramNamedParameter4fvNV +>; export function ProgramNamedParameter4fvNV( id: GLuint, @@ -122,7 +134,9 @@ export const def_glProgramNamedParameter4dNV = { result: "void", } as const; -let fn_glProgramNamedParameter4dNV!: Deno.UnsafeFnPointer; +let fn_glProgramNamedParameter4dNV!: Deno.UnsafeFnPointer< + typeof def_glProgramNamedParameter4dNV +>; export function ProgramNamedParameter4dNV( id: GLuint, @@ -149,7 +163,9 @@ export const def_glProgramNamedParameter4dvNV = { result: "void", } as const; -let fn_glProgramNamedParameter4dvNV!: Deno.UnsafeFnPointer; +let fn_glProgramNamedParameter4dvNV!: Deno.UnsafeFnPointer< + typeof def_glProgramNamedParameter4dvNV +>; export function ProgramNamedParameter4dvNV( id: GLuint, @@ -170,7 +186,9 @@ export const def_glGetProgramNamedParameterfvNV = { result: "void", } as const; -let fn_glGetProgramNamedParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glGetProgramNamedParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetProgramNamedParameterfvNV +>; export function GetProgramNamedParameterfvNV( id: GLuint, @@ -191,7 +209,9 @@ export const def_glGetProgramNamedParameterdvNV = { result: "void", } as const; -let fn_glGetProgramNamedParameterdvNV!: Deno.UnsafeFnPointer; +let fn_glGetProgramNamedParameterdvNV!: Deno.UnsafeFnPointer< + typeof def_glGetProgramNamedParameterdvNV +>; export function GetProgramNamedParameterdvNV( id: GLuint, @@ -209,10 +229,28 @@ export function GetProgramNamedParameterdvNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glProgramNamedParameter4fNV = new Deno.UnsafeFnPointer(proc("glProgramNamedParameter4fNV"), def_glProgramNamedParameter4fNV); - fn_glProgramNamedParameter4fvNV = new Deno.UnsafeFnPointer(proc("glProgramNamedParameter4fvNV"), def_glProgramNamedParameter4fvNV); - fn_glProgramNamedParameter4dNV = new Deno.UnsafeFnPointer(proc("glProgramNamedParameter4dNV"), def_glProgramNamedParameter4dNV); - fn_glProgramNamedParameter4dvNV = new Deno.UnsafeFnPointer(proc("glProgramNamedParameter4dvNV"), def_glProgramNamedParameter4dvNV); - fn_glGetProgramNamedParameterfvNV = new Deno.UnsafeFnPointer(proc("glGetProgramNamedParameterfvNV"), def_glGetProgramNamedParameterfvNV); - fn_glGetProgramNamedParameterdvNV = new Deno.UnsafeFnPointer(proc("glGetProgramNamedParameterdvNV"), def_glGetProgramNamedParameterdvNV); + fn_glProgramNamedParameter4fNV = new Deno.UnsafeFnPointer( + proc("glProgramNamedParameter4fNV"), + def_glProgramNamedParameter4fNV, + ); + fn_glProgramNamedParameter4fvNV = new Deno.UnsafeFnPointer( + proc("glProgramNamedParameter4fvNV"), + def_glProgramNamedParameter4fvNV, + ); + fn_glProgramNamedParameter4dNV = new Deno.UnsafeFnPointer( + proc("glProgramNamedParameter4dNV"), + def_glProgramNamedParameter4dNV, + ); + fn_glProgramNamedParameter4dvNV = new Deno.UnsafeFnPointer( + proc("glProgramNamedParameter4dvNV"), + def_glProgramNamedParameter4dvNV, + ); + fn_glGetProgramNamedParameterfvNV = new Deno.UnsafeFnPointer( + proc("glGetProgramNamedParameterfvNV"), + def_glGetProgramNamedParameterfvNV, + ); + fn_glGetProgramNamedParameterdvNV = new Deno.UnsafeFnPointer( + proc("glGetProgramNamedParameterdvNV"), + def_glGetProgramNamedParameterdvNV, + ); } diff --git a/api/ext/GL_NV_fragment_program2.ts b/api/ext/GL_NV_fragment_program2.ts index ef670ad..0f63b07 100644 --- a/api/ext/GL_NV_fragment_program2.ts +++ b/api/ext/GL_NV_fragment_program2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_fragment_program4.ts b/api/ext/GL_NV_fragment_program4.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_fragment_program4.ts +++ b/api/ext/GL_NV_fragment_program4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_fragment_program_option.ts b/api/ext/GL_NV_fragment_program_option.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_fragment_program_option.ts +++ b/api/ext/GL_NV_fragment_program_option.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_fragment_shader_barycentric.ts b/api/ext/GL_NV_fragment_shader_barycentric.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_fragment_shader_barycentric.ts +++ b/api/ext/GL_NV_fragment_shader_barycentric.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_fragment_shader_interlock.ts b/api/ext/GL_NV_fragment_shader_interlock.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_fragment_shader_interlock.ts +++ b/api/ext/GL_NV_fragment_shader_interlock.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_framebuffer_blit.ts b/api/ext/GL_NV_framebuffer_blit.ts index a8c7a98..4e74a95 100644 --- a/api/ext/GL_NV_framebuffer_blit.ts +++ b/api/ext/GL_NV_framebuffer_blit.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -68,11 +76,24 @@ export const READ_FRAMEBUFFER_BINDING_NV = 0x8caa; /// Commands export const def_glBlitFramebufferNV = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; -let fn_glBlitFramebufferNV!: Deno.UnsafeFnPointer; +let fn_glBlitFramebufferNV!: Deno.UnsafeFnPointer< + typeof def_glBlitFramebufferNV +>; export function BlitFramebufferNV( srcX0: GLint, @@ -102,5 +123,8 @@ export function BlitFramebufferNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlitFramebufferNV = new Deno.UnsafeFnPointer(proc("glBlitFramebufferNV"), def_glBlitFramebufferNV); + fn_glBlitFramebufferNV = new Deno.UnsafeFnPointer( + proc("glBlitFramebufferNV"), + def_glBlitFramebufferNV, + ); } diff --git a/api/ext/GL_NV_framebuffer_mixed_samples.ts b/api/ext/GL_NV_framebuffer_mixed_samples.ts index 97bf37c..9a14648 100644 --- a/api/ext/GL_NV_framebuffer_mixed_samples.ts +++ b/api/ext/GL_NV_framebuffer_mixed_samples.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -99,7 +107,9 @@ export const def_glCoverageModulationTableNV = { result: "void", } as const; -let fn_glCoverageModulationTableNV!: Deno.UnsafeFnPointer; +let fn_glCoverageModulationTableNV!: Deno.UnsafeFnPointer< + typeof def_glCoverageModulationTableNV +>; export function CoverageModulationTableNV( n: GLsizei, @@ -116,7 +126,9 @@ export const def_glGetCoverageModulationTableNV = { result: "void", } as const; -let fn_glGetCoverageModulationTableNV!: Deno.UnsafeFnPointer; +let fn_glGetCoverageModulationTableNV!: Deno.UnsafeFnPointer< + typeof def_glGetCoverageModulationTableNV +>; export function GetCoverageModulationTableNV( bufSize: GLsizei, @@ -133,7 +145,9 @@ export const def_glCoverageModulationNV = { result: "void", } as const; -let fn_glCoverageModulationNV!: Deno.UnsafeFnPointer; +let fn_glCoverageModulationNV!: Deno.UnsafeFnPointer< + typeof def_glCoverageModulationNV +>; export function CoverageModulationNV( components: GLenum, @@ -145,8 +159,20 @@ export function CoverageModulationNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glRasterSamplesEXT = new Deno.UnsafeFnPointer(proc("glRasterSamplesEXT"), def_glRasterSamplesEXT); - fn_glCoverageModulationTableNV = new Deno.UnsafeFnPointer(proc("glCoverageModulationTableNV"), def_glCoverageModulationTableNV); - fn_glGetCoverageModulationTableNV = new Deno.UnsafeFnPointer(proc("glGetCoverageModulationTableNV"), def_glGetCoverageModulationTableNV); - fn_glCoverageModulationNV = new Deno.UnsafeFnPointer(proc("glCoverageModulationNV"), def_glCoverageModulationNV); + fn_glRasterSamplesEXT = new Deno.UnsafeFnPointer( + proc("glRasterSamplesEXT"), + def_glRasterSamplesEXT, + ); + fn_glCoverageModulationTableNV = new Deno.UnsafeFnPointer( + proc("glCoverageModulationTableNV"), + def_glCoverageModulationTableNV, + ); + fn_glGetCoverageModulationTableNV = new Deno.UnsafeFnPointer( + proc("glGetCoverageModulationTableNV"), + def_glGetCoverageModulationTableNV, + ); + fn_glCoverageModulationNV = new Deno.UnsafeFnPointer( + proc("glCoverageModulationNV"), + def_glCoverageModulationNV, + ); } diff --git a/api/ext/GL_NV_framebuffer_multisample.ts b/api/ext/GL_NV_framebuffer_multisample.ts index 1040c7e..b7377f0 100644 --- a/api/ext/GL_NV_framebuffer_multisample.ts +++ b/api/ext/GL_NV_framebuffer_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glRenderbufferStorageMultisampleNV = { result: "void", } as const; -let fn_glRenderbufferStorageMultisampleNV!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisampleNV!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisampleNV +>; export function RenderbufferStorageMultisampleNV( target: GLenum, @@ -91,5 +101,8 @@ export function RenderbufferStorageMultisampleNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glRenderbufferStorageMultisampleNV = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisampleNV"), def_glRenderbufferStorageMultisampleNV); + fn_glRenderbufferStorageMultisampleNV = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisampleNV"), + def_glRenderbufferStorageMultisampleNV, + ); } diff --git a/api/ext/GL_NV_framebuffer_multisample_coverage.ts b/api/ext/GL_NV_framebuffer_multisample_coverage.ts index cbc01f9..90a699e 100644 --- a/api/ext/GL_NV_framebuffer_multisample_coverage.ts +++ b/api/ext/GL_NV_framebuffer_multisample_coverage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glRenderbufferStorageMultisampleCoverageNV = { result: "void", } as const; -let fn_glRenderbufferStorageMultisampleCoverageNV!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisampleCoverageNV!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisampleCoverageNV +>; export function RenderbufferStorageMultisampleCoverageNV( target: GLenum, @@ -94,5 +104,8 @@ export function RenderbufferStorageMultisampleCoverageNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glRenderbufferStorageMultisampleCoverageNV = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisampleCoverageNV"), def_glRenderbufferStorageMultisampleCoverageNV); + fn_glRenderbufferStorageMultisampleCoverageNV = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisampleCoverageNV"), + def_glRenderbufferStorageMultisampleCoverageNV, + ); } diff --git a/api/ext/GL_NV_generate_mipmap_sRGB.ts b/api/ext/GL_NV_generate_mipmap_sRGB.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_generate_mipmap_sRGB.ts +++ b/api/ext/GL_NV_generate_mipmap_sRGB.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_geometry_program4.ts b/api/ext/GL_NV_geometry_program4.ts index 611061f..32fc578 100644 --- a/api/ext/GL_NV_geometry_program4.ts +++ b/api/ext/GL_NV_geometry_program4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,7 +92,9 @@ export const def_glProgramVertexLimitNV = { result: "void", } as const; -let fn_glProgramVertexLimitNV!: Deno.UnsafeFnPointer; +let fn_glProgramVertexLimitNV!: Deno.UnsafeFnPointer< + typeof def_glProgramVertexLimitNV +>; export function ProgramVertexLimitNV( target: GLenum, @@ -101,7 +111,9 @@ export const def_glFramebufferTextureEXT = { result: "void", } as const; -let fn_glFramebufferTextureEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureEXT +>; export function FramebufferTextureEXT( target: GLenum, @@ -122,7 +134,9 @@ export const def_glFramebufferTextureLayerEXT = { result: "void", } as const; -let fn_glFramebufferTextureLayerEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayerEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayerEXT +>; export function FramebufferTextureLayerEXT( target: GLenum, @@ -145,7 +159,9 @@ export const def_glFramebufferTextureFaceEXT = { result: "void", } as const; -let fn_glFramebufferTextureFaceEXT!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureFaceEXT!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureFaceEXT +>; export function FramebufferTextureFaceEXT( target: GLenum, @@ -165,8 +181,20 @@ export function FramebufferTextureFaceEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glProgramVertexLimitNV = new Deno.UnsafeFnPointer(proc("glProgramVertexLimitNV"), def_glProgramVertexLimitNV); - fn_glFramebufferTextureEXT = new Deno.UnsafeFnPointer(proc("glFramebufferTextureEXT"), def_glFramebufferTextureEXT); - fn_glFramebufferTextureLayerEXT = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayerEXT"), def_glFramebufferTextureLayerEXT); - fn_glFramebufferTextureFaceEXT = new Deno.UnsafeFnPointer(proc("glFramebufferTextureFaceEXT"), def_glFramebufferTextureFaceEXT); + fn_glProgramVertexLimitNV = new Deno.UnsafeFnPointer( + proc("glProgramVertexLimitNV"), + def_glProgramVertexLimitNV, + ); + fn_glFramebufferTextureEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureEXT"), + def_glFramebufferTextureEXT, + ); + fn_glFramebufferTextureLayerEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayerEXT"), + def_glFramebufferTextureLayerEXT, + ); + fn_glFramebufferTextureFaceEXT = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureFaceEXT"), + def_glFramebufferTextureFaceEXT, + ); } diff --git a/api/ext/GL_NV_geometry_shader4.ts b/api/ext/GL_NV_geometry_shader4.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_geometry_shader4.ts +++ b/api/ext/GL_NV_geometry_shader4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_geometry_shader_passthrough.ts b/api/ext/GL_NV_geometry_shader_passthrough.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_geometry_shader_passthrough.ts +++ b/api/ext/GL_NV_geometry_shader_passthrough.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_gpu_multicast.ts b/api/ext/GL_NV_gpu_multicast.ts index 1e22945..5247ef0 100644 --- a/api/ext/GL_NV_gpu_multicast.ts +++ b/api/ext/GL_NV_gpu_multicast.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,7 +96,9 @@ export const def_glMulticastBufferSubDataNV = { result: "void", } as const; -let fn_glMulticastBufferSubDataNV!: Deno.UnsafeFnPointer; +let fn_glMulticastBufferSubDataNV!: Deno.UnsafeFnPointer< + typeof def_glMulticastBufferSubDataNV +>; export function MulticastBufferSubDataNV( gpuMask: GLbitfield, @@ -111,7 +121,9 @@ export const def_glMulticastCopyBufferSubDataNV = { result: "void", } as const; -let fn_glMulticastCopyBufferSubDataNV!: Deno.UnsafeFnPointer; +let fn_glMulticastCopyBufferSubDataNV!: Deno.UnsafeFnPointer< + typeof def_glMulticastCopyBufferSubDataNV +>; export function MulticastCopyBufferSubDataNV( readGpu: GLuint, @@ -134,11 +146,31 @@ export function MulticastCopyBufferSubDataNV( } export const def_glMulticastCopyImageSubDataNV = { - parameters: ["u32", "u32", "u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; -let fn_glMulticastCopyImageSubDataNV!: Deno.UnsafeFnPointer; +let fn_glMulticastCopyImageSubDataNV!: Deno.UnsafeFnPointer< + typeof def_glMulticastCopyImageSubDataNV +>; export function MulticastCopyImageSubDataNV( srcGpu: GLuint, @@ -181,11 +213,26 @@ export function MulticastCopyImageSubDataNV( } export const def_glMulticastBlitFramebufferNV = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; -let fn_glMulticastBlitFramebufferNV!: Deno.UnsafeFnPointer; +let fn_glMulticastBlitFramebufferNV!: Deno.UnsafeFnPointer< + typeof def_glMulticastBlitFramebufferNV +>; export function MulticastBlitFramebufferNV( srcGpu: GLuint, @@ -222,7 +269,9 @@ export const def_glMulticastFramebufferSampleLocationsfvNV = { result: "void", } as const; -let fn_glMulticastFramebufferSampleLocationsfvNV!: Deno.UnsafeFnPointer; +let fn_glMulticastFramebufferSampleLocationsfvNV!: Deno.UnsafeFnPointer< + typeof def_glMulticastFramebufferSampleLocationsfvNV +>; export function MulticastFramebufferSampleLocationsfvNV( gpu: GLuint, @@ -245,7 +294,9 @@ export const def_glMulticastBarrierNV = { result: "void", } as const; -let fn_glMulticastBarrierNV!: Deno.UnsafeFnPointer; +let fn_glMulticastBarrierNV!: Deno.UnsafeFnPointer< + typeof def_glMulticastBarrierNV +>; export function MulticastBarrierNV(): void { fn_glMulticastBarrierNV.call(); @@ -256,7 +307,9 @@ export const def_glMulticastWaitSyncNV = { result: "void", } as const; -let fn_glMulticastWaitSyncNV!: Deno.UnsafeFnPointer; +let fn_glMulticastWaitSyncNV!: Deno.UnsafeFnPointer< + typeof def_glMulticastWaitSyncNV +>; export function MulticastWaitSyncNV( signalGpu: GLuint, @@ -273,7 +326,9 @@ export const def_glMulticastGetQueryObjectivNV = { result: "void", } as const; -let fn_glMulticastGetQueryObjectivNV!: Deno.UnsafeFnPointer; +let fn_glMulticastGetQueryObjectivNV!: Deno.UnsafeFnPointer< + typeof def_glMulticastGetQueryObjectivNV +>; export function MulticastGetQueryObjectivNV( gpu: GLuint, @@ -294,7 +349,9 @@ export const def_glMulticastGetQueryObjectuivNV = { result: "void", } as const; -let fn_glMulticastGetQueryObjectuivNV!: Deno.UnsafeFnPointer; +let fn_glMulticastGetQueryObjectuivNV!: Deno.UnsafeFnPointer< + typeof def_glMulticastGetQueryObjectuivNV +>; export function MulticastGetQueryObjectuivNV( gpu: GLuint, @@ -315,7 +372,9 @@ export const def_glMulticastGetQueryObjecti64vNV = { result: "void", } as const; -let fn_glMulticastGetQueryObjecti64vNV!: Deno.UnsafeFnPointer; +let fn_glMulticastGetQueryObjecti64vNV!: Deno.UnsafeFnPointer< + typeof def_glMulticastGetQueryObjecti64vNV +>; export function MulticastGetQueryObjecti64vNV( gpu: GLuint, @@ -336,7 +395,9 @@ export const def_glMulticastGetQueryObjectui64vNV = { result: "void", } as const; -let fn_glMulticastGetQueryObjectui64vNV!: Deno.UnsafeFnPointer; +let fn_glMulticastGetQueryObjectui64vNV!: Deno.UnsafeFnPointer< + typeof def_glMulticastGetQueryObjectui64vNV +>; export function MulticastGetQueryObjectui64vNV( gpu: GLuint, @@ -354,16 +415,52 @@ export function MulticastGetQueryObjectui64vNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glRenderGpuMaskNV = new Deno.UnsafeFnPointer(proc("glRenderGpuMaskNV"), def_glRenderGpuMaskNV); - fn_glMulticastBufferSubDataNV = new Deno.UnsafeFnPointer(proc("glMulticastBufferSubDataNV"), def_glMulticastBufferSubDataNV); - fn_glMulticastCopyBufferSubDataNV = new Deno.UnsafeFnPointer(proc("glMulticastCopyBufferSubDataNV"), def_glMulticastCopyBufferSubDataNV); - fn_glMulticastCopyImageSubDataNV = new Deno.UnsafeFnPointer(proc("glMulticastCopyImageSubDataNV"), def_glMulticastCopyImageSubDataNV); - fn_glMulticastBlitFramebufferNV = new Deno.UnsafeFnPointer(proc("glMulticastBlitFramebufferNV"), def_glMulticastBlitFramebufferNV); - fn_glMulticastFramebufferSampleLocationsfvNV = new Deno.UnsafeFnPointer(proc("glMulticastFramebufferSampleLocationsfvNV"), def_glMulticastFramebufferSampleLocationsfvNV); - fn_glMulticastBarrierNV = new Deno.UnsafeFnPointer(proc("glMulticastBarrierNV"), def_glMulticastBarrierNV); - fn_glMulticastWaitSyncNV = new Deno.UnsafeFnPointer(proc("glMulticastWaitSyncNV"), def_glMulticastWaitSyncNV); - fn_glMulticastGetQueryObjectivNV = new Deno.UnsafeFnPointer(proc("glMulticastGetQueryObjectivNV"), def_glMulticastGetQueryObjectivNV); - fn_glMulticastGetQueryObjectuivNV = new Deno.UnsafeFnPointer(proc("glMulticastGetQueryObjectuivNV"), def_glMulticastGetQueryObjectuivNV); - fn_glMulticastGetQueryObjecti64vNV = new Deno.UnsafeFnPointer(proc("glMulticastGetQueryObjecti64vNV"), def_glMulticastGetQueryObjecti64vNV); - fn_glMulticastGetQueryObjectui64vNV = new Deno.UnsafeFnPointer(proc("glMulticastGetQueryObjectui64vNV"), def_glMulticastGetQueryObjectui64vNV); + fn_glRenderGpuMaskNV = new Deno.UnsafeFnPointer( + proc("glRenderGpuMaskNV"), + def_glRenderGpuMaskNV, + ); + fn_glMulticastBufferSubDataNV = new Deno.UnsafeFnPointer( + proc("glMulticastBufferSubDataNV"), + def_glMulticastBufferSubDataNV, + ); + fn_glMulticastCopyBufferSubDataNV = new Deno.UnsafeFnPointer( + proc("glMulticastCopyBufferSubDataNV"), + def_glMulticastCopyBufferSubDataNV, + ); + fn_glMulticastCopyImageSubDataNV = new Deno.UnsafeFnPointer( + proc("glMulticastCopyImageSubDataNV"), + def_glMulticastCopyImageSubDataNV, + ); + fn_glMulticastBlitFramebufferNV = new Deno.UnsafeFnPointer( + proc("glMulticastBlitFramebufferNV"), + def_glMulticastBlitFramebufferNV, + ); + fn_glMulticastFramebufferSampleLocationsfvNV = new Deno.UnsafeFnPointer( + proc("glMulticastFramebufferSampleLocationsfvNV"), + def_glMulticastFramebufferSampleLocationsfvNV, + ); + fn_glMulticastBarrierNV = new Deno.UnsafeFnPointer( + proc("glMulticastBarrierNV"), + def_glMulticastBarrierNV, + ); + fn_glMulticastWaitSyncNV = new Deno.UnsafeFnPointer( + proc("glMulticastWaitSyncNV"), + def_glMulticastWaitSyncNV, + ); + fn_glMulticastGetQueryObjectivNV = new Deno.UnsafeFnPointer( + proc("glMulticastGetQueryObjectivNV"), + def_glMulticastGetQueryObjectivNV, + ); + fn_glMulticastGetQueryObjectuivNV = new Deno.UnsafeFnPointer( + proc("glMulticastGetQueryObjectuivNV"), + def_glMulticastGetQueryObjectuivNV, + ); + fn_glMulticastGetQueryObjecti64vNV = new Deno.UnsafeFnPointer( + proc("glMulticastGetQueryObjecti64vNV"), + def_glMulticastGetQueryObjecti64vNV, + ); + fn_glMulticastGetQueryObjectui64vNV = new Deno.UnsafeFnPointer( + proc("glMulticastGetQueryObjectui64vNV"), + def_glMulticastGetQueryObjectui64vNV, + ); } diff --git a/api/ext/GL_NV_gpu_program4.ts b/api/ext/GL_NV_gpu_program4.ts index 9bdd23c..b816b8a 100644 --- a/api/ext/GL_NV_gpu_program4.ts +++ b/api/ext/GL_NV_gpu_program4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -76,7 +84,9 @@ export const def_glProgramLocalParameterI4iNV = { result: "void", } as const; -let fn_glProgramLocalParameterI4iNV!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameterI4iNV!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameterI4iNV +>; export function ProgramLocalParameterI4iNV( target: GLenum, @@ -101,7 +111,9 @@ export const def_glProgramLocalParameterI4ivNV = { result: "void", } as const; -let fn_glProgramLocalParameterI4ivNV!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameterI4ivNV!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameterI4ivNV +>; export function ProgramLocalParameterI4ivNV( target: GLenum, @@ -120,7 +132,9 @@ export const def_glProgramLocalParametersI4ivNV = { result: "void", } as const; -let fn_glProgramLocalParametersI4ivNV!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParametersI4ivNV!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParametersI4ivNV +>; export function ProgramLocalParametersI4ivNV( target: GLenum, @@ -141,7 +155,9 @@ export const def_glProgramLocalParameterI4uiNV = { result: "void", } as const; -let fn_glProgramLocalParameterI4uiNV!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameterI4uiNV!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameterI4uiNV +>; export function ProgramLocalParameterI4uiNV( target: GLenum, @@ -166,7 +182,9 @@ export const def_glProgramLocalParameterI4uivNV = { result: "void", } as const; -let fn_glProgramLocalParameterI4uivNV!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParameterI4uivNV!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParameterI4uivNV +>; export function ProgramLocalParameterI4uivNV( target: GLenum, @@ -185,7 +203,9 @@ export const def_glProgramLocalParametersI4uivNV = { result: "void", } as const; -let fn_glProgramLocalParametersI4uivNV!: Deno.UnsafeFnPointer; +let fn_glProgramLocalParametersI4uivNV!: Deno.UnsafeFnPointer< + typeof def_glProgramLocalParametersI4uivNV +>; export function ProgramLocalParametersI4uivNV( target: GLenum, @@ -206,7 +226,9 @@ export const def_glProgramEnvParameterI4iNV = { result: "void", } as const; -let fn_glProgramEnvParameterI4iNV!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameterI4iNV!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameterI4iNV +>; export function ProgramEnvParameterI4iNV( target: GLenum, @@ -231,7 +253,9 @@ export const def_glProgramEnvParameterI4ivNV = { result: "void", } as const; -let fn_glProgramEnvParameterI4ivNV!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameterI4ivNV!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameterI4ivNV +>; export function ProgramEnvParameterI4ivNV( target: GLenum, @@ -250,7 +274,9 @@ export const def_glProgramEnvParametersI4ivNV = { result: "void", } as const; -let fn_glProgramEnvParametersI4ivNV!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParametersI4ivNV!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParametersI4ivNV +>; export function ProgramEnvParametersI4ivNV( target: GLenum, @@ -271,7 +297,9 @@ export const def_glProgramEnvParameterI4uiNV = { result: "void", } as const; -let fn_glProgramEnvParameterI4uiNV!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameterI4uiNV!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameterI4uiNV +>; export function ProgramEnvParameterI4uiNV( target: GLenum, @@ -296,7 +324,9 @@ export const def_glProgramEnvParameterI4uivNV = { result: "void", } as const; -let fn_glProgramEnvParameterI4uivNV!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParameterI4uivNV!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParameterI4uivNV +>; export function ProgramEnvParameterI4uivNV( target: GLenum, @@ -315,7 +345,9 @@ export const def_glProgramEnvParametersI4uivNV = { result: "void", } as const; -let fn_glProgramEnvParametersI4uivNV!: Deno.UnsafeFnPointer; +let fn_glProgramEnvParametersI4uivNV!: Deno.UnsafeFnPointer< + typeof def_glProgramEnvParametersI4uivNV +>; export function ProgramEnvParametersI4uivNV( target: GLenum, @@ -336,7 +368,9 @@ export const def_glGetProgramLocalParameterIivNV = { result: "void", } as const; -let fn_glGetProgramLocalParameterIivNV!: Deno.UnsafeFnPointer; +let fn_glGetProgramLocalParameterIivNV!: Deno.UnsafeFnPointer< + typeof def_glGetProgramLocalParameterIivNV +>; export function GetProgramLocalParameterIivNV( target: GLenum, @@ -355,7 +389,9 @@ export const def_glGetProgramLocalParameterIuivNV = { result: "void", } as const; -let fn_glGetProgramLocalParameterIuivNV!: Deno.UnsafeFnPointer; +let fn_glGetProgramLocalParameterIuivNV!: Deno.UnsafeFnPointer< + typeof def_glGetProgramLocalParameterIuivNV +>; export function GetProgramLocalParameterIuivNV( target: GLenum, @@ -374,7 +410,9 @@ export const def_glGetProgramEnvParameterIivNV = { result: "void", } as const; -let fn_glGetProgramEnvParameterIivNV!: Deno.UnsafeFnPointer; +let fn_glGetProgramEnvParameterIivNV!: Deno.UnsafeFnPointer< + typeof def_glGetProgramEnvParameterIivNV +>; export function GetProgramEnvParameterIivNV( target: GLenum, @@ -393,7 +431,9 @@ export const def_glGetProgramEnvParameterIuivNV = { result: "void", } as const; -let fn_glGetProgramEnvParameterIuivNV!: Deno.UnsafeFnPointer; +let fn_glGetProgramEnvParameterIuivNV!: Deno.UnsafeFnPointer< + typeof def_glGetProgramEnvParameterIuivNV +>; export function GetProgramEnvParameterIuivNV( target: GLenum, @@ -409,20 +449,68 @@ export function GetProgramEnvParameterIuivNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glProgramLocalParameterI4iNV = new Deno.UnsafeFnPointer(proc("glProgramLocalParameterI4iNV"), def_glProgramLocalParameterI4iNV); - fn_glProgramLocalParameterI4ivNV = new Deno.UnsafeFnPointer(proc("glProgramLocalParameterI4ivNV"), def_glProgramLocalParameterI4ivNV); - fn_glProgramLocalParametersI4ivNV = new Deno.UnsafeFnPointer(proc("glProgramLocalParametersI4ivNV"), def_glProgramLocalParametersI4ivNV); - fn_glProgramLocalParameterI4uiNV = new Deno.UnsafeFnPointer(proc("glProgramLocalParameterI4uiNV"), def_glProgramLocalParameterI4uiNV); - fn_glProgramLocalParameterI4uivNV = new Deno.UnsafeFnPointer(proc("glProgramLocalParameterI4uivNV"), def_glProgramLocalParameterI4uivNV); - fn_glProgramLocalParametersI4uivNV = new Deno.UnsafeFnPointer(proc("glProgramLocalParametersI4uivNV"), def_glProgramLocalParametersI4uivNV); - fn_glProgramEnvParameterI4iNV = new Deno.UnsafeFnPointer(proc("glProgramEnvParameterI4iNV"), def_glProgramEnvParameterI4iNV); - fn_glProgramEnvParameterI4ivNV = new Deno.UnsafeFnPointer(proc("glProgramEnvParameterI4ivNV"), def_glProgramEnvParameterI4ivNV); - fn_glProgramEnvParametersI4ivNV = new Deno.UnsafeFnPointer(proc("glProgramEnvParametersI4ivNV"), def_glProgramEnvParametersI4ivNV); - fn_glProgramEnvParameterI4uiNV = new Deno.UnsafeFnPointer(proc("glProgramEnvParameterI4uiNV"), def_glProgramEnvParameterI4uiNV); - fn_glProgramEnvParameterI4uivNV = new Deno.UnsafeFnPointer(proc("glProgramEnvParameterI4uivNV"), def_glProgramEnvParameterI4uivNV); - fn_glProgramEnvParametersI4uivNV = new Deno.UnsafeFnPointer(proc("glProgramEnvParametersI4uivNV"), def_glProgramEnvParametersI4uivNV); - fn_glGetProgramLocalParameterIivNV = new Deno.UnsafeFnPointer(proc("glGetProgramLocalParameterIivNV"), def_glGetProgramLocalParameterIivNV); - fn_glGetProgramLocalParameterIuivNV = new Deno.UnsafeFnPointer(proc("glGetProgramLocalParameterIuivNV"), def_glGetProgramLocalParameterIuivNV); - fn_glGetProgramEnvParameterIivNV = new Deno.UnsafeFnPointer(proc("glGetProgramEnvParameterIivNV"), def_glGetProgramEnvParameterIivNV); - fn_glGetProgramEnvParameterIuivNV = new Deno.UnsafeFnPointer(proc("glGetProgramEnvParameterIuivNV"), def_glGetProgramEnvParameterIuivNV); + fn_glProgramLocalParameterI4iNV = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameterI4iNV"), + def_glProgramLocalParameterI4iNV, + ); + fn_glProgramLocalParameterI4ivNV = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameterI4ivNV"), + def_glProgramLocalParameterI4ivNV, + ); + fn_glProgramLocalParametersI4ivNV = new Deno.UnsafeFnPointer( + proc("glProgramLocalParametersI4ivNV"), + def_glProgramLocalParametersI4ivNV, + ); + fn_glProgramLocalParameterI4uiNV = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameterI4uiNV"), + def_glProgramLocalParameterI4uiNV, + ); + fn_glProgramLocalParameterI4uivNV = new Deno.UnsafeFnPointer( + proc("glProgramLocalParameterI4uivNV"), + def_glProgramLocalParameterI4uivNV, + ); + fn_glProgramLocalParametersI4uivNV = new Deno.UnsafeFnPointer( + proc("glProgramLocalParametersI4uivNV"), + def_glProgramLocalParametersI4uivNV, + ); + fn_glProgramEnvParameterI4iNV = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameterI4iNV"), + def_glProgramEnvParameterI4iNV, + ); + fn_glProgramEnvParameterI4ivNV = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameterI4ivNV"), + def_glProgramEnvParameterI4ivNV, + ); + fn_glProgramEnvParametersI4ivNV = new Deno.UnsafeFnPointer( + proc("glProgramEnvParametersI4ivNV"), + def_glProgramEnvParametersI4ivNV, + ); + fn_glProgramEnvParameterI4uiNV = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameterI4uiNV"), + def_glProgramEnvParameterI4uiNV, + ); + fn_glProgramEnvParameterI4uivNV = new Deno.UnsafeFnPointer( + proc("glProgramEnvParameterI4uivNV"), + def_glProgramEnvParameterI4uivNV, + ); + fn_glProgramEnvParametersI4uivNV = new Deno.UnsafeFnPointer( + proc("glProgramEnvParametersI4uivNV"), + def_glProgramEnvParametersI4uivNV, + ); + fn_glGetProgramLocalParameterIivNV = new Deno.UnsafeFnPointer( + proc("glGetProgramLocalParameterIivNV"), + def_glGetProgramLocalParameterIivNV, + ); + fn_glGetProgramLocalParameterIuivNV = new Deno.UnsafeFnPointer( + proc("glGetProgramLocalParameterIuivNV"), + def_glGetProgramLocalParameterIuivNV, + ); + fn_glGetProgramEnvParameterIivNV = new Deno.UnsafeFnPointer( + proc("glGetProgramEnvParameterIivNV"), + def_glGetProgramEnvParameterIivNV, + ); + fn_glGetProgramEnvParameterIuivNV = new Deno.UnsafeFnPointer( + proc("glGetProgramEnvParameterIuivNV"), + def_glGetProgramEnvParameterIuivNV, + ); } diff --git a/api/ext/GL_NV_gpu_program5.ts b/api/ext/GL_NV_gpu_program5.ts index 76e2e53..aadbef6 100644 --- a/api/ext/GL_NV_gpu_program5.ts +++ b/api/ext/GL_NV_gpu_program5.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -76,7 +84,9 @@ export const def_glProgramSubroutineParametersuivNV = { result: "void", } as const; -let fn_glProgramSubroutineParametersuivNV!: Deno.UnsafeFnPointer; +let fn_glProgramSubroutineParametersuivNV!: Deno.UnsafeFnPointer< + typeof def_glProgramSubroutineParametersuivNV +>; export function ProgramSubroutineParametersuivNV( target: GLenum, @@ -95,7 +105,9 @@ export const def_glGetProgramSubroutineParameteruivNV = { result: "void", } as const; -let fn_glGetProgramSubroutineParameteruivNV!: Deno.UnsafeFnPointer; +let fn_glGetProgramSubroutineParameteruivNV!: Deno.UnsafeFnPointer< + typeof def_glGetProgramSubroutineParameteruivNV +>; export function GetProgramSubroutineParameteruivNV( target: GLenum, @@ -111,6 +123,12 @@ export function GetProgramSubroutineParameteruivNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glProgramSubroutineParametersuivNV = new Deno.UnsafeFnPointer(proc("glProgramSubroutineParametersuivNV"), def_glProgramSubroutineParametersuivNV); - fn_glGetProgramSubroutineParameteruivNV = new Deno.UnsafeFnPointer(proc("glGetProgramSubroutineParameteruivNV"), def_glGetProgramSubroutineParameteruivNV); + fn_glProgramSubroutineParametersuivNV = new Deno.UnsafeFnPointer( + proc("glProgramSubroutineParametersuivNV"), + def_glProgramSubroutineParametersuivNV, + ); + fn_glGetProgramSubroutineParameteruivNV = new Deno.UnsafeFnPointer( + proc("glGetProgramSubroutineParameteruivNV"), + def_glGetProgramSubroutineParameteruivNV, + ); } diff --git a/api/ext/GL_NV_gpu_program5_mem_extended.ts b/api/ext/GL_NV_gpu_program5_mem_extended.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_gpu_program5_mem_extended.ts +++ b/api/ext/GL_NV_gpu_program5_mem_extended.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_gpu_shader5.ts b/api/ext/GL_NV_gpu_shader5.ts index a43d81f..ca5cfcb 100644 --- a/api/ext/GL_NV_gpu_shader5.ts +++ b/api/ext/GL_NV_gpu_shader5.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -428,7 +436,9 @@ export const def_glProgramUniform1i64NV = { result: "void", } as const; -let fn_glProgramUniform1i64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1i64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1i64NV +>; export function ProgramUniform1i64NV( program: GLuint, @@ -447,7 +457,9 @@ export const def_glProgramUniform2i64NV = { result: "void", } as const; -let fn_glProgramUniform2i64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2i64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2i64NV +>; export function ProgramUniform2i64NV( program: GLuint, @@ -468,7 +480,9 @@ export const def_glProgramUniform3i64NV = { result: "void", } as const; -let fn_glProgramUniform3i64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3i64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3i64NV +>; export function ProgramUniform3i64NV( program: GLuint, @@ -491,7 +505,9 @@ export const def_glProgramUniform4i64NV = { result: "void", } as const; -let fn_glProgramUniform4i64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4i64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4i64NV +>; export function ProgramUniform4i64NV( program: GLuint, @@ -516,7 +532,9 @@ export const def_glProgramUniform1i64vNV = { result: "void", } as const; -let fn_glProgramUniform1i64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1i64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1i64vNV +>; export function ProgramUniform1i64vNV( program: GLuint, @@ -537,7 +555,9 @@ export const def_glProgramUniform2i64vNV = { result: "void", } as const; -let fn_glProgramUniform2i64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2i64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2i64vNV +>; export function ProgramUniform2i64vNV( program: GLuint, @@ -558,7 +578,9 @@ export const def_glProgramUniform3i64vNV = { result: "void", } as const; -let fn_glProgramUniform3i64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3i64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3i64vNV +>; export function ProgramUniform3i64vNV( program: GLuint, @@ -579,7 +601,9 @@ export const def_glProgramUniform4i64vNV = { result: "void", } as const; -let fn_glProgramUniform4i64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4i64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4i64vNV +>; export function ProgramUniform4i64vNV( program: GLuint, @@ -600,7 +624,9 @@ export const def_glProgramUniform1ui64NV = { result: "void", } as const; -let fn_glProgramUniform1ui64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui64NV +>; export function ProgramUniform1ui64NV( program: GLuint, @@ -619,7 +645,9 @@ export const def_glProgramUniform2ui64NV = { result: "void", } as const; -let fn_glProgramUniform2ui64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui64NV +>; export function ProgramUniform2ui64NV( program: GLuint, @@ -640,7 +668,9 @@ export const def_glProgramUniform3ui64NV = { result: "void", } as const; -let fn_glProgramUniform3ui64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui64NV +>; export function ProgramUniform3ui64NV( program: GLuint, @@ -663,7 +693,9 @@ export const def_glProgramUniform4ui64NV = { result: "void", } as const; -let fn_glProgramUniform4ui64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui64NV +>; export function ProgramUniform4ui64NV( program: GLuint, @@ -688,7 +720,9 @@ export const def_glProgramUniform1ui64vNV = { result: "void", } as const; -let fn_glProgramUniform1ui64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui64vNV +>; export function ProgramUniform1ui64vNV( program: GLuint, @@ -709,7 +743,9 @@ export const def_glProgramUniform2ui64vNV = { result: "void", } as const; -let fn_glProgramUniform2ui64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui64vNV +>; export function ProgramUniform2ui64vNV( program: GLuint, @@ -730,7 +766,9 @@ export const def_glProgramUniform3ui64vNV = { result: "void", } as const; -let fn_glProgramUniform3ui64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui64vNV +>; export function ProgramUniform3ui64vNV( program: GLuint, @@ -751,7 +789,9 @@ export const def_glProgramUniform4ui64vNV = { result: "void", } as const; -let fn_glProgramUniform4ui64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui64vNV +>; export function ProgramUniform4ui64vNV( program: GLuint, @@ -769,37 +809,136 @@ export function ProgramUniform4ui64vNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glUniform1i64NV = new Deno.UnsafeFnPointer(proc("glUniform1i64NV"), def_glUniform1i64NV); - fn_glUniform2i64NV = new Deno.UnsafeFnPointer(proc("glUniform2i64NV"), def_glUniform2i64NV); - fn_glUniform3i64NV = new Deno.UnsafeFnPointer(proc("glUniform3i64NV"), def_glUniform3i64NV); - fn_glUniform4i64NV = new Deno.UnsafeFnPointer(proc("glUniform4i64NV"), def_glUniform4i64NV); - fn_glUniform1i64vNV = new Deno.UnsafeFnPointer(proc("glUniform1i64vNV"), def_glUniform1i64vNV); - fn_glUniform2i64vNV = new Deno.UnsafeFnPointer(proc("glUniform2i64vNV"), def_glUniform2i64vNV); - fn_glUniform3i64vNV = new Deno.UnsafeFnPointer(proc("glUniform3i64vNV"), def_glUniform3i64vNV); - fn_glUniform4i64vNV = new Deno.UnsafeFnPointer(proc("glUniform4i64vNV"), def_glUniform4i64vNV); - fn_glUniform1ui64NV = new Deno.UnsafeFnPointer(proc("glUniform1ui64NV"), def_glUniform1ui64NV); - fn_glUniform2ui64NV = new Deno.UnsafeFnPointer(proc("glUniform2ui64NV"), def_glUniform2ui64NV); - fn_glUniform3ui64NV = new Deno.UnsafeFnPointer(proc("glUniform3ui64NV"), def_glUniform3ui64NV); - fn_glUniform4ui64NV = new Deno.UnsafeFnPointer(proc("glUniform4ui64NV"), def_glUniform4ui64NV); - fn_glUniform1ui64vNV = new Deno.UnsafeFnPointer(proc("glUniform1ui64vNV"), def_glUniform1ui64vNV); - fn_glUniform2ui64vNV = new Deno.UnsafeFnPointer(proc("glUniform2ui64vNV"), def_glUniform2ui64vNV); - fn_glUniform3ui64vNV = new Deno.UnsafeFnPointer(proc("glUniform3ui64vNV"), def_glUniform3ui64vNV); - fn_glUniform4ui64vNV = new Deno.UnsafeFnPointer(proc("glUniform4ui64vNV"), def_glUniform4ui64vNV); - fn_glGetUniformi64vNV = new Deno.UnsafeFnPointer(proc("glGetUniformi64vNV"), def_glGetUniformi64vNV); - fn_glProgramUniform1i64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform1i64NV"), def_glProgramUniform1i64NV); - fn_glProgramUniform2i64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform2i64NV"), def_glProgramUniform2i64NV); - fn_glProgramUniform3i64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform3i64NV"), def_glProgramUniform3i64NV); - fn_glProgramUniform4i64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform4i64NV"), def_glProgramUniform4i64NV); - fn_glProgramUniform1i64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform1i64vNV"), def_glProgramUniform1i64vNV); - fn_glProgramUniform2i64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform2i64vNV"), def_glProgramUniform2i64vNV); - fn_glProgramUniform3i64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform3i64vNV"), def_glProgramUniform3i64vNV); - fn_glProgramUniform4i64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform4i64vNV"), def_glProgramUniform4i64vNV); - fn_glProgramUniform1ui64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui64NV"), def_glProgramUniform1ui64NV); - fn_glProgramUniform2ui64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui64NV"), def_glProgramUniform2ui64NV); - fn_glProgramUniform3ui64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui64NV"), def_glProgramUniform3ui64NV); - fn_glProgramUniform4ui64NV = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui64NV"), def_glProgramUniform4ui64NV); - fn_glProgramUniform1ui64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui64vNV"), def_glProgramUniform1ui64vNV); - fn_glProgramUniform2ui64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui64vNV"), def_glProgramUniform2ui64vNV); - fn_glProgramUniform3ui64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui64vNV"), def_glProgramUniform3ui64vNV); - fn_glProgramUniform4ui64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui64vNV"), def_glProgramUniform4ui64vNV); + fn_glUniform1i64NV = new Deno.UnsafeFnPointer( + proc("glUniform1i64NV"), + def_glUniform1i64NV, + ); + fn_glUniform2i64NV = new Deno.UnsafeFnPointer( + proc("glUniform2i64NV"), + def_glUniform2i64NV, + ); + fn_glUniform3i64NV = new Deno.UnsafeFnPointer( + proc("glUniform3i64NV"), + def_glUniform3i64NV, + ); + fn_glUniform4i64NV = new Deno.UnsafeFnPointer( + proc("glUniform4i64NV"), + def_glUniform4i64NV, + ); + fn_glUniform1i64vNV = new Deno.UnsafeFnPointer( + proc("glUniform1i64vNV"), + def_glUniform1i64vNV, + ); + fn_glUniform2i64vNV = new Deno.UnsafeFnPointer( + proc("glUniform2i64vNV"), + def_glUniform2i64vNV, + ); + fn_glUniform3i64vNV = new Deno.UnsafeFnPointer( + proc("glUniform3i64vNV"), + def_glUniform3i64vNV, + ); + fn_glUniform4i64vNV = new Deno.UnsafeFnPointer( + proc("glUniform4i64vNV"), + def_glUniform4i64vNV, + ); + fn_glUniform1ui64NV = new Deno.UnsafeFnPointer( + proc("glUniform1ui64NV"), + def_glUniform1ui64NV, + ); + fn_glUniform2ui64NV = new Deno.UnsafeFnPointer( + proc("glUniform2ui64NV"), + def_glUniform2ui64NV, + ); + fn_glUniform3ui64NV = new Deno.UnsafeFnPointer( + proc("glUniform3ui64NV"), + def_glUniform3ui64NV, + ); + fn_glUniform4ui64NV = new Deno.UnsafeFnPointer( + proc("glUniform4ui64NV"), + def_glUniform4ui64NV, + ); + fn_glUniform1ui64vNV = new Deno.UnsafeFnPointer( + proc("glUniform1ui64vNV"), + def_glUniform1ui64vNV, + ); + fn_glUniform2ui64vNV = new Deno.UnsafeFnPointer( + proc("glUniform2ui64vNV"), + def_glUniform2ui64vNV, + ); + fn_glUniform3ui64vNV = new Deno.UnsafeFnPointer( + proc("glUniform3ui64vNV"), + def_glUniform3ui64vNV, + ); + fn_glUniform4ui64vNV = new Deno.UnsafeFnPointer( + proc("glUniform4ui64vNV"), + def_glUniform4ui64vNV, + ); + fn_glGetUniformi64vNV = new Deno.UnsafeFnPointer( + proc("glGetUniformi64vNV"), + def_glGetUniformi64vNV, + ); + fn_glProgramUniform1i64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i64NV"), + def_glProgramUniform1i64NV, + ); + fn_glProgramUniform2i64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i64NV"), + def_glProgramUniform2i64NV, + ); + fn_glProgramUniform3i64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i64NV"), + def_glProgramUniform3i64NV, + ); + fn_glProgramUniform4i64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i64NV"), + def_glProgramUniform4i64NV, + ); + fn_glProgramUniform1i64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i64vNV"), + def_glProgramUniform1i64vNV, + ); + fn_glProgramUniform2i64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i64vNV"), + def_glProgramUniform2i64vNV, + ); + fn_glProgramUniform3i64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i64vNV"), + def_glProgramUniform3i64vNV, + ); + fn_glProgramUniform4i64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i64vNV"), + def_glProgramUniform4i64vNV, + ); + fn_glProgramUniform1ui64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui64NV"), + def_glProgramUniform1ui64NV, + ); + fn_glProgramUniform2ui64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui64NV"), + def_glProgramUniform2ui64NV, + ); + fn_glProgramUniform3ui64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui64NV"), + def_glProgramUniform3ui64NV, + ); + fn_glProgramUniform4ui64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui64NV"), + def_glProgramUniform4ui64NV, + ); + fn_glProgramUniform1ui64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui64vNV"), + def_glProgramUniform1ui64vNV, + ); + fn_glProgramUniform2ui64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui64vNV"), + def_glProgramUniform2ui64vNV, + ); + fn_glProgramUniform3ui64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui64vNV"), + def_glProgramUniform3ui64vNV, + ); + fn_glProgramUniform4ui64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui64vNV"), + def_glProgramUniform4ui64vNV, + ); } diff --git a/api/ext/GL_NV_half_float.ts b/api/ext/GL_NV_half_float.ts index b69e2f9..eb1c9d8 100644 --- a/api/ext/GL_NV_half_float.ts +++ b/api/ext/GL_NV_half_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -407,7 +415,9 @@ export const def_glMultiTexCoord1hNV = { result: "void", } as const; -let fn_glMultiTexCoord1hNV!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1hNV!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1hNV +>; export function MultiTexCoord1hNV( target: GLenum, @@ -424,7 +434,9 @@ export const def_glMultiTexCoord1hvNV = { result: "void", } as const; -let fn_glMultiTexCoord1hvNV!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1hvNV!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1hvNV +>; export function MultiTexCoord1hvNV( target: GLenum, @@ -441,7 +453,9 @@ export const def_glMultiTexCoord2hNV = { result: "void", } as const; -let fn_glMultiTexCoord2hNV!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2hNV!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2hNV +>; export function MultiTexCoord2hNV( target: GLenum, @@ -460,7 +474,9 @@ export const def_glMultiTexCoord2hvNV = { result: "void", } as const; -let fn_glMultiTexCoord2hvNV!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2hvNV!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2hvNV +>; export function MultiTexCoord2hvNV( target: GLenum, @@ -477,7 +493,9 @@ export const def_glMultiTexCoord3hNV = { result: "void", } as const; -let fn_glMultiTexCoord3hNV!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3hNV!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3hNV +>; export function MultiTexCoord3hNV( target: GLenum, @@ -498,7 +516,9 @@ export const def_glMultiTexCoord3hvNV = { result: "void", } as const; -let fn_glMultiTexCoord3hvNV!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3hvNV!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3hvNV +>; export function MultiTexCoord3hvNV( target: GLenum, @@ -515,7 +535,9 @@ export const def_glMultiTexCoord4hNV = { result: "void", } as const; -let fn_glMultiTexCoord4hNV!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4hNV!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4hNV +>; export function MultiTexCoord4hNV( target: GLenum, @@ -538,7 +560,9 @@ export const def_glMultiTexCoord4hvNV = { result: "void", } as const; -let fn_glMultiTexCoord4hvNV!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4hvNV!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4hvNV +>; export function MultiTexCoord4hvNV( target: GLenum, @@ -585,7 +609,9 @@ export const def_glSecondaryColor3hNV = { result: "void", } as const; -let fn_glSecondaryColor3hNV!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3hNV!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3hNV +>; export function SecondaryColor3hNV( red: GLhalfNV, @@ -604,7 +630,9 @@ export const def_glSecondaryColor3hvNV = { result: "void", } as const; -let fn_glSecondaryColor3hvNV!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3hvNV!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3hvNV +>; export function SecondaryColor3hvNV( v: Buffer, @@ -666,7 +694,9 @@ export const def_glVertexAttrib1hvNV = { result: "void", } as const; -let fn_glVertexAttrib1hvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1hvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1hvNV +>; export function VertexAttrib1hvNV( index: GLuint, @@ -702,7 +732,9 @@ export const def_glVertexAttrib2hvNV = { result: "void", } as const; -let fn_glVertexAttrib2hvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2hvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2hvNV +>; export function VertexAttrib2hvNV( index: GLuint, @@ -740,7 +772,9 @@ export const def_glVertexAttrib3hvNV = { result: "void", } as const; -let fn_glVertexAttrib3hvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3hvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3hvNV +>; export function VertexAttrib3hvNV( index: GLuint, @@ -780,7 +814,9 @@ export const def_glVertexAttrib4hvNV = { result: "void", } as const; -let fn_glVertexAttrib4hvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4hvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4hvNV +>; export function VertexAttrib4hvNV( index: GLuint, @@ -797,7 +833,9 @@ export const def_glVertexAttribs1hvNV = { result: "void", } as const; -let fn_glVertexAttribs1hvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs1hvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs1hvNV +>; export function VertexAttribs1hvNV( index: GLuint, @@ -816,7 +854,9 @@ export const def_glVertexAttribs2hvNV = { result: "void", } as const; -let fn_glVertexAttribs2hvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs2hvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs2hvNV +>; export function VertexAttribs2hvNV( index: GLuint, @@ -835,7 +875,9 @@ export const def_glVertexAttribs3hvNV = { result: "void", } as const; -let fn_glVertexAttribs3hvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs3hvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs3hvNV +>; export function VertexAttribs3hvNV( index: GLuint, @@ -854,7 +896,9 @@ export const def_glVertexAttribs4hvNV = { result: "void", } as const; -let fn_glVertexAttribs4hvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs4hvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs4hvNV +>; export function VertexAttribs4hvNV( index: GLuint, @@ -870,50 +914,188 @@ export function VertexAttribs4hvNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertex2hNV = new Deno.UnsafeFnPointer(proc("glVertex2hNV"), def_glVertex2hNV); - fn_glVertex2hvNV = new Deno.UnsafeFnPointer(proc("glVertex2hvNV"), def_glVertex2hvNV); - fn_glVertex3hNV = new Deno.UnsafeFnPointer(proc("glVertex3hNV"), def_glVertex3hNV); - fn_glVertex3hvNV = new Deno.UnsafeFnPointer(proc("glVertex3hvNV"), def_glVertex3hvNV); - fn_glVertex4hNV = new Deno.UnsafeFnPointer(proc("glVertex4hNV"), def_glVertex4hNV); - fn_glVertex4hvNV = new Deno.UnsafeFnPointer(proc("glVertex4hvNV"), def_glVertex4hvNV); - fn_glNormal3hNV = new Deno.UnsafeFnPointer(proc("glNormal3hNV"), def_glNormal3hNV); - fn_glNormal3hvNV = new Deno.UnsafeFnPointer(proc("glNormal3hvNV"), def_glNormal3hvNV); - fn_glColor3hNV = new Deno.UnsafeFnPointer(proc("glColor3hNV"), def_glColor3hNV); - fn_glColor3hvNV = new Deno.UnsafeFnPointer(proc("glColor3hvNV"), def_glColor3hvNV); - fn_glColor4hNV = new Deno.UnsafeFnPointer(proc("glColor4hNV"), def_glColor4hNV); - fn_glColor4hvNV = new Deno.UnsafeFnPointer(proc("glColor4hvNV"), def_glColor4hvNV); - fn_glTexCoord1hNV = new Deno.UnsafeFnPointer(proc("glTexCoord1hNV"), def_glTexCoord1hNV); - fn_glTexCoord1hvNV = new Deno.UnsafeFnPointer(proc("glTexCoord1hvNV"), def_glTexCoord1hvNV); - fn_glTexCoord2hNV = new Deno.UnsafeFnPointer(proc("glTexCoord2hNV"), def_glTexCoord2hNV); - fn_glTexCoord2hvNV = new Deno.UnsafeFnPointer(proc("glTexCoord2hvNV"), def_glTexCoord2hvNV); - fn_glTexCoord3hNV = new Deno.UnsafeFnPointer(proc("glTexCoord3hNV"), def_glTexCoord3hNV); - fn_glTexCoord3hvNV = new Deno.UnsafeFnPointer(proc("glTexCoord3hvNV"), def_glTexCoord3hvNV); - fn_glTexCoord4hNV = new Deno.UnsafeFnPointer(proc("glTexCoord4hNV"), def_glTexCoord4hNV); - fn_glTexCoord4hvNV = new Deno.UnsafeFnPointer(proc("glTexCoord4hvNV"), def_glTexCoord4hvNV); - fn_glMultiTexCoord1hNV = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1hNV"), def_glMultiTexCoord1hNV); - fn_glMultiTexCoord1hvNV = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1hvNV"), def_glMultiTexCoord1hvNV); - fn_glMultiTexCoord2hNV = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2hNV"), def_glMultiTexCoord2hNV); - fn_glMultiTexCoord2hvNV = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2hvNV"), def_glMultiTexCoord2hvNV); - fn_glMultiTexCoord3hNV = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3hNV"), def_glMultiTexCoord3hNV); - fn_glMultiTexCoord3hvNV = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3hvNV"), def_glMultiTexCoord3hvNV); - fn_glMultiTexCoord4hNV = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4hNV"), def_glMultiTexCoord4hNV); - fn_glMultiTexCoord4hvNV = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4hvNV"), def_glMultiTexCoord4hvNV); - fn_glFogCoordhNV = new Deno.UnsafeFnPointer(proc("glFogCoordhNV"), def_glFogCoordhNV); - fn_glFogCoordhvNV = new Deno.UnsafeFnPointer(proc("glFogCoordhvNV"), def_glFogCoordhvNV); - fn_glSecondaryColor3hNV = new Deno.UnsafeFnPointer(proc("glSecondaryColor3hNV"), def_glSecondaryColor3hNV); - fn_glSecondaryColor3hvNV = new Deno.UnsafeFnPointer(proc("glSecondaryColor3hvNV"), def_glSecondaryColor3hvNV); - fn_glVertexWeighthNV = new Deno.UnsafeFnPointer(proc("glVertexWeighthNV"), def_glVertexWeighthNV); - fn_glVertexWeighthvNV = new Deno.UnsafeFnPointer(proc("glVertexWeighthvNV"), def_glVertexWeighthvNV); - fn_glVertexAttrib1hNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib1hNV"), def_glVertexAttrib1hNV); - fn_glVertexAttrib1hvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib1hvNV"), def_glVertexAttrib1hvNV); - fn_glVertexAttrib2hNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib2hNV"), def_glVertexAttrib2hNV); - fn_glVertexAttrib2hvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib2hvNV"), def_glVertexAttrib2hvNV); - fn_glVertexAttrib3hNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib3hNV"), def_glVertexAttrib3hNV); - fn_glVertexAttrib3hvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib3hvNV"), def_glVertexAttrib3hvNV); - fn_glVertexAttrib4hNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib4hNV"), def_glVertexAttrib4hNV); - fn_glVertexAttrib4hvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib4hvNV"), def_glVertexAttrib4hvNV); - fn_glVertexAttribs1hvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs1hvNV"), def_glVertexAttribs1hvNV); - fn_glVertexAttribs2hvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs2hvNV"), def_glVertexAttribs2hvNV); - fn_glVertexAttribs3hvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs3hvNV"), def_glVertexAttribs3hvNV); - fn_glVertexAttribs4hvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs4hvNV"), def_glVertexAttribs4hvNV); + fn_glVertex2hNV = new Deno.UnsafeFnPointer( + proc("glVertex2hNV"), + def_glVertex2hNV, + ); + fn_glVertex2hvNV = new Deno.UnsafeFnPointer( + proc("glVertex2hvNV"), + def_glVertex2hvNV, + ); + fn_glVertex3hNV = new Deno.UnsafeFnPointer( + proc("glVertex3hNV"), + def_glVertex3hNV, + ); + fn_glVertex3hvNV = new Deno.UnsafeFnPointer( + proc("glVertex3hvNV"), + def_glVertex3hvNV, + ); + fn_glVertex4hNV = new Deno.UnsafeFnPointer( + proc("glVertex4hNV"), + def_glVertex4hNV, + ); + fn_glVertex4hvNV = new Deno.UnsafeFnPointer( + proc("glVertex4hvNV"), + def_glVertex4hvNV, + ); + fn_glNormal3hNV = new Deno.UnsafeFnPointer( + proc("glNormal3hNV"), + def_glNormal3hNV, + ); + fn_glNormal3hvNV = new Deno.UnsafeFnPointer( + proc("glNormal3hvNV"), + def_glNormal3hvNV, + ); + fn_glColor3hNV = new Deno.UnsafeFnPointer( + proc("glColor3hNV"), + def_glColor3hNV, + ); + fn_glColor3hvNV = new Deno.UnsafeFnPointer( + proc("glColor3hvNV"), + def_glColor3hvNV, + ); + fn_glColor4hNV = new Deno.UnsafeFnPointer( + proc("glColor4hNV"), + def_glColor4hNV, + ); + fn_glColor4hvNV = new Deno.UnsafeFnPointer( + proc("glColor4hvNV"), + def_glColor4hvNV, + ); + fn_glTexCoord1hNV = new Deno.UnsafeFnPointer( + proc("glTexCoord1hNV"), + def_glTexCoord1hNV, + ); + fn_glTexCoord1hvNV = new Deno.UnsafeFnPointer( + proc("glTexCoord1hvNV"), + def_glTexCoord1hvNV, + ); + fn_glTexCoord2hNV = new Deno.UnsafeFnPointer( + proc("glTexCoord2hNV"), + def_glTexCoord2hNV, + ); + fn_glTexCoord2hvNV = new Deno.UnsafeFnPointer( + proc("glTexCoord2hvNV"), + def_glTexCoord2hvNV, + ); + fn_glTexCoord3hNV = new Deno.UnsafeFnPointer( + proc("glTexCoord3hNV"), + def_glTexCoord3hNV, + ); + fn_glTexCoord3hvNV = new Deno.UnsafeFnPointer( + proc("glTexCoord3hvNV"), + def_glTexCoord3hvNV, + ); + fn_glTexCoord4hNV = new Deno.UnsafeFnPointer( + proc("glTexCoord4hNV"), + def_glTexCoord4hNV, + ); + fn_glTexCoord4hvNV = new Deno.UnsafeFnPointer( + proc("glTexCoord4hvNV"), + def_glTexCoord4hvNV, + ); + fn_glMultiTexCoord1hNV = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1hNV"), + def_glMultiTexCoord1hNV, + ); + fn_glMultiTexCoord1hvNV = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1hvNV"), + def_glMultiTexCoord1hvNV, + ); + fn_glMultiTexCoord2hNV = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2hNV"), + def_glMultiTexCoord2hNV, + ); + fn_glMultiTexCoord2hvNV = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2hvNV"), + def_glMultiTexCoord2hvNV, + ); + fn_glMultiTexCoord3hNV = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3hNV"), + def_glMultiTexCoord3hNV, + ); + fn_glMultiTexCoord3hvNV = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3hvNV"), + def_glMultiTexCoord3hvNV, + ); + fn_glMultiTexCoord4hNV = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4hNV"), + def_glMultiTexCoord4hNV, + ); + fn_glMultiTexCoord4hvNV = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4hvNV"), + def_glMultiTexCoord4hvNV, + ); + fn_glFogCoordhNV = new Deno.UnsafeFnPointer( + proc("glFogCoordhNV"), + def_glFogCoordhNV, + ); + fn_glFogCoordhvNV = new Deno.UnsafeFnPointer( + proc("glFogCoordhvNV"), + def_glFogCoordhvNV, + ); + fn_glSecondaryColor3hNV = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3hNV"), + def_glSecondaryColor3hNV, + ); + fn_glSecondaryColor3hvNV = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3hvNV"), + def_glSecondaryColor3hvNV, + ); + fn_glVertexWeighthNV = new Deno.UnsafeFnPointer( + proc("glVertexWeighthNV"), + def_glVertexWeighthNV, + ); + fn_glVertexWeighthvNV = new Deno.UnsafeFnPointer( + proc("glVertexWeighthvNV"), + def_glVertexWeighthvNV, + ); + fn_glVertexAttrib1hNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1hNV"), + def_glVertexAttrib1hNV, + ); + fn_glVertexAttrib1hvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1hvNV"), + def_glVertexAttrib1hvNV, + ); + fn_glVertexAttrib2hNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2hNV"), + def_glVertexAttrib2hNV, + ); + fn_glVertexAttrib2hvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2hvNV"), + def_glVertexAttrib2hvNV, + ); + fn_glVertexAttrib3hNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3hNV"), + def_glVertexAttrib3hNV, + ); + fn_glVertexAttrib3hvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3hvNV"), + def_glVertexAttrib3hvNV, + ); + fn_glVertexAttrib4hNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4hNV"), + def_glVertexAttrib4hNV, + ); + fn_glVertexAttrib4hvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4hvNV"), + def_glVertexAttrib4hvNV, + ); + fn_glVertexAttribs1hvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs1hvNV"), + def_glVertexAttribs1hvNV, + ); + fn_glVertexAttribs2hvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs2hvNV"), + def_glVertexAttribs2hvNV, + ); + fn_glVertexAttribs3hvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs3hvNV"), + def_glVertexAttribs3hvNV, + ); + fn_glVertexAttribs4hvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs4hvNV"), + def_glVertexAttribs4hvNV, + ); } diff --git a/api/ext/GL_NV_image_formats.ts b/api/ext/GL_NV_image_formats.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_image_formats.ts +++ b/api/ext/GL_NV_image_formats.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_instanced_arrays.ts b/api/ext/GL_NV_instanced_arrays.ts index f2ae753..daca80e 100644 --- a/api/ext/GL_NV_instanced_arrays.ts +++ b/api/ext/GL_NV_instanced_arrays.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glVertexAttribDivisorNV = { result: "void", } as const; -let fn_glVertexAttribDivisorNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisorNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisorNV +>; export function VertexAttribDivisorNV( index: GLuint, @@ -83,5 +93,8 @@ export function VertexAttribDivisorNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexAttribDivisorNV = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisorNV"), def_glVertexAttribDivisorNV); + fn_glVertexAttribDivisorNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisorNV"), + def_glVertexAttribDivisorNV, + ); } diff --git a/api/ext/GL_NV_internalformat_sample_query.ts b/api/ext/GL_NV_internalformat_sample_query.ts index 3e55934..48ec8d2 100644 --- a/api/ext/GL_NV_internalformat_sample_query.ts +++ b/api/ext/GL_NV_internalformat_sample_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,7 +83,9 @@ export const def_glGetInternalformatSampleivNV = { result: "void", } as const; -let fn_glGetInternalformatSampleivNV!: Deno.UnsafeFnPointer; +let fn_glGetInternalformatSampleivNV!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformatSampleivNV +>; export function GetInternalformatSampleivNV( target: GLenum, @@ -97,5 +107,8 @@ export function GetInternalformatSampleivNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetInternalformatSampleivNV = new Deno.UnsafeFnPointer(proc("glGetInternalformatSampleivNV"), def_glGetInternalformatSampleivNV); + fn_glGetInternalformatSampleivNV = new Deno.UnsafeFnPointer( + proc("glGetInternalformatSampleivNV"), + def_glGetInternalformatSampleivNV, + ); } diff --git a/api/ext/GL_NV_light_max_exponent.ts b/api/ext/GL_NV_light_max_exponent.ts index 5c46211..c4015d8 100644 --- a/api/ext/GL_NV_light_max_exponent.ts +++ b/api/ext/GL_NV_light_max_exponent.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_memory_attachment.ts b/api/ext/GL_NV_memory_attachment.ts index d09ca8c..1773564 100644 --- a/api/ext/GL_NV_memory_attachment.ts +++ b/api/ext/GL_NV_memory_attachment.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -78,7 +86,9 @@ export const def_glGetMemoryObjectDetachedResourcesuivNV = { result: "void", } as const; -let fn_glGetMemoryObjectDetachedResourcesuivNV!: Deno.UnsafeFnPointer; +let fn_glGetMemoryObjectDetachedResourcesuivNV!: Deno.UnsafeFnPointer< + typeof def_glGetMemoryObjectDetachedResourcesuivNV +>; export function GetMemoryObjectDetachedResourcesuivNV( memory: GLuint, @@ -101,7 +111,9 @@ export const def_glResetMemoryObjectParameterNV = { result: "void", } as const; -let fn_glResetMemoryObjectParameterNV!: Deno.UnsafeFnPointer; +let fn_glResetMemoryObjectParameterNV!: Deno.UnsafeFnPointer< + typeof def_glResetMemoryObjectParameterNV +>; export function ResetMemoryObjectParameterNV( memory: GLuint, @@ -118,7 +130,9 @@ export const def_glTexAttachMemoryNV = { result: "void", } as const; -let fn_glTexAttachMemoryNV!: Deno.UnsafeFnPointer; +let fn_glTexAttachMemoryNV!: Deno.UnsafeFnPointer< + typeof def_glTexAttachMemoryNV +>; export function TexAttachMemoryNV( target: GLenum, @@ -137,7 +151,9 @@ export const def_glBufferAttachMemoryNV = { result: "void", } as const; -let fn_glBufferAttachMemoryNV!: Deno.UnsafeFnPointer; +let fn_glBufferAttachMemoryNV!: Deno.UnsafeFnPointer< + typeof def_glBufferAttachMemoryNV +>; export function BufferAttachMemoryNV( target: GLenum, @@ -156,7 +172,9 @@ export const def_glTextureAttachMemoryNV = { result: "void", } as const; -let fn_glTextureAttachMemoryNV!: Deno.UnsafeFnPointer; +let fn_glTextureAttachMemoryNV!: Deno.UnsafeFnPointer< + typeof def_glTextureAttachMemoryNV +>; export function TextureAttachMemoryNV( texture: GLuint, @@ -175,7 +193,9 @@ export const def_glNamedBufferAttachMemoryNV = { result: "void", } as const; -let fn_glNamedBufferAttachMemoryNV!: Deno.UnsafeFnPointer; +let fn_glNamedBufferAttachMemoryNV!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferAttachMemoryNV +>; export function NamedBufferAttachMemoryNV( buffer: GLuint, @@ -191,10 +211,28 @@ export function NamedBufferAttachMemoryNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetMemoryObjectDetachedResourcesuivNV = new Deno.UnsafeFnPointer(proc("glGetMemoryObjectDetachedResourcesuivNV"), def_glGetMemoryObjectDetachedResourcesuivNV); - fn_glResetMemoryObjectParameterNV = new Deno.UnsafeFnPointer(proc("glResetMemoryObjectParameterNV"), def_glResetMemoryObjectParameterNV); - fn_glTexAttachMemoryNV = new Deno.UnsafeFnPointer(proc("glTexAttachMemoryNV"), def_glTexAttachMemoryNV); - fn_glBufferAttachMemoryNV = new Deno.UnsafeFnPointer(proc("glBufferAttachMemoryNV"), def_glBufferAttachMemoryNV); - fn_glTextureAttachMemoryNV = new Deno.UnsafeFnPointer(proc("glTextureAttachMemoryNV"), def_glTextureAttachMemoryNV); - fn_glNamedBufferAttachMemoryNV = new Deno.UnsafeFnPointer(proc("glNamedBufferAttachMemoryNV"), def_glNamedBufferAttachMemoryNV); + fn_glGetMemoryObjectDetachedResourcesuivNV = new Deno.UnsafeFnPointer( + proc("glGetMemoryObjectDetachedResourcesuivNV"), + def_glGetMemoryObjectDetachedResourcesuivNV, + ); + fn_glResetMemoryObjectParameterNV = new Deno.UnsafeFnPointer( + proc("glResetMemoryObjectParameterNV"), + def_glResetMemoryObjectParameterNV, + ); + fn_glTexAttachMemoryNV = new Deno.UnsafeFnPointer( + proc("glTexAttachMemoryNV"), + def_glTexAttachMemoryNV, + ); + fn_glBufferAttachMemoryNV = new Deno.UnsafeFnPointer( + proc("glBufferAttachMemoryNV"), + def_glBufferAttachMemoryNV, + ); + fn_glTextureAttachMemoryNV = new Deno.UnsafeFnPointer( + proc("glTextureAttachMemoryNV"), + def_glTextureAttachMemoryNV, + ); + fn_glNamedBufferAttachMemoryNV = new Deno.UnsafeFnPointer( + proc("glNamedBufferAttachMemoryNV"), + def_glNamedBufferAttachMemoryNV, + ); } diff --git a/api/ext/GL_NV_memory_object_sparse.ts b/api/ext/GL_NV_memory_object_sparse.ts index aea3c88..654793d 100644 --- a/api/ext/GL_NV_memory_object_sparse.ts +++ b/api/ext/GL_NV_memory_object_sparse.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glBufferPageCommitmentMemNV = { result: "void", } as const; -let fn_glBufferPageCommitmentMemNV!: Deno.UnsafeFnPointer; +let fn_glBufferPageCommitmentMemNV!: Deno.UnsafeFnPointer< + typeof def_glBufferPageCommitmentMemNV +>; export function BufferPageCommitmentMemNV( target: GLenum, @@ -87,11 +97,26 @@ export function BufferPageCommitmentMemNV( } export const def_glTexPageCommitmentMemNV = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u64", "u8"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u64", + "u8", + ], result: "void", } as const; -let fn_glTexPageCommitmentMemNV!: Deno.UnsafeFnPointer; +let fn_glTexPageCommitmentMemNV!: Deno.UnsafeFnPointer< + typeof def_glTexPageCommitmentMemNV +>; export function TexPageCommitmentMemNV( target: GLenum, @@ -128,7 +153,9 @@ export const def_glNamedBufferPageCommitmentMemNV = { result: "void", } as const; -let fn_glNamedBufferPageCommitmentMemNV!: Deno.UnsafeFnPointer; +let fn_glNamedBufferPageCommitmentMemNV!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferPageCommitmentMemNV +>; export function NamedBufferPageCommitmentMemNV( buffer: GLuint, @@ -149,11 +176,26 @@ export function NamedBufferPageCommitmentMemNV( } export const def_glTexturePageCommitmentMemNV = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u64", "u8"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u64", + "u8", + ], result: "void", } as const; -let fn_glTexturePageCommitmentMemNV!: Deno.UnsafeFnPointer; +let fn_glTexturePageCommitmentMemNV!: Deno.UnsafeFnPointer< + typeof def_glTexturePageCommitmentMemNV +>; export function TexturePageCommitmentMemNV( texture: GLuint, @@ -187,8 +229,20 @@ export function TexturePageCommitmentMemNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBufferPageCommitmentMemNV = new Deno.UnsafeFnPointer(proc("glBufferPageCommitmentMemNV"), def_glBufferPageCommitmentMemNV); - fn_glTexPageCommitmentMemNV = new Deno.UnsafeFnPointer(proc("glTexPageCommitmentMemNV"), def_glTexPageCommitmentMemNV); - fn_glNamedBufferPageCommitmentMemNV = new Deno.UnsafeFnPointer(proc("glNamedBufferPageCommitmentMemNV"), def_glNamedBufferPageCommitmentMemNV); - fn_glTexturePageCommitmentMemNV = new Deno.UnsafeFnPointer(proc("glTexturePageCommitmentMemNV"), def_glTexturePageCommitmentMemNV); + fn_glBufferPageCommitmentMemNV = new Deno.UnsafeFnPointer( + proc("glBufferPageCommitmentMemNV"), + def_glBufferPageCommitmentMemNV, + ); + fn_glTexPageCommitmentMemNV = new Deno.UnsafeFnPointer( + proc("glTexPageCommitmentMemNV"), + def_glTexPageCommitmentMemNV, + ); + fn_glNamedBufferPageCommitmentMemNV = new Deno.UnsafeFnPointer( + proc("glNamedBufferPageCommitmentMemNV"), + def_glNamedBufferPageCommitmentMemNV, + ); + fn_glTexturePageCommitmentMemNV = new Deno.UnsafeFnPointer( + proc("glTexturePageCommitmentMemNV"), + def_glTexturePageCommitmentMemNV, + ); } diff --git a/api/ext/GL_NV_mesh_shader.ts b/api/ext/GL_NV_mesh_shader.ts index f9bc06a..c10aa1b 100644 --- a/api/ext/GL_NV_mesh_shader.ts +++ b/api/ext/GL_NV_mesh_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -133,7 +141,9 @@ export const def_glDrawMeshTasksIndirectNV = { result: "void", } as const; -let fn_glDrawMeshTasksIndirectNV!: Deno.UnsafeFnPointer; +let fn_glDrawMeshTasksIndirectNV!: Deno.UnsafeFnPointer< + typeof def_glDrawMeshTasksIndirectNV +>; export function DrawMeshTasksIndirectNV( indirect: GLintptr, @@ -148,7 +158,9 @@ export const def_glMultiDrawMeshTasksIndirectNV = { result: "void", } as const; -let fn_glMultiDrawMeshTasksIndirectNV!: Deno.UnsafeFnPointer; +let fn_glMultiDrawMeshTasksIndirectNV!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawMeshTasksIndirectNV +>; export function MultiDrawMeshTasksIndirectNV( indirect: GLintptr, @@ -167,7 +179,9 @@ export const def_glMultiDrawMeshTasksIndirectCountNV = { result: "void", } as const; -let fn_glMultiDrawMeshTasksIndirectCountNV!: Deno.UnsafeFnPointer; +let fn_glMultiDrawMeshTasksIndirectCountNV!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawMeshTasksIndirectCountNV +>; export function MultiDrawMeshTasksIndirectCountNV( indirect: GLintptr, @@ -185,8 +199,20 @@ export function MultiDrawMeshTasksIndirectCountNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawMeshTasksNV = new Deno.UnsafeFnPointer(proc("glDrawMeshTasksNV"), def_glDrawMeshTasksNV); - fn_glDrawMeshTasksIndirectNV = new Deno.UnsafeFnPointer(proc("glDrawMeshTasksIndirectNV"), def_glDrawMeshTasksIndirectNV); - fn_glMultiDrawMeshTasksIndirectNV = new Deno.UnsafeFnPointer(proc("glMultiDrawMeshTasksIndirectNV"), def_glMultiDrawMeshTasksIndirectNV); - fn_glMultiDrawMeshTasksIndirectCountNV = new Deno.UnsafeFnPointer(proc("glMultiDrawMeshTasksIndirectCountNV"), def_glMultiDrawMeshTasksIndirectCountNV); + fn_glDrawMeshTasksNV = new Deno.UnsafeFnPointer( + proc("glDrawMeshTasksNV"), + def_glDrawMeshTasksNV, + ); + fn_glDrawMeshTasksIndirectNV = new Deno.UnsafeFnPointer( + proc("glDrawMeshTasksIndirectNV"), + def_glDrawMeshTasksIndirectNV, + ); + fn_glMultiDrawMeshTasksIndirectNV = new Deno.UnsafeFnPointer( + proc("glMultiDrawMeshTasksIndirectNV"), + def_glMultiDrawMeshTasksIndirectNV, + ); + fn_glMultiDrawMeshTasksIndirectCountNV = new Deno.UnsafeFnPointer( + proc("glMultiDrawMeshTasksIndirectCountNV"), + def_glMultiDrawMeshTasksIndirectCountNV, + ); } diff --git a/api/ext/GL_NV_multisample_coverage.ts b/api/ext/GL_NV_multisample_coverage.ts index a635610..72d3b42 100644 --- a/api/ext/GL_NV_multisample_coverage.ts +++ b/api/ext/GL_NV_multisample_coverage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_multisample_filter_hint.ts b/api/ext/GL_NV_multisample_filter_hint.ts index 63b4349..7726cd7 100644 --- a/api/ext/GL_NV_multisample_filter_hint.ts +++ b/api/ext/GL_NV_multisample_filter_hint.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_non_square_matrices.ts b/api/ext/GL_NV_non_square_matrices.ts index ac2aebd..662c52f 100644 --- a/api/ext/GL_NV_non_square_matrices.ts +++ b/api/ext/GL_NV_non_square_matrices.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,7 +82,9 @@ export const def_glUniformMatrix2x3fvNV = { result: "void", } as const; -let fn_glUniformMatrix2x3fvNV!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fvNV!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fvNV +>; export function UniformMatrix2x3fvNV( location: GLint, @@ -95,7 +105,9 @@ export const def_glUniformMatrix3x2fvNV = { result: "void", } as const; -let fn_glUniformMatrix3x2fvNV!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fvNV!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fvNV +>; export function UniformMatrix3x2fvNV( location: GLint, @@ -116,7 +128,9 @@ export const def_glUniformMatrix2x4fvNV = { result: "void", } as const; -let fn_glUniformMatrix2x4fvNV!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fvNV!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fvNV +>; export function UniformMatrix2x4fvNV( location: GLint, @@ -137,7 +151,9 @@ export const def_glUniformMatrix4x2fvNV = { result: "void", } as const; -let fn_glUniformMatrix4x2fvNV!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fvNV!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fvNV +>; export function UniformMatrix4x2fvNV( location: GLint, @@ -158,7 +174,9 @@ export const def_glUniformMatrix3x4fvNV = { result: "void", } as const; -let fn_glUniformMatrix3x4fvNV!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fvNV!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fvNV +>; export function UniformMatrix3x4fvNV( location: GLint, @@ -179,7 +197,9 @@ export const def_glUniformMatrix4x3fvNV = { result: "void", } as const; -let fn_glUniformMatrix4x3fvNV!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fvNV!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fvNV +>; export function UniformMatrix4x3fvNV( location: GLint, @@ -197,10 +217,28 @@ export function UniformMatrix4x3fvNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glUniformMatrix2x3fvNV = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fvNV"), def_glUniformMatrix2x3fvNV); - fn_glUniformMatrix3x2fvNV = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fvNV"), def_glUniformMatrix3x2fvNV); - fn_glUniformMatrix2x4fvNV = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fvNV"), def_glUniformMatrix2x4fvNV); - fn_glUniformMatrix4x2fvNV = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fvNV"), def_glUniformMatrix4x2fvNV); - fn_glUniformMatrix3x4fvNV = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fvNV"), def_glUniformMatrix3x4fvNV); - fn_glUniformMatrix4x3fvNV = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fvNV"), def_glUniformMatrix4x3fvNV); + fn_glUniformMatrix2x3fvNV = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fvNV"), + def_glUniformMatrix2x3fvNV, + ); + fn_glUniformMatrix3x2fvNV = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fvNV"), + def_glUniformMatrix3x2fvNV, + ); + fn_glUniformMatrix2x4fvNV = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fvNV"), + def_glUniformMatrix2x4fvNV, + ); + fn_glUniformMatrix4x2fvNV = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fvNV"), + def_glUniformMatrix4x2fvNV, + ); + fn_glUniformMatrix3x4fvNV = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fvNV"), + def_glUniformMatrix3x4fvNV, + ); + fn_glUniformMatrix4x3fvNV = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fvNV"), + def_glUniformMatrix4x3fvNV, + ); } diff --git a/api/ext/GL_NV_occlusion_query.ts b/api/ext/GL_NV_occlusion_query.ts index ef36a07..abe01bd 100644 --- a/api/ext/GL_NV_occlusion_query.ts +++ b/api/ext/GL_NV_occlusion_query.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glGenOcclusionQueriesNV = { result: "void", } as const; -let fn_glGenOcclusionQueriesNV!: Deno.UnsafeFnPointer; +let fn_glGenOcclusionQueriesNV!: Deno.UnsafeFnPointer< + typeof def_glGenOcclusionQueriesNV +>; export function GenOcclusionQueriesNV( n: GLsizei, @@ -89,7 +99,9 @@ export const def_glDeleteOcclusionQueriesNV = { result: "void", } as const; -let fn_glDeleteOcclusionQueriesNV!: Deno.UnsafeFnPointer; +let fn_glDeleteOcclusionQueriesNV!: Deno.UnsafeFnPointer< + typeof def_glDeleteOcclusionQueriesNV +>; export function DeleteOcclusionQueriesNV( n: GLsizei, @@ -106,7 +118,9 @@ export const def_glIsOcclusionQueryNV = { result: "u8", } as const; -let fn_glIsOcclusionQueryNV!: Deno.UnsafeFnPointer; +let fn_glIsOcclusionQueryNV!: Deno.UnsafeFnPointer< + typeof def_glIsOcclusionQueryNV +>; export function IsOcclusionQueryNV( id: GLuint, @@ -121,7 +135,9 @@ export const def_glBeginOcclusionQueryNV = { result: "void", } as const; -let fn_glBeginOcclusionQueryNV!: Deno.UnsafeFnPointer; +let fn_glBeginOcclusionQueryNV!: Deno.UnsafeFnPointer< + typeof def_glBeginOcclusionQueryNV +>; export function BeginOcclusionQueryNV( id: GLuint, @@ -136,7 +152,9 @@ export const def_glEndOcclusionQueryNV = { result: "void", } as const; -let fn_glEndOcclusionQueryNV!: Deno.UnsafeFnPointer; +let fn_glEndOcclusionQueryNV!: Deno.UnsafeFnPointer< + typeof def_glEndOcclusionQueryNV +>; export function EndOcclusionQueryNV(): void { fn_glEndOcclusionQueryNV.call(); @@ -147,7 +165,9 @@ export const def_glGetOcclusionQueryivNV = { result: "void", } as const; -let fn_glGetOcclusionQueryivNV!: Deno.UnsafeFnPointer; +let fn_glGetOcclusionQueryivNV!: Deno.UnsafeFnPointer< + typeof def_glGetOcclusionQueryivNV +>; export function GetOcclusionQueryivNV( id: GLuint, @@ -166,7 +186,9 @@ export const def_glGetOcclusionQueryuivNV = { result: "void", } as const; -let fn_glGetOcclusionQueryuivNV!: Deno.UnsafeFnPointer; +let fn_glGetOcclusionQueryuivNV!: Deno.UnsafeFnPointer< + typeof def_glGetOcclusionQueryuivNV +>; export function GetOcclusionQueryuivNV( id: GLuint, @@ -182,11 +204,32 @@ export function GetOcclusionQueryuivNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGenOcclusionQueriesNV = new Deno.UnsafeFnPointer(proc("glGenOcclusionQueriesNV"), def_glGenOcclusionQueriesNV); - fn_glDeleteOcclusionQueriesNV = new Deno.UnsafeFnPointer(proc("glDeleteOcclusionQueriesNV"), def_glDeleteOcclusionQueriesNV); - fn_glIsOcclusionQueryNV = new Deno.UnsafeFnPointer(proc("glIsOcclusionQueryNV"), def_glIsOcclusionQueryNV); - fn_glBeginOcclusionQueryNV = new Deno.UnsafeFnPointer(proc("glBeginOcclusionQueryNV"), def_glBeginOcclusionQueryNV); - fn_glEndOcclusionQueryNV = new Deno.UnsafeFnPointer(proc("glEndOcclusionQueryNV"), def_glEndOcclusionQueryNV); - fn_glGetOcclusionQueryivNV = new Deno.UnsafeFnPointer(proc("glGetOcclusionQueryivNV"), def_glGetOcclusionQueryivNV); - fn_glGetOcclusionQueryuivNV = new Deno.UnsafeFnPointer(proc("glGetOcclusionQueryuivNV"), def_glGetOcclusionQueryuivNV); + fn_glGenOcclusionQueriesNV = new Deno.UnsafeFnPointer( + proc("glGenOcclusionQueriesNV"), + def_glGenOcclusionQueriesNV, + ); + fn_glDeleteOcclusionQueriesNV = new Deno.UnsafeFnPointer( + proc("glDeleteOcclusionQueriesNV"), + def_glDeleteOcclusionQueriesNV, + ); + fn_glIsOcclusionQueryNV = new Deno.UnsafeFnPointer( + proc("glIsOcclusionQueryNV"), + def_glIsOcclusionQueryNV, + ); + fn_glBeginOcclusionQueryNV = new Deno.UnsafeFnPointer( + proc("glBeginOcclusionQueryNV"), + def_glBeginOcclusionQueryNV, + ); + fn_glEndOcclusionQueryNV = new Deno.UnsafeFnPointer( + proc("glEndOcclusionQueryNV"), + def_glEndOcclusionQueryNV, + ); + fn_glGetOcclusionQueryivNV = new Deno.UnsafeFnPointer( + proc("glGetOcclusionQueryivNV"), + def_glGetOcclusionQueryivNV, + ); + fn_glGetOcclusionQueryuivNV = new Deno.UnsafeFnPointer( + proc("glGetOcclusionQueryuivNV"), + def_glGetOcclusionQueryuivNV, + ); } diff --git a/api/ext/GL_NV_packed_depth_stencil.ts b/api/ext/GL_NV_packed_depth_stencil.ts index 74dc6d4..d104777 100644 --- a/api/ext/GL_NV_packed_depth_stencil.ts +++ b/api/ext/GL_NV_packed_depth_stencil.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_parameter_buffer_object.ts b/api/ext/GL_NV_parameter_buffer_object.ts index a51f88a..a9b1e0c 100644 --- a/api/ext/GL_NV_parameter_buffer_object.ts +++ b/api/ext/GL_NV_parameter_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -73,7 +81,9 @@ export const def_glProgramBufferParametersfvNV = { result: "void", } as const; -let fn_glProgramBufferParametersfvNV!: Deno.UnsafeFnPointer; +let fn_glProgramBufferParametersfvNV!: Deno.UnsafeFnPointer< + typeof def_glProgramBufferParametersfvNV +>; export function ProgramBufferParametersfvNV( target: GLenum, @@ -96,7 +106,9 @@ export const def_glProgramBufferParametersIivNV = { result: "void", } as const; -let fn_glProgramBufferParametersIivNV!: Deno.UnsafeFnPointer; +let fn_glProgramBufferParametersIivNV!: Deno.UnsafeFnPointer< + typeof def_glProgramBufferParametersIivNV +>; export function ProgramBufferParametersIivNV( target: GLenum, @@ -119,7 +131,9 @@ export const def_glProgramBufferParametersIuivNV = { result: "void", } as const; -let fn_glProgramBufferParametersIuivNV!: Deno.UnsafeFnPointer; +let fn_glProgramBufferParametersIuivNV!: Deno.UnsafeFnPointer< + typeof def_glProgramBufferParametersIuivNV +>; export function ProgramBufferParametersIuivNV( target: GLenum, @@ -139,7 +153,16 @@ export function ProgramBufferParametersIuivNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glProgramBufferParametersfvNV = new Deno.UnsafeFnPointer(proc("glProgramBufferParametersfvNV"), def_glProgramBufferParametersfvNV); - fn_glProgramBufferParametersIivNV = new Deno.UnsafeFnPointer(proc("glProgramBufferParametersIivNV"), def_glProgramBufferParametersIivNV); - fn_glProgramBufferParametersIuivNV = new Deno.UnsafeFnPointer(proc("glProgramBufferParametersIuivNV"), def_glProgramBufferParametersIuivNV); + fn_glProgramBufferParametersfvNV = new Deno.UnsafeFnPointer( + proc("glProgramBufferParametersfvNV"), + def_glProgramBufferParametersfvNV, + ); + fn_glProgramBufferParametersIivNV = new Deno.UnsafeFnPointer( + proc("glProgramBufferParametersIivNV"), + def_glProgramBufferParametersIivNV, + ); + fn_glProgramBufferParametersIuivNV = new Deno.UnsafeFnPointer( + proc("glProgramBufferParametersIuivNV"), + def_glProgramBufferParametersIuivNV, + ); } diff --git a/api/ext/GL_NV_parameter_buffer_object2.ts b/api/ext/GL_NV_parameter_buffer_object2.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_parameter_buffer_object2.ts +++ b/api/ext/GL_NV_parameter_buffer_object2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_path_rendering.ts b/api/ext/GL_NV_path_rendering.ts index bb68249..25f4d5a 100644 --- a/api/ext/GL_NV_path_rendering.ts +++ b/api/ext/GL_NV_path_rendering.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -325,7 +333,9 @@ export const def_glPathSubCommandsNV = { result: "void", } as const; -let fn_glPathSubCommandsNV!: Deno.UnsafeFnPointer; +let fn_glPathSubCommandsNV!: Deno.UnsafeFnPointer< + typeof def_glPathSubCommandsNV +>; export function PathSubCommandsNV( path: GLuint, @@ -394,7 +404,18 @@ export function PathStringNV( } export const def_glPathGlyphsNV = { - parameters: ["u32", "u32", "buffer", "u32", "i32", "u32", "buffer", "u32", "u32", "f32"], + parameters: [ + "u32", + "u32", + "buffer", + "u32", + "i32", + "u32", + "buffer", + "u32", + "u32", + "f32", + ], result: "void", } as const; @@ -427,7 +448,17 @@ export function PathGlyphsNV( } export const def_glPathGlyphRangeNV = { - parameters: ["u32", "u32", "buffer", "u32", "u32", "i32", "u32", "u32", "f32"], + parameters: [ + "u32", + "u32", + "buffer", + "u32", + "u32", + "i32", + "u32", + "u32", + "f32", + ], result: "void", } as const; @@ -500,7 +531,9 @@ export const def_glInterpolatePathsNV = { result: "void", } as const; -let fn_glInterpolatePathsNV!: Deno.UnsafeFnPointer; +let fn_glInterpolatePathsNV!: Deno.UnsafeFnPointer< + typeof def_glInterpolatePathsNV +>; export function InterpolatePathsNV( resultPath: GLuint, @@ -542,7 +575,9 @@ export const def_glPathParameterivNV = { result: "void", } as const; -let fn_glPathParameterivNV!: Deno.UnsafeFnPointer; +let fn_glPathParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glPathParameterivNV +>; export function PathParameterivNV( path: GLuint, @@ -580,7 +615,9 @@ export const def_glPathParameterfvNV = { result: "void", } as const; -let fn_glPathParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glPathParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glPathParameterfvNV +>; export function PathParameterfvNV( path: GLuint, @@ -637,7 +674,9 @@ export const def_glPathStencilFuncNV = { result: "void", } as const; -let fn_glPathStencilFuncNV!: Deno.UnsafeFnPointer; +let fn_glPathStencilFuncNV!: Deno.UnsafeFnPointer< + typeof def_glPathStencilFuncNV +>; export function PathStencilFuncNV( func: GLenum, @@ -656,7 +695,9 @@ export const def_glPathStencilDepthOffsetNV = { result: "void", } as const; -let fn_glPathStencilDepthOffsetNV!: Deno.UnsafeFnPointer; +let fn_glPathStencilDepthOffsetNV!: Deno.UnsafeFnPointer< + typeof def_glPathStencilDepthOffsetNV +>; export function PathStencilDepthOffsetNV( factor: GLfloat, @@ -673,7 +714,9 @@ export const def_glStencilFillPathNV = { result: "void", } as const; -let fn_glStencilFillPathNV!: Deno.UnsafeFnPointer; +let fn_glStencilFillPathNV!: Deno.UnsafeFnPointer< + typeof def_glStencilFillPathNV +>; export function StencilFillPathNV( path: GLuint, @@ -692,7 +735,9 @@ export const def_glStencilStrokePathNV = { result: "void", } as const; -let fn_glStencilStrokePathNV!: Deno.UnsafeFnPointer; +let fn_glStencilStrokePathNV!: Deno.UnsafeFnPointer< + typeof def_glStencilStrokePathNV +>; export function StencilStrokePathNV( path: GLuint, @@ -711,7 +756,9 @@ export const def_glStencilFillPathInstancedNV = { result: "void", } as const; -let fn_glStencilFillPathInstancedNV!: Deno.UnsafeFnPointer; +let fn_glStencilFillPathInstancedNV!: Deno.UnsafeFnPointer< + typeof def_glStencilFillPathInstancedNV +>; export function StencilFillPathInstancedNV( numPaths: GLsizei, @@ -740,7 +787,9 @@ export const def_glStencilStrokePathInstancedNV = { result: "void", } as const; -let fn_glStencilStrokePathInstancedNV!: Deno.UnsafeFnPointer; +let fn_glStencilStrokePathInstancedNV!: Deno.UnsafeFnPointer< + typeof def_glStencilStrokePathInstancedNV +>; export function StencilStrokePathInstancedNV( numPaths: GLsizei, @@ -769,7 +818,9 @@ export const def_glPathCoverDepthFuncNV = { result: "void", } as const; -let fn_glPathCoverDepthFuncNV!: Deno.UnsafeFnPointer; +let fn_glPathCoverDepthFuncNV!: Deno.UnsafeFnPointer< + typeof def_glPathCoverDepthFuncNV +>; export function PathCoverDepthFuncNV( func: GLenum, @@ -801,7 +852,9 @@ export const def_glCoverStrokePathNV = { result: "void", } as const; -let fn_glCoverStrokePathNV!: Deno.UnsafeFnPointer; +let fn_glCoverStrokePathNV!: Deno.UnsafeFnPointer< + typeof def_glCoverStrokePathNV +>; export function CoverStrokePathNV( path: GLuint, @@ -818,7 +871,9 @@ export const def_glCoverFillPathInstancedNV = { result: "void", } as const; -let fn_glCoverFillPathInstancedNV!: Deno.UnsafeFnPointer; +let fn_glCoverFillPathInstancedNV!: Deno.UnsafeFnPointer< + typeof def_glCoverFillPathInstancedNV +>; export function CoverFillPathInstancedNV( numPaths: GLsizei, @@ -845,7 +900,9 @@ export const def_glCoverStrokePathInstancedNV = { result: "void", } as const; -let fn_glCoverStrokePathInstancedNV!: Deno.UnsafeFnPointer; +let fn_glCoverStrokePathInstancedNV!: Deno.UnsafeFnPointer< + typeof def_glCoverStrokePathInstancedNV +>; export function CoverStrokePathInstancedNV( numPaths: GLsizei, @@ -872,7 +929,9 @@ export const def_glGetPathParameterivNV = { result: "void", } as const; -let fn_glGetPathParameterivNV!: Deno.UnsafeFnPointer; +let fn_glGetPathParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glGetPathParameterivNV +>; export function GetPathParameterivNV( path: GLuint, @@ -891,7 +950,9 @@ export const def_glGetPathParameterfvNV = { result: "void", } as const; -let fn_glGetPathParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glGetPathParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetPathParameterfvNV +>; export function GetPathParameterfvNV( path: GLuint, @@ -910,7 +971,9 @@ export const def_glGetPathCommandsNV = { result: "void", } as const; -let fn_glGetPathCommandsNV!: Deno.UnsafeFnPointer; +let fn_glGetPathCommandsNV!: Deno.UnsafeFnPointer< + typeof def_glGetPathCommandsNV +>; export function GetPathCommandsNV( path: GLuint, @@ -944,7 +1007,9 @@ export const def_glGetPathDashArrayNV = { result: "void", } as const; -let fn_glGetPathDashArrayNV!: Deno.UnsafeFnPointer; +let fn_glGetPathDashArrayNV!: Deno.UnsafeFnPointer< + typeof def_glGetPathDashArrayNV +>; export function GetPathDashArrayNV( path: GLuint, @@ -988,7 +1053,9 @@ export const def_glGetPathMetricRangeNV = { result: "void", } as const; -let fn_glGetPathMetricRangeNV!: Deno.UnsafeFnPointer; +let fn_glGetPathMetricRangeNV!: Deno.UnsafeFnPointer< + typeof def_glGetPathMetricRangeNV +>; export function GetPathMetricRangeNV( metricQueryMask: GLbitfield, @@ -1007,7 +1074,17 @@ export function GetPathMetricRangeNV( } export const def_glGetPathSpacingNV = { - parameters: ["u32", "i32", "u32", "buffer", "u32", "f32", "f32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "buffer", + "u32", + "f32", + "f32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1042,7 +1119,9 @@ export const def_glIsPointInFillPathNV = { result: "u8", } as const; -let fn_glIsPointInFillPathNV!: Deno.UnsafeFnPointer; +let fn_glIsPointInFillPathNV!: Deno.UnsafeFnPointer< + typeof def_glIsPointInFillPathNV +>; export function IsPointInFillPathNV( path: GLuint, @@ -1063,7 +1142,9 @@ export const def_glIsPointInStrokePathNV = { result: "u8", } as const; -let fn_glIsPointInStrokePathNV!: Deno.UnsafeFnPointer; +let fn_glIsPointInStrokePathNV!: Deno.UnsafeFnPointer< + typeof def_glIsPointInStrokePathNV +>; export function IsPointInStrokePathNV( path: GLuint, @@ -1097,7 +1178,16 @@ export function GetPathLengthNV( } export const def_glPointAlongPathNV = { - parameters: ["u32", "i32", "i32", "f32", "buffer", "buffer", "buffer", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "f32", + "buffer", + "buffer", + "buffer", + "buffer", + ], result: "u8", } as const; @@ -1164,7 +1254,9 @@ export const def_glMatrixLoadTranspose3x3fNV = { result: "void", } as const; -let fn_glMatrixLoadTranspose3x3fNV!: Deno.UnsafeFnPointer; +let fn_glMatrixLoadTranspose3x3fNV!: Deno.UnsafeFnPointer< + typeof def_glMatrixLoadTranspose3x3fNV +>; export function MatrixLoadTranspose3x3fNV( matrixMode: GLenum, @@ -1215,7 +1307,9 @@ export const def_glMatrixMultTranspose3x3fNV = { result: "void", } as const; -let fn_glMatrixMultTranspose3x3fNV!: Deno.UnsafeFnPointer; +let fn_glMatrixMultTranspose3x3fNV!: Deno.UnsafeFnPointer< + typeof def_glMatrixMultTranspose3x3fNV +>; export function MatrixMultTranspose3x3fNV( matrixMode: GLenum, @@ -1232,7 +1326,9 @@ export const def_glStencilThenCoverFillPathNV = { result: "void", } as const; -let fn_glStencilThenCoverFillPathNV!: Deno.UnsafeFnPointer; +let fn_glStencilThenCoverFillPathNV!: Deno.UnsafeFnPointer< + typeof def_glStencilThenCoverFillPathNV +>; export function StencilThenCoverFillPathNV( path: GLuint, @@ -1253,7 +1349,9 @@ export const def_glStencilThenCoverStrokePathNV = { result: "void", } as const; -let fn_glStencilThenCoverStrokePathNV!: Deno.UnsafeFnPointer; +let fn_glStencilThenCoverStrokePathNV!: Deno.UnsafeFnPointer< + typeof def_glStencilThenCoverStrokePathNV +>; export function StencilThenCoverStrokePathNV( path: GLuint, @@ -1270,11 +1368,23 @@ export function StencilThenCoverStrokePathNV( } export const def_glStencilThenCoverFillPathInstancedNV = { - parameters: ["i32", "u32", "buffer", "u32", "u32", "u32", "u32", "u32", "buffer"], + parameters: [ + "i32", + "u32", + "buffer", + "u32", + "u32", + "u32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glStencilThenCoverFillPathInstancedNV!: Deno.UnsafeFnPointer; +let fn_glStencilThenCoverFillPathInstancedNV!: Deno.UnsafeFnPointer< + typeof def_glStencilThenCoverFillPathInstancedNV +>; export function StencilThenCoverFillPathInstancedNV( numPaths: GLsizei, @@ -1301,11 +1411,23 @@ export function StencilThenCoverFillPathInstancedNV( } export const def_glStencilThenCoverStrokePathInstancedNV = { - parameters: ["i32", "u32", "buffer", "u32", "i32", "u32", "u32", "u32", "buffer"], + parameters: [ + "i32", + "u32", + "buffer", + "u32", + "i32", + "u32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glStencilThenCoverStrokePathInstancedNV!: Deno.UnsafeFnPointer; +let fn_glStencilThenCoverStrokePathInstancedNV!: Deno.UnsafeFnPointer< + typeof def_glStencilThenCoverStrokePathInstancedNV +>; export function StencilThenCoverStrokePathInstancedNV( numPaths: GLsizei, @@ -1336,7 +1458,9 @@ export const def_glPathGlyphIndexRangeNV = { result: "u32", } as const; -let fn_glPathGlyphIndexRangeNV!: Deno.UnsafeFnPointer; +let fn_glPathGlyphIndexRangeNV!: Deno.UnsafeFnPointer< + typeof def_glPathGlyphIndexRangeNV +>; export function PathGlyphIndexRangeNV( fontTarget: GLenum, @@ -1361,7 +1485,9 @@ export const def_glPathGlyphIndexArrayNV = { result: "u32", } as const; -let fn_glPathGlyphIndexArrayNV!: Deno.UnsafeFnPointer; +let fn_glPathGlyphIndexArrayNV!: Deno.UnsafeFnPointer< + typeof def_glPathGlyphIndexArrayNV +>; export function PathGlyphIndexArrayNV( firstPathName: GLuint, @@ -1386,11 +1512,23 @@ export function PathGlyphIndexArrayNV( } export const def_glPathMemoryGlyphIndexArrayNV = { - parameters: ["u32", "u32", "isize", "buffer", "i32", "u32", "i32", "u32", "f32"], + parameters: [ + "u32", + "u32", + "isize", + "buffer", + "i32", + "u32", + "i32", + "u32", + "f32", + ], result: "u32", } as const; -let fn_glPathMemoryGlyphIndexArrayNV!: Deno.UnsafeFnPointer; +let fn_glPathMemoryGlyphIndexArrayNV!: Deno.UnsafeFnPointer< + typeof def_glPathMemoryGlyphIndexArrayNV +>; export function PathMemoryGlyphIndexArrayNV( firstPathName: GLuint, @@ -1421,7 +1559,9 @@ export const def_glProgramPathFragmentInputGenNV = { result: "void", } as const; -let fn_glProgramPathFragmentInputGenNV!: Deno.UnsafeFnPointer; +let fn_glProgramPathFragmentInputGenNV!: Deno.UnsafeFnPointer< + typeof def_glProgramPathFragmentInputGenNV +>; export function ProgramPathFragmentInputGenNV( program: GLuint, @@ -1444,7 +1584,9 @@ export const def_glGetProgramResourcefvNV = { result: "void", } as const; -let fn_glGetProgramResourcefvNV!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourcefvNV!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourcefvNV +>; export function GetProgramResourcefvNV( program: GLuint, @@ -1530,7 +1672,9 @@ export const def_glGetPathColorGenivNV = { result: "void", } as const; -let fn_glGetPathColorGenivNV!: Deno.UnsafeFnPointer; +let fn_glGetPathColorGenivNV!: Deno.UnsafeFnPointer< + typeof def_glGetPathColorGenivNV +>; export function GetPathColorGenivNV( color: GLenum, @@ -1549,7 +1693,9 @@ export const def_glGetPathColorGenfvNV = { result: "void", } as const; -let fn_glGetPathColorGenfvNV!: Deno.UnsafeFnPointer; +let fn_glGetPathColorGenfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetPathColorGenfvNV +>; export function GetPathColorGenfvNV( color: GLenum, @@ -1568,7 +1714,9 @@ export const def_glGetPathTexGenivNV = { result: "void", } as const; -let fn_glGetPathTexGenivNV!: Deno.UnsafeFnPointer; +let fn_glGetPathTexGenivNV!: Deno.UnsafeFnPointer< + typeof def_glGetPathTexGenivNV +>; export function GetPathTexGenivNV( texCoordSet: GLenum, @@ -1587,7 +1735,9 @@ export const def_glGetPathTexGenfvNV = { result: "void", } as const; -let fn_glGetPathTexGenfvNV!: Deno.UnsafeFnPointer; +let fn_glGetPathTexGenfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetPathTexGenfvNV +>; export function GetPathTexGenfvNV( texCoordSet: GLenum, @@ -1633,7 +1783,9 @@ export const def_glMatrixLoadIdentityEXT = { result: "void", } as const; -let fn_glMatrixLoadIdentityEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixLoadIdentityEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixLoadIdentityEXT +>; export function MatrixLoadIdentityEXT( mode: GLenum, @@ -1648,7 +1800,9 @@ export const def_glMatrixLoadTransposefEXT = { result: "void", } as const; -let fn_glMatrixLoadTransposefEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixLoadTransposefEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixLoadTransposefEXT +>; export function MatrixLoadTransposefEXT( mode: GLenum, @@ -1665,7 +1819,9 @@ export const def_glMatrixLoadTransposedEXT = { result: "void", } as const; -let fn_glMatrixLoadTransposedEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixLoadTransposedEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixLoadTransposedEXT +>; export function MatrixLoadTransposedEXT( mode: GLenum, @@ -1716,7 +1872,9 @@ export const def_glMatrixMultTransposefEXT = { result: "void", } as const; -let fn_glMatrixMultTransposefEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixMultTransposefEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixMultTransposefEXT +>; export function MatrixMultTransposefEXT( mode: GLenum, @@ -1733,7 +1891,9 @@ export const def_glMatrixMultTransposedEXT = { result: "void", } as const; -let fn_glMatrixMultTransposedEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixMultTransposedEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixMultTransposedEXT +>; export function MatrixMultTransposedEXT( mode: GLenum, @@ -1929,7 +2089,9 @@ export const def_glMatrixTranslatefEXT = { result: "void", } as const; -let fn_glMatrixTranslatefEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixTranslatefEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixTranslatefEXT +>; export function MatrixTranslatefEXT( mode: GLenum, @@ -1950,7 +2112,9 @@ export const def_glMatrixTranslatedEXT = { result: "void", } as const; -let fn_glMatrixTranslatedEXT!: Deno.UnsafeFnPointer; +let fn_glMatrixTranslatedEXT!: Deno.UnsafeFnPointer< + typeof def_glMatrixTranslatedEXT +>; export function MatrixTranslatedEXT( mode: GLenum, @@ -1968,87 +2132,333 @@ export function MatrixTranslatedEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGenPathsNV = new Deno.UnsafeFnPointer(proc("glGenPathsNV"), def_glGenPathsNV); - fn_glDeletePathsNV = new Deno.UnsafeFnPointer(proc("glDeletePathsNV"), def_glDeletePathsNV); + fn_glGenPathsNV = new Deno.UnsafeFnPointer( + proc("glGenPathsNV"), + def_glGenPathsNV, + ); + fn_glDeletePathsNV = new Deno.UnsafeFnPointer( + proc("glDeletePathsNV"), + def_glDeletePathsNV, + ); fn_glIsPathNV = new Deno.UnsafeFnPointer(proc("glIsPathNV"), def_glIsPathNV); - fn_glPathCommandsNV = new Deno.UnsafeFnPointer(proc("glPathCommandsNV"), def_glPathCommandsNV); - fn_glPathCoordsNV = new Deno.UnsafeFnPointer(proc("glPathCoordsNV"), def_glPathCoordsNV); - fn_glPathSubCommandsNV = new Deno.UnsafeFnPointer(proc("glPathSubCommandsNV"), def_glPathSubCommandsNV); - fn_glPathSubCoordsNV = new Deno.UnsafeFnPointer(proc("glPathSubCoordsNV"), def_glPathSubCoordsNV); - fn_glPathStringNV = new Deno.UnsafeFnPointer(proc("glPathStringNV"), def_glPathStringNV); - fn_glPathGlyphsNV = new Deno.UnsafeFnPointer(proc("glPathGlyphsNV"), def_glPathGlyphsNV); - fn_glPathGlyphRangeNV = new Deno.UnsafeFnPointer(proc("glPathGlyphRangeNV"), def_glPathGlyphRangeNV); - fn_glWeightPathsNV = new Deno.UnsafeFnPointer(proc("glWeightPathsNV"), def_glWeightPathsNV); - fn_glCopyPathNV = new Deno.UnsafeFnPointer(proc("glCopyPathNV"), def_glCopyPathNV); - fn_glInterpolatePathsNV = new Deno.UnsafeFnPointer(proc("glInterpolatePathsNV"), def_glInterpolatePathsNV); - fn_glTransformPathNV = new Deno.UnsafeFnPointer(proc("glTransformPathNV"), def_glTransformPathNV); - fn_glPathParameterivNV = new Deno.UnsafeFnPointer(proc("glPathParameterivNV"), def_glPathParameterivNV); - fn_glPathParameteriNV = new Deno.UnsafeFnPointer(proc("glPathParameteriNV"), def_glPathParameteriNV); - fn_glPathParameterfvNV = new Deno.UnsafeFnPointer(proc("glPathParameterfvNV"), def_glPathParameterfvNV); - fn_glPathParameterfNV = new Deno.UnsafeFnPointer(proc("glPathParameterfNV"), def_glPathParameterfNV); - fn_glPathDashArrayNV = new Deno.UnsafeFnPointer(proc("glPathDashArrayNV"), def_glPathDashArrayNV); - fn_glPathStencilFuncNV = new Deno.UnsafeFnPointer(proc("glPathStencilFuncNV"), def_glPathStencilFuncNV); - fn_glPathStencilDepthOffsetNV = new Deno.UnsafeFnPointer(proc("glPathStencilDepthOffsetNV"), def_glPathStencilDepthOffsetNV); - fn_glStencilFillPathNV = new Deno.UnsafeFnPointer(proc("glStencilFillPathNV"), def_glStencilFillPathNV); - fn_glStencilStrokePathNV = new Deno.UnsafeFnPointer(proc("glStencilStrokePathNV"), def_glStencilStrokePathNV); - fn_glStencilFillPathInstancedNV = new Deno.UnsafeFnPointer(proc("glStencilFillPathInstancedNV"), def_glStencilFillPathInstancedNV); - fn_glStencilStrokePathInstancedNV = new Deno.UnsafeFnPointer(proc("glStencilStrokePathInstancedNV"), def_glStencilStrokePathInstancedNV); - fn_glPathCoverDepthFuncNV = new Deno.UnsafeFnPointer(proc("glPathCoverDepthFuncNV"), def_glPathCoverDepthFuncNV); - fn_glCoverFillPathNV = new Deno.UnsafeFnPointer(proc("glCoverFillPathNV"), def_glCoverFillPathNV); - fn_glCoverStrokePathNV = new Deno.UnsafeFnPointer(proc("glCoverStrokePathNV"), def_glCoverStrokePathNV); - fn_glCoverFillPathInstancedNV = new Deno.UnsafeFnPointer(proc("glCoverFillPathInstancedNV"), def_glCoverFillPathInstancedNV); - fn_glCoverStrokePathInstancedNV = new Deno.UnsafeFnPointer(proc("glCoverStrokePathInstancedNV"), def_glCoverStrokePathInstancedNV); - fn_glGetPathParameterivNV = new Deno.UnsafeFnPointer(proc("glGetPathParameterivNV"), def_glGetPathParameterivNV); - fn_glGetPathParameterfvNV = new Deno.UnsafeFnPointer(proc("glGetPathParameterfvNV"), def_glGetPathParameterfvNV); - fn_glGetPathCommandsNV = new Deno.UnsafeFnPointer(proc("glGetPathCommandsNV"), def_glGetPathCommandsNV); - fn_glGetPathCoordsNV = new Deno.UnsafeFnPointer(proc("glGetPathCoordsNV"), def_glGetPathCoordsNV); - fn_glGetPathDashArrayNV = new Deno.UnsafeFnPointer(proc("glGetPathDashArrayNV"), def_glGetPathDashArrayNV); - fn_glGetPathMetricsNV = new Deno.UnsafeFnPointer(proc("glGetPathMetricsNV"), def_glGetPathMetricsNV); - fn_glGetPathMetricRangeNV = new Deno.UnsafeFnPointer(proc("glGetPathMetricRangeNV"), def_glGetPathMetricRangeNV); - fn_glGetPathSpacingNV = new Deno.UnsafeFnPointer(proc("glGetPathSpacingNV"), def_glGetPathSpacingNV); - fn_glIsPointInFillPathNV = new Deno.UnsafeFnPointer(proc("glIsPointInFillPathNV"), def_glIsPointInFillPathNV); - fn_glIsPointInStrokePathNV = new Deno.UnsafeFnPointer(proc("glIsPointInStrokePathNV"), def_glIsPointInStrokePathNV); - fn_glGetPathLengthNV = new Deno.UnsafeFnPointer(proc("glGetPathLengthNV"), def_glGetPathLengthNV); - fn_glPointAlongPathNV = new Deno.UnsafeFnPointer(proc("glPointAlongPathNV"), def_glPointAlongPathNV); - fn_glMatrixLoad3x2fNV = new Deno.UnsafeFnPointer(proc("glMatrixLoad3x2fNV"), def_glMatrixLoad3x2fNV); - fn_glMatrixLoad3x3fNV = new Deno.UnsafeFnPointer(proc("glMatrixLoad3x3fNV"), def_glMatrixLoad3x3fNV); - fn_glMatrixLoadTranspose3x3fNV = new Deno.UnsafeFnPointer(proc("glMatrixLoadTranspose3x3fNV"), def_glMatrixLoadTranspose3x3fNV); - fn_glMatrixMult3x2fNV = new Deno.UnsafeFnPointer(proc("glMatrixMult3x2fNV"), def_glMatrixMult3x2fNV); - fn_glMatrixMult3x3fNV = new Deno.UnsafeFnPointer(proc("glMatrixMult3x3fNV"), def_glMatrixMult3x3fNV); - fn_glMatrixMultTranspose3x3fNV = new Deno.UnsafeFnPointer(proc("glMatrixMultTranspose3x3fNV"), def_glMatrixMultTranspose3x3fNV); - fn_glStencilThenCoverFillPathNV = new Deno.UnsafeFnPointer(proc("glStencilThenCoverFillPathNV"), def_glStencilThenCoverFillPathNV); - fn_glStencilThenCoverStrokePathNV = new Deno.UnsafeFnPointer(proc("glStencilThenCoverStrokePathNV"), def_glStencilThenCoverStrokePathNV); - fn_glStencilThenCoverFillPathInstancedNV = new Deno.UnsafeFnPointer(proc("glStencilThenCoverFillPathInstancedNV"), def_glStencilThenCoverFillPathInstancedNV); - fn_glStencilThenCoverStrokePathInstancedNV = new Deno.UnsafeFnPointer(proc("glStencilThenCoverStrokePathInstancedNV"), def_glStencilThenCoverStrokePathInstancedNV); - fn_glPathGlyphIndexRangeNV = new Deno.UnsafeFnPointer(proc("glPathGlyphIndexRangeNV"), def_glPathGlyphIndexRangeNV); - fn_glPathGlyphIndexArrayNV = new Deno.UnsafeFnPointer(proc("glPathGlyphIndexArrayNV"), def_glPathGlyphIndexArrayNV); - fn_glPathMemoryGlyphIndexArrayNV = new Deno.UnsafeFnPointer(proc("glPathMemoryGlyphIndexArrayNV"), def_glPathMemoryGlyphIndexArrayNV); - fn_glProgramPathFragmentInputGenNV = new Deno.UnsafeFnPointer(proc("glProgramPathFragmentInputGenNV"), def_glProgramPathFragmentInputGenNV); - fn_glGetProgramResourcefvNV = new Deno.UnsafeFnPointer(proc("glGetProgramResourcefvNV"), def_glGetProgramResourcefvNV); - fn_glPathColorGenNV = new Deno.UnsafeFnPointer(proc("glPathColorGenNV"), def_glPathColorGenNV); - fn_glPathTexGenNV = new Deno.UnsafeFnPointer(proc("glPathTexGenNV"), def_glPathTexGenNV); - fn_glPathFogGenNV = new Deno.UnsafeFnPointer(proc("glPathFogGenNV"), def_glPathFogGenNV); - fn_glGetPathColorGenivNV = new Deno.UnsafeFnPointer(proc("glGetPathColorGenivNV"), def_glGetPathColorGenivNV); - fn_glGetPathColorGenfvNV = new Deno.UnsafeFnPointer(proc("glGetPathColorGenfvNV"), def_glGetPathColorGenfvNV); - fn_glGetPathTexGenivNV = new Deno.UnsafeFnPointer(proc("glGetPathTexGenivNV"), def_glGetPathTexGenivNV); - fn_glGetPathTexGenfvNV = new Deno.UnsafeFnPointer(proc("glGetPathTexGenfvNV"), def_glGetPathTexGenfvNV); - fn_glMatrixFrustumEXT = new Deno.UnsafeFnPointer(proc("glMatrixFrustumEXT"), def_glMatrixFrustumEXT); - fn_glMatrixLoadIdentityEXT = new Deno.UnsafeFnPointer(proc("glMatrixLoadIdentityEXT"), def_glMatrixLoadIdentityEXT); - fn_glMatrixLoadTransposefEXT = new Deno.UnsafeFnPointer(proc("glMatrixLoadTransposefEXT"), def_glMatrixLoadTransposefEXT); - fn_glMatrixLoadTransposedEXT = new Deno.UnsafeFnPointer(proc("glMatrixLoadTransposedEXT"), def_glMatrixLoadTransposedEXT); - fn_glMatrixLoadfEXT = new Deno.UnsafeFnPointer(proc("glMatrixLoadfEXT"), def_glMatrixLoadfEXT); - fn_glMatrixLoaddEXT = new Deno.UnsafeFnPointer(proc("glMatrixLoaddEXT"), def_glMatrixLoaddEXT); - fn_glMatrixMultTransposefEXT = new Deno.UnsafeFnPointer(proc("glMatrixMultTransposefEXT"), def_glMatrixMultTransposefEXT); - fn_glMatrixMultTransposedEXT = new Deno.UnsafeFnPointer(proc("glMatrixMultTransposedEXT"), def_glMatrixMultTransposedEXT); - fn_glMatrixMultfEXT = new Deno.UnsafeFnPointer(proc("glMatrixMultfEXT"), def_glMatrixMultfEXT); - fn_glMatrixMultdEXT = new Deno.UnsafeFnPointer(proc("glMatrixMultdEXT"), def_glMatrixMultdEXT); - fn_glMatrixOrthoEXT = new Deno.UnsafeFnPointer(proc("glMatrixOrthoEXT"), def_glMatrixOrthoEXT); - fn_glMatrixPopEXT = new Deno.UnsafeFnPointer(proc("glMatrixPopEXT"), def_glMatrixPopEXT); - fn_glMatrixPushEXT = new Deno.UnsafeFnPointer(proc("glMatrixPushEXT"), def_glMatrixPushEXT); - fn_glMatrixRotatefEXT = new Deno.UnsafeFnPointer(proc("glMatrixRotatefEXT"), def_glMatrixRotatefEXT); - fn_glMatrixRotatedEXT = new Deno.UnsafeFnPointer(proc("glMatrixRotatedEXT"), def_glMatrixRotatedEXT); - fn_glMatrixScalefEXT = new Deno.UnsafeFnPointer(proc("glMatrixScalefEXT"), def_glMatrixScalefEXT); - fn_glMatrixScaledEXT = new Deno.UnsafeFnPointer(proc("glMatrixScaledEXT"), def_glMatrixScaledEXT); - fn_glMatrixTranslatefEXT = new Deno.UnsafeFnPointer(proc("glMatrixTranslatefEXT"), def_glMatrixTranslatefEXT); - fn_glMatrixTranslatedEXT = new Deno.UnsafeFnPointer(proc("glMatrixTranslatedEXT"), def_glMatrixTranslatedEXT); + fn_glPathCommandsNV = new Deno.UnsafeFnPointer( + proc("glPathCommandsNV"), + def_glPathCommandsNV, + ); + fn_glPathCoordsNV = new Deno.UnsafeFnPointer( + proc("glPathCoordsNV"), + def_glPathCoordsNV, + ); + fn_glPathSubCommandsNV = new Deno.UnsafeFnPointer( + proc("glPathSubCommandsNV"), + def_glPathSubCommandsNV, + ); + fn_glPathSubCoordsNV = new Deno.UnsafeFnPointer( + proc("glPathSubCoordsNV"), + def_glPathSubCoordsNV, + ); + fn_glPathStringNV = new Deno.UnsafeFnPointer( + proc("glPathStringNV"), + def_glPathStringNV, + ); + fn_glPathGlyphsNV = new Deno.UnsafeFnPointer( + proc("glPathGlyphsNV"), + def_glPathGlyphsNV, + ); + fn_glPathGlyphRangeNV = new Deno.UnsafeFnPointer( + proc("glPathGlyphRangeNV"), + def_glPathGlyphRangeNV, + ); + fn_glWeightPathsNV = new Deno.UnsafeFnPointer( + proc("glWeightPathsNV"), + def_glWeightPathsNV, + ); + fn_glCopyPathNV = new Deno.UnsafeFnPointer( + proc("glCopyPathNV"), + def_glCopyPathNV, + ); + fn_glInterpolatePathsNV = new Deno.UnsafeFnPointer( + proc("glInterpolatePathsNV"), + def_glInterpolatePathsNV, + ); + fn_glTransformPathNV = new Deno.UnsafeFnPointer( + proc("glTransformPathNV"), + def_glTransformPathNV, + ); + fn_glPathParameterivNV = new Deno.UnsafeFnPointer( + proc("glPathParameterivNV"), + def_glPathParameterivNV, + ); + fn_glPathParameteriNV = new Deno.UnsafeFnPointer( + proc("glPathParameteriNV"), + def_glPathParameteriNV, + ); + fn_glPathParameterfvNV = new Deno.UnsafeFnPointer( + proc("glPathParameterfvNV"), + def_glPathParameterfvNV, + ); + fn_glPathParameterfNV = new Deno.UnsafeFnPointer( + proc("glPathParameterfNV"), + def_glPathParameterfNV, + ); + fn_glPathDashArrayNV = new Deno.UnsafeFnPointer( + proc("glPathDashArrayNV"), + def_glPathDashArrayNV, + ); + fn_glPathStencilFuncNV = new Deno.UnsafeFnPointer( + proc("glPathStencilFuncNV"), + def_glPathStencilFuncNV, + ); + fn_glPathStencilDepthOffsetNV = new Deno.UnsafeFnPointer( + proc("glPathStencilDepthOffsetNV"), + def_glPathStencilDepthOffsetNV, + ); + fn_glStencilFillPathNV = new Deno.UnsafeFnPointer( + proc("glStencilFillPathNV"), + def_glStencilFillPathNV, + ); + fn_glStencilStrokePathNV = new Deno.UnsafeFnPointer( + proc("glStencilStrokePathNV"), + def_glStencilStrokePathNV, + ); + fn_glStencilFillPathInstancedNV = new Deno.UnsafeFnPointer( + proc("glStencilFillPathInstancedNV"), + def_glStencilFillPathInstancedNV, + ); + fn_glStencilStrokePathInstancedNV = new Deno.UnsafeFnPointer( + proc("glStencilStrokePathInstancedNV"), + def_glStencilStrokePathInstancedNV, + ); + fn_glPathCoverDepthFuncNV = new Deno.UnsafeFnPointer( + proc("glPathCoverDepthFuncNV"), + def_glPathCoverDepthFuncNV, + ); + fn_glCoverFillPathNV = new Deno.UnsafeFnPointer( + proc("glCoverFillPathNV"), + def_glCoverFillPathNV, + ); + fn_glCoverStrokePathNV = new Deno.UnsafeFnPointer( + proc("glCoverStrokePathNV"), + def_glCoverStrokePathNV, + ); + fn_glCoverFillPathInstancedNV = new Deno.UnsafeFnPointer( + proc("glCoverFillPathInstancedNV"), + def_glCoverFillPathInstancedNV, + ); + fn_glCoverStrokePathInstancedNV = new Deno.UnsafeFnPointer( + proc("glCoverStrokePathInstancedNV"), + def_glCoverStrokePathInstancedNV, + ); + fn_glGetPathParameterivNV = new Deno.UnsafeFnPointer( + proc("glGetPathParameterivNV"), + def_glGetPathParameterivNV, + ); + fn_glGetPathParameterfvNV = new Deno.UnsafeFnPointer( + proc("glGetPathParameterfvNV"), + def_glGetPathParameterfvNV, + ); + fn_glGetPathCommandsNV = new Deno.UnsafeFnPointer( + proc("glGetPathCommandsNV"), + def_glGetPathCommandsNV, + ); + fn_glGetPathCoordsNV = new Deno.UnsafeFnPointer( + proc("glGetPathCoordsNV"), + def_glGetPathCoordsNV, + ); + fn_glGetPathDashArrayNV = new Deno.UnsafeFnPointer( + proc("glGetPathDashArrayNV"), + def_glGetPathDashArrayNV, + ); + fn_glGetPathMetricsNV = new Deno.UnsafeFnPointer( + proc("glGetPathMetricsNV"), + def_glGetPathMetricsNV, + ); + fn_glGetPathMetricRangeNV = new Deno.UnsafeFnPointer( + proc("glGetPathMetricRangeNV"), + def_glGetPathMetricRangeNV, + ); + fn_glGetPathSpacingNV = new Deno.UnsafeFnPointer( + proc("glGetPathSpacingNV"), + def_glGetPathSpacingNV, + ); + fn_glIsPointInFillPathNV = new Deno.UnsafeFnPointer( + proc("glIsPointInFillPathNV"), + def_glIsPointInFillPathNV, + ); + fn_glIsPointInStrokePathNV = new Deno.UnsafeFnPointer( + proc("glIsPointInStrokePathNV"), + def_glIsPointInStrokePathNV, + ); + fn_glGetPathLengthNV = new Deno.UnsafeFnPointer( + proc("glGetPathLengthNV"), + def_glGetPathLengthNV, + ); + fn_glPointAlongPathNV = new Deno.UnsafeFnPointer( + proc("glPointAlongPathNV"), + def_glPointAlongPathNV, + ); + fn_glMatrixLoad3x2fNV = new Deno.UnsafeFnPointer( + proc("glMatrixLoad3x2fNV"), + def_glMatrixLoad3x2fNV, + ); + fn_glMatrixLoad3x3fNV = new Deno.UnsafeFnPointer( + proc("glMatrixLoad3x3fNV"), + def_glMatrixLoad3x3fNV, + ); + fn_glMatrixLoadTranspose3x3fNV = new Deno.UnsafeFnPointer( + proc("glMatrixLoadTranspose3x3fNV"), + def_glMatrixLoadTranspose3x3fNV, + ); + fn_glMatrixMult3x2fNV = new Deno.UnsafeFnPointer( + proc("glMatrixMult3x2fNV"), + def_glMatrixMult3x2fNV, + ); + fn_glMatrixMult3x3fNV = new Deno.UnsafeFnPointer( + proc("glMatrixMult3x3fNV"), + def_glMatrixMult3x3fNV, + ); + fn_glMatrixMultTranspose3x3fNV = new Deno.UnsafeFnPointer( + proc("glMatrixMultTranspose3x3fNV"), + def_glMatrixMultTranspose3x3fNV, + ); + fn_glStencilThenCoverFillPathNV = new Deno.UnsafeFnPointer( + proc("glStencilThenCoverFillPathNV"), + def_glStencilThenCoverFillPathNV, + ); + fn_glStencilThenCoverStrokePathNV = new Deno.UnsafeFnPointer( + proc("glStencilThenCoverStrokePathNV"), + def_glStencilThenCoverStrokePathNV, + ); + fn_glStencilThenCoverFillPathInstancedNV = new Deno.UnsafeFnPointer( + proc("glStencilThenCoverFillPathInstancedNV"), + def_glStencilThenCoverFillPathInstancedNV, + ); + fn_glStencilThenCoverStrokePathInstancedNV = new Deno.UnsafeFnPointer( + proc("glStencilThenCoverStrokePathInstancedNV"), + def_glStencilThenCoverStrokePathInstancedNV, + ); + fn_glPathGlyphIndexRangeNV = new Deno.UnsafeFnPointer( + proc("glPathGlyphIndexRangeNV"), + def_glPathGlyphIndexRangeNV, + ); + fn_glPathGlyphIndexArrayNV = new Deno.UnsafeFnPointer( + proc("glPathGlyphIndexArrayNV"), + def_glPathGlyphIndexArrayNV, + ); + fn_glPathMemoryGlyphIndexArrayNV = new Deno.UnsafeFnPointer( + proc("glPathMemoryGlyphIndexArrayNV"), + def_glPathMemoryGlyphIndexArrayNV, + ); + fn_glProgramPathFragmentInputGenNV = new Deno.UnsafeFnPointer( + proc("glProgramPathFragmentInputGenNV"), + def_glProgramPathFragmentInputGenNV, + ); + fn_glGetProgramResourcefvNV = new Deno.UnsafeFnPointer( + proc("glGetProgramResourcefvNV"), + def_glGetProgramResourcefvNV, + ); + fn_glPathColorGenNV = new Deno.UnsafeFnPointer( + proc("glPathColorGenNV"), + def_glPathColorGenNV, + ); + fn_glPathTexGenNV = new Deno.UnsafeFnPointer( + proc("glPathTexGenNV"), + def_glPathTexGenNV, + ); + fn_glPathFogGenNV = new Deno.UnsafeFnPointer( + proc("glPathFogGenNV"), + def_glPathFogGenNV, + ); + fn_glGetPathColorGenivNV = new Deno.UnsafeFnPointer( + proc("glGetPathColorGenivNV"), + def_glGetPathColorGenivNV, + ); + fn_glGetPathColorGenfvNV = new Deno.UnsafeFnPointer( + proc("glGetPathColorGenfvNV"), + def_glGetPathColorGenfvNV, + ); + fn_glGetPathTexGenivNV = new Deno.UnsafeFnPointer( + proc("glGetPathTexGenivNV"), + def_glGetPathTexGenivNV, + ); + fn_glGetPathTexGenfvNV = new Deno.UnsafeFnPointer( + proc("glGetPathTexGenfvNV"), + def_glGetPathTexGenfvNV, + ); + fn_glMatrixFrustumEXT = new Deno.UnsafeFnPointer( + proc("glMatrixFrustumEXT"), + def_glMatrixFrustumEXT, + ); + fn_glMatrixLoadIdentityEXT = new Deno.UnsafeFnPointer( + proc("glMatrixLoadIdentityEXT"), + def_glMatrixLoadIdentityEXT, + ); + fn_glMatrixLoadTransposefEXT = new Deno.UnsafeFnPointer( + proc("glMatrixLoadTransposefEXT"), + def_glMatrixLoadTransposefEXT, + ); + fn_glMatrixLoadTransposedEXT = new Deno.UnsafeFnPointer( + proc("glMatrixLoadTransposedEXT"), + def_glMatrixLoadTransposedEXT, + ); + fn_glMatrixLoadfEXT = new Deno.UnsafeFnPointer( + proc("glMatrixLoadfEXT"), + def_glMatrixLoadfEXT, + ); + fn_glMatrixLoaddEXT = new Deno.UnsafeFnPointer( + proc("glMatrixLoaddEXT"), + def_glMatrixLoaddEXT, + ); + fn_glMatrixMultTransposefEXT = new Deno.UnsafeFnPointer( + proc("glMatrixMultTransposefEXT"), + def_glMatrixMultTransposefEXT, + ); + fn_glMatrixMultTransposedEXT = new Deno.UnsafeFnPointer( + proc("glMatrixMultTransposedEXT"), + def_glMatrixMultTransposedEXT, + ); + fn_glMatrixMultfEXT = new Deno.UnsafeFnPointer( + proc("glMatrixMultfEXT"), + def_glMatrixMultfEXT, + ); + fn_glMatrixMultdEXT = new Deno.UnsafeFnPointer( + proc("glMatrixMultdEXT"), + def_glMatrixMultdEXT, + ); + fn_glMatrixOrthoEXT = new Deno.UnsafeFnPointer( + proc("glMatrixOrthoEXT"), + def_glMatrixOrthoEXT, + ); + fn_glMatrixPopEXT = new Deno.UnsafeFnPointer( + proc("glMatrixPopEXT"), + def_glMatrixPopEXT, + ); + fn_glMatrixPushEXT = new Deno.UnsafeFnPointer( + proc("glMatrixPushEXT"), + def_glMatrixPushEXT, + ); + fn_glMatrixRotatefEXT = new Deno.UnsafeFnPointer( + proc("glMatrixRotatefEXT"), + def_glMatrixRotatefEXT, + ); + fn_glMatrixRotatedEXT = new Deno.UnsafeFnPointer( + proc("glMatrixRotatedEXT"), + def_glMatrixRotatedEXT, + ); + fn_glMatrixScalefEXT = new Deno.UnsafeFnPointer( + proc("glMatrixScalefEXT"), + def_glMatrixScalefEXT, + ); + fn_glMatrixScaledEXT = new Deno.UnsafeFnPointer( + proc("glMatrixScaledEXT"), + def_glMatrixScaledEXT, + ); + fn_glMatrixTranslatefEXT = new Deno.UnsafeFnPointer( + proc("glMatrixTranslatefEXT"), + def_glMatrixTranslatefEXT, + ); + fn_glMatrixTranslatedEXT = new Deno.UnsafeFnPointer( + proc("glMatrixTranslatedEXT"), + def_glMatrixTranslatedEXT, + ); } diff --git a/api/ext/GL_NV_path_rendering_shared_edge.ts b/api/ext/GL_NV_path_rendering_shared_edge.ts index 4d289d0..b15462c 100644 --- a/api/ext/GL_NV_path_rendering_shared_edge.ts +++ b/api/ext/GL_NV_path_rendering_shared_edge.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_pixel_buffer_object.ts b/api/ext/GL_NV_pixel_buffer_object.ts index ae9ba03..80d886d 100644 --- a/api/ext/GL_NV_pixel_buffer_object.ts +++ b/api/ext/GL_NV_pixel_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_pixel_data_range.ts b/api/ext/GL_NV_pixel_data_range.ts index 6e61bb4..2b19628 100644 --- a/api/ext/GL_NV_pixel_data_range.ts +++ b/api/ext/GL_NV_pixel_data_range.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -93,7 +101,9 @@ export const def_glFlushPixelDataRangeNV = { result: "void", } as const; -let fn_glFlushPixelDataRangeNV!: Deno.UnsafeFnPointer; +let fn_glFlushPixelDataRangeNV!: Deno.UnsafeFnPointer< + typeof def_glFlushPixelDataRangeNV +>; export function FlushPixelDataRangeNV( target: GLenum, @@ -105,6 +115,12 @@ export function FlushPixelDataRangeNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPixelDataRangeNV = new Deno.UnsafeFnPointer(proc("glPixelDataRangeNV"), def_glPixelDataRangeNV); - fn_glFlushPixelDataRangeNV = new Deno.UnsafeFnPointer(proc("glFlushPixelDataRangeNV"), def_glFlushPixelDataRangeNV); + fn_glPixelDataRangeNV = new Deno.UnsafeFnPointer( + proc("glPixelDataRangeNV"), + def_glPixelDataRangeNV, + ); + fn_glFlushPixelDataRangeNV = new Deno.UnsafeFnPointer( + proc("glFlushPixelDataRangeNV"), + def_glFlushPixelDataRangeNV, + ); } diff --git a/api/ext/GL_NV_point_sprite.ts b/api/ext/GL_NV_point_sprite.ts index 921e692..ebfca90 100644 --- a/api/ext/GL_NV_point_sprite.ts +++ b/api/ext/GL_NV_point_sprite.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glPointParameteriNV = { result: "void", } as const; -let fn_glPointParameteriNV!: Deno.UnsafeFnPointer; +let fn_glPointParameteriNV!: Deno.UnsafeFnPointer< + typeof def_glPointParameteriNV +>; export function PointParameteriNV( pname: GLenum, @@ -88,7 +98,9 @@ export const def_glPointParameterivNV = { result: "void", } as const; -let fn_glPointParameterivNV!: Deno.UnsafeFnPointer; +let fn_glPointParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glPointParameterivNV +>; export function PointParameterivNV( pname: GLenum, @@ -102,6 +114,12 @@ export function PointParameterivNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPointParameteriNV = new Deno.UnsafeFnPointer(proc("glPointParameteriNV"), def_glPointParameteriNV); - fn_glPointParameterivNV = new Deno.UnsafeFnPointer(proc("glPointParameterivNV"), def_glPointParameterivNV); + fn_glPointParameteriNV = new Deno.UnsafeFnPointer( + proc("glPointParameteriNV"), + def_glPointParameteriNV, + ); + fn_glPointParameterivNV = new Deno.UnsafeFnPointer( + proc("glPointParameterivNV"), + def_glPointParameterivNV, + ); } diff --git a/api/ext/GL_NV_polygon_mode.ts b/api/ext/GL_NV_polygon_mode.ts index ea1e84f..3291f2c 100644 --- a/api/ext/GL_NV_polygon_mode.ts +++ b/api/ext/GL_NV_polygon_mode.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,5 +96,8 @@ export function PolygonModeNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPolygonModeNV = new Deno.UnsafeFnPointer(proc("glPolygonModeNV"), def_glPolygonModeNV); + fn_glPolygonModeNV = new Deno.UnsafeFnPointer( + proc("glPolygonModeNV"), + def_glPolygonModeNV, + ); } diff --git a/api/ext/GL_NV_present_video.ts b/api/ext/GL_NV_present_video.ts index 02db6a7..2874625 100644 --- a/api/ext/GL_NV_present_video.ts +++ b/api/ext/GL_NV_present_video.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,11 +78,25 @@ export const PRESENT_DURATION_NV = 0x8e2b; /// Commands export const def_glPresentFrameKeyedNV = { - parameters: ["u32", "u64", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32"], + parameters: [ + "u32", + "u64", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + ], result: "void", } as const; -let fn_glPresentFrameKeyedNV!: Deno.UnsafeFnPointer; +let fn_glPresentFrameKeyedNV!: Deno.UnsafeFnPointer< + typeof def_glPresentFrameKeyedNV +>; export function PresentFrameKeyedNV( video_slot: GLuint, @@ -105,11 +127,27 @@ export function PresentFrameKeyedNV( } export const def_glPresentFrameDualFillNV = { - parameters: ["u32", "u64", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32", "u32"], + parameters: [ + "u32", + "u64", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + ], result: "void", } as const; -let fn_glPresentFrameDualFillNV!: Deno.UnsafeFnPointer; +let fn_glPresentFrameDualFillNV!: Deno.UnsafeFnPointer< + typeof def_glPresentFrameDualFillNV +>; export function PresentFrameDualFillNV( video_slot: GLuint, @@ -221,10 +259,28 @@ export function GetVideoui64vNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPresentFrameKeyedNV = new Deno.UnsafeFnPointer(proc("glPresentFrameKeyedNV"), def_glPresentFrameKeyedNV); - fn_glPresentFrameDualFillNV = new Deno.UnsafeFnPointer(proc("glPresentFrameDualFillNV"), def_glPresentFrameDualFillNV); - fn_glGetVideoivNV = new Deno.UnsafeFnPointer(proc("glGetVideoivNV"), def_glGetVideoivNV); - fn_glGetVideouivNV = new Deno.UnsafeFnPointer(proc("glGetVideouivNV"), def_glGetVideouivNV); - fn_glGetVideoi64vNV = new Deno.UnsafeFnPointer(proc("glGetVideoi64vNV"), def_glGetVideoi64vNV); - fn_glGetVideoui64vNV = new Deno.UnsafeFnPointer(proc("glGetVideoui64vNV"), def_glGetVideoui64vNV); + fn_glPresentFrameKeyedNV = new Deno.UnsafeFnPointer( + proc("glPresentFrameKeyedNV"), + def_glPresentFrameKeyedNV, + ); + fn_glPresentFrameDualFillNV = new Deno.UnsafeFnPointer( + proc("glPresentFrameDualFillNV"), + def_glPresentFrameDualFillNV, + ); + fn_glGetVideoivNV = new Deno.UnsafeFnPointer( + proc("glGetVideoivNV"), + def_glGetVideoivNV, + ); + fn_glGetVideouivNV = new Deno.UnsafeFnPointer( + proc("glGetVideouivNV"), + def_glGetVideouivNV, + ); + fn_glGetVideoi64vNV = new Deno.UnsafeFnPointer( + proc("glGetVideoi64vNV"), + def_glGetVideoi64vNV, + ); + fn_glGetVideoui64vNV = new Deno.UnsafeFnPointer( + proc("glGetVideoui64vNV"), + def_glGetVideoui64vNV, + ); } diff --git a/api/ext/GL_NV_primitive_restart.ts b/api/ext/GL_NV_primitive_restart.ts index a76b163..48e9f0d 100644 --- a/api/ext/GL_NV_primitive_restart.ts +++ b/api/ext/GL_NV_primitive_restart.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glPrimitiveRestartNV = { result: "void", } as const; -let fn_glPrimitiveRestartNV!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartNV!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartNV +>; export function PrimitiveRestartNV(): void { fn_glPrimitiveRestartNV.call(); @@ -81,7 +91,9 @@ export const def_glPrimitiveRestartIndexNV = { result: "void", } as const; -let fn_glPrimitiveRestartIndexNV!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartIndexNV!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartIndexNV +>; export function PrimitiveRestartIndexNV( index: GLuint, @@ -93,6 +105,12 @@ export function PrimitiveRestartIndexNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPrimitiveRestartNV = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartNV"), def_glPrimitiveRestartNV); - fn_glPrimitiveRestartIndexNV = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartIndexNV"), def_glPrimitiveRestartIndexNV); + fn_glPrimitiveRestartNV = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartNV"), + def_glPrimitiveRestartNV, + ); + fn_glPrimitiveRestartIndexNV = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartIndexNV"), + def_glPrimitiveRestartIndexNV, + ); } diff --git a/api/ext/GL_NV_primitive_shading_rate.ts b/api/ext/GL_NV_primitive_shading_rate.ts index 8e6b6bb..dd3fcee 100644 --- a/api/ext/GL_NV_primitive_shading_rate.ts +++ b/api/ext/GL_NV_primitive_shading_rate.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_query_resource.ts b/api/ext/GL_NV_query_resource.ts index be272f5..91270e7 100644 --- a/api/ext/GL_NV_query_resource.ts +++ b/api/ext/GL_NV_query_resource.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -92,5 +100,8 @@ export function QueryResourceNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glQueryResourceNV = new Deno.UnsafeFnPointer(proc("glQueryResourceNV"), def_glQueryResourceNV); + fn_glQueryResourceNV = new Deno.UnsafeFnPointer( + proc("glQueryResourceNV"), + def_glQueryResourceNV, + ); } diff --git a/api/ext/GL_NV_query_resource_tag.ts b/api/ext/GL_NV_query_resource_tag.ts index 36361d1..636c77a 100644 --- a/api/ext/GL_NV_query_resource_tag.ts +++ b/api/ext/GL_NV_query_resource_tag.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glGenQueryResourceTagNV = { result: "void", } as const; -let fn_glGenQueryResourceTagNV!: Deno.UnsafeFnPointer; +let fn_glGenQueryResourceTagNV!: Deno.UnsafeFnPointer< + typeof def_glGenQueryResourceTagNV +>; export function GenQueryResourceTagNV( n: GLsizei, @@ -83,7 +93,9 @@ export const def_glDeleteQueryResourceTagNV = { result: "void", } as const; -let fn_glDeleteQueryResourceTagNV!: Deno.UnsafeFnPointer; +let fn_glDeleteQueryResourceTagNV!: Deno.UnsafeFnPointer< + typeof def_glDeleteQueryResourceTagNV +>; export function DeleteQueryResourceTagNV( n: GLsizei, @@ -100,7 +112,9 @@ export const def_glQueryResourceTagNV = { result: "void", } as const; -let fn_glQueryResourceTagNV!: Deno.UnsafeFnPointer; +let fn_glQueryResourceTagNV!: Deno.UnsafeFnPointer< + typeof def_glQueryResourceTagNV +>; export function QueryResourceTagNV( tagId: GLint, @@ -114,7 +128,16 @@ export function QueryResourceTagNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGenQueryResourceTagNV = new Deno.UnsafeFnPointer(proc("glGenQueryResourceTagNV"), def_glGenQueryResourceTagNV); - fn_glDeleteQueryResourceTagNV = new Deno.UnsafeFnPointer(proc("glDeleteQueryResourceTagNV"), def_glDeleteQueryResourceTagNV); - fn_glQueryResourceTagNV = new Deno.UnsafeFnPointer(proc("glQueryResourceTagNV"), def_glQueryResourceTagNV); + fn_glGenQueryResourceTagNV = new Deno.UnsafeFnPointer( + proc("glGenQueryResourceTagNV"), + def_glGenQueryResourceTagNV, + ); + fn_glDeleteQueryResourceTagNV = new Deno.UnsafeFnPointer( + proc("glDeleteQueryResourceTagNV"), + def_glDeleteQueryResourceTagNV, + ); + fn_glQueryResourceTagNV = new Deno.UnsafeFnPointer( + proc("glQueryResourceTagNV"), + def_glQueryResourceTagNV, + ); } diff --git a/api/ext/GL_NV_read_buffer.ts b/api/ext/GL_NV_read_buffer.ts index 4a3c1ad..4a325ed 100644 --- a/api/ext/GL_NV_read_buffer.ts +++ b/api/ext/GL_NV_read_buffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -81,5 +89,8 @@ export function ReadBufferNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glReadBufferNV = new Deno.UnsafeFnPointer(proc("glReadBufferNV"), def_glReadBufferNV); + fn_glReadBufferNV = new Deno.UnsafeFnPointer( + proc("glReadBufferNV"), + def_glReadBufferNV, + ); } diff --git a/api/ext/GL_NV_read_buffer_front.ts b/api/ext/GL_NV_read_buffer_front.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_read_buffer_front.ts +++ b/api/ext/GL_NV_read_buffer_front.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_read_depth.ts b/api/ext/GL_NV_read_depth.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_read_depth.ts +++ b/api/ext/GL_NV_read_depth.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_read_depth_stencil.ts b/api/ext/GL_NV_read_depth_stencil.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_read_depth_stencil.ts +++ b/api/ext/GL_NV_read_depth_stencil.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_read_stencil.ts b/api/ext/GL_NV_read_stencil.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_read_stencil.ts +++ b/api/ext/GL_NV_read_stencil.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_register_combiners.ts b/api/ext/GL_NV_register_combiners.ts index 148e4fd..4b69c22 100644 --- a/api/ext/GL_NV_register_combiners.ts +++ b/api/ext/GL_NV_register_combiners.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -124,7 +132,9 @@ export const def_glCombinerParameterfvNV = { result: "void", } as const; -let fn_glCombinerParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glCombinerParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glCombinerParameterfvNV +>; export function CombinerParameterfvNV( pname: GLenum, @@ -141,7 +151,9 @@ export const def_glCombinerParameterfNV = { result: "void", } as const; -let fn_glCombinerParameterfNV!: Deno.UnsafeFnPointer; +let fn_glCombinerParameterfNV!: Deno.UnsafeFnPointer< + typeof def_glCombinerParameterfNV +>; export function CombinerParameterfNV( pname: GLenum, @@ -158,7 +170,9 @@ export const def_glCombinerParameterivNV = { result: "void", } as const; -let fn_glCombinerParameterivNV!: Deno.UnsafeFnPointer; +let fn_glCombinerParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glCombinerParameterivNV +>; export function CombinerParameterivNV( pname: GLenum, @@ -175,7 +189,9 @@ export const def_glCombinerParameteriNV = { result: "void", } as const; -let fn_glCombinerParameteriNV!: Deno.UnsafeFnPointer; +let fn_glCombinerParameteriNV!: Deno.UnsafeFnPointer< + typeof def_glCombinerParameteriNV +>; export function CombinerParameteriNV( pname: GLenum, @@ -213,7 +229,18 @@ export function CombinerInputNV( } export const def_glCombinerOutputNV = { - parameters: ["u32", "u32", "u32", "u32", "u32", "u32", "u32", "u8", "u8", "u8"], + parameters: [ + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u32", + "u8", + "u8", + "u8", + ], result: "void", } as const; @@ -250,7 +277,9 @@ export const def_glFinalCombinerInputNV = { result: "void", } as const; -let fn_glFinalCombinerInputNV!: Deno.UnsafeFnPointer; +let fn_glFinalCombinerInputNV!: Deno.UnsafeFnPointer< + typeof def_glFinalCombinerInputNV +>; export function FinalCombinerInputNV( variable: GLenum, @@ -271,7 +300,9 @@ export const def_glGetCombinerInputParameterfvNV = { result: "void", } as const; -let fn_glGetCombinerInputParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glGetCombinerInputParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetCombinerInputParameterfvNV +>; export function GetCombinerInputParameterfvNV( stage: GLenum, @@ -294,7 +325,9 @@ export const def_glGetCombinerInputParameterivNV = { result: "void", } as const; -let fn_glGetCombinerInputParameterivNV!: Deno.UnsafeFnPointer; +let fn_glGetCombinerInputParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glGetCombinerInputParameterivNV +>; export function GetCombinerInputParameterivNV( stage: GLenum, @@ -317,7 +350,9 @@ export const def_glGetCombinerOutputParameterfvNV = { result: "void", } as const; -let fn_glGetCombinerOutputParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glGetCombinerOutputParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetCombinerOutputParameterfvNV +>; export function GetCombinerOutputParameterfvNV( stage: GLenum, @@ -338,7 +373,9 @@ export const def_glGetCombinerOutputParameterivNV = { result: "void", } as const; -let fn_glGetCombinerOutputParameterivNV!: Deno.UnsafeFnPointer; +let fn_glGetCombinerOutputParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glGetCombinerOutputParameterivNV +>; export function GetCombinerOutputParameterivNV( stage: GLenum, @@ -359,7 +396,9 @@ export const def_glGetFinalCombinerInputParameterfvNV = { result: "void", } as const; -let fn_glGetFinalCombinerInputParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glGetFinalCombinerInputParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetFinalCombinerInputParameterfvNV +>; export function GetFinalCombinerInputParameterfvNV( variable: GLenum, @@ -378,7 +417,9 @@ export const def_glGetFinalCombinerInputParameterivNV = { result: "void", } as const; -let fn_glGetFinalCombinerInputParameterivNV!: Deno.UnsafeFnPointer; +let fn_glGetFinalCombinerInputParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glGetFinalCombinerInputParameterivNV +>; export function GetFinalCombinerInputParameterivNV( variable: GLenum, @@ -394,17 +435,56 @@ export function GetFinalCombinerInputParameterivNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCombinerParameterfvNV = new Deno.UnsafeFnPointer(proc("glCombinerParameterfvNV"), def_glCombinerParameterfvNV); - fn_glCombinerParameterfNV = new Deno.UnsafeFnPointer(proc("glCombinerParameterfNV"), def_glCombinerParameterfNV); - fn_glCombinerParameterivNV = new Deno.UnsafeFnPointer(proc("glCombinerParameterivNV"), def_glCombinerParameterivNV); - fn_glCombinerParameteriNV = new Deno.UnsafeFnPointer(proc("glCombinerParameteriNV"), def_glCombinerParameteriNV); - fn_glCombinerInputNV = new Deno.UnsafeFnPointer(proc("glCombinerInputNV"), def_glCombinerInputNV); - fn_glCombinerOutputNV = new Deno.UnsafeFnPointer(proc("glCombinerOutputNV"), def_glCombinerOutputNV); - fn_glFinalCombinerInputNV = new Deno.UnsafeFnPointer(proc("glFinalCombinerInputNV"), def_glFinalCombinerInputNV); - fn_glGetCombinerInputParameterfvNV = new Deno.UnsafeFnPointer(proc("glGetCombinerInputParameterfvNV"), def_glGetCombinerInputParameterfvNV); - fn_glGetCombinerInputParameterivNV = new Deno.UnsafeFnPointer(proc("glGetCombinerInputParameterivNV"), def_glGetCombinerInputParameterivNV); - fn_glGetCombinerOutputParameterfvNV = new Deno.UnsafeFnPointer(proc("glGetCombinerOutputParameterfvNV"), def_glGetCombinerOutputParameterfvNV); - fn_glGetCombinerOutputParameterivNV = new Deno.UnsafeFnPointer(proc("glGetCombinerOutputParameterivNV"), def_glGetCombinerOutputParameterivNV); - fn_glGetFinalCombinerInputParameterfvNV = new Deno.UnsafeFnPointer(proc("glGetFinalCombinerInputParameterfvNV"), def_glGetFinalCombinerInputParameterfvNV); - fn_glGetFinalCombinerInputParameterivNV = new Deno.UnsafeFnPointer(proc("glGetFinalCombinerInputParameterivNV"), def_glGetFinalCombinerInputParameterivNV); + fn_glCombinerParameterfvNV = new Deno.UnsafeFnPointer( + proc("glCombinerParameterfvNV"), + def_glCombinerParameterfvNV, + ); + fn_glCombinerParameterfNV = new Deno.UnsafeFnPointer( + proc("glCombinerParameterfNV"), + def_glCombinerParameterfNV, + ); + fn_glCombinerParameterivNV = new Deno.UnsafeFnPointer( + proc("glCombinerParameterivNV"), + def_glCombinerParameterivNV, + ); + fn_glCombinerParameteriNV = new Deno.UnsafeFnPointer( + proc("glCombinerParameteriNV"), + def_glCombinerParameteriNV, + ); + fn_glCombinerInputNV = new Deno.UnsafeFnPointer( + proc("glCombinerInputNV"), + def_glCombinerInputNV, + ); + fn_glCombinerOutputNV = new Deno.UnsafeFnPointer( + proc("glCombinerOutputNV"), + def_glCombinerOutputNV, + ); + fn_glFinalCombinerInputNV = new Deno.UnsafeFnPointer( + proc("glFinalCombinerInputNV"), + def_glFinalCombinerInputNV, + ); + fn_glGetCombinerInputParameterfvNV = new Deno.UnsafeFnPointer( + proc("glGetCombinerInputParameterfvNV"), + def_glGetCombinerInputParameterfvNV, + ); + fn_glGetCombinerInputParameterivNV = new Deno.UnsafeFnPointer( + proc("glGetCombinerInputParameterivNV"), + def_glGetCombinerInputParameterivNV, + ); + fn_glGetCombinerOutputParameterfvNV = new Deno.UnsafeFnPointer( + proc("glGetCombinerOutputParameterfvNV"), + def_glGetCombinerOutputParameterfvNV, + ); + fn_glGetCombinerOutputParameterivNV = new Deno.UnsafeFnPointer( + proc("glGetCombinerOutputParameterivNV"), + def_glGetCombinerOutputParameterivNV, + ); + fn_glGetFinalCombinerInputParameterfvNV = new Deno.UnsafeFnPointer( + proc("glGetFinalCombinerInputParameterfvNV"), + def_glGetFinalCombinerInputParameterfvNV, + ); + fn_glGetFinalCombinerInputParameterivNV = new Deno.UnsafeFnPointer( + proc("glGetFinalCombinerInputParameterivNV"), + def_glGetFinalCombinerInputParameterivNV, + ); } diff --git a/api/ext/GL_NV_register_combiners2.ts b/api/ext/GL_NV_register_combiners2.ts index 72d0095..69591f6 100644 --- a/api/ext/GL_NV_register_combiners2.ts +++ b/api/ext/GL_NV_register_combiners2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glCombinerStageParameterfvNV = { result: "void", } as const; -let fn_glCombinerStageParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glCombinerStageParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glCombinerStageParameterfvNV +>; export function CombinerStageParameterfvNV( stage: GLenum, @@ -88,7 +98,9 @@ export const def_glGetCombinerStageParameterfvNV = { result: "void", } as const; -let fn_glGetCombinerStageParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glGetCombinerStageParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetCombinerStageParameterfvNV +>; export function GetCombinerStageParameterfvNV( stage: GLenum, @@ -104,6 +116,12 @@ export function GetCombinerStageParameterfvNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCombinerStageParameterfvNV = new Deno.UnsafeFnPointer(proc("glCombinerStageParameterfvNV"), def_glCombinerStageParameterfvNV); - fn_glGetCombinerStageParameterfvNV = new Deno.UnsafeFnPointer(proc("glGetCombinerStageParameterfvNV"), def_glGetCombinerStageParameterfvNV); + fn_glCombinerStageParameterfvNV = new Deno.UnsafeFnPointer( + proc("glCombinerStageParameterfvNV"), + def_glCombinerStageParameterfvNV, + ); + fn_glGetCombinerStageParameterfvNV = new Deno.UnsafeFnPointer( + proc("glGetCombinerStageParameterfvNV"), + def_glGetCombinerStageParameterfvNV, + ); } diff --git a/api/ext/GL_NV_representative_fragment_test.ts b/api/ext/GL_NV_representative_fragment_test.ts index 13592d8..bc8c07a 100644 --- a/api/ext/GL_NV_representative_fragment_test.ts +++ b/api/ext/GL_NV_representative_fragment_test.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_robustness_video_memory_purge.ts b/api/ext/GL_NV_robustness_video_memory_purge.ts index 5d7841f..b5eb7c1 100644 --- a/api/ext/GL_NV_robustness_video_memory_purge.ts +++ b/api/ext/GL_NV_robustness_video_memory_purge.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_sRGB_formats.ts b/api/ext/GL_NV_sRGB_formats.ts index 41ae61c..b429525 100644 --- a/api/ext/GL_NV_sRGB_formats.ts +++ b/api/ext/GL_NV_sRGB_formats.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_sample_locations.ts b/api/ext/GL_NV_sample_locations.ts index 1228973..b32453b 100644 --- a/api/ext/GL_NV_sample_locations.ts +++ b/api/ext/GL_NV_sample_locations.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -76,7 +84,9 @@ export const def_glFramebufferSampleLocationsfvNV = { result: "void", } as const; -let fn_glFramebufferSampleLocationsfvNV!: Deno.UnsafeFnPointer; +let fn_glFramebufferSampleLocationsfvNV!: Deno.UnsafeFnPointer< + typeof def_glFramebufferSampleLocationsfvNV +>; export function FramebufferSampleLocationsfvNV( target: GLenum, @@ -97,7 +107,9 @@ export const def_glNamedFramebufferSampleLocationsfvNV = { result: "void", } as const; -let fn_glNamedFramebufferSampleLocationsfvNV!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferSampleLocationsfvNV!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferSampleLocationsfvNV +>; export function NamedFramebufferSampleLocationsfvNV( framebuffer: GLuint, @@ -118,7 +130,9 @@ export const def_glResolveDepthValuesNV = { result: "void", } as const; -let fn_glResolveDepthValuesNV!: Deno.UnsafeFnPointer; +let fn_glResolveDepthValuesNV!: Deno.UnsafeFnPointer< + typeof def_glResolveDepthValuesNV +>; export function ResolveDepthValuesNV(): void { fn_glResolveDepthValuesNV.call(); @@ -126,7 +140,16 @@ export function ResolveDepthValuesNV(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferSampleLocationsfvNV = new Deno.UnsafeFnPointer(proc("glFramebufferSampleLocationsfvNV"), def_glFramebufferSampleLocationsfvNV); - fn_glNamedFramebufferSampleLocationsfvNV = new Deno.UnsafeFnPointer(proc("glNamedFramebufferSampleLocationsfvNV"), def_glNamedFramebufferSampleLocationsfvNV); - fn_glResolveDepthValuesNV = new Deno.UnsafeFnPointer(proc("glResolveDepthValuesNV"), def_glResolveDepthValuesNV); + fn_glFramebufferSampleLocationsfvNV = new Deno.UnsafeFnPointer( + proc("glFramebufferSampleLocationsfvNV"), + def_glFramebufferSampleLocationsfvNV, + ); + fn_glNamedFramebufferSampleLocationsfvNV = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferSampleLocationsfvNV"), + def_glNamedFramebufferSampleLocationsfvNV, + ); + fn_glResolveDepthValuesNV = new Deno.UnsafeFnPointer( + proc("glResolveDepthValuesNV"), + def_glResolveDepthValuesNV, + ); } diff --git a/api/ext/GL_NV_sample_mask_override_coverage.ts b/api/ext/GL_NV_sample_mask_override_coverage.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_sample_mask_override_coverage.ts +++ b/api/ext/GL_NV_sample_mask_override_coverage.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_scissor_exclusive.ts b/api/ext/GL_NV_scissor_exclusive.ts index 41ebb71..ac29a8f 100644 --- a/api/ext/GL_NV_scissor_exclusive.ts +++ b/api/ext/GL_NV_scissor_exclusive.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glScissorExclusiveNV = { result: "void", } as const; -let fn_glScissorExclusiveNV!: Deno.UnsafeFnPointer; +let fn_glScissorExclusiveNV!: Deno.UnsafeFnPointer< + typeof def_glScissorExclusiveNV +>; export function ScissorExclusiveNV( x: GLint, @@ -91,7 +101,9 @@ export const def_glScissorExclusiveArrayvNV = { result: "void", } as const; -let fn_glScissorExclusiveArrayvNV!: Deno.UnsafeFnPointer; +let fn_glScissorExclusiveArrayvNV!: Deno.UnsafeFnPointer< + typeof def_glScissorExclusiveArrayvNV +>; export function ScissorExclusiveArrayvNV( first: GLuint, @@ -107,6 +119,12 @@ export function ScissorExclusiveArrayvNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glScissorExclusiveNV = new Deno.UnsafeFnPointer(proc("glScissorExclusiveNV"), def_glScissorExclusiveNV); - fn_glScissorExclusiveArrayvNV = new Deno.UnsafeFnPointer(proc("glScissorExclusiveArrayvNV"), def_glScissorExclusiveArrayvNV); + fn_glScissorExclusiveNV = new Deno.UnsafeFnPointer( + proc("glScissorExclusiveNV"), + def_glScissorExclusiveNV, + ); + fn_glScissorExclusiveArrayvNV = new Deno.UnsafeFnPointer( + proc("glScissorExclusiveArrayvNV"), + def_glScissorExclusiveArrayvNV, + ); } diff --git a/api/ext/GL_NV_shader_atomic_counters.ts b/api/ext/GL_NV_shader_atomic_counters.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_shader_atomic_counters.ts +++ b/api/ext/GL_NV_shader_atomic_counters.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shader_atomic_float.ts b/api/ext/GL_NV_shader_atomic_float.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_shader_atomic_float.ts +++ b/api/ext/GL_NV_shader_atomic_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shader_atomic_float64.ts b/api/ext/GL_NV_shader_atomic_float64.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_shader_atomic_float64.ts +++ b/api/ext/GL_NV_shader_atomic_float64.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shader_atomic_fp16_vector.ts b/api/ext/GL_NV_shader_atomic_fp16_vector.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_shader_atomic_fp16_vector.ts +++ b/api/ext/GL_NV_shader_atomic_fp16_vector.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shader_atomic_int64.ts b/api/ext/GL_NV_shader_atomic_int64.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_shader_atomic_int64.ts +++ b/api/ext/GL_NV_shader_atomic_int64.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shader_buffer_load.ts b/api/ext/GL_NV_shader_buffer_load.ts index 283c78e..acf74e5 100644 --- a/api/ext/GL_NV_shader_buffer_load.ts +++ b/api/ext/GL_NV_shader_buffer_load.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glMakeBufferResidentNV = { result: "void", } as const; -let fn_glMakeBufferResidentNV!: Deno.UnsafeFnPointer; +let fn_glMakeBufferResidentNV!: Deno.UnsafeFnPointer< + typeof def_glMakeBufferResidentNV +>; export function MakeBufferResidentNV( target: GLenum, @@ -88,7 +98,9 @@ export const def_glMakeBufferNonResidentNV = { result: "void", } as const; -let fn_glMakeBufferNonResidentNV!: Deno.UnsafeFnPointer; +let fn_glMakeBufferNonResidentNV!: Deno.UnsafeFnPointer< + typeof def_glMakeBufferNonResidentNV +>; export function MakeBufferNonResidentNV( target: GLenum, @@ -103,7 +115,9 @@ export const def_glIsBufferResidentNV = { result: "u8", } as const; -let fn_glIsBufferResidentNV!: Deno.UnsafeFnPointer; +let fn_glIsBufferResidentNV!: Deno.UnsafeFnPointer< + typeof def_glIsBufferResidentNV +>; export function IsBufferResidentNV( target: GLenum, @@ -118,7 +132,9 @@ export const def_glMakeNamedBufferResidentNV = { result: "void", } as const; -let fn_glMakeNamedBufferResidentNV!: Deno.UnsafeFnPointer; +let fn_glMakeNamedBufferResidentNV!: Deno.UnsafeFnPointer< + typeof def_glMakeNamedBufferResidentNV +>; export function MakeNamedBufferResidentNV( buffer: GLuint, @@ -135,7 +151,9 @@ export const def_glMakeNamedBufferNonResidentNV = { result: "void", } as const; -let fn_glMakeNamedBufferNonResidentNV!: Deno.UnsafeFnPointer; +let fn_glMakeNamedBufferNonResidentNV!: Deno.UnsafeFnPointer< + typeof def_glMakeNamedBufferNonResidentNV +>; export function MakeNamedBufferNonResidentNV( buffer: GLuint, @@ -150,7 +168,9 @@ export const def_glIsNamedBufferResidentNV = { result: "u8", } as const; -let fn_glIsNamedBufferResidentNV!: Deno.UnsafeFnPointer; +let fn_glIsNamedBufferResidentNV!: Deno.UnsafeFnPointer< + typeof def_glIsNamedBufferResidentNV +>; export function IsNamedBufferResidentNV( buffer: GLuint, @@ -165,7 +185,9 @@ export const def_glGetBufferParameterui64vNV = { result: "void", } as const; -let fn_glGetBufferParameterui64vNV!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameterui64vNV!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameterui64vNV +>; export function GetBufferParameterui64vNV( target: GLenum, @@ -184,7 +206,9 @@ export const def_glGetNamedBufferParameterui64vNV = { result: "void", } as const; -let fn_glGetNamedBufferParameterui64vNV!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferParameterui64vNV!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferParameterui64vNV +>; export function GetNamedBufferParameterui64vNV( buffer: GLuint, @@ -203,7 +227,9 @@ export const def_glGetIntegerui64vNV = { result: "void", } as const; -let fn_glGetIntegerui64vNV!: Deno.UnsafeFnPointer; +let fn_glGetIntegerui64vNV!: Deno.UnsafeFnPointer< + typeof def_glGetIntegerui64vNV +>; export function GetIntegerui64vNV( value: GLenum, @@ -256,7 +282,9 @@ export const def_glGetUniformui64vNV = { result: "void", } as const; -let fn_glGetUniformui64vNV!: Deno.UnsafeFnPointer; +let fn_glGetUniformui64vNV!: Deno.UnsafeFnPointer< + typeof def_glGetUniformui64vNV +>; export function GetUniformui64vNV( program: GLuint, @@ -275,7 +303,9 @@ export const def_glProgramUniformui64NV = { result: "void", } as const; -let fn_glProgramUniformui64NV!: Deno.UnsafeFnPointer; +let fn_glProgramUniformui64NV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformui64NV +>; export function ProgramUniformui64NV( program: GLuint, @@ -294,7 +324,9 @@ export const def_glProgramUniformui64vNV = { result: "void", } as const; -let fn_glProgramUniformui64vNV!: Deno.UnsafeFnPointer; +let fn_glProgramUniformui64vNV!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformui64vNV +>; export function ProgramUniformui64vNV( program: GLuint, @@ -312,18 +344,60 @@ export function ProgramUniformui64vNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMakeBufferResidentNV = new Deno.UnsafeFnPointer(proc("glMakeBufferResidentNV"), def_glMakeBufferResidentNV); - fn_glMakeBufferNonResidentNV = new Deno.UnsafeFnPointer(proc("glMakeBufferNonResidentNV"), def_glMakeBufferNonResidentNV); - fn_glIsBufferResidentNV = new Deno.UnsafeFnPointer(proc("glIsBufferResidentNV"), def_glIsBufferResidentNV); - fn_glMakeNamedBufferResidentNV = new Deno.UnsafeFnPointer(proc("glMakeNamedBufferResidentNV"), def_glMakeNamedBufferResidentNV); - fn_glMakeNamedBufferNonResidentNV = new Deno.UnsafeFnPointer(proc("glMakeNamedBufferNonResidentNV"), def_glMakeNamedBufferNonResidentNV); - fn_glIsNamedBufferResidentNV = new Deno.UnsafeFnPointer(proc("glIsNamedBufferResidentNV"), def_glIsNamedBufferResidentNV); - fn_glGetBufferParameterui64vNV = new Deno.UnsafeFnPointer(proc("glGetBufferParameterui64vNV"), def_glGetBufferParameterui64vNV); - fn_glGetNamedBufferParameterui64vNV = new Deno.UnsafeFnPointer(proc("glGetNamedBufferParameterui64vNV"), def_glGetNamedBufferParameterui64vNV); - fn_glGetIntegerui64vNV = new Deno.UnsafeFnPointer(proc("glGetIntegerui64vNV"), def_glGetIntegerui64vNV); - fn_glUniformui64NV = new Deno.UnsafeFnPointer(proc("glUniformui64NV"), def_glUniformui64NV); - fn_glUniformui64vNV = new Deno.UnsafeFnPointer(proc("glUniformui64vNV"), def_glUniformui64vNV); - fn_glGetUniformui64vNV = new Deno.UnsafeFnPointer(proc("glGetUniformui64vNV"), def_glGetUniformui64vNV); - fn_glProgramUniformui64NV = new Deno.UnsafeFnPointer(proc("glProgramUniformui64NV"), def_glProgramUniformui64NV); - fn_glProgramUniformui64vNV = new Deno.UnsafeFnPointer(proc("glProgramUniformui64vNV"), def_glProgramUniformui64vNV); + fn_glMakeBufferResidentNV = new Deno.UnsafeFnPointer( + proc("glMakeBufferResidentNV"), + def_glMakeBufferResidentNV, + ); + fn_glMakeBufferNonResidentNV = new Deno.UnsafeFnPointer( + proc("glMakeBufferNonResidentNV"), + def_glMakeBufferNonResidentNV, + ); + fn_glIsBufferResidentNV = new Deno.UnsafeFnPointer( + proc("glIsBufferResidentNV"), + def_glIsBufferResidentNV, + ); + fn_glMakeNamedBufferResidentNV = new Deno.UnsafeFnPointer( + proc("glMakeNamedBufferResidentNV"), + def_glMakeNamedBufferResidentNV, + ); + fn_glMakeNamedBufferNonResidentNV = new Deno.UnsafeFnPointer( + proc("glMakeNamedBufferNonResidentNV"), + def_glMakeNamedBufferNonResidentNV, + ); + fn_glIsNamedBufferResidentNV = new Deno.UnsafeFnPointer( + proc("glIsNamedBufferResidentNV"), + def_glIsNamedBufferResidentNV, + ); + fn_glGetBufferParameterui64vNV = new Deno.UnsafeFnPointer( + proc("glGetBufferParameterui64vNV"), + def_glGetBufferParameterui64vNV, + ); + fn_glGetNamedBufferParameterui64vNV = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferParameterui64vNV"), + def_glGetNamedBufferParameterui64vNV, + ); + fn_glGetIntegerui64vNV = new Deno.UnsafeFnPointer( + proc("glGetIntegerui64vNV"), + def_glGetIntegerui64vNV, + ); + fn_glUniformui64NV = new Deno.UnsafeFnPointer( + proc("glUniformui64NV"), + def_glUniformui64NV, + ); + fn_glUniformui64vNV = new Deno.UnsafeFnPointer( + proc("glUniformui64vNV"), + def_glUniformui64vNV, + ); + fn_glGetUniformui64vNV = new Deno.UnsafeFnPointer( + proc("glGetUniformui64vNV"), + def_glGetUniformui64vNV, + ); + fn_glProgramUniformui64NV = new Deno.UnsafeFnPointer( + proc("glProgramUniformui64NV"), + def_glProgramUniformui64NV, + ); + fn_glProgramUniformui64vNV = new Deno.UnsafeFnPointer( + proc("glProgramUniformui64vNV"), + def_glProgramUniformui64vNV, + ); } diff --git a/api/ext/GL_NV_shader_buffer_store.ts b/api/ext/GL_NV_shader_buffer_store.ts index 35b3d02..f138d2b 100644 --- a/api/ext/GL_NV_shader_buffer_store.ts +++ b/api/ext/GL_NV_shader_buffer_store.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shader_noperspective_interpolation.ts b/api/ext/GL_NV_shader_noperspective_interpolation.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_shader_noperspective_interpolation.ts +++ b/api/ext/GL_NV_shader_noperspective_interpolation.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shader_storage_buffer_object.ts b/api/ext/GL_NV_shader_storage_buffer_object.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_shader_storage_buffer_object.ts +++ b/api/ext/GL_NV_shader_storage_buffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shader_subgroup_partitioned.ts b/api/ext/GL_NV_shader_subgroup_partitioned.ts index 86b4a1e..0db6b0c 100644 --- a/api/ext/GL_NV_shader_subgroup_partitioned.ts +++ b/api/ext/GL_NV_shader_subgroup_partitioned.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shader_texture_footprint.ts b/api/ext/GL_NV_shader_texture_footprint.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_shader_texture_footprint.ts +++ b/api/ext/GL_NV_shader_texture_footprint.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shader_thread_group.ts b/api/ext/GL_NV_shader_thread_group.ts index 691f3e0..dff35b5 100644 --- a/api/ext/GL_NV_shader_thread_group.ts +++ b/api/ext/GL_NV_shader_thread_group.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shader_thread_shuffle.ts b/api/ext/GL_NV_shader_thread_shuffle.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_shader_thread_shuffle.ts +++ b/api/ext/GL_NV_shader_thread_shuffle.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shading_rate_image.ts b/api/ext/GL_NV_shading_rate_image.ts index 5e26f5d..a619976 100644 --- a/api/ext/GL_NV_shading_rate_image.ts +++ b/api/ext/GL_NV_shading_rate_image.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -89,7 +97,9 @@ export const def_glBindShadingRateImageNV = { result: "void", } as const; -let fn_glBindShadingRateImageNV!: Deno.UnsafeFnPointer; +let fn_glBindShadingRateImageNV!: Deno.UnsafeFnPointer< + typeof def_glBindShadingRateImageNV +>; export function BindShadingRateImageNV( texture: GLuint, @@ -104,7 +114,9 @@ export const def_glGetShadingRateImagePaletteNV = { result: "void", } as const; -let fn_glGetShadingRateImagePaletteNV!: Deno.UnsafeFnPointer; +let fn_glGetShadingRateImagePaletteNV!: Deno.UnsafeFnPointer< + typeof def_glGetShadingRateImagePaletteNV +>; export function GetShadingRateImagePaletteNV( viewport: GLuint, @@ -123,7 +135,9 @@ export const def_glGetShadingRateSampleLocationivNV = { result: "void", } as const; -let fn_glGetShadingRateSampleLocationivNV!: Deno.UnsafeFnPointer; +let fn_glGetShadingRateSampleLocationivNV!: Deno.UnsafeFnPointer< + typeof def_glGetShadingRateSampleLocationivNV +>; export function GetShadingRateSampleLocationivNV( rate: GLenum, @@ -144,7 +158,9 @@ export const def_glShadingRateImageBarrierNV = { result: "void", } as const; -let fn_glShadingRateImageBarrierNV!: Deno.UnsafeFnPointer; +let fn_glShadingRateImageBarrierNV!: Deno.UnsafeFnPointer< + typeof def_glShadingRateImageBarrierNV +>; export function ShadingRateImageBarrierNV( synchronize: GLboolean, @@ -159,7 +175,9 @@ export const def_glShadingRateImagePaletteNV = { result: "void", } as const; -let fn_glShadingRateImagePaletteNV!: Deno.UnsafeFnPointer; +let fn_glShadingRateImagePaletteNV!: Deno.UnsafeFnPointer< + typeof def_glShadingRateImagePaletteNV +>; export function ShadingRateImagePaletteNV( viewport: GLuint, @@ -180,7 +198,9 @@ export const def_glShadingRateSampleOrderNV = { result: "void", } as const; -let fn_glShadingRateSampleOrderNV!: Deno.UnsafeFnPointer; +let fn_glShadingRateSampleOrderNV!: Deno.UnsafeFnPointer< + typeof def_glShadingRateSampleOrderNV +>; export function ShadingRateSampleOrderNV( order: GLenum, @@ -195,7 +215,9 @@ export const def_glShadingRateSampleOrderCustomNV = { result: "void", } as const; -let fn_glShadingRateSampleOrderCustomNV!: Deno.UnsafeFnPointer; +let fn_glShadingRateSampleOrderCustomNV!: Deno.UnsafeFnPointer< + typeof def_glShadingRateSampleOrderCustomNV +>; export function ShadingRateSampleOrderCustomNV( rate: GLenum, @@ -211,11 +233,32 @@ export function ShadingRateSampleOrderCustomNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindShadingRateImageNV = new Deno.UnsafeFnPointer(proc("glBindShadingRateImageNV"), def_glBindShadingRateImageNV); - fn_glGetShadingRateImagePaletteNV = new Deno.UnsafeFnPointer(proc("glGetShadingRateImagePaletteNV"), def_glGetShadingRateImagePaletteNV); - fn_glGetShadingRateSampleLocationivNV = new Deno.UnsafeFnPointer(proc("glGetShadingRateSampleLocationivNV"), def_glGetShadingRateSampleLocationivNV); - fn_glShadingRateImageBarrierNV = new Deno.UnsafeFnPointer(proc("glShadingRateImageBarrierNV"), def_glShadingRateImageBarrierNV); - fn_glShadingRateImagePaletteNV = new Deno.UnsafeFnPointer(proc("glShadingRateImagePaletteNV"), def_glShadingRateImagePaletteNV); - fn_glShadingRateSampleOrderNV = new Deno.UnsafeFnPointer(proc("glShadingRateSampleOrderNV"), def_glShadingRateSampleOrderNV); - fn_glShadingRateSampleOrderCustomNV = new Deno.UnsafeFnPointer(proc("glShadingRateSampleOrderCustomNV"), def_glShadingRateSampleOrderCustomNV); + fn_glBindShadingRateImageNV = new Deno.UnsafeFnPointer( + proc("glBindShadingRateImageNV"), + def_glBindShadingRateImageNV, + ); + fn_glGetShadingRateImagePaletteNV = new Deno.UnsafeFnPointer( + proc("glGetShadingRateImagePaletteNV"), + def_glGetShadingRateImagePaletteNV, + ); + fn_glGetShadingRateSampleLocationivNV = new Deno.UnsafeFnPointer( + proc("glGetShadingRateSampleLocationivNV"), + def_glGetShadingRateSampleLocationivNV, + ); + fn_glShadingRateImageBarrierNV = new Deno.UnsafeFnPointer( + proc("glShadingRateImageBarrierNV"), + def_glShadingRateImageBarrierNV, + ); + fn_glShadingRateImagePaletteNV = new Deno.UnsafeFnPointer( + proc("glShadingRateImagePaletteNV"), + def_glShadingRateImagePaletteNV, + ); + fn_glShadingRateSampleOrderNV = new Deno.UnsafeFnPointer( + proc("glShadingRateSampleOrderNV"), + def_glShadingRateSampleOrderNV, + ); + fn_glShadingRateSampleOrderCustomNV = new Deno.UnsafeFnPointer( + proc("glShadingRateSampleOrderCustomNV"), + def_glShadingRateSampleOrderCustomNV, + ); } diff --git a/api/ext/GL_NV_shadow_samplers_array.ts b/api/ext/GL_NV_shadow_samplers_array.ts index 96ac3b5..c16a570 100644 --- a/api/ext/GL_NV_shadow_samplers_array.ts +++ b/api/ext/GL_NV_shadow_samplers_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_shadow_samplers_cube.ts b/api/ext/GL_NV_shadow_samplers_cube.ts index c8ec15d..ce4b2dd 100644 --- a/api/ext/GL_NV_shadow_samplers_cube.ts +++ b/api/ext/GL_NV_shadow_samplers_cube.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_stereo_view_rendering.ts b/api/ext/GL_NV_stereo_view_rendering.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_stereo_view_rendering.ts +++ b/api/ext/GL_NV_stereo_view_rendering.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_tessellation_program5.ts b/api/ext/GL_NV_tessellation_program5.ts index 370ab6c..7313589 100644 --- a/api/ext/GL_NV_tessellation_program5.ts +++ b/api/ext/GL_NV_tessellation_program5.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texgen_emboss.ts b/api/ext/GL_NV_texgen_emboss.ts index b854638..7cf2fb1 100644 --- a/api/ext/GL_NV_texgen_emboss.ts +++ b/api/ext/GL_NV_texgen_emboss.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texgen_reflection.ts b/api/ext/GL_NV_texgen_reflection.ts index 189a4af..8161948 100644 --- a/api/ext/GL_NV_texgen_reflection.ts +++ b/api/ext/GL_NV_texgen_reflection.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texture_barrier.ts b/api/ext/GL_NV_texture_barrier.ts index b04bdc1..48203a4 100644 --- a/api/ext/GL_NV_texture_barrier.ts +++ b/api/ext/GL_NV_texture_barrier.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,5 +82,8 @@ export function TextureBarrierNV(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTextureBarrierNV = new Deno.UnsafeFnPointer(proc("glTextureBarrierNV"), def_glTextureBarrierNV); + fn_glTextureBarrierNV = new Deno.UnsafeFnPointer( + proc("glTextureBarrierNV"), + def_glTextureBarrierNV, + ); } diff --git a/api/ext/GL_NV_texture_border_clamp.ts b/api/ext/GL_NV_texture_border_clamp.ts index 69c6e03..415fa1c 100644 --- a/api/ext/GL_NV_texture_border_clamp.ts +++ b/api/ext/GL_NV_texture_border_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texture_compression_s3tc_update.ts b/api/ext/GL_NV_texture_compression_s3tc_update.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_texture_compression_s3tc_update.ts +++ b/api/ext/GL_NV_texture_compression_s3tc_update.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texture_compression_vtc.ts b/api/ext/GL_NV_texture_compression_vtc.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_texture_compression_vtc.ts +++ b/api/ext/GL_NV_texture_compression_vtc.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texture_env_combine4.ts b/api/ext/GL_NV_texture_env_combine4.ts index 2b7d4fb..c32d697 100644 --- a/api/ext/GL_NV_texture_env_combine4.ts +++ b/api/ext/GL_NV_texture_env_combine4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texture_expand_normal.ts b/api/ext/GL_NV_texture_expand_normal.ts index 0e5690a..243fe00 100644 --- a/api/ext/GL_NV_texture_expand_normal.ts +++ b/api/ext/GL_NV_texture_expand_normal.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texture_multisample.ts b/api/ext/GL_NV_texture_multisample.ts index 02aed0a..0cfffe9 100644 --- a/api/ext/GL_NV_texture_multisample.ts +++ b/api/ext/GL_NV_texture_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glTexImage2DMultisampleCoverageNV = { result: "void", } as const; -let fn_glTexImage2DMultisampleCoverageNV!: Deno.UnsafeFnPointer; +let fn_glTexImage2DMultisampleCoverageNV!: Deno.UnsafeFnPointer< + typeof def_glTexImage2DMultisampleCoverageNV +>; export function TexImage2DMultisampleCoverageNV( target: GLenum, @@ -97,7 +107,9 @@ export const def_glTexImage3DMultisampleCoverageNV = { result: "void", } as const; -let fn_glTexImage3DMultisampleCoverageNV!: Deno.UnsafeFnPointer; +let fn_glTexImage3DMultisampleCoverageNV!: Deno.UnsafeFnPointer< + typeof def_glTexImage3DMultisampleCoverageNV +>; export function TexImage3DMultisampleCoverageNV( target: GLenum, @@ -126,7 +138,9 @@ export const def_glTextureImage2DMultisampleNV = { result: "void", } as const; -let fn_glTextureImage2DMultisampleNV!: Deno.UnsafeFnPointer; +let fn_glTextureImage2DMultisampleNV!: Deno.UnsafeFnPointer< + typeof def_glTextureImage2DMultisampleNV +>; export function TextureImage2DMultisampleNV( texture: GLuint, @@ -153,7 +167,9 @@ export const def_glTextureImage3DMultisampleNV = { result: "void", } as const; -let fn_glTextureImage3DMultisampleNV!: Deno.UnsafeFnPointer; +let fn_glTextureImage3DMultisampleNV!: Deno.UnsafeFnPointer< + typeof def_glTextureImage3DMultisampleNV +>; export function TextureImage3DMultisampleNV( texture: GLuint, @@ -182,7 +198,9 @@ export const def_glTextureImage2DMultisampleCoverageNV = { result: "void", } as const; -let fn_glTextureImage2DMultisampleCoverageNV!: Deno.UnsafeFnPointer; +let fn_glTextureImage2DMultisampleCoverageNV!: Deno.UnsafeFnPointer< + typeof def_glTextureImage2DMultisampleCoverageNV +>; export function TextureImage2DMultisampleCoverageNV( texture: GLuint, @@ -211,7 +229,9 @@ export const def_glTextureImage3DMultisampleCoverageNV = { result: "void", } as const; -let fn_glTextureImage3DMultisampleCoverageNV!: Deno.UnsafeFnPointer; +let fn_glTextureImage3DMultisampleCoverageNV!: Deno.UnsafeFnPointer< + typeof def_glTextureImage3DMultisampleCoverageNV +>; export function TextureImage3DMultisampleCoverageNV( texture: GLuint, @@ -239,10 +259,28 @@ export function TextureImage3DMultisampleCoverageNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexImage2DMultisampleCoverageNV = new Deno.UnsafeFnPointer(proc("glTexImage2DMultisampleCoverageNV"), def_glTexImage2DMultisampleCoverageNV); - fn_glTexImage3DMultisampleCoverageNV = new Deno.UnsafeFnPointer(proc("glTexImage3DMultisampleCoverageNV"), def_glTexImage3DMultisampleCoverageNV); - fn_glTextureImage2DMultisampleNV = new Deno.UnsafeFnPointer(proc("glTextureImage2DMultisampleNV"), def_glTextureImage2DMultisampleNV); - fn_glTextureImage3DMultisampleNV = new Deno.UnsafeFnPointer(proc("glTextureImage3DMultisampleNV"), def_glTextureImage3DMultisampleNV); - fn_glTextureImage2DMultisampleCoverageNV = new Deno.UnsafeFnPointer(proc("glTextureImage2DMultisampleCoverageNV"), def_glTextureImage2DMultisampleCoverageNV); - fn_glTextureImage3DMultisampleCoverageNV = new Deno.UnsafeFnPointer(proc("glTextureImage3DMultisampleCoverageNV"), def_glTextureImage3DMultisampleCoverageNV); + fn_glTexImage2DMultisampleCoverageNV = new Deno.UnsafeFnPointer( + proc("glTexImage2DMultisampleCoverageNV"), + def_glTexImage2DMultisampleCoverageNV, + ); + fn_glTexImage3DMultisampleCoverageNV = new Deno.UnsafeFnPointer( + proc("glTexImage3DMultisampleCoverageNV"), + def_glTexImage3DMultisampleCoverageNV, + ); + fn_glTextureImage2DMultisampleNV = new Deno.UnsafeFnPointer( + proc("glTextureImage2DMultisampleNV"), + def_glTextureImage2DMultisampleNV, + ); + fn_glTextureImage3DMultisampleNV = new Deno.UnsafeFnPointer( + proc("glTextureImage3DMultisampleNV"), + def_glTextureImage3DMultisampleNV, + ); + fn_glTextureImage2DMultisampleCoverageNV = new Deno.UnsafeFnPointer( + proc("glTextureImage2DMultisampleCoverageNV"), + def_glTextureImage2DMultisampleCoverageNV, + ); + fn_glTextureImage3DMultisampleCoverageNV = new Deno.UnsafeFnPointer( + proc("glTextureImage3DMultisampleCoverageNV"), + def_glTextureImage3DMultisampleCoverageNV, + ); } diff --git a/api/ext/GL_NV_texture_npot_2D_mipmap.ts b/api/ext/GL_NV_texture_npot_2D_mipmap.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_texture_npot_2D_mipmap.ts +++ b/api/ext/GL_NV_texture_npot_2D_mipmap.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texture_rectangle.ts b/api/ext/GL_NV_texture_rectangle.ts index ef59409..7ff9eab 100644 --- a/api/ext/GL_NV_texture_rectangle.ts +++ b/api/ext/GL_NV_texture_rectangle.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texture_rectangle_compressed.ts b/api/ext/GL_NV_texture_rectangle_compressed.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_texture_rectangle_compressed.ts +++ b/api/ext/GL_NV_texture_rectangle_compressed.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texture_shader.ts b/api/ext/GL_NV_texture_shader.ts index ea09890..c943177 100644 --- a/api/ext/GL_NV_texture_shader.ts +++ b/api/ext/GL_NV_texture_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texture_shader2.ts b/api/ext/GL_NV_texture_shader2.ts index 49f77eb..2d24f6f 100644 --- a/api/ext/GL_NV_texture_shader2.ts +++ b/api/ext/GL_NV_texture_shader2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_texture_shader3.ts b/api/ext/GL_NV_texture_shader3.ts index a4557df..ef1d3dd 100644 --- a/api/ext/GL_NV_texture_shader3.ts +++ b/api/ext/GL_NV_texture_shader3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_timeline_semaphore.ts b/api/ext/GL_NV_timeline_semaphore.ts index 48d82c8..db40083 100644 --- a/api/ext/GL_NV_timeline_semaphore.ts +++ b/api/ext/GL_NV_timeline_semaphore.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -73,7 +81,9 @@ export const def_glCreateSemaphoresNV = { result: "void", } as const; -let fn_glCreateSemaphoresNV!: Deno.UnsafeFnPointer; +let fn_glCreateSemaphoresNV!: Deno.UnsafeFnPointer< + typeof def_glCreateSemaphoresNV +>; export function CreateSemaphoresNV( n: GLsizei, @@ -90,7 +100,9 @@ export const def_glSemaphoreParameterivNV = { result: "void", } as const; -let fn_glSemaphoreParameterivNV!: Deno.UnsafeFnPointer; +let fn_glSemaphoreParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glSemaphoreParameterivNV +>; export function SemaphoreParameterivNV( semaphore: GLuint, @@ -109,7 +121,9 @@ export const def_glGetSemaphoreParameterivNV = { result: "void", } as const; -let fn_glGetSemaphoreParameterivNV!: Deno.UnsafeFnPointer; +let fn_glGetSemaphoreParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glGetSemaphoreParameterivNV +>; export function GetSemaphoreParameterivNV( semaphore: GLuint, @@ -125,7 +139,16 @@ export function GetSemaphoreParameterivNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCreateSemaphoresNV = new Deno.UnsafeFnPointer(proc("glCreateSemaphoresNV"), def_glCreateSemaphoresNV); - fn_glSemaphoreParameterivNV = new Deno.UnsafeFnPointer(proc("glSemaphoreParameterivNV"), def_glSemaphoreParameterivNV); - fn_glGetSemaphoreParameterivNV = new Deno.UnsafeFnPointer(proc("glGetSemaphoreParameterivNV"), def_glGetSemaphoreParameterivNV); + fn_glCreateSemaphoresNV = new Deno.UnsafeFnPointer( + proc("glCreateSemaphoresNV"), + def_glCreateSemaphoresNV, + ); + fn_glSemaphoreParameterivNV = new Deno.UnsafeFnPointer( + proc("glSemaphoreParameterivNV"), + def_glSemaphoreParameterivNV, + ); + fn_glGetSemaphoreParameterivNV = new Deno.UnsafeFnPointer( + proc("glGetSemaphoreParameterivNV"), + def_glGetSemaphoreParameterivNV, + ); } diff --git a/api/ext/GL_NV_transform_feedback2.ts b/api/ext/GL_NV_transform_feedback2.ts index a437a86..71485f2 100644 --- a/api/ext/GL_NV_transform_feedback2.ts +++ b/api/ext/GL_NV_transform_feedback2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glBindTransformFeedbackNV = { result: "void", } as const; -let fn_glBindTransformFeedbackNV!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedbackNV!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedbackNV +>; export function BindTransformFeedbackNV( target: GLenum, @@ -89,7 +99,9 @@ export const def_glDeleteTransformFeedbacksNV = { result: "void", } as const; -let fn_glDeleteTransformFeedbacksNV!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacksNV!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacksNV +>; export function DeleteTransformFeedbacksNV( n: GLsizei, @@ -106,7 +118,9 @@ export const def_glGenTransformFeedbacksNV = { result: "void", } as const; -let fn_glGenTransformFeedbacksNV!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacksNV!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacksNV +>; export function GenTransformFeedbacksNV( n: GLsizei, @@ -123,7 +137,9 @@ export const def_glIsTransformFeedbackNV = { result: "u8", } as const; -let fn_glIsTransformFeedbackNV!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedbackNV!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedbackNV +>; export function IsTransformFeedbackNV( id: GLuint, @@ -138,7 +154,9 @@ export const def_glPauseTransformFeedbackNV = { result: "void", } as const; -let fn_glPauseTransformFeedbackNV!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedbackNV!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedbackNV +>; export function PauseTransformFeedbackNV(): void { fn_glPauseTransformFeedbackNV.call(); @@ -149,7 +167,9 @@ export const def_glResumeTransformFeedbackNV = { result: "void", } as const; -let fn_glResumeTransformFeedbackNV!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedbackNV!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedbackNV +>; export function ResumeTransformFeedbackNV(): void { fn_glResumeTransformFeedbackNV.call(); @@ -160,7 +180,9 @@ export const def_glDrawTransformFeedbackNV = { result: "void", } as const; -let fn_glDrawTransformFeedbackNV!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackNV!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackNV +>; export function DrawTransformFeedbackNV( mode: GLenum, @@ -174,11 +196,32 @@ export function DrawTransformFeedbackNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindTransformFeedbackNV = new Deno.UnsafeFnPointer(proc("glBindTransformFeedbackNV"), def_glBindTransformFeedbackNV); - fn_glDeleteTransformFeedbacksNV = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacksNV"), def_glDeleteTransformFeedbacksNV); - fn_glGenTransformFeedbacksNV = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacksNV"), def_glGenTransformFeedbacksNV); - fn_glIsTransformFeedbackNV = new Deno.UnsafeFnPointer(proc("glIsTransformFeedbackNV"), def_glIsTransformFeedbackNV); - fn_glPauseTransformFeedbackNV = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedbackNV"), def_glPauseTransformFeedbackNV); - fn_glResumeTransformFeedbackNV = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedbackNV"), def_glResumeTransformFeedbackNV); - fn_glDrawTransformFeedbackNV = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackNV"), def_glDrawTransformFeedbackNV); + fn_glBindTransformFeedbackNV = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedbackNV"), + def_glBindTransformFeedbackNV, + ); + fn_glDeleteTransformFeedbacksNV = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacksNV"), + def_glDeleteTransformFeedbacksNV, + ); + fn_glGenTransformFeedbacksNV = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacksNV"), + def_glGenTransformFeedbacksNV, + ); + fn_glIsTransformFeedbackNV = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedbackNV"), + def_glIsTransformFeedbackNV, + ); + fn_glPauseTransformFeedbackNV = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedbackNV"), + def_glPauseTransformFeedbackNV, + ); + fn_glResumeTransformFeedbackNV = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedbackNV"), + def_glResumeTransformFeedbackNV, + ); + fn_glDrawTransformFeedbackNV = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackNV"), + def_glDrawTransformFeedbackNV, + ); } diff --git a/api/ext/GL_NV_uniform_buffer_unified_memory.ts b/api/ext/GL_NV_uniform_buffer_unified_memory.ts index 22490e9..a54ed5d 100644 --- a/api/ext/GL_NV_uniform_buffer_unified_memory.ts +++ b/api/ext/GL_NV_uniform_buffer_unified_memory.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_vdpau_interop.ts b/api/ext/GL_NV_vdpau_interop.ts index c263f88..0551631 100644 --- a/api/ext/GL_NV_vdpau_interop.ts +++ b/api/ext/GL_NV_vdpau_interop.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -100,7 +108,9 @@ export const def_glVDPAURegisterVideoSurfaceNV = { result: "buffer", } as const; -let fn_glVDPAURegisterVideoSurfaceNV!: Deno.UnsafeFnPointer; +let fn_glVDPAURegisterVideoSurfaceNV!: Deno.UnsafeFnPointer< + typeof def_glVDPAURegisterVideoSurfaceNV +>; export function VDPAURegisterVideoSurfaceNV( vdpSurface: Buffer, @@ -121,7 +131,9 @@ export const def_glVDPAURegisterOutputSurfaceNV = { result: "buffer", } as const; -let fn_glVDPAURegisterOutputSurfaceNV!: Deno.UnsafeFnPointer; +let fn_glVDPAURegisterOutputSurfaceNV!: Deno.UnsafeFnPointer< + typeof def_glVDPAURegisterOutputSurfaceNV +>; export function VDPAURegisterOutputSurfaceNV( vdpSurface: Buffer, @@ -157,7 +169,9 @@ export const def_glVDPAUUnregisterSurfaceNV = { result: "void", } as const; -let fn_glVDPAUUnregisterSurfaceNV!: Deno.UnsafeFnPointer; +let fn_glVDPAUUnregisterSurfaceNV!: Deno.UnsafeFnPointer< + typeof def_glVDPAUUnregisterSurfaceNV +>; export function VDPAUUnregisterSurfaceNV( surface: GLvdpauSurfaceNV, @@ -172,7 +186,9 @@ export const def_glVDPAUGetSurfaceivNV = { result: "void", } as const; -let fn_glVDPAUGetSurfaceivNV!: Deno.UnsafeFnPointer; +let fn_glVDPAUGetSurfaceivNV!: Deno.UnsafeFnPointer< + typeof def_glVDPAUGetSurfaceivNV +>; export function VDPAUGetSurfaceivNV( surface: GLvdpauSurfaceNV, @@ -195,7 +211,9 @@ export const def_glVDPAUSurfaceAccessNV = { result: "void", } as const; -let fn_glVDPAUSurfaceAccessNV!: Deno.UnsafeFnPointer; +let fn_glVDPAUSurfaceAccessNV!: Deno.UnsafeFnPointer< + typeof def_glVDPAUSurfaceAccessNV +>; export function VDPAUSurfaceAccessNV( surface: GLvdpauSurfaceNV, @@ -212,7 +230,9 @@ export const def_glVDPAUMapSurfacesNV = { result: "void", } as const; -let fn_glVDPAUMapSurfacesNV!: Deno.UnsafeFnPointer; +let fn_glVDPAUMapSurfacesNV!: Deno.UnsafeFnPointer< + typeof def_glVDPAUMapSurfacesNV +>; export function VDPAUMapSurfacesNV( numSurfaces: GLsizei, @@ -229,7 +249,9 @@ export const def_glVDPAUUnmapSurfacesNV = { result: "void", } as const; -let fn_glVDPAUUnmapSurfacesNV!: Deno.UnsafeFnPointer; +let fn_glVDPAUUnmapSurfacesNV!: Deno.UnsafeFnPointer< + typeof def_glVDPAUUnmapSurfacesNV +>; export function VDPAUUnmapSurfacesNV( numSurface: GLsizei, @@ -243,14 +265,44 @@ export function VDPAUUnmapSurfacesNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVDPAUInitNV = new Deno.UnsafeFnPointer(proc("glVDPAUInitNV"), def_glVDPAUInitNV); - fn_glVDPAUFiniNV = new Deno.UnsafeFnPointer(proc("glVDPAUFiniNV"), def_glVDPAUFiniNV); - fn_glVDPAURegisterVideoSurfaceNV = new Deno.UnsafeFnPointer(proc("glVDPAURegisterVideoSurfaceNV"), def_glVDPAURegisterVideoSurfaceNV); - fn_glVDPAURegisterOutputSurfaceNV = new Deno.UnsafeFnPointer(proc("glVDPAURegisterOutputSurfaceNV"), def_glVDPAURegisterOutputSurfaceNV); - fn_glVDPAUIsSurfaceNV = new Deno.UnsafeFnPointer(proc("glVDPAUIsSurfaceNV"), def_glVDPAUIsSurfaceNV); - fn_glVDPAUUnregisterSurfaceNV = new Deno.UnsafeFnPointer(proc("glVDPAUUnregisterSurfaceNV"), def_glVDPAUUnregisterSurfaceNV); - fn_glVDPAUGetSurfaceivNV = new Deno.UnsafeFnPointer(proc("glVDPAUGetSurfaceivNV"), def_glVDPAUGetSurfaceivNV); - fn_glVDPAUSurfaceAccessNV = new Deno.UnsafeFnPointer(proc("glVDPAUSurfaceAccessNV"), def_glVDPAUSurfaceAccessNV); - fn_glVDPAUMapSurfacesNV = new Deno.UnsafeFnPointer(proc("glVDPAUMapSurfacesNV"), def_glVDPAUMapSurfacesNV); - fn_glVDPAUUnmapSurfacesNV = new Deno.UnsafeFnPointer(proc("glVDPAUUnmapSurfacesNV"), def_glVDPAUUnmapSurfacesNV); + fn_glVDPAUInitNV = new Deno.UnsafeFnPointer( + proc("glVDPAUInitNV"), + def_glVDPAUInitNV, + ); + fn_glVDPAUFiniNV = new Deno.UnsafeFnPointer( + proc("glVDPAUFiniNV"), + def_glVDPAUFiniNV, + ); + fn_glVDPAURegisterVideoSurfaceNV = new Deno.UnsafeFnPointer( + proc("glVDPAURegisterVideoSurfaceNV"), + def_glVDPAURegisterVideoSurfaceNV, + ); + fn_glVDPAURegisterOutputSurfaceNV = new Deno.UnsafeFnPointer( + proc("glVDPAURegisterOutputSurfaceNV"), + def_glVDPAURegisterOutputSurfaceNV, + ); + fn_glVDPAUIsSurfaceNV = new Deno.UnsafeFnPointer( + proc("glVDPAUIsSurfaceNV"), + def_glVDPAUIsSurfaceNV, + ); + fn_glVDPAUUnregisterSurfaceNV = new Deno.UnsafeFnPointer( + proc("glVDPAUUnregisterSurfaceNV"), + def_glVDPAUUnregisterSurfaceNV, + ); + fn_glVDPAUGetSurfaceivNV = new Deno.UnsafeFnPointer( + proc("glVDPAUGetSurfaceivNV"), + def_glVDPAUGetSurfaceivNV, + ); + fn_glVDPAUSurfaceAccessNV = new Deno.UnsafeFnPointer( + proc("glVDPAUSurfaceAccessNV"), + def_glVDPAUSurfaceAccessNV, + ); + fn_glVDPAUMapSurfacesNV = new Deno.UnsafeFnPointer( + proc("glVDPAUMapSurfacesNV"), + def_glVDPAUMapSurfacesNV, + ); + fn_glVDPAUUnmapSurfacesNV = new Deno.UnsafeFnPointer( + proc("glVDPAUUnmapSurfacesNV"), + def_glVDPAUUnmapSurfacesNV, + ); } diff --git a/api/ext/GL_NV_vdpau_interop2.ts b/api/ext/GL_NV_vdpau_interop2.ts index 491f626..c126860 100644 --- a/api/ext/GL_NV_vdpau_interop2.ts +++ b/api/ext/GL_NV_vdpau_interop2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glVDPAURegisterVideoSurfaceWithPictureStructureNV = { result: "buffer", } as const; -let fn_glVDPAURegisterVideoSurfaceWithPictureStructureNV!: Deno.UnsafeFnPointer; +let fn_glVDPAURegisterVideoSurfaceWithPictureStructureNV!: Deno.UnsafeFnPointer< + typeof def_glVDPAURegisterVideoSurfaceWithPictureStructureNV +>; export function VDPAURegisterVideoSurfaceWithPictureStructureNV( vdpSurface: Buffer, @@ -86,5 +96,9 @@ export function VDPAURegisterVideoSurfaceWithPictureStructureNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVDPAURegisterVideoSurfaceWithPictureStructureNV = new Deno.UnsafeFnPointer(proc("glVDPAURegisterVideoSurfaceWithPictureStructureNV"), def_glVDPAURegisterVideoSurfaceWithPictureStructureNV); + fn_glVDPAURegisterVideoSurfaceWithPictureStructureNV = new Deno + .UnsafeFnPointer( + proc("glVDPAURegisterVideoSurfaceWithPictureStructureNV"), + def_glVDPAURegisterVideoSurfaceWithPictureStructureNV, + ); } diff --git a/api/ext/GL_NV_vertex_array_range.ts b/api/ext/GL_NV_vertex_array_range.ts index 021613a..c9d0943 100644 --- a/api/ext/GL_NV_vertex_array_range.ts +++ b/api/ext/GL_NV_vertex_array_range.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -73,7 +81,9 @@ export const def_glFlushVertexArrayRangeNV = { result: "void", } as const; -let fn_glFlushVertexArrayRangeNV!: Deno.UnsafeFnPointer; +let fn_glFlushVertexArrayRangeNV!: Deno.UnsafeFnPointer< + typeof def_glFlushVertexArrayRangeNV +>; export function FlushVertexArrayRangeNV(): void { fn_glFlushVertexArrayRangeNV.call(); @@ -84,7 +94,9 @@ export const def_glVertexArrayRangeNV = { result: "void", } as const; -let fn_glVertexArrayRangeNV!: Deno.UnsafeFnPointer; +let fn_glVertexArrayRangeNV!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayRangeNV +>; export function VertexArrayRangeNV( length: GLsizei, @@ -98,6 +110,12 @@ export function VertexArrayRangeNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFlushVertexArrayRangeNV = new Deno.UnsafeFnPointer(proc("glFlushVertexArrayRangeNV"), def_glFlushVertexArrayRangeNV); - fn_glVertexArrayRangeNV = new Deno.UnsafeFnPointer(proc("glVertexArrayRangeNV"), def_glVertexArrayRangeNV); + fn_glFlushVertexArrayRangeNV = new Deno.UnsafeFnPointer( + proc("glFlushVertexArrayRangeNV"), + def_glFlushVertexArrayRangeNV, + ); + fn_glVertexArrayRangeNV = new Deno.UnsafeFnPointer( + proc("glVertexArrayRangeNV"), + def_glVertexArrayRangeNV, + ); } diff --git a/api/ext/GL_NV_vertex_array_range2.ts b/api/ext/GL_NV_vertex_array_range2.ts index 9ec28b6..c85231b 100644 --- a/api/ext/GL_NV_vertex_array_range2.ts +++ b/api/ext/GL_NV_vertex_array_range2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_vertex_attrib_integer_64bit.ts b/api/ext/GL_NV_vertex_attrib_integer_64bit.ts index ba75bc5..6bf4fce 100644 --- a/api/ext/GL_NV_vertex_attrib_integer_64bit.ts +++ b/api/ext/GL_NV_vertex_attrib_integer_64bit.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glVertexAttribL1i64NV = { result: "void", } as const; -let fn_glVertexAttribL1i64NV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL1i64NV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL1i64NV +>; export function VertexAttribL1i64NV( index: GLuint, @@ -87,7 +97,9 @@ export const def_glVertexAttribL2i64NV = { result: "void", } as const; -let fn_glVertexAttribL2i64NV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL2i64NV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL2i64NV +>; export function VertexAttribL2i64NV( index: GLuint, @@ -106,7 +118,9 @@ export const def_glVertexAttribL3i64NV = { result: "void", } as const; -let fn_glVertexAttribL3i64NV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL3i64NV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL3i64NV +>; export function VertexAttribL3i64NV( index: GLuint, @@ -127,7 +141,9 @@ export const def_glVertexAttribL4i64NV = { result: "void", } as const; -let fn_glVertexAttribL4i64NV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL4i64NV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL4i64NV +>; export function VertexAttribL4i64NV( index: GLuint, @@ -150,7 +166,9 @@ export const def_glVertexAttribL1i64vNV = { result: "void", } as const; -let fn_glVertexAttribL1i64vNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL1i64vNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL1i64vNV +>; export function VertexAttribL1i64vNV( index: GLuint, @@ -167,7 +185,9 @@ export const def_glVertexAttribL2i64vNV = { result: "void", } as const; -let fn_glVertexAttribL2i64vNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL2i64vNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL2i64vNV +>; export function VertexAttribL2i64vNV( index: GLuint, @@ -184,7 +204,9 @@ export const def_glVertexAttribL3i64vNV = { result: "void", } as const; -let fn_glVertexAttribL3i64vNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL3i64vNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL3i64vNV +>; export function VertexAttribL3i64vNV( index: GLuint, @@ -201,7 +223,9 @@ export const def_glVertexAttribL4i64vNV = { result: "void", } as const; -let fn_glVertexAttribL4i64vNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL4i64vNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL4i64vNV +>; export function VertexAttribL4i64vNV( index: GLuint, @@ -218,7 +242,9 @@ export const def_glVertexAttribL1ui64NV = { result: "void", } as const; -let fn_glVertexAttribL1ui64NV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL1ui64NV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL1ui64NV +>; export function VertexAttribL1ui64NV( index: GLuint, @@ -235,7 +261,9 @@ export const def_glVertexAttribL2ui64NV = { result: "void", } as const; -let fn_glVertexAttribL2ui64NV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL2ui64NV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL2ui64NV +>; export function VertexAttribL2ui64NV( index: GLuint, @@ -254,7 +282,9 @@ export const def_glVertexAttribL3ui64NV = { result: "void", } as const; -let fn_glVertexAttribL3ui64NV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL3ui64NV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL3ui64NV +>; export function VertexAttribL3ui64NV( index: GLuint, @@ -275,7 +305,9 @@ export const def_glVertexAttribL4ui64NV = { result: "void", } as const; -let fn_glVertexAttribL4ui64NV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL4ui64NV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL4ui64NV +>; export function VertexAttribL4ui64NV( index: GLuint, @@ -298,7 +330,9 @@ export const def_glVertexAttribL1ui64vNV = { result: "void", } as const; -let fn_glVertexAttribL1ui64vNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL1ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL1ui64vNV +>; export function VertexAttribL1ui64vNV( index: GLuint, @@ -315,7 +349,9 @@ export const def_glVertexAttribL2ui64vNV = { result: "void", } as const; -let fn_glVertexAttribL2ui64vNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL2ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL2ui64vNV +>; export function VertexAttribL2ui64vNV( index: GLuint, @@ -332,7 +368,9 @@ export const def_glVertexAttribL3ui64vNV = { result: "void", } as const; -let fn_glVertexAttribL3ui64vNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL3ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL3ui64vNV +>; export function VertexAttribL3ui64vNV( index: GLuint, @@ -349,7 +387,9 @@ export const def_glVertexAttribL4ui64vNV = { result: "void", } as const; -let fn_glVertexAttribL4ui64vNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribL4ui64vNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribL4ui64vNV +>; export function VertexAttribL4ui64vNV( index: GLuint, @@ -366,7 +406,9 @@ export const def_glGetVertexAttribLi64vNV = { result: "void", } as const; -let fn_glGetVertexAttribLi64vNV!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribLi64vNV!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribLi64vNV +>; export function GetVertexAttribLi64vNV( index: GLuint, @@ -385,7 +427,9 @@ export const def_glGetVertexAttribLui64vNV = { result: "void", } as const; -let fn_glGetVertexAttribLui64vNV!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribLui64vNV!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribLui64vNV +>; export function GetVertexAttribLui64vNV( index: GLuint, @@ -404,7 +448,9 @@ export const def_glVertexAttribLFormatNV = { result: "void", } as const; -let fn_glVertexAttribLFormatNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLFormatNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLFormatNV +>; export function VertexAttribLFormatNV( index: GLuint, @@ -422,23 +468,80 @@ export function VertexAttribLFormatNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexAttribL1i64NV = new Deno.UnsafeFnPointer(proc("glVertexAttribL1i64NV"), def_glVertexAttribL1i64NV); - fn_glVertexAttribL2i64NV = new Deno.UnsafeFnPointer(proc("glVertexAttribL2i64NV"), def_glVertexAttribL2i64NV); - fn_glVertexAttribL3i64NV = new Deno.UnsafeFnPointer(proc("glVertexAttribL3i64NV"), def_glVertexAttribL3i64NV); - fn_glVertexAttribL4i64NV = new Deno.UnsafeFnPointer(proc("glVertexAttribL4i64NV"), def_glVertexAttribL4i64NV); - fn_glVertexAttribL1i64vNV = new Deno.UnsafeFnPointer(proc("glVertexAttribL1i64vNV"), def_glVertexAttribL1i64vNV); - fn_glVertexAttribL2i64vNV = new Deno.UnsafeFnPointer(proc("glVertexAttribL2i64vNV"), def_glVertexAttribL2i64vNV); - fn_glVertexAttribL3i64vNV = new Deno.UnsafeFnPointer(proc("glVertexAttribL3i64vNV"), def_glVertexAttribL3i64vNV); - fn_glVertexAttribL4i64vNV = new Deno.UnsafeFnPointer(proc("glVertexAttribL4i64vNV"), def_glVertexAttribL4i64vNV); - fn_glVertexAttribL1ui64NV = new Deno.UnsafeFnPointer(proc("glVertexAttribL1ui64NV"), def_glVertexAttribL1ui64NV); - fn_glVertexAttribL2ui64NV = new Deno.UnsafeFnPointer(proc("glVertexAttribL2ui64NV"), def_glVertexAttribL2ui64NV); - fn_glVertexAttribL3ui64NV = new Deno.UnsafeFnPointer(proc("glVertexAttribL3ui64NV"), def_glVertexAttribL3ui64NV); - fn_glVertexAttribL4ui64NV = new Deno.UnsafeFnPointer(proc("glVertexAttribL4ui64NV"), def_glVertexAttribL4ui64NV); - fn_glVertexAttribL1ui64vNV = new Deno.UnsafeFnPointer(proc("glVertexAttribL1ui64vNV"), def_glVertexAttribL1ui64vNV); - fn_glVertexAttribL2ui64vNV = new Deno.UnsafeFnPointer(proc("glVertexAttribL2ui64vNV"), def_glVertexAttribL2ui64vNV); - fn_glVertexAttribL3ui64vNV = new Deno.UnsafeFnPointer(proc("glVertexAttribL3ui64vNV"), def_glVertexAttribL3ui64vNV); - fn_glVertexAttribL4ui64vNV = new Deno.UnsafeFnPointer(proc("glVertexAttribL4ui64vNV"), def_glVertexAttribL4ui64vNV); - fn_glGetVertexAttribLi64vNV = new Deno.UnsafeFnPointer(proc("glGetVertexAttribLi64vNV"), def_glGetVertexAttribLi64vNV); - fn_glGetVertexAttribLui64vNV = new Deno.UnsafeFnPointer(proc("glGetVertexAttribLui64vNV"), def_glGetVertexAttribLui64vNV); - fn_glVertexAttribLFormatNV = new Deno.UnsafeFnPointer(proc("glVertexAttribLFormatNV"), def_glVertexAttribLFormatNV); + fn_glVertexAttribL1i64NV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1i64NV"), + def_glVertexAttribL1i64NV, + ); + fn_glVertexAttribL2i64NV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2i64NV"), + def_glVertexAttribL2i64NV, + ); + fn_glVertexAttribL3i64NV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3i64NV"), + def_glVertexAttribL3i64NV, + ); + fn_glVertexAttribL4i64NV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4i64NV"), + def_glVertexAttribL4i64NV, + ); + fn_glVertexAttribL1i64vNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1i64vNV"), + def_glVertexAttribL1i64vNV, + ); + fn_glVertexAttribL2i64vNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2i64vNV"), + def_glVertexAttribL2i64vNV, + ); + fn_glVertexAttribL3i64vNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3i64vNV"), + def_glVertexAttribL3i64vNV, + ); + fn_glVertexAttribL4i64vNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4i64vNV"), + def_glVertexAttribL4i64vNV, + ); + fn_glVertexAttribL1ui64NV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1ui64NV"), + def_glVertexAttribL1ui64NV, + ); + fn_glVertexAttribL2ui64NV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2ui64NV"), + def_glVertexAttribL2ui64NV, + ); + fn_glVertexAttribL3ui64NV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3ui64NV"), + def_glVertexAttribL3ui64NV, + ); + fn_glVertexAttribL4ui64NV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4ui64NV"), + def_glVertexAttribL4ui64NV, + ); + fn_glVertexAttribL1ui64vNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1ui64vNV"), + def_glVertexAttribL1ui64vNV, + ); + fn_glVertexAttribL2ui64vNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2ui64vNV"), + def_glVertexAttribL2ui64vNV, + ); + fn_glVertexAttribL3ui64vNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3ui64vNV"), + def_glVertexAttribL3ui64vNV, + ); + fn_glVertexAttribL4ui64vNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4ui64vNV"), + def_glVertexAttribL4ui64vNV, + ); + fn_glGetVertexAttribLi64vNV = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribLi64vNV"), + def_glGetVertexAttribLi64vNV, + ); + fn_glGetVertexAttribLui64vNV = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribLui64vNV"), + def_glGetVertexAttribLui64vNV, + ); + fn_glVertexAttribLFormatNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribLFormatNV"), + def_glVertexAttribLFormatNV, + ); } diff --git a/api/ext/GL_NV_vertex_buffer_unified_memory.ts b/api/ext/GL_NV_vertex_buffer_unified_memory.ts index 887cbe0..be09ebe 100644 --- a/api/ext/GL_NV_vertex_buffer_unified_memory.ts +++ b/api/ext/GL_NV_vertex_buffer_unified_memory.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -93,7 +101,9 @@ export const def_glBufferAddressRangeNV = { result: "void", } as const; -let fn_glBufferAddressRangeNV!: Deno.UnsafeFnPointer; +let fn_glBufferAddressRangeNV!: Deno.UnsafeFnPointer< + typeof def_glBufferAddressRangeNV +>; export function BufferAddressRangeNV( pname: GLenum, @@ -220,7 +230,9 @@ export const def_glSecondaryColorFormatNV = { result: "void", } as const; -let fn_glSecondaryColorFormatNV!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorFormatNV!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorFormatNV +>; export function SecondaryColorFormatNV( size: GLint, @@ -256,7 +268,9 @@ export const def_glVertexAttribFormatNV = { result: "void", } as const; -let fn_glVertexAttribFormatNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribFormatNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribFormatNV +>; export function VertexAttribFormatNV( index: GLuint, @@ -279,7 +293,9 @@ export const def_glVertexAttribIFormatNV = { result: "void", } as const; -let fn_glVertexAttribIFormatNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIFormatNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIFormatNV +>; export function VertexAttribIFormatNV( index: GLuint, @@ -300,7 +316,9 @@ export const def_glGetIntegerui64i_vNV = { result: "void", } as const; -let fn_glGetIntegerui64i_vNV!: Deno.UnsafeFnPointer; +let fn_glGetIntegerui64i_vNV!: Deno.UnsafeFnPointer< + typeof def_glGetIntegerui64i_vNV +>; export function GetIntegerui64i_vNV( value: GLenum, @@ -316,16 +334,52 @@ export function GetIntegerui64i_vNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBufferAddressRangeNV = new Deno.UnsafeFnPointer(proc("glBufferAddressRangeNV"), def_glBufferAddressRangeNV); - fn_glVertexFormatNV = new Deno.UnsafeFnPointer(proc("glVertexFormatNV"), def_glVertexFormatNV); - fn_glNormalFormatNV = new Deno.UnsafeFnPointer(proc("glNormalFormatNV"), def_glNormalFormatNV); - fn_glColorFormatNV = new Deno.UnsafeFnPointer(proc("glColorFormatNV"), def_glColorFormatNV); - fn_glIndexFormatNV = new Deno.UnsafeFnPointer(proc("glIndexFormatNV"), def_glIndexFormatNV); - fn_glTexCoordFormatNV = new Deno.UnsafeFnPointer(proc("glTexCoordFormatNV"), def_glTexCoordFormatNV); - fn_glEdgeFlagFormatNV = new Deno.UnsafeFnPointer(proc("glEdgeFlagFormatNV"), def_glEdgeFlagFormatNV); - fn_glSecondaryColorFormatNV = new Deno.UnsafeFnPointer(proc("glSecondaryColorFormatNV"), def_glSecondaryColorFormatNV); - fn_glFogCoordFormatNV = new Deno.UnsafeFnPointer(proc("glFogCoordFormatNV"), def_glFogCoordFormatNV); - fn_glVertexAttribFormatNV = new Deno.UnsafeFnPointer(proc("glVertexAttribFormatNV"), def_glVertexAttribFormatNV); - fn_glVertexAttribIFormatNV = new Deno.UnsafeFnPointer(proc("glVertexAttribIFormatNV"), def_glVertexAttribIFormatNV); - fn_glGetIntegerui64i_vNV = new Deno.UnsafeFnPointer(proc("glGetIntegerui64i_vNV"), def_glGetIntegerui64i_vNV); + fn_glBufferAddressRangeNV = new Deno.UnsafeFnPointer( + proc("glBufferAddressRangeNV"), + def_glBufferAddressRangeNV, + ); + fn_glVertexFormatNV = new Deno.UnsafeFnPointer( + proc("glVertexFormatNV"), + def_glVertexFormatNV, + ); + fn_glNormalFormatNV = new Deno.UnsafeFnPointer( + proc("glNormalFormatNV"), + def_glNormalFormatNV, + ); + fn_glColorFormatNV = new Deno.UnsafeFnPointer( + proc("glColorFormatNV"), + def_glColorFormatNV, + ); + fn_glIndexFormatNV = new Deno.UnsafeFnPointer( + proc("glIndexFormatNV"), + def_glIndexFormatNV, + ); + fn_glTexCoordFormatNV = new Deno.UnsafeFnPointer( + proc("glTexCoordFormatNV"), + def_glTexCoordFormatNV, + ); + fn_glEdgeFlagFormatNV = new Deno.UnsafeFnPointer( + proc("glEdgeFlagFormatNV"), + def_glEdgeFlagFormatNV, + ); + fn_glSecondaryColorFormatNV = new Deno.UnsafeFnPointer( + proc("glSecondaryColorFormatNV"), + def_glSecondaryColorFormatNV, + ); + fn_glFogCoordFormatNV = new Deno.UnsafeFnPointer( + proc("glFogCoordFormatNV"), + def_glFogCoordFormatNV, + ); + fn_glVertexAttribFormatNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribFormatNV"), + def_glVertexAttribFormatNV, + ); + fn_glVertexAttribIFormatNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribIFormatNV"), + def_glVertexAttribIFormatNV, + ); + fn_glGetIntegerui64i_vNV = new Deno.UnsafeFnPointer( + proc("glGetIntegerui64i_vNV"), + def_glGetIntegerui64i_vNV, + ); } diff --git a/api/ext/GL_NV_vertex_program.ts b/api/ext/GL_NV_vertex_program.ts index 5a9cd58..e4a5dc8 100644 --- a/api/ext/GL_NV_vertex_program.ts +++ b/api/ext/GL_NV_vertex_program.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -151,7 +159,9 @@ export const def_glAreProgramsResidentNV = { result: "u8", } as const; -let fn_glAreProgramsResidentNV!: Deno.UnsafeFnPointer; +let fn_glAreProgramsResidentNV!: Deno.UnsafeFnPointer< + typeof def_glAreProgramsResidentNV +>; export function AreProgramsResidentNV( n: GLsizei, @@ -240,7 +250,9 @@ export const def_glGetProgramParameterdvNV = { result: "void", } as const; -let fn_glGetProgramParameterdvNV!: Deno.UnsafeFnPointer; +let fn_glGetProgramParameterdvNV!: Deno.UnsafeFnPointer< + typeof def_glGetProgramParameterdvNV +>; export function GetProgramParameterdvNV( target: GLenum, @@ -261,7 +273,9 @@ export const def_glGetProgramParameterfvNV = { result: "void", } as const; -let fn_glGetProgramParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glGetProgramParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetProgramParameterfvNV +>; export function GetProgramParameterfvNV( target: GLenum, @@ -301,7 +315,9 @@ export const def_glGetProgramStringNV = { result: "void", } as const; -let fn_glGetProgramStringNV!: Deno.UnsafeFnPointer; +let fn_glGetProgramStringNV!: Deno.UnsafeFnPointer< + typeof def_glGetProgramStringNV +>; export function GetProgramStringNV( id: GLuint, @@ -320,7 +336,9 @@ export const def_glGetTrackMatrixivNV = { result: "void", } as const; -let fn_glGetTrackMatrixivNV!: Deno.UnsafeFnPointer; +let fn_glGetTrackMatrixivNV!: Deno.UnsafeFnPointer< + typeof def_glGetTrackMatrixivNV +>; export function GetTrackMatrixivNV( target: GLenum, @@ -341,7 +359,9 @@ export const def_glGetVertexAttribdvNV = { result: "void", } as const; -let fn_glGetVertexAttribdvNV!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdvNV!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdvNV +>; export function GetVertexAttribdvNV( index: GLuint, @@ -360,7 +380,9 @@ export const def_glGetVertexAttribfvNV = { result: "void", } as const; -let fn_glGetVertexAttribfvNV!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfvNV +>; export function GetVertexAttribfvNV( index: GLuint, @@ -379,7 +401,9 @@ export const def_glGetVertexAttribivNV = { result: "void", } as const; -let fn_glGetVertexAttribivNV!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribivNV!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribivNV +>; export function GetVertexAttribivNV( index: GLuint, @@ -398,7 +422,9 @@ export const def_glGetVertexAttribPointervNV = { result: "void", } as const; -let fn_glGetVertexAttribPointervNV!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointervNV!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointervNV +>; export function GetVertexAttribPointervNV( index: GLuint, @@ -453,7 +479,9 @@ export const def_glProgramParameter4dNV = { result: "void", } as const; -let fn_glProgramParameter4dNV!: Deno.UnsafeFnPointer; +let fn_glProgramParameter4dNV!: Deno.UnsafeFnPointer< + typeof def_glProgramParameter4dNV +>; export function ProgramParameter4dNV( target: GLenum, @@ -478,7 +506,9 @@ export const def_glProgramParameter4dvNV = { result: "void", } as const; -let fn_glProgramParameter4dvNV!: Deno.UnsafeFnPointer; +let fn_glProgramParameter4dvNV!: Deno.UnsafeFnPointer< + typeof def_glProgramParameter4dvNV +>; export function ProgramParameter4dvNV( target: GLenum, @@ -497,7 +527,9 @@ export const def_glProgramParameter4fNV = { result: "void", } as const; -let fn_glProgramParameter4fNV!: Deno.UnsafeFnPointer; +let fn_glProgramParameter4fNV!: Deno.UnsafeFnPointer< + typeof def_glProgramParameter4fNV +>; export function ProgramParameter4fNV( target: GLenum, @@ -522,7 +554,9 @@ export const def_glProgramParameter4fvNV = { result: "void", } as const; -let fn_glProgramParameter4fvNV!: Deno.UnsafeFnPointer; +let fn_glProgramParameter4fvNV!: Deno.UnsafeFnPointer< + typeof def_glProgramParameter4fvNV +>; export function ProgramParameter4fvNV( target: GLenum, @@ -541,7 +575,9 @@ export const def_glProgramParameters4dvNV = { result: "void", } as const; -let fn_glProgramParameters4dvNV!: Deno.UnsafeFnPointer; +let fn_glProgramParameters4dvNV!: Deno.UnsafeFnPointer< + typeof def_glProgramParameters4dvNV +>; export function ProgramParameters4dvNV( target: GLenum, @@ -562,7 +598,9 @@ export const def_glProgramParameters4fvNV = { result: "void", } as const; -let fn_glProgramParameters4fvNV!: Deno.UnsafeFnPointer; +let fn_glProgramParameters4fvNV!: Deno.UnsafeFnPointer< + typeof def_glProgramParameters4fvNV +>; export function ProgramParameters4fvNV( target: GLenum, @@ -583,7 +621,9 @@ export const def_glRequestResidentProgramsNV = { result: "void", } as const; -let fn_glRequestResidentProgramsNV!: Deno.UnsafeFnPointer; +let fn_glRequestResidentProgramsNV!: Deno.UnsafeFnPointer< + typeof def_glRequestResidentProgramsNV +>; export function RequestResidentProgramsNV( n: GLsizei, @@ -621,7 +661,9 @@ export const def_glVertexAttribPointerNV = { result: "void", } as const; -let fn_glVertexAttribPointerNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointerNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointerNV +>; export function VertexAttribPointerNV( index: GLuint, @@ -661,7 +703,9 @@ export const def_glVertexAttrib1dvNV = { result: "void", } as const; -let fn_glVertexAttrib1dvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1dvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1dvNV +>; export function VertexAttrib1dvNV( index: GLuint, @@ -695,7 +739,9 @@ export const def_glVertexAttrib1fvNV = { result: "void", } as const; -let fn_glVertexAttrib1fvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1fvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1fvNV +>; export function VertexAttrib1fvNV( index: GLuint, @@ -729,7 +775,9 @@ export const def_glVertexAttrib1svNV = { result: "void", } as const; -let fn_glVertexAttrib1svNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib1svNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib1svNV +>; export function VertexAttrib1svNV( index: GLuint, @@ -765,7 +813,9 @@ export const def_glVertexAttrib2dvNV = { result: "void", } as const; -let fn_glVertexAttrib2dvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2dvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2dvNV +>; export function VertexAttrib2dvNV( index: GLuint, @@ -801,7 +851,9 @@ export const def_glVertexAttrib2fvNV = { result: "void", } as const; -let fn_glVertexAttrib2fvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2fvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2fvNV +>; export function VertexAttrib2fvNV( index: GLuint, @@ -837,7 +889,9 @@ export const def_glVertexAttrib2svNV = { result: "void", } as const; -let fn_glVertexAttrib2svNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib2svNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib2svNV +>; export function VertexAttrib2svNV( index: GLuint, @@ -875,7 +929,9 @@ export const def_glVertexAttrib3dvNV = { result: "void", } as const; -let fn_glVertexAttrib3dvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3dvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3dvNV +>; export function VertexAttrib3dvNV( index: GLuint, @@ -913,7 +969,9 @@ export const def_glVertexAttrib3fvNV = { result: "void", } as const; -let fn_glVertexAttrib3fvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3fvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3fvNV +>; export function VertexAttrib3fvNV( index: GLuint, @@ -951,7 +1009,9 @@ export const def_glVertexAttrib3svNV = { result: "void", } as const; -let fn_glVertexAttrib3svNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib3svNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib3svNV +>; export function VertexAttrib3svNV( index: GLuint, @@ -991,7 +1051,9 @@ export const def_glVertexAttrib4dvNV = { result: "void", } as const; -let fn_glVertexAttrib4dvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4dvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4dvNV +>; export function VertexAttrib4dvNV( index: GLuint, @@ -1031,7 +1093,9 @@ export const def_glVertexAttrib4fvNV = { result: "void", } as const; -let fn_glVertexAttrib4fvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4fvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4fvNV +>; export function VertexAttrib4fvNV( index: GLuint, @@ -1071,7 +1135,9 @@ export const def_glVertexAttrib4svNV = { result: "void", } as const; -let fn_glVertexAttrib4svNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4svNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4svNV +>; export function VertexAttrib4svNV( index: GLuint, @@ -1088,7 +1154,9 @@ export const def_glVertexAttrib4ubNV = { result: "void", } as const; -let fn_glVertexAttrib4ubNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4ubNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4ubNV +>; export function VertexAttrib4ubNV( index: GLuint, @@ -1111,7 +1179,9 @@ export const def_glVertexAttrib4ubvNV = { result: "void", } as const; -let fn_glVertexAttrib4ubvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4ubvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4ubvNV +>; export function VertexAttrib4ubvNV( index: GLuint, @@ -1128,7 +1198,9 @@ export const def_glVertexAttribs1dvNV = { result: "void", } as const; -let fn_glVertexAttribs1dvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs1dvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs1dvNV +>; export function VertexAttribs1dvNV( index: GLuint, @@ -1147,7 +1219,9 @@ export const def_glVertexAttribs1fvNV = { result: "void", } as const; -let fn_glVertexAttribs1fvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs1fvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs1fvNV +>; export function VertexAttribs1fvNV( index: GLuint, @@ -1166,7 +1240,9 @@ export const def_glVertexAttribs1svNV = { result: "void", } as const; -let fn_glVertexAttribs1svNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs1svNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs1svNV +>; export function VertexAttribs1svNV( index: GLuint, @@ -1185,7 +1261,9 @@ export const def_glVertexAttribs2dvNV = { result: "void", } as const; -let fn_glVertexAttribs2dvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs2dvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs2dvNV +>; export function VertexAttribs2dvNV( index: GLuint, @@ -1204,7 +1282,9 @@ export const def_glVertexAttribs2fvNV = { result: "void", } as const; -let fn_glVertexAttribs2fvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs2fvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs2fvNV +>; export function VertexAttribs2fvNV( index: GLuint, @@ -1223,7 +1303,9 @@ export const def_glVertexAttribs2svNV = { result: "void", } as const; -let fn_glVertexAttribs2svNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs2svNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs2svNV +>; export function VertexAttribs2svNV( index: GLuint, @@ -1242,7 +1324,9 @@ export const def_glVertexAttribs3dvNV = { result: "void", } as const; -let fn_glVertexAttribs3dvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs3dvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs3dvNV +>; export function VertexAttribs3dvNV( index: GLuint, @@ -1261,7 +1345,9 @@ export const def_glVertexAttribs3fvNV = { result: "void", } as const; -let fn_glVertexAttribs3fvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs3fvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs3fvNV +>; export function VertexAttribs3fvNV( index: GLuint, @@ -1280,7 +1366,9 @@ export const def_glVertexAttribs3svNV = { result: "void", } as const; -let fn_glVertexAttribs3svNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs3svNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs3svNV +>; export function VertexAttribs3svNV( index: GLuint, @@ -1299,7 +1387,9 @@ export const def_glVertexAttribs4dvNV = { result: "void", } as const; -let fn_glVertexAttribs4dvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs4dvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs4dvNV +>; export function VertexAttribs4dvNV( index: GLuint, @@ -1318,7 +1408,9 @@ export const def_glVertexAttribs4fvNV = { result: "void", } as const; -let fn_glVertexAttribs4fvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs4fvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs4fvNV +>; export function VertexAttribs4fvNV( index: GLuint, @@ -1337,7 +1429,9 @@ export const def_glVertexAttribs4svNV = { result: "void", } as const; -let fn_glVertexAttribs4svNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs4svNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs4svNV +>; export function VertexAttribs4svNV( index: GLuint, @@ -1356,7 +1450,9 @@ export const def_glVertexAttribs4ubvNV = { result: "void", } as const; -let fn_glVertexAttribs4ubvNV!: Deno.UnsafeFnPointer; +let fn_glVertexAttribs4ubvNV!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribs4ubvNV +>; export function VertexAttribs4ubvNV( index: GLuint, @@ -1372,68 +1468,260 @@ export function VertexAttribs4ubvNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glAreProgramsResidentNV = new Deno.UnsafeFnPointer(proc("glAreProgramsResidentNV"), def_glAreProgramsResidentNV); - fn_glBindProgramNV = new Deno.UnsafeFnPointer(proc("glBindProgramNV"), def_glBindProgramNV); - fn_glDeleteProgramsNV = new Deno.UnsafeFnPointer(proc("glDeleteProgramsNV"), def_glDeleteProgramsNV); - fn_glExecuteProgramNV = new Deno.UnsafeFnPointer(proc("glExecuteProgramNV"), def_glExecuteProgramNV); - fn_glGenProgramsNV = new Deno.UnsafeFnPointer(proc("glGenProgramsNV"), def_glGenProgramsNV); - fn_glGetProgramParameterdvNV = new Deno.UnsafeFnPointer(proc("glGetProgramParameterdvNV"), def_glGetProgramParameterdvNV); - fn_glGetProgramParameterfvNV = new Deno.UnsafeFnPointer(proc("glGetProgramParameterfvNV"), def_glGetProgramParameterfvNV); - fn_glGetProgramivNV = new Deno.UnsafeFnPointer(proc("glGetProgramivNV"), def_glGetProgramivNV); - fn_glGetProgramStringNV = new Deno.UnsafeFnPointer(proc("glGetProgramStringNV"), def_glGetProgramStringNV); - fn_glGetTrackMatrixivNV = new Deno.UnsafeFnPointer(proc("glGetTrackMatrixivNV"), def_glGetTrackMatrixivNV); - fn_glGetVertexAttribdvNV = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdvNV"), def_glGetVertexAttribdvNV); - fn_glGetVertexAttribfvNV = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfvNV"), def_glGetVertexAttribfvNV); - fn_glGetVertexAttribivNV = new Deno.UnsafeFnPointer(proc("glGetVertexAttribivNV"), def_glGetVertexAttribivNV); - fn_glGetVertexAttribPointervNV = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointervNV"), def_glGetVertexAttribPointervNV); - fn_glIsProgramNV = new Deno.UnsafeFnPointer(proc("glIsProgramNV"), def_glIsProgramNV); - fn_glLoadProgramNV = new Deno.UnsafeFnPointer(proc("glLoadProgramNV"), def_glLoadProgramNV); - fn_glProgramParameter4dNV = new Deno.UnsafeFnPointer(proc("glProgramParameter4dNV"), def_glProgramParameter4dNV); - fn_glProgramParameter4dvNV = new Deno.UnsafeFnPointer(proc("glProgramParameter4dvNV"), def_glProgramParameter4dvNV); - fn_glProgramParameter4fNV = new Deno.UnsafeFnPointer(proc("glProgramParameter4fNV"), def_glProgramParameter4fNV); - fn_glProgramParameter4fvNV = new Deno.UnsafeFnPointer(proc("glProgramParameter4fvNV"), def_glProgramParameter4fvNV); - fn_glProgramParameters4dvNV = new Deno.UnsafeFnPointer(proc("glProgramParameters4dvNV"), def_glProgramParameters4dvNV); - fn_glProgramParameters4fvNV = new Deno.UnsafeFnPointer(proc("glProgramParameters4fvNV"), def_glProgramParameters4fvNV); - fn_glRequestResidentProgramsNV = new Deno.UnsafeFnPointer(proc("glRequestResidentProgramsNV"), def_glRequestResidentProgramsNV); - fn_glTrackMatrixNV = new Deno.UnsafeFnPointer(proc("glTrackMatrixNV"), def_glTrackMatrixNV); - fn_glVertexAttribPointerNV = new Deno.UnsafeFnPointer(proc("glVertexAttribPointerNV"), def_glVertexAttribPointerNV); - fn_glVertexAttrib1dNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dNV"), def_glVertexAttrib1dNV); - fn_glVertexAttrib1dvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dvNV"), def_glVertexAttrib1dvNV); - fn_glVertexAttrib1fNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fNV"), def_glVertexAttrib1fNV); - fn_glVertexAttrib1fvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fvNV"), def_glVertexAttrib1fvNV); - fn_glVertexAttrib1sNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sNV"), def_glVertexAttrib1sNV); - fn_glVertexAttrib1svNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib1svNV"), def_glVertexAttrib1svNV); - fn_glVertexAttrib2dNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dNV"), def_glVertexAttrib2dNV); - fn_glVertexAttrib2dvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dvNV"), def_glVertexAttrib2dvNV); - fn_glVertexAttrib2fNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fNV"), def_glVertexAttrib2fNV); - fn_glVertexAttrib2fvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fvNV"), def_glVertexAttrib2fvNV); - fn_glVertexAttrib2sNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sNV"), def_glVertexAttrib2sNV); - fn_glVertexAttrib2svNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib2svNV"), def_glVertexAttrib2svNV); - fn_glVertexAttrib3dNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dNV"), def_glVertexAttrib3dNV); - fn_glVertexAttrib3dvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dvNV"), def_glVertexAttrib3dvNV); - fn_glVertexAttrib3fNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fNV"), def_glVertexAttrib3fNV); - fn_glVertexAttrib3fvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fvNV"), def_glVertexAttrib3fvNV); - fn_glVertexAttrib3sNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sNV"), def_glVertexAttrib3sNV); - fn_glVertexAttrib3svNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib3svNV"), def_glVertexAttrib3svNV); - fn_glVertexAttrib4dNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dNV"), def_glVertexAttrib4dNV); - fn_glVertexAttrib4dvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dvNV"), def_glVertexAttrib4dvNV); - fn_glVertexAttrib4fNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fNV"), def_glVertexAttrib4fNV); - fn_glVertexAttrib4fvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fvNV"), def_glVertexAttrib4fvNV); - fn_glVertexAttrib4sNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sNV"), def_glVertexAttrib4sNV); - fn_glVertexAttrib4svNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib4svNV"), def_glVertexAttrib4svNV); - fn_glVertexAttrib4ubNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubNV"), def_glVertexAttrib4ubNV); - fn_glVertexAttrib4ubvNV = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubvNV"), def_glVertexAttrib4ubvNV); - fn_glVertexAttribs1dvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs1dvNV"), def_glVertexAttribs1dvNV); - fn_glVertexAttribs1fvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs1fvNV"), def_glVertexAttribs1fvNV); - fn_glVertexAttribs1svNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs1svNV"), def_glVertexAttribs1svNV); - fn_glVertexAttribs2dvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs2dvNV"), def_glVertexAttribs2dvNV); - fn_glVertexAttribs2fvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs2fvNV"), def_glVertexAttribs2fvNV); - fn_glVertexAttribs2svNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs2svNV"), def_glVertexAttribs2svNV); - fn_glVertexAttribs3dvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs3dvNV"), def_glVertexAttribs3dvNV); - fn_glVertexAttribs3fvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs3fvNV"), def_glVertexAttribs3fvNV); - fn_glVertexAttribs3svNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs3svNV"), def_glVertexAttribs3svNV); - fn_glVertexAttribs4dvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs4dvNV"), def_glVertexAttribs4dvNV); - fn_glVertexAttribs4fvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs4fvNV"), def_glVertexAttribs4fvNV); - fn_glVertexAttribs4svNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs4svNV"), def_glVertexAttribs4svNV); - fn_glVertexAttribs4ubvNV = new Deno.UnsafeFnPointer(proc("glVertexAttribs4ubvNV"), def_glVertexAttribs4ubvNV); + fn_glAreProgramsResidentNV = new Deno.UnsafeFnPointer( + proc("glAreProgramsResidentNV"), + def_glAreProgramsResidentNV, + ); + fn_glBindProgramNV = new Deno.UnsafeFnPointer( + proc("glBindProgramNV"), + def_glBindProgramNV, + ); + fn_glDeleteProgramsNV = new Deno.UnsafeFnPointer( + proc("glDeleteProgramsNV"), + def_glDeleteProgramsNV, + ); + fn_glExecuteProgramNV = new Deno.UnsafeFnPointer( + proc("glExecuteProgramNV"), + def_glExecuteProgramNV, + ); + fn_glGenProgramsNV = new Deno.UnsafeFnPointer( + proc("glGenProgramsNV"), + def_glGenProgramsNV, + ); + fn_glGetProgramParameterdvNV = new Deno.UnsafeFnPointer( + proc("glGetProgramParameterdvNV"), + def_glGetProgramParameterdvNV, + ); + fn_glGetProgramParameterfvNV = new Deno.UnsafeFnPointer( + proc("glGetProgramParameterfvNV"), + def_glGetProgramParameterfvNV, + ); + fn_glGetProgramivNV = new Deno.UnsafeFnPointer( + proc("glGetProgramivNV"), + def_glGetProgramivNV, + ); + fn_glGetProgramStringNV = new Deno.UnsafeFnPointer( + proc("glGetProgramStringNV"), + def_glGetProgramStringNV, + ); + fn_glGetTrackMatrixivNV = new Deno.UnsafeFnPointer( + proc("glGetTrackMatrixivNV"), + def_glGetTrackMatrixivNV, + ); + fn_glGetVertexAttribdvNV = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdvNV"), + def_glGetVertexAttribdvNV, + ); + fn_glGetVertexAttribfvNV = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfvNV"), + def_glGetVertexAttribfvNV, + ); + fn_glGetVertexAttribivNV = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribivNV"), + def_glGetVertexAttribivNV, + ); + fn_glGetVertexAttribPointervNV = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointervNV"), + def_glGetVertexAttribPointervNV, + ); + fn_glIsProgramNV = new Deno.UnsafeFnPointer( + proc("glIsProgramNV"), + def_glIsProgramNV, + ); + fn_glLoadProgramNV = new Deno.UnsafeFnPointer( + proc("glLoadProgramNV"), + def_glLoadProgramNV, + ); + fn_glProgramParameter4dNV = new Deno.UnsafeFnPointer( + proc("glProgramParameter4dNV"), + def_glProgramParameter4dNV, + ); + fn_glProgramParameter4dvNV = new Deno.UnsafeFnPointer( + proc("glProgramParameter4dvNV"), + def_glProgramParameter4dvNV, + ); + fn_glProgramParameter4fNV = new Deno.UnsafeFnPointer( + proc("glProgramParameter4fNV"), + def_glProgramParameter4fNV, + ); + fn_glProgramParameter4fvNV = new Deno.UnsafeFnPointer( + proc("glProgramParameter4fvNV"), + def_glProgramParameter4fvNV, + ); + fn_glProgramParameters4dvNV = new Deno.UnsafeFnPointer( + proc("glProgramParameters4dvNV"), + def_glProgramParameters4dvNV, + ); + fn_glProgramParameters4fvNV = new Deno.UnsafeFnPointer( + proc("glProgramParameters4fvNV"), + def_glProgramParameters4fvNV, + ); + fn_glRequestResidentProgramsNV = new Deno.UnsafeFnPointer( + proc("glRequestResidentProgramsNV"), + def_glRequestResidentProgramsNV, + ); + fn_glTrackMatrixNV = new Deno.UnsafeFnPointer( + proc("glTrackMatrixNV"), + def_glTrackMatrixNV, + ); + fn_glVertexAttribPointerNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointerNV"), + def_glVertexAttribPointerNV, + ); + fn_glVertexAttrib1dNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dNV"), + def_glVertexAttrib1dNV, + ); + fn_glVertexAttrib1dvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dvNV"), + def_glVertexAttrib1dvNV, + ); + fn_glVertexAttrib1fNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fNV"), + def_glVertexAttrib1fNV, + ); + fn_glVertexAttrib1fvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fvNV"), + def_glVertexAttrib1fvNV, + ); + fn_glVertexAttrib1sNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sNV"), + def_glVertexAttrib1sNV, + ); + fn_glVertexAttrib1svNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1svNV"), + def_glVertexAttrib1svNV, + ); + fn_glVertexAttrib2dNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dNV"), + def_glVertexAttrib2dNV, + ); + fn_glVertexAttrib2dvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dvNV"), + def_glVertexAttrib2dvNV, + ); + fn_glVertexAttrib2fNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fNV"), + def_glVertexAttrib2fNV, + ); + fn_glVertexAttrib2fvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fvNV"), + def_glVertexAttrib2fvNV, + ); + fn_glVertexAttrib2sNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sNV"), + def_glVertexAttrib2sNV, + ); + fn_glVertexAttrib2svNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2svNV"), + def_glVertexAttrib2svNV, + ); + fn_glVertexAttrib3dNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dNV"), + def_glVertexAttrib3dNV, + ); + fn_glVertexAttrib3dvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dvNV"), + def_glVertexAttrib3dvNV, + ); + fn_glVertexAttrib3fNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fNV"), + def_glVertexAttrib3fNV, + ); + fn_glVertexAttrib3fvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fvNV"), + def_glVertexAttrib3fvNV, + ); + fn_glVertexAttrib3sNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sNV"), + def_glVertexAttrib3sNV, + ); + fn_glVertexAttrib3svNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3svNV"), + def_glVertexAttrib3svNV, + ); + fn_glVertexAttrib4dNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dNV"), + def_glVertexAttrib4dNV, + ); + fn_glVertexAttrib4dvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dvNV"), + def_glVertexAttrib4dvNV, + ); + fn_glVertexAttrib4fNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fNV"), + def_glVertexAttrib4fNV, + ); + fn_glVertexAttrib4fvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fvNV"), + def_glVertexAttrib4fvNV, + ); + fn_glVertexAttrib4sNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sNV"), + def_glVertexAttrib4sNV, + ); + fn_glVertexAttrib4svNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4svNV"), + def_glVertexAttrib4svNV, + ); + fn_glVertexAttrib4ubNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubNV"), + def_glVertexAttrib4ubNV, + ); + fn_glVertexAttrib4ubvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubvNV"), + def_glVertexAttrib4ubvNV, + ); + fn_glVertexAttribs1dvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs1dvNV"), + def_glVertexAttribs1dvNV, + ); + fn_glVertexAttribs1fvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs1fvNV"), + def_glVertexAttribs1fvNV, + ); + fn_glVertexAttribs1svNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs1svNV"), + def_glVertexAttribs1svNV, + ); + fn_glVertexAttribs2dvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs2dvNV"), + def_glVertexAttribs2dvNV, + ); + fn_glVertexAttribs2fvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs2fvNV"), + def_glVertexAttribs2fvNV, + ); + fn_glVertexAttribs2svNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs2svNV"), + def_glVertexAttribs2svNV, + ); + fn_glVertexAttribs3dvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs3dvNV"), + def_glVertexAttribs3dvNV, + ); + fn_glVertexAttribs3fvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs3fvNV"), + def_glVertexAttribs3fvNV, + ); + fn_glVertexAttribs3svNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs3svNV"), + def_glVertexAttribs3svNV, + ); + fn_glVertexAttribs4dvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs4dvNV"), + def_glVertexAttribs4dvNV, + ); + fn_glVertexAttribs4fvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs4fvNV"), + def_glVertexAttribs4fvNV, + ); + fn_glVertexAttribs4svNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs4svNV"), + def_glVertexAttribs4svNV, + ); + fn_glVertexAttribs4ubvNV = new Deno.UnsafeFnPointer( + proc("glVertexAttribs4ubvNV"), + def_glVertexAttribs4ubvNV, + ); } diff --git a/api/ext/GL_NV_vertex_program1_1.ts b/api/ext/GL_NV_vertex_program1_1.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_vertex_program1_1.ts +++ b/api/ext/GL_NV_vertex_program1_1.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_vertex_program2.ts b/api/ext/GL_NV_vertex_program2.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_vertex_program2.ts +++ b/api/ext/GL_NV_vertex_program2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_vertex_program2_option.ts b/api/ext/GL_NV_vertex_program2_option.ts index 6eda985..9628443 100644 --- a/api/ext/GL_NV_vertex_program2_option.ts +++ b/api/ext/GL_NV_vertex_program2_option.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_vertex_program3.ts b/api/ext/GL_NV_vertex_program3.ts index bd1b5bb..da1324d 100644 --- a/api/ext/GL_NV_vertex_program3.ts +++ b/api/ext/GL_NV_vertex_program3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_vertex_program4.ts b/api/ext/GL_NV_vertex_program4.ts index 7b4a0e4..8c5d98b 100644 --- a/api/ext/GL_NV_vertex_program4.ts +++ b/api/ext/GL_NV_vertex_program4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glVertexAttribI1iEXT = { result: "void", } as const; -let fn_glVertexAttribI1iEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1iEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1iEXT +>; export function VertexAttribI1iEXT( index: GLuint, @@ -86,7 +96,9 @@ export const def_glVertexAttribI2iEXT = { result: "void", } as const; -let fn_glVertexAttribI2iEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2iEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2iEXT +>; export function VertexAttribI2iEXT( index: GLuint, @@ -105,7 +117,9 @@ export const def_glVertexAttribI3iEXT = { result: "void", } as const; -let fn_glVertexAttribI3iEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3iEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3iEXT +>; export function VertexAttribI3iEXT( index: GLuint, @@ -126,7 +140,9 @@ export const def_glVertexAttribI4iEXT = { result: "void", } as const; -let fn_glVertexAttribI4iEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4iEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4iEXT +>; export function VertexAttribI4iEXT( index: GLuint, @@ -149,7 +165,9 @@ export const def_glVertexAttribI1uiEXT = { result: "void", } as const; -let fn_glVertexAttribI1uiEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiEXT +>; export function VertexAttribI1uiEXT( index: GLuint, @@ -166,7 +184,9 @@ export const def_glVertexAttribI2uiEXT = { result: "void", } as const; -let fn_glVertexAttribI2uiEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiEXT +>; export function VertexAttribI2uiEXT( index: GLuint, @@ -185,7 +205,9 @@ export const def_glVertexAttribI3uiEXT = { result: "void", } as const; -let fn_glVertexAttribI3uiEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiEXT +>; export function VertexAttribI3uiEXT( index: GLuint, @@ -206,7 +228,9 @@ export const def_glVertexAttribI4uiEXT = { result: "void", } as const; -let fn_glVertexAttribI4uiEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiEXT +>; export function VertexAttribI4uiEXT( index: GLuint, @@ -229,7 +253,9 @@ export const def_glVertexAttribI1ivEXT = { result: "void", } as const; -let fn_glVertexAttribI1ivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1ivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1ivEXT +>; export function VertexAttribI1ivEXT( index: GLuint, @@ -246,7 +272,9 @@ export const def_glVertexAttribI2ivEXT = { result: "void", } as const; -let fn_glVertexAttribI2ivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2ivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2ivEXT +>; export function VertexAttribI2ivEXT( index: GLuint, @@ -263,7 +291,9 @@ export const def_glVertexAttribI3ivEXT = { result: "void", } as const; -let fn_glVertexAttribI3ivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3ivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3ivEXT +>; export function VertexAttribI3ivEXT( index: GLuint, @@ -280,7 +310,9 @@ export const def_glVertexAttribI4ivEXT = { result: "void", } as const; -let fn_glVertexAttribI4ivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ivEXT +>; export function VertexAttribI4ivEXT( index: GLuint, @@ -297,7 +329,9 @@ export const def_glVertexAttribI1uivEXT = { result: "void", } as const; -let fn_glVertexAttribI1uivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uivEXT +>; export function VertexAttribI1uivEXT( index: GLuint, @@ -314,7 +348,9 @@ export const def_glVertexAttribI2uivEXT = { result: "void", } as const; -let fn_glVertexAttribI2uivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uivEXT +>; export function VertexAttribI2uivEXT( index: GLuint, @@ -331,7 +367,9 @@ export const def_glVertexAttribI3uivEXT = { result: "void", } as const; -let fn_glVertexAttribI3uivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uivEXT +>; export function VertexAttribI3uivEXT( index: GLuint, @@ -348,7 +386,9 @@ export const def_glVertexAttribI4uivEXT = { result: "void", } as const; -let fn_glVertexAttribI4uivEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uivEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uivEXT +>; export function VertexAttribI4uivEXT( index: GLuint, @@ -365,7 +405,9 @@ export const def_glVertexAttribI4bvEXT = { result: "void", } as const; -let fn_glVertexAttribI4bvEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4bvEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4bvEXT +>; export function VertexAttribI4bvEXT( index: GLuint, @@ -382,7 +424,9 @@ export const def_glVertexAttribI4svEXT = { result: "void", } as const; -let fn_glVertexAttribI4svEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4svEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4svEXT +>; export function VertexAttribI4svEXT( index: GLuint, @@ -399,7 +443,9 @@ export const def_glVertexAttribI4ubvEXT = { result: "void", } as const; -let fn_glVertexAttribI4ubvEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubvEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubvEXT +>; export function VertexAttribI4ubvEXT( index: GLuint, @@ -416,7 +462,9 @@ export const def_glVertexAttribI4usvEXT = { result: "void", } as const; -let fn_glVertexAttribI4usvEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usvEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usvEXT +>; export function VertexAttribI4usvEXT( index: GLuint, @@ -433,7 +481,9 @@ export const def_glVertexAttribIPointerEXT = { result: "void", } as const; -let fn_glVertexAttribIPointerEXT!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointerEXT!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointerEXT +>; export function VertexAttribIPointerEXT( index: GLuint, @@ -456,7 +506,9 @@ export const def_glGetVertexAttribIivEXT = { result: "void", } as const; -let fn_glGetVertexAttribIivEXT!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIivEXT +>; export function GetVertexAttribIivEXT( index: GLuint, @@ -475,7 +527,9 @@ export const def_glGetVertexAttribIuivEXT = { result: "void", } as const; -let fn_glGetVertexAttribIuivEXT!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuivEXT!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuivEXT +>; export function GetVertexAttribIuivEXT( index: GLuint, @@ -491,27 +545,96 @@ export function GetVertexAttribIuivEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glVertexAttribI1iEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iEXT"), def_glVertexAttribI1iEXT); - fn_glVertexAttribI2iEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iEXT"), def_glVertexAttribI2iEXT); - fn_glVertexAttribI3iEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iEXT"), def_glVertexAttribI3iEXT); - fn_glVertexAttribI4iEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iEXT"), def_glVertexAttribI4iEXT); - fn_glVertexAttribI1uiEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiEXT"), def_glVertexAttribI1uiEXT); - fn_glVertexAttribI2uiEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiEXT"), def_glVertexAttribI2uiEXT); - fn_glVertexAttribI3uiEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiEXT"), def_glVertexAttribI3uiEXT); - fn_glVertexAttribI4uiEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiEXT"), def_glVertexAttribI4uiEXT); - fn_glVertexAttribI1ivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ivEXT"), def_glVertexAttribI1ivEXT); - fn_glVertexAttribI2ivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ivEXT"), def_glVertexAttribI2ivEXT); - fn_glVertexAttribI3ivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ivEXT"), def_glVertexAttribI3ivEXT); - fn_glVertexAttribI4ivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ivEXT"), def_glVertexAttribI4ivEXT); - fn_glVertexAttribI1uivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uivEXT"), def_glVertexAttribI1uivEXT); - fn_glVertexAttribI2uivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uivEXT"), def_glVertexAttribI2uivEXT); - fn_glVertexAttribI3uivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uivEXT"), def_glVertexAttribI3uivEXT); - fn_glVertexAttribI4uivEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uivEXT"), def_glVertexAttribI4uivEXT); - fn_glVertexAttribI4bvEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bvEXT"), def_glVertexAttribI4bvEXT); - fn_glVertexAttribI4svEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4svEXT"), def_glVertexAttribI4svEXT); - fn_glVertexAttribI4ubvEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubvEXT"), def_glVertexAttribI4ubvEXT); - fn_glVertexAttribI4usvEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usvEXT"), def_glVertexAttribI4usvEXT); - fn_glVertexAttribIPointerEXT = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointerEXT"), def_glVertexAttribIPointerEXT); - fn_glGetVertexAttribIivEXT = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIivEXT"), def_glGetVertexAttribIivEXT); - fn_glGetVertexAttribIuivEXT = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuivEXT"), def_glGetVertexAttribIuivEXT); + fn_glVertexAttribI1iEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iEXT"), + def_glVertexAttribI1iEXT, + ); + fn_glVertexAttribI2iEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iEXT"), + def_glVertexAttribI2iEXT, + ); + fn_glVertexAttribI3iEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iEXT"), + def_glVertexAttribI3iEXT, + ); + fn_glVertexAttribI4iEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iEXT"), + def_glVertexAttribI4iEXT, + ); + fn_glVertexAttribI1uiEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiEXT"), + def_glVertexAttribI1uiEXT, + ); + fn_glVertexAttribI2uiEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiEXT"), + def_glVertexAttribI2uiEXT, + ); + fn_glVertexAttribI3uiEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiEXT"), + def_glVertexAttribI3uiEXT, + ); + fn_glVertexAttribI4uiEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiEXT"), + def_glVertexAttribI4uiEXT, + ); + fn_glVertexAttribI1ivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ivEXT"), + def_glVertexAttribI1ivEXT, + ); + fn_glVertexAttribI2ivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ivEXT"), + def_glVertexAttribI2ivEXT, + ); + fn_glVertexAttribI3ivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ivEXT"), + def_glVertexAttribI3ivEXT, + ); + fn_glVertexAttribI4ivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ivEXT"), + def_glVertexAttribI4ivEXT, + ); + fn_glVertexAttribI1uivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uivEXT"), + def_glVertexAttribI1uivEXT, + ); + fn_glVertexAttribI2uivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uivEXT"), + def_glVertexAttribI2uivEXT, + ); + fn_glVertexAttribI3uivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uivEXT"), + def_glVertexAttribI3uivEXT, + ); + fn_glVertexAttribI4uivEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uivEXT"), + def_glVertexAttribI4uivEXT, + ); + fn_glVertexAttribI4bvEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bvEXT"), + def_glVertexAttribI4bvEXT, + ); + fn_glVertexAttribI4svEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4svEXT"), + def_glVertexAttribI4svEXT, + ); + fn_glVertexAttribI4ubvEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubvEXT"), + def_glVertexAttribI4ubvEXT, + ); + fn_glVertexAttribI4usvEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usvEXT"), + def_glVertexAttribI4usvEXT, + ); + fn_glVertexAttribIPointerEXT = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointerEXT"), + def_glVertexAttribIPointerEXT, + ); + fn_glGetVertexAttribIivEXT = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIivEXT"), + def_glGetVertexAttribIivEXT, + ); + fn_glGetVertexAttribIuivEXT = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuivEXT"), + def_glGetVertexAttribIuivEXT, + ); } diff --git a/api/ext/GL_NV_video_capture.ts b/api/ext/GL_NV_video_capture.ts index fe35fdd..42e0267 100644 --- a/api/ext/GL_NV_video_capture.ts +++ b/api/ext/GL_NV_video_capture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -97,7 +105,9 @@ export const def_glBeginVideoCaptureNV = { result: "void", } as const; -let fn_glBeginVideoCaptureNV!: Deno.UnsafeFnPointer; +let fn_glBeginVideoCaptureNV!: Deno.UnsafeFnPointer< + typeof def_glBeginVideoCaptureNV +>; export function BeginVideoCaptureNV( video_capture_slot: GLuint, @@ -112,7 +122,9 @@ export const def_glBindVideoCaptureStreamBufferNV = { result: "void", } as const; -let fn_glBindVideoCaptureStreamBufferNV!: Deno.UnsafeFnPointer; +let fn_glBindVideoCaptureStreamBufferNV!: Deno.UnsafeFnPointer< + typeof def_glBindVideoCaptureStreamBufferNV +>; export function BindVideoCaptureStreamBufferNV( video_capture_slot: GLuint, @@ -133,7 +145,9 @@ export const def_glBindVideoCaptureStreamTextureNV = { result: "void", } as const; -let fn_glBindVideoCaptureStreamTextureNV!: Deno.UnsafeFnPointer; +let fn_glBindVideoCaptureStreamTextureNV!: Deno.UnsafeFnPointer< + typeof def_glBindVideoCaptureStreamTextureNV +>; export function BindVideoCaptureStreamTextureNV( video_capture_slot: GLuint, @@ -156,7 +170,9 @@ export const def_glEndVideoCaptureNV = { result: "void", } as const; -let fn_glEndVideoCaptureNV!: Deno.UnsafeFnPointer; +let fn_glEndVideoCaptureNV!: Deno.UnsafeFnPointer< + typeof def_glEndVideoCaptureNV +>; export function EndVideoCaptureNV( video_capture_slot: GLuint, @@ -171,7 +187,9 @@ export const def_glGetVideoCaptureivNV = { result: "void", } as const; -let fn_glGetVideoCaptureivNV!: Deno.UnsafeFnPointer; +let fn_glGetVideoCaptureivNV!: Deno.UnsafeFnPointer< + typeof def_glGetVideoCaptureivNV +>; export function GetVideoCaptureivNV( video_capture_slot: GLuint, @@ -190,7 +208,9 @@ export const def_glGetVideoCaptureStreamivNV = { result: "void", } as const; -let fn_glGetVideoCaptureStreamivNV!: Deno.UnsafeFnPointer; +let fn_glGetVideoCaptureStreamivNV!: Deno.UnsafeFnPointer< + typeof def_glGetVideoCaptureStreamivNV +>; export function GetVideoCaptureStreamivNV( video_capture_slot: GLuint, @@ -211,7 +231,9 @@ export const def_glGetVideoCaptureStreamfvNV = { result: "void", } as const; -let fn_glGetVideoCaptureStreamfvNV!: Deno.UnsafeFnPointer; +let fn_glGetVideoCaptureStreamfvNV!: Deno.UnsafeFnPointer< + typeof def_glGetVideoCaptureStreamfvNV +>; export function GetVideoCaptureStreamfvNV( video_capture_slot: GLuint, @@ -232,7 +254,9 @@ export const def_glGetVideoCaptureStreamdvNV = { result: "void", } as const; -let fn_glGetVideoCaptureStreamdvNV!: Deno.UnsafeFnPointer; +let fn_glGetVideoCaptureStreamdvNV!: Deno.UnsafeFnPointer< + typeof def_glGetVideoCaptureStreamdvNV +>; export function GetVideoCaptureStreamdvNV( video_capture_slot: GLuint, @@ -272,7 +296,9 @@ export const def_glVideoCaptureStreamParameterivNV = { result: "void", } as const; -let fn_glVideoCaptureStreamParameterivNV!: Deno.UnsafeFnPointer; +let fn_glVideoCaptureStreamParameterivNV!: Deno.UnsafeFnPointer< + typeof def_glVideoCaptureStreamParameterivNV +>; export function VideoCaptureStreamParameterivNV( video_capture_slot: GLuint, @@ -293,7 +319,9 @@ export const def_glVideoCaptureStreamParameterfvNV = { result: "void", } as const; -let fn_glVideoCaptureStreamParameterfvNV!: Deno.UnsafeFnPointer; +let fn_glVideoCaptureStreamParameterfvNV!: Deno.UnsafeFnPointer< + typeof def_glVideoCaptureStreamParameterfvNV +>; export function VideoCaptureStreamParameterfvNV( video_capture_slot: GLuint, @@ -314,7 +342,9 @@ export const def_glVideoCaptureStreamParameterdvNV = { result: "void", } as const; -let fn_glVideoCaptureStreamParameterdvNV!: Deno.UnsafeFnPointer; +let fn_glVideoCaptureStreamParameterdvNV!: Deno.UnsafeFnPointer< + typeof def_glVideoCaptureStreamParameterdvNV +>; export function VideoCaptureStreamParameterdvNV( video_capture_slot: GLuint, @@ -332,16 +362,52 @@ export function VideoCaptureStreamParameterdvNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBeginVideoCaptureNV = new Deno.UnsafeFnPointer(proc("glBeginVideoCaptureNV"), def_glBeginVideoCaptureNV); - fn_glBindVideoCaptureStreamBufferNV = new Deno.UnsafeFnPointer(proc("glBindVideoCaptureStreamBufferNV"), def_glBindVideoCaptureStreamBufferNV); - fn_glBindVideoCaptureStreamTextureNV = new Deno.UnsafeFnPointer(proc("glBindVideoCaptureStreamTextureNV"), def_glBindVideoCaptureStreamTextureNV); - fn_glEndVideoCaptureNV = new Deno.UnsafeFnPointer(proc("glEndVideoCaptureNV"), def_glEndVideoCaptureNV); - fn_glGetVideoCaptureivNV = new Deno.UnsafeFnPointer(proc("glGetVideoCaptureivNV"), def_glGetVideoCaptureivNV); - fn_glGetVideoCaptureStreamivNV = new Deno.UnsafeFnPointer(proc("glGetVideoCaptureStreamivNV"), def_glGetVideoCaptureStreamivNV); - fn_glGetVideoCaptureStreamfvNV = new Deno.UnsafeFnPointer(proc("glGetVideoCaptureStreamfvNV"), def_glGetVideoCaptureStreamfvNV); - fn_glGetVideoCaptureStreamdvNV = new Deno.UnsafeFnPointer(proc("glGetVideoCaptureStreamdvNV"), def_glGetVideoCaptureStreamdvNV); - fn_glVideoCaptureNV = new Deno.UnsafeFnPointer(proc("glVideoCaptureNV"), def_glVideoCaptureNV); - fn_glVideoCaptureStreamParameterivNV = new Deno.UnsafeFnPointer(proc("glVideoCaptureStreamParameterivNV"), def_glVideoCaptureStreamParameterivNV); - fn_glVideoCaptureStreamParameterfvNV = new Deno.UnsafeFnPointer(proc("glVideoCaptureStreamParameterfvNV"), def_glVideoCaptureStreamParameterfvNV); - fn_glVideoCaptureStreamParameterdvNV = new Deno.UnsafeFnPointer(proc("glVideoCaptureStreamParameterdvNV"), def_glVideoCaptureStreamParameterdvNV); + fn_glBeginVideoCaptureNV = new Deno.UnsafeFnPointer( + proc("glBeginVideoCaptureNV"), + def_glBeginVideoCaptureNV, + ); + fn_glBindVideoCaptureStreamBufferNV = new Deno.UnsafeFnPointer( + proc("glBindVideoCaptureStreamBufferNV"), + def_glBindVideoCaptureStreamBufferNV, + ); + fn_glBindVideoCaptureStreamTextureNV = new Deno.UnsafeFnPointer( + proc("glBindVideoCaptureStreamTextureNV"), + def_glBindVideoCaptureStreamTextureNV, + ); + fn_glEndVideoCaptureNV = new Deno.UnsafeFnPointer( + proc("glEndVideoCaptureNV"), + def_glEndVideoCaptureNV, + ); + fn_glGetVideoCaptureivNV = new Deno.UnsafeFnPointer( + proc("glGetVideoCaptureivNV"), + def_glGetVideoCaptureivNV, + ); + fn_glGetVideoCaptureStreamivNV = new Deno.UnsafeFnPointer( + proc("glGetVideoCaptureStreamivNV"), + def_glGetVideoCaptureStreamivNV, + ); + fn_glGetVideoCaptureStreamfvNV = new Deno.UnsafeFnPointer( + proc("glGetVideoCaptureStreamfvNV"), + def_glGetVideoCaptureStreamfvNV, + ); + fn_glGetVideoCaptureStreamdvNV = new Deno.UnsafeFnPointer( + proc("glGetVideoCaptureStreamdvNV"), + def_glGetVideoCaptureStreamdvNV, + ); + fn_glVideoCaptureNV = new Deno.UnsafeFnPointer( + proc("glVideoCaptureNV"), + def_glVideoCaptureNV, + ); + fn_glVideoCaptureStreamParameterivNV = new Deno.UnsafeFnPointer( + proc("glVideoCaptureStreamParameterivNV"), + def_glVideoCaptureStreamParameterivNV, + ); + fn_glVideoCaptureStreamParameterfvNV = new Deno.UnsafeFnPointer( + proc("glVideoCaptureStreamParameterfvNV"), + def_glVideoCaptureStreamParameterfvNV, + ); + fn_glVideoCaptureStreamParameterdvNV = new Deno.UnsafeFnPointer( + proc("glVideoCaptureStreamParameterdvNV"), + def_glVideoCaptureStreamParameterdvNV, + ); } diff --git a/api/ext/GL_NV_viewport_array.ts b/api/ext/GL_NV_viewport_array.ts index c368aa1..eed23a8 100644 --- a/api/ext/GL_NV_viewport_array.ts +++ b/api/ext/GL_NV_viewport_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -95,7 +103,9 @@ export const def_glViewportIndexedfNV = { result: "void", } as const; -let fn_glViewportIndexedfNV!: Deno.UnsafeFnPointer; +let fn_glViewportIndexedfNV!: Deno.UnsafeFnPointer< + typeof def_glViewportIndexedfNV +>; export function ViewportIndexedfNV( index: GLuint, @@ -118,7 +128,9 @@ export const def_glViewportIndexedfvNV = { result: "void", } as const; -let fn_glViewportIndexedfvNV!: Deno.UnsafeFnPointer; +let fn_glViewportIndexedfvNV!: Deno.UnsafeFnPointer< + typeof def_glViewportIndexedfvNV +>; export function ViewportIndexedfvNV( index: GLuint, @@ -177,7 +189,9 @@ export const def_glScissorIndexedvNV = { result: "void", } as const; -let fn_glScissorIndexedvNV!: Deno.UnsafeFnPointer; +let fn_glScissorIndexedvNV!: Deno.UnsafeFnPointer< + typeof def_glScissorIndexedvNV +>; export function ScissorIndexedvNV( index: GLuint, @@ -194,7 +208,9 @@ export const def_glDepthRangeArrayfvNV = { result: "void", } as const; -let fn_glDepthRangeArrayfvNV!: Deno.UnsafeFnPointer; +let fn_glDepthRangeArrayfvNV!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeArrayfvNV +>; export function DepthRangeArrayfvNV( first: GLuint, @@ -213,7 +229,9 @@ export const def_glDepthRangeIndexedfNV = { result: "void", } as const; -let fn_glDepthRangeIndexedfNV!: Deno.UnsafeFnPointer; +let fn_glDepthRangeIndexedfNV!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeIndexedfNV +>; export function DepthRangeIndexedfNV( index: GLuint, @@ -299,16 +317,52 @@ export function IsEnablediNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glViewportArrayvNV = new Deno.UnsafeFnPointer(proc("glViewportArrayvNV"), def_glViewportArrayvNV); - fn_glViewportIndexedfNV = new Deno.UnsafeFnPointer(proc("glViewportIndexedfNV"), def_glViewportIndexedfNV); - fn_glViewportIndexedfvNV = new Deno.UnsafeFnPointer(proc("glViewportIndexedfvNV"), def_glViewportIndexedfvNV); - fn_glScissorArrayvNV = new Deno.UnsafeFnPointer(proc("glScissorArrayvNV"), def_glScissorArrayvNV); - fn_glScissorIndexedNV = new Deno.UnsafeFnPointer(proc("glScissorIndexedNV"), def_glScissorIndexedNV); - fn_glScissorIndexedvNV = new Deno.UnsafeFnPointer(proc("glScissorIndexedvNV"), def_glScissorIndexedvNV); - fn_glDepthRangeArrayfvNV = new Deno.UnsafeFnPointer(proc("glDepthRangeArrayfvNV"), def_glDepthRangeArrayfvNV); - fn_glDepthRangeIndexedfNV = new Deno.UnsafeFnPointer(proc("glDepthRangeIndexedfNV"), def_glDepthRangeIndexedfNV); - fn_glGetFloati_vNV = new Deno.UnsafeFnPointer(proc("glGetFloati_vNV"), def_glGetFloati_vNV); - fn_glEnableiNV = new Deno.UnsafeFnPointer(proc("glEnableiNV"), def_glEnableiNV); - fn_glDisableiNV = new Deno.UnsafeFnPointer(proc("glDisableiNV"), def_glDisableiNV); - fn_glIsEnablediNV = new Deno.UnsafeFnPointer(proc("glIsEnablediNV"), def_glIsEnablediNV); + fn_glViewportArrayvNV = new Deno.UnsafeFnPointer( + proc("glViewportArrayvNV"), + def_glViewportArrayvNV, + ); + fn_glViewportIndexedfNV = new Deno.UnsafeFnPointer( + proc("glViewportIndexedfNV"), + def_glViewportIndexedfNV, + ); + fn_glViewportIndexedfvNV = new Deno.UnsafeFnPointer( + proc("glViewportIndexedfvNV"), + def_glViewportIndexedfvNV, + ); + fn_glScissorArrayvNV = new Deno.UnsafeFnPointer( + proc("glScissorArrayvNV"), + def_glScissorArrayvNV, + ); + fn_glScissorIndexedNV = new Deno.UnsafeFnPointer( + proc("glScissorIndexedNV"), + def_glScissorIndexedNV, + ); + fn_glScissorIndexedvNV = new Deno.UnsafeFnPointer( + proc("glScissorIndexedvNV"), + def_glScissorIndexedvNV, + ); + fn_glDepthRangeArrayfvNV = new Deno.UnsafeFnPointer( + proc("glDepthRangeArrayfvNV"), + def_glDepthRangeArrayfvNV, + ); + fn_glDepthRangeIndexedfNV = new Deno.UnsafeFnPointer( + proc("glDepthRangeIndexedfNV"), + def_glDepthRangeIndexedfNV, + ); + fn_glGetFloati_vNV = new Deno.UnsafeFnPointer( + proc("glGetFloati_vNV"), + def_glGetFloati_vNV, + ); + fn_glEnableiNV = new Deno.UnsafeFnPointer( + proc("glEnableiNV"), + def_glEnableiNV, + ); + fn_glDisableiNV = new Deno.UnsafeFnPointer( + proc("glDisableiNV"), + def_glDisableiNV, + ); + fn_glIsEnablediNV = new Deno.UnsafeFnPointer( + proc("glIsEnablediNV"), + def_glIsEnablediNV, + ); } diff --git a/api/ext/GL_NV_viewport_array2.ts b/api/ext/GL_NV_viewport_array2.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_NV_viewport_array2.ts +++ b/api/ext/GL_NV_viewport_array2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_NV_viewport_swizzle.ts b/api/ext/GL_NV_viewport_swizzle.ts index 1668048..c6cee6e 100644 --- a/api/ext/GL_NV_viewport_swizzle.ts +++ b/api/ext/GL_NV_viewport_swizzle.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -80,7 +88,9 @@ export const def_glViewportSwizzleNV = { result: "void", } as const; -let fn_glViewportSwizzleNV!: Deno.UnsafeFnPointer; +let fn_glViewportSwizzleNV!: Deno.UnsafeFnPointer< + typeof def_glViewportSwizzleNV +>; export function ViewportSwizzleNV( index: GLuint, @@ -100,5 +110,8 @@ export function ViewportSwizzleNV( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glViewportSwizzleNV = new Deno.UnsafeFnPointer(proc("glViewportSwizzleNV"), def_glViewportSwizzleNV); + fn_glViewportSwizzleNV = new Deno.UnsafeFnPointer( + proc("glViewportSwizzleNV"), + def_glViewportSwizzleNV, + ); } diff --git a/api/ext/GL_OES_EGL_image.ts b/api/ext/GL_OES_EGL_image.ts index 208e6af..b57343e 100644 --- a/api/ext/GL_OES_EGL_image.ts +++ b/api/ext/GL_OES_EGL_image.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glEGLImageTargetTexture2DOES = { result: "void", } as const; -let fn_glEGLImageTargetTexture2DOES!: Deno.UnsafeFnPointer; +let fn_glEGLImageTargetTexture2DOES!: Deno.UnsafeFnPointer< + typeof def_glEGLImageTargetTexture2DOES +>; export function EGLImageTargetTexture2DOES( target: GLenum, @@ -83,7 +93,9 @@ export const def_glEGLImageTargetRenderbufferStorageOES = { result: "void", } as const; -let fn_glEGLImageTargetRenderbufferStorageOES!: Deno.UnsafeFnPointer; +let fn_glEGLImageTargetRenderbufferStorageOES!: Deno.UnsafeFnPointer< + typeof def_glEGLImageTargetRenderbufferStorageOES +>; export function EGLImageTargetRenderbufferStorageOES( target: GLenum, @@ -97,6 +109,12 @@ export function EGLImageTargetRenderbufferStorageOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glEGLImageTargetTexture2DOES = new Deno.UnsafeFnPointer(proc("glEGLImageTargetTexture2DOES"), def_glEGLImageTargetTexture2DOES); - fn_glEGLImageTargetRenderbufferStorageOES = new Deno.UnsafeFnPointer(proc("glEGLImageTargetRenderbufferStorageOES"), def_glEGLImageTargetRenderbufferStorageOES); + fn_glEGLImageTargetTexture2DOES = new Deno.UnsafeFnPointer( + proc("glEGLImageTargetTexture2DOES"), + def_glEGLImageTargetTexture2DOES, + ); + fn_glEGLImageTargetRenderbufferStorageOES = new Deno.UnsafeFnPointer( + proc("glEGLImageTargetRenderbufferStorageOES"), + def_glEGLImageTargetRenderbufferStorageOES, + ); } diff --git a/api/ext/GL_OES_EGL_image_external.ts b/api/ext/GL_OES_EGL_image_external.ts index 8125473..ab658f5 100644 --- a/api/ext/GL_OES_EGL_image_external.ts +++ b/api/ext/GL_OES_EGL_image_external.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_EGL_image_external_essl3.ts b/api/ext/GL_OES_EGL_image_external_essl3.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_EGL_image_external_essl3.ts +++ b/api/ext/GL_OES_EGL_image_external_essl3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_blend_equation_separate.ts b/api/ext/GL_OES_blend_equation_separate.ts index 7dcbbf2..0d0baca 100644 --- a/api/ext/GL_OES_blend_equation_separate.ts +++ b/api/ext/GL_OES_blend_equation_separate.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glBlendEquationSeparateOES = { result: "void", } as const; -let fn_glBlendEquationSeparateOES!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparateOES!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparateOES +>; export function BlendEquationSeparateOES( modeRGB: GLenum, @@ -84,5 +94,8 @@ export function BlendEquationSeparateOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendEquationSeparateOES = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparateOES"), def_glBlendEquationSeparateOES); + fn_glBlendEquationSeparateOES = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparateOES"), + def_glBlendEquationSeparateOES, + ); } diff --git a/api/ext/GL_OES_blend_func_separate.ts b/api/ext/GL_OES_blend_func_separate.ts index d1acf42..ac9b085 100644 --- a/api/ext/GL_OES_blend_func_separate.ts +++ b/api/ext/GL_OES_blend_func_separate.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glBlendFuncSeparateOES = { result: "void", } as const; -let fn_glBlendFuncSeparateOES!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparateOES!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparateOES +>; export function BlendFuncSeparateOES( srcRGB: GLenum, @@ -90,5 +100,8 @@ export function BlendFuncSeparateOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendFuncSeparateOES = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparateOES"), def_glBlendFuncSeparateOES); + fn_glBlendFuncSeparateOES = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparateOES"), + def_glBlendFuncSeparateOES, + ); } diff --git a/api/ext/GL_OES_blend_subtract.ts b/api/ext/GL_OES_blend_subtract.ts index 1ca4622..83cb044 100644 --- a/api/ext/GL_OES_blend_subtract.ts +++ b/api/ext/GL_OES_blend_subtract.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,5 +92,8 @@ export function BlendEquationOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBlendEquationOES = new Deno.UnsafeFnPointer(proc("glBlendEquationOES"), def_glBlendEquationOES); + fn_glBlendEquationOES = new Deno.UnsafeFnPointer( + proc("glBlendEquationOES"), + def_glBlendEquationOES, + ); } diff --git a/api/ext/GL_OES_byte_coordinates.ts b/api/ext/GL_OES_byte_coordinates.ts index b2cf1cd..3699ba3 100644 --- a/api/ext/GL_OES_byte_coordinates.ts +++ b/api/ext/GL_OES_byte_coordinates.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glMultiTexCoord1bOES = { result: "void", } as const; -let fn_glMultiTexCoord1bOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1bOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1bOES +>; export function MultiTexCoord1bOES( texture: GLenum, @@ -86,7 +96,9 @@ export const def_glMultiTexCoord1bvOES = { result: "void", } as const; -let fn_glMultiTexCoord1bvOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1bvOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1bvOES +>; export function MultiTexCoord1bvOES( texture: GLenum, @@ -103,7 +115,9 @@ export const def_glMultiTexCoord2bOES = { result: "void", } as const; -let fn_glMultiTexCoord2bOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2bOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2bOES +>; export function MultiTexCoord2bOES( texture: GLenum, @@ -122,7 +136,9 @@ export const def_glMultiTexCoord2bvOES = { result: "void", } as const; -let fn_glMultiTexCoord2bvOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2bvOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2bvOES +>; export function MultiTexCoord2bvOES( texture: GLenum, @@ -139,7 +155,9 @@ export const def_glMultiTexCoord3bOES = { result: "void", } as const; -let fn_glMultiTexCoord3bOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3bOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3bOES +>; export function MultiTexCoord3bOES( texture: GLenum, @@ -160,7 +178,9 @@ export const def_glMultiTexCoord3bvOES = { result: "void", } as const; -let fn_glMultiTexCoord3bvOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3bvOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3bvOES +>; export function MultiTexCoord3bvOES( texture: GLenum, @@ -177,7 +197,9 @@ export const def_glMultiTexCoord4bOES = { result: "void", } as const; -let fn_glMultiTexCoord4bOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4bOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4bOES +>; export function MultiTexCoord4bOES( texture: GLenum, @@ -200,7 +222,9 @@ export const def_glMultiTexCoord4bvOES = { result: "void", } as const; -let fn_glMultiTexCoord4bvOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4bvOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4bvOES +>; export function MultiTexCoord4bvOES( texture: GLenum, @@ -448,26 +472,92 @@ export function Vertex4bvOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMultiTexCoord1bOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1bOES"), def_glMultiTexCoord1bOES); - fn_glMultiTexCoord1bvOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1bvOES"), def_glMultiTexCoord1bvOES); - fn_glMultiTexCoord2bOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2bOES"), def_glMultiTexCoord2bOES); - fn_glMultiTexCoord2bvOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2bvOES"), def_glMultiTexCoord2bvOES); - fn_glMultiTexCoord3bOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3bOES"), def_glMultiTexCoord3bOES); - fn_glMultiTexCoord3bvOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3bvOES"), def_glMultiTexCoord3bvOES); - fn_glMultiTexCoord4bOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4bOES"), def_glMultiTexCoord4bOES); - fn_glMultiTexCoord4bvOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4bvOES"), def_glMultiTexCoord4bvOES); - fn_glTexCoord1bOES = new Deno.UnsafeFnPointer(proc("glTexCoord1bOES"), def_glTexCoord1bOES); - fn_glTexCoord1bvOES = new Deno.UnsafeFnPointer(proc("glTexCoord1bvOES"), def_glTexCoord1bvOES); - fn_glTexCoord2bOES = new Deno.UnsafeFnPointer(proc("glTexCoord2bOES"), def_glTexCoord2bOES); - fn_glTexCoord2bvOES = new Deno.UnsafeFnPointer(proc("glTexCoord2bvOES"), def_glTexCoord2bvOES); - fn_glTexCoord3bOES = new Deno.UnsafeFnPointer(proc("glTexCoord3bOES"), def_glTexCoord3bOES); - fn_glTexCoord3bvOES = new Deno.UnsafeFnPointer(proc("glTexCoord3bvOES"), def_glTexCoord3bvOES); - fn_glTexCoord4bOES = new Deno.UnsafeFnPointer(proc("glTexCoord4bOES"), def_glTexCoord4bOES); - fn_glTexCoord4bvOES = new Deno.UnsafeFnPointer(proc("glTexCoord4bvOES"), def_glTexCoord4bvOES); - fn_glVertex2bOES = new Deno.UnsafeFnPointer(proc("glVertex2bOES"), def_glVertex2bOES); - fn_glVertex2bvOES = new Deno.UnsafeFnPointer(proc("glVertex2bvOES"), def_glVertex2bvOES); - fn_glVertex3bOES = new Deno.UnsafeFnPointer(proc("glVertex3bOES"), def_glVertex3bOES); - fn_glVertex3bvOES = new Deno.UnsafeFnPointer(proc("glVertex3bvOES"), def_glVertex3bvOES); - fn_glVertex4bOES = new Deno.UnsafeFnPointer(proc("glVertex4bOES"), def_glVertex4bOES); - fn_glVertex4bvOES = new Deno.UnsafeFnPointer(proc("glVertex4bvOES"), def_glVertex4bvOES); + fn_glMultiTexCoord1bOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1bOES"), + def_glMultiTexCoord1bOES, + ); + fn_glMultiTexCoord1bvOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1bvOES"), + def_glMultiTexCoord1bvOES, + ); + fn_glMultiTexCoord2bOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2bOES"), + def_glMultiTexCoord2bOES, + ); + fn_glMultiTexCoord2bvOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2bvOES"), + def_glMultiTexCoord2bvOES, + ); + fn_glMultiTexCoord3bOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3bOES"), + def_glMultiTexCoord3bOES, + ); + fn_glMultiTexCoord3bvOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3bvOES"), + def_glMultiTexCoord3bvOES, + ); + fn_glMultiTexCoord4bOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4bOES"), + def_glMultiTexCoord4bOES, + ); + fn_glMultiTexCoord4bvOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4bvOES"), + def_glMultiTexCoord4bvOES, + ); + fn_glTexCoord1bOES = new Deno.UnsafeFnPointer( + proc("glTexCoord1bOES"), + def_glTexCoord1bOES, + ); + fn_glTexCoord1bvOES = new Deno.UnsafeFnPointer( + proc("glTexCoord1bvOES"), + def_glTexCoord1bvOES, + ); + fn_glTexCoord2bOES = new Deno.UnsafeFnPointer( + proc("glTexCoord2bOES"), + def_glTexCoord2bOES, + ); + fn_glTexCoord2bvOES = new Deno.UnsafeFnPointer( + proc("glTexCoord2bvOES"), + def_glTexCoord2bvOES, + ); + fn_glTexCoord3bOES = new Deno.UnsafeFnPointer( + proc("glTexCoord3bOES"), + def_glTexCoord3bOES, + ); + fn_glTexCoord3bvOES = new Deno.UnsafeFnPointer( + proc("glTexCoord3bvOES"), + def_glTexCoord3bvOES, + ); + fn_glTexCoord4bOES = new Deno.UnsafeFnPointer( + proc("glTexCoord4bOES"), + def_glTexCoord4bOES, + ); + fn_glTexCoord4bvOES = new Deno.UnsafeFnPointer( + proc("glTexCoord4bvOES"), + def_glTexCoord4bvOES, + ); + fn_glVertex2bOES = new Deno.UnsafeFnPointer( + proc("glVertex2bOES"), + def_glVertex2bOES, + ); + fn_glVertex2bvOES = new Deno.UnsafeFnPointer( + proc("glVertex2bvOES"), + def_glVertex2bvOES, + ); + fn_glVertex3bOES = new Deno.UnsafeFnPointer( + proc("glVertex3bOES"), + def_glVertex3bOES, + ); + fn_glVertex3bvOES = new Deno.UnsafeFnPointer( + proc("glVertex3bvOES"), + def_glVertex3bvOES, + ); + fn_glVertex4bOES = new Deno.UnsafeFnPointer( + proc("glVertex4bOES"), + def_glVertex4bOES, + ); + fn_glVertex4bvOES = new Deno.UnsafeFnPointer( + proc("glVertex4bvOES"), + def_glVertex4bvOES, + ); } diff --git a/api/ext/GL_OES_compressed_ETC1_RGB8_sub_texture.ts b/api/ext/GL_OES_compressed_ETC1_RGB8_sub_texture.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_compressed_ETC1_RGB8_sub_texture.ts +++ b/api/ext/GL_OES_compressed_ETC1_RGB8_sub_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_compressed_ETC1_RGB8_texture.ts b/api/ext/GL_OES_compressed_ETC1_RGB8_texture.ts index 58afade..04b78f9 100644 --- a/api/ext/GL_OES_compressed_ETC1_RGB8_texture.ts +++ b/api/ext/GL_OES_compressed_ETC1_RGB8_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_compressed_paletted_texture.ts b/api/ext/GL_OES_compressed_paletted_texture.ts index 0569879..5c4bda4 100644 --- a/api/ext/GL_OES_compressed_paletted_texture.ts +++ b/api/ext/GL_OES_compressed_paletted_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_copy_image.ts b/api/ext/GL_OES_copy_image.ts index 9d00980..025eefa 100644 --- a/api/ext/GL_OES_copy_image.ts +++ b/api/ext/GL_OES_copy_image.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -62,11 +70,29 @@ export type GLVULKANPROCNV = Buffer; /// Commands export const def_glCopyImageSubDataOES = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; -let fn_glCopyImageSubDataOES!: Deno.UnsafeFnPointer; +let fn_glCopyImageSubDataOES!: Deno.UnsafeFnPointer< + typeof def_glCopyImageSubDataOES +>; export function CopyImageSubDataOES( srcName: GLuint, @@ -106,5 +132,8 @@ export function CopyImageSubDataOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCopyImageSubDataOES = new Deno.UnsafeFnPointer(proc("glCopyImageSubDataOES"), def_glCopyImageSubDataOES); + fn_glCopyImageSubDataOES = new Deno.UnsafeFnPointer( + proc("glCopyImageSubDataOES"), + def_glCopyImageSubDataOES, + ); } diff --git a/api/ext/GL_OES_depth24.ts b/api/ext/GL_OES_depth24.ts index 405f84c..1e64c0d 100644 --- a/api/ext/GL_OES_depth24.ts +++ b/api/ext/GL_OES_depth24.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_depth32.ts b/api/ext/GL_OES_depth32.ts index a9b7148..3b1a55d 100644 --- a/api/ext/GL_OES_depth32.ts +++ b/api/ext/GL_OES_depth32.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_depth_texture.ts b/api/ext/GL_OES_depth_texture.ts index 0970b84..456cec5 100644 --- a/api/ext/GL_OES_depth_texture.ts +++ b/api/ext/GL_OES_depth_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_draw_buffers_indexed.ts b/api/ext/GL_OES_draw_buffers_indexed.ts index 0bc2df4..175df13 100644 --- a/api/ext/GL_OES_draw_buffers_indexed.ts +++ b/api/ext/GL_OES_draw_buffers_indexed.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -130,7 +138,9 @@ export const def_glBlendEquationiOES = { result: "void", } as const; -let fn_glBlendEquationiOES!: Deno.UnsafeFnPointer; +let fn_glBlendEquationiOES!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationiOES +>; export function BlendEquationiOES( buf: GLuint, @@ -147,7 +157,9 @@ export const def_glBlendEquationSeparateiOES = { result: "void", } as const; -let fn_glBlendEquationSeparateiOES!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparateiOES!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparateiOES +>; export function BlendEquationSeparateiOES( buf: GLuint, @@ -185,7 +197,9 @@ export const def_glBlendFuncSeparateiOES = { result: "void", } as const; -let fn_glBlendFuncSeparateiOES!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparateiOES!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparateiOES +>; export function BlendFuncSeparateiOES( buf: GLuint, @@ -245,12 +259,36 @@ export function IsEnablediOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glEnableiOES = new Deno.UnsafeFnPointer(proc("glEnableiOES"), def_glEnableiOES); - fn_glDisableiOES = new Deno.UnsafeFnPointer(proc("glDisableiOES"), def_glDisableiOES); - fn_glBlendEquationiOES = new Deno.UnsafeFnPointer(proc("glBlendEquationiOES"), def_glBlendEquationiOES); - fn_glBlendEquationSeparateiOES = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparateiOES"), def_glBlendEquationSeparateiOES); - fn_glBlendFunciOES = new Deno.UnsafeFnPointer(proc("glBlendFunciOES"), def_glBlendFunciOES); - fn_glBlendFuncSeparateiOES = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparateiOES"), def_glBlendFuncSeparateiOES); - fn_glColorMaskiOES = new Deno.UnsafeFnPointer(proc("glColorMaskiOES"), def_glColorMaskiOES); - fn_glIsEnablediOES = new Deno.UnsafeFnPointer(proc("glIsEnablediOES"), def_glIsEnablediOES); + fn_glEnableiOES = new Deno.UnsafeFnPointer( + proc("glEnableiOES"), + def_glEnableiOES, + ); + fn_glDisableiOES = new Deno.UnsafeFnPointer( + proc("glDisableiOES"), + def_glDisableiOES, + ); + fn_glBlendEquationiOES = new Deno.UnsafeFnPointer( + proc("glBlendEquationiOES"), + def_glBlendEquationiOES, + ); + fn_glBlendEquationSeparateiOES = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparateiOES"), + def_glBlendEquationSeparateiOES, + ); + fn_glBlendFunciOES = new Deno.UnsafeFnPointer( + proc("glBlendFunciOES"), + def_glBlendFunciOES, + ); + fn_glBlendFuncSeparateiOES = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparateiOES"), + def_glBlendFuncSeparateiOES, + ); + fn_glColorMaskiOES = new Deno.UnsafeFnPointer( + proc("glColorMaskiOES"), + def_glColorMaskiOES, + ); + fn_glIsEnablediOES = new Deno.UnsafeFnPointer( + proc("glIsEnablediOES"), + def_glIsEnablediOES, + ); } diff --git a/api/ext/GL_OES_draw_elements_base_vertex.ts b/api/ext/GL_OES_draw_elements_base_vertex.ts index ae36942..571951e 100644 --- a/api/ext/GL_OES_draw_elements_base_vertex.ts +++ b/api/ext/GL_OES_draw_elements_base_vertex.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glDrawElementsBaseVertexOES = { result: "void", } as const; -let fn_glDrawElementsBaseVertexOES!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertexOES!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertexOES +>; export function DrawElementsBaseVertexOES( mode: GLenum, @@ -89,7 +99,9 @@ export const def_glDrawRangeElementsBaseVertexOES = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertexOES!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertexOES!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertexOES +>; export function DrawRangeElementsBaseVertexOES( mode: GLenum, @@ -116,7 +128,9 @@ export const def_glDrawElementsInstancedBaseVertexOES = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertexOES!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertexOES!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertexOES +>; export function DrawElementsInstancedBaseVertexOES( mode: GLenum, @@ -141,7 +155,9 @@ export const def_glMultiDrawElementsBaseVertexEXT = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertexEXT!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertexEXT!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertexEXT +>; export function MultiDrawElementsBaseVertexEXT( mode: GLenum, @@ -163,8 +179,20 @@ export function MultiDrawElementsBaseVertexEXT( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawElementsBaseVertexOES = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertexOES"), def_glDrawElementsBaseVertexOES); - fn_glDrawRangeElementsBaseVertexOES = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertexOES"), def_glDrawRangeElementsBaseVertexOES); - fn_glDrawElementsInstancedBaseVertexOES = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertexOES"), def_glDrawElementsInstancedBaseVertexOES); - fn_glMultiDrawElementsBaseVertexEXT = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertexEXT"), def_glMultiDrawElementsBaseVertexEXT); + fn_glDrawElementsBaseVertexOES = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertexOES"), + def_glDrawElementsBaseVertexOES, + ); + fn_glDrawRangeElementsBaseVertexOES = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertexOES"), + def_glDrawRangeElementsBaseVertexOES, + ); + fn_glDrawElementsInstancedBaseVertexOES = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertexOES"), + def_glDrawElementsInstancedBaseVertexOES, + ); + fn_glMultiDrawElementsBaseVertexEXT = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertexEXT"), + def_glMultiDrawElementsBaseVertexEXT, + ); } diff --git a/api/ext/GL_OES_draw_texture.ts b/api/ext/GL_OES_draw_texture.ts index b16fe31..914f6cf 100644 --- a/api/ext/GL_OES_draw_texture.ts +++ b/api/ext/GL_OES_draw_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -218,12 +226,36 @@ export function DrawTexfvOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawTexsOES = new Deno.UnsafeFnPointer(proc("glDrawTexsOES"), def_glDrawTexsOES); - fn_glDrawTexiOES = new Deno.UnsafeFnPointer(proc("glDrawTexiOES"), def_glDrawTexiOES); - fn_glDrawTexxOES = new Deno.UnsafeFnPointer(proc("glDrawTexxOES"), def_glDrawTexxOES); - fn_glDrawTexsvOES = new Deno.UnsafeFnPointer(proc("glDrawTexsvOES"), def_glDrawTexsvOES); - fn_glDrawTexivOES = new Deno.UnsafeFnPointer(proc("glDrawTexivOES"), def_glDrawTexivOES); - fn_glDrawTexxvOES = new Deno.UnsafeFnPointer(proc("glDrawTexxvOES"), def_glDrawTexxvOES); - fn_glDrawTexfOES = new Deno.UnsafeFnPointer(proc("glDrawTexfOES"), def_glDrawTexfOES); - fn_glDrawTexfvOES = new Deno.UnsafeFnPointer(proc("glDrawTexfvOES"), def_glDrawTexfvOES); + fn_glDrawTexsOES = new Deno.UnsafeFnPointer( + proc("glDrawTexsOES"), + def_glDrawTexsOES, + ); + fn_glDrawTexiOES = new Deno.UnsafeFnPointer( + proc("glDrawTexiOES"), + def_glDrawTexiOES, + ); + fn_glDrawTexxOES = new Deno.UnsafeFnPointer( + proc("glDrawTexxOES"), + def_glDrawTexxOES, + ); + fn_glDrawTexsvOES = new Deno.UnsafeFnPointer( + proc("glDrawTexsvOES"), + def_glDrawTexsvOES, + ); + fn_glDrawTexivOES = new Deno.UnsafeFnPointer( + proc("glDrawTexivOES"), + def_glDrawTexivOES, + ); + fn_glDrawTexxvOES = new Deno.UnsafeFnPointer( + proc("glDrawTexxvOES"), + def_glDrawTexxvOES, + ); + fn_glDrawTexfOES = new Deno.UnsafeFnPointer( + proc("glDrawTexfOES"), + def_glDrawTexfOES, + ); + fn_glDrawTexfvOES = new Deno.UnsafeFnPointer( + proc("glDrawTexfvOES"), + def_glDrawTexfvOES, + ); } diff --git a/api/ext/GL_OES_element_index_uint.ts b/api/ext/GL_OES_element_index_uint.ts index 868473f..da45ca9 100644 --- a/api/ext/GL_OES_element_index_uint.ts +++ b/api/ext/GL_OES_element_index_uint.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_extended_matrix_palette.ts b/api/ext/GL_OES_extended_matrix_palette.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_extended_matrix_palette.ts +++ b/api/ext/GL_OES_extended_matrix_palette.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_fbo_render_mipmap.ts b/api/ext/GL_OES_fbo_render_mipmap.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_fbo_render_mipmap.ts +++ b/api/ext/GL_OES_fbo_render_mipmap.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_fixed_point.ts b/api/ext/GL_OES_fixed_point.ts index 6769827..fd7faa2 100644 --- a/api/ext/GL_OES_fixed_point.ts +++ b/api/ext/GL_OES_fixed_point.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -289,7 +297,9 @@ export const def_glGetTexParameterxvOES = { result: "void", } as const; -let fn_glGetTexParameterxvOES!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterxvOES!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterxvOES +>; export function GetTexParameterxvOES( target: GLenum, @@ -463,7 +473,9 @@ export const def_glMultiTexCoord4xOES = { result: "void", } as const; -let fn_glMultiTexCoord4xOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4xOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4xOES +>; export function MultiTexCoord4xOES( texture: GLenum, @@ -530,7 +542,9 @@ export const def_glPointParameterxvOES = { result: "void", } as const; -let fn_glPointParameterxvOES!: Deno.UnsafeFnPointer; +let fn_glPointParameterxvOES!: Deno.UnsafeFnPointer< + typeof def_glPointParameterxvOES +>; export function PointParameterxvOES( pname: GLenum, @@ -562,7 +576,9 @@ export const def_glPolygonOffsetxOES = { result: "void", } as const; -let fn_glPolygonOffsetxOES!: Deno.UnsafeFnPointer; +let fn_glPolygonOffsetxOES!: Deno.UnsafeFnPointer< + typeof def_glPolygonOffsetxOES +>; export function PolygonOffsetxOES( factor: GLfixed, @@ -676,7 +692,9 @@ export const def_glTexParameterxvOES = { result: "void", } as const; -let fn_glTexParameterxvOES!: Deno.UnsafeFnPointer; +let fn_glTexParameterxvOES!: Deno.UnsafeFnPointer< + typeof def_glTexParameterxvOES +>; export function TexParameterxvOES( target: GLenum, @@ -752,7 +770,9 @@ export const def_glPointParameterxOES = { result: "void", } as const; -let fn_glPointParameterxOES!: Deno.UnsafeFnPointer; +let fn_glPointParameterxOES!: Deno.UnsafeFnPointer< + typeof def_glPointParameterxOES +>; export function PointParameterxOES( pname: GLenum, @@ -769,7 +789,9 @@ export const def_glSampleCoveragexOES = { result: "void", } as const; -let fn_glSampleCoveragexOES!: Deno.UnsafeFnPointer; +let fn_glSampleCoveragexOES!: Deno.UnsafeFnPointer< + typeof def_glSampleCoveragexOES +>; export function SampleCoveragexOES( value: GLclampx, @@ -921,7 +943,9 @@ export const def_glConvolutionParameterxOES = { result: "void", } as const; -let fn_glConvolutionParameterxOES!: Deno.UnsafeFnPointer; +let fn_glConvolutionParameterxOES!: Deno.UnsafeFnPointer< + typeof def_glConvolutionParameterxOES +>; export function ConvolutionParameterxOES( target: GLenum, @@ -940,7 +964,9 @@ export const def_glConvolutionParameterxvOES = { result: "void", } as const; -let fn_glConvolutionParameterxvOES!: Deno.UnsafeFnPointer; +let fn_glConvolutionParameterxvOES!: Deno.UnsafeFnPointer< + typeof def_glConvolutionParameterxvOES +>; export function ConvolutionParameterxvOES( target: GLenum, @@ -1021,7 +1047,9 @@ export const def_glFeedbackBufferxOES = { result: "void", } as const; -let fn_glFeedbackBufferxOES!: Deno.UnsafeFnPointer; +let fn_glFeedbackBufferxOES!: Deno.UnsafeFnPointer< + typeof def_glFeedbackBufferxOES +>; export function FeedbackBufferxOES( n: GLsizei, @@ -1040,7 +1068,9 @@ export const def_glGetConvolutionParameterxvOES = { result: "void", } as const; -let fn_glGetConvolutionParameterxvOES!: Deno.UnsafeFnPointer; +let fn_glGetConvolutionParameterxvOES!: Deno.UnsafeFnPointer< + typeof def_glGetConvolutionParameterxvOES +>; export function GetConvolutionParameterxvOES( target: GLenum, @@ -1059,7 +1089,9 @@ export const def_glGetHistogramParameterxvOES = { result: "void", } as const; -let fn_glGetHistogramParameterxvOES!: Deno.UnsafeFnPointer; +let fn_glGetHistogramParameterxvOES!: Deno.UnsafeFnPointer< + typeof def_glGetHistogramParameterxvOES +>; export function GetHistogramParameterxvOES( target: GLenum, @@ -1173,7 +1205,9 @@ export const def_glGetTexLevelParameterxvOES = { result: "void", } as const; -let fn_glGetTexLevelParameterxvOES!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterxvOES!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterxvOES +>; export function GetTexLevelParameterxvOES( target: GLenum, @@ -1224,7 +1258,9 @@ export const def_glLoadTransposeMatrixxOES = { result: "void", } as const; -let fn_glLoadTransposeMatrixxOES!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixxOES!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixxOES +>; export function LoadTransposeMatrixxOES( m: Buffer, @@ -1260,7 +1296,18 @@ export function Map1xOES( } export const def_glMap2xOES = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; @@ -1339,7 +1386,9 @@ export const def_glMultTransposeMatrixxOES = { result: "void", } as const; -let fn_glMultTransposeMatrixxOES!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixxOES!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixxOES +>; export function MultTransposeMatrixxOES( m: Buffer, @@ -1354,7 +1403,9 @@ export const def_glMultiTexCoord1xOES = { result: "void", } as const; -let fn_glMultiTexCoord1xOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1xOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1xOES +>; export function MultiTexCoord1xOES( texture: GLenum, @@ -1371,7 +1422,9 @@ export const def_glMultiTexCoord1xvOES = { result: "void", } as const; -let fn_glMultiTexCoord1xvOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord1xvOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord1xvOES +>; export function MultiTexCoord1xvOES( texture: GLenum, @@ -1388,7 +1441,9 @@ export const def_glMultiTexCoord2xOES = { result: "void", } as const; -let fn_glMultiTexCoord2xOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2xOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2xOES +>; export function MultiTexCoord2xOES( texture: GLenum, @@ -1407,7 +1462,9 @@ export const def_glMultiTexCoord2xvOES = { result: "void", } as const; -let fn_glMultiTexCoord2xvOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord2xvOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord2xvOES +>; export function MultiTexCoord2xvOES( texture: GLenum, @@ -1424,7 +1481,9 @@ export const def_glMultiTexCoord3xOES = { result: "void", } as const; -let fn_glMultiTexCoord3xOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3xOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3xOES +>; export function MultiTexCoord3xOES( texture: GLenum, @@ -1445,7 +1504,9 @@ export const def_glMultiTexCoord3xvOES = { result: "void", } as const; -let fn_glMultiTexCoord3xvOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord3xvOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord3xvOES +>; export function MultiTexCoord3xvOES( texture: GLenum, @@ -1462,7 +1523,9 @@ export const def_glMultiTexCoord4xvOES = { result: "void", } as const; -let fn_glMultiTexCoord4xvOES!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoord4xvOES!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoord4xvOES +>; export function MultiTexCoord4xvOES( texture: GLenum, @@ -1545,7 +1608,9 @@ export const def_glPixelTransferxOES = { result: "void", } as const; -let fn_glPixelTransferxOES!: Deno.UnsafeFnPointer; +let fn_glPixelTransferxOES!: Deno.UnsafeFnPointer< + typeof def_glPixelTransferxOES +>; export function PixelTransferxOES( pname: GLenum, @@ -1579,7 +1644,9 @@ export const def_glPrioritizeTexturesxOES = { result: "void", } as const; -let fn_glPrioritizeTexturesxOES!: Deno.UnsafeFnPointer; +let fn_glPrioritizeTexturesxOES!: Deno.UnsafeFnPointer< + typeof def_glPrioritizeTexturesxOES +>; export function PrioritizeTexturesxOES( n: GLsizei, @@ -2001,111 +2068,417 @@ export function Vertex4xvOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glAlphaFuncxOES = new Deno.UnsafeFnPointer(proc("glAlphaFuncxOES"), def_glAlphaFuncxOES); - fn_glClearColorxOES = new Deno.UnsafeFnPointer(proc("glClearColorxOES"), def_glClearColorxOES); - fn_glClearDepthxOES = new Deno.UnsafeFnPointer(proc("glClearDepthxOES"), def_glClearDepthxOES); - fn_glClipPlanexOES = new Deno.UnsafeFnPointer(proc("glClipPlanexOES"), def_glClipPlanexOES); - fn_glColor4xOES = new Deno.UnsafeFnPointer(proc("glColor4xOES"), def_glColor4xOES); - fn_glDepthRangexOES = new Deno.UnsafeFnPointer(proc("glDepthRangexOES"), def_glDepthRangexOES); + fn_glAlphaFuncxOES = new Deno.UnsafeFnPointer( + proc("glAlphaFuncxOES"), + def_glAlphaFuncxOES, + ); + fn_glClearColorxOES = new Deno.UnsafeFnPointer( + proc("glClearColorxOES"), + def_glClearColorxOES, + ); + fn_glClearDepthxOES = new Deno.UnsafeFnPointer( + proc("glClearDepthxOES"), + def_glClearDepthxOES, + ); + fn_glClipPlanexOES = new Deno.UnsafeFnPointer( + proc("glClipPlanexOES"), + def_glClipPlanexOES, + ); + fn_glColor4xOES = new Deno.UnsafeFnPointer( + proc("glColor4xOES"), + def_glColor4xOES, + ); + fn_glDepthRangexOES = new Deno.UnsafeFnPointer( + proc("glDepthRangexOES"), + def_glDepthRangexOES, + ); fn_glFogxOES = new Deno.UnsafeFnPointer(proc("glFogxOES"), def_glFogxOES); fn_glFogxvOES = new Deno.UnsafeFnPointer(proc("glFogxvOES"), def_glFogxvOES); - fn_glFrustumxOES = new Deno.UnsafeFnPointer(proc("glFrustumxOES"), def_glFrustumxOES); - fn_glGetClipPlanexOES = new Deno.UnsafeFnPointer(proc("glGetClipPlanexOES"), def_glGetClipPlanexOES); - fn_glGetFixedvOES = new Deno.UnsafeFnPointer(proc("glGetFixedvOES"), def_glGetFixedvOES); - fn_glGetTexEnvxvOES = new Deno.UnsafeFnPointer(proc("glGetTexEnvxvOES"), def_glGetTexEnvxvOES); - fn_glGetTexParameterxvOES = new Deno.UnsafeFnPointer(proc("glGetTexParameterxvOES"), def_glGetTexParameterxvOES); - fn_glLightModelxOES = new Deno.UnsafeFnPointer(proc("glLightModelxOES"), def_glLightModelxOES); - fn_glLightModelxvOES = new Deno.UnsafeFnPointer(proc("glLightModelxvOES"), def_glLightModelxvOES); - fn_glLightxOES = new Deno.UnsafeFnPointer(proc("glLightxOES"), def_glLightxOES); - fn_glLightxvOES = new Deno.UnsafeFnPointer(proc("glLightxvOES"), def_glLightxvOES); - fn_glLineWidthxOES = new Deno.UnsafeFnPointer(proc("glLineWidthxOES"), def_glLineWidthxOES); - fn_glLoadMatrixxOES = new Deno.UnsafeFnPointer(proc("glLoadMatrixxOES"), def_glLoadMatrixxOES); - fn_glMaterialxOES = new Deno.UnsafeFnPointer(proc("glMaterialxOES"), def_glMaterialxOES); - fn_glMaterialxvOES = new Deno.UnsafeFnPointer(proc("glMaterialxvOES"), def_glMaterialxvOES); - fn_glMultMatrixxOES = new Deno.UnsafeFnPointer(proc("glMultMatrixxOES"), def_glMultMatrixxOES); - fn_glMultiTexCoord4xOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4xOES"), def_glMultiTexCoord4xOES); - fn_glNormal3xOES = new Deno.UnsafeFnPointer(proc("glNormal3xOES"), def_glNormal3xOES); - fn_glOrthoxOES = new Deno.UnsafeFnPointer(proc("glOrthoxOES"), def_glOrthoxOES); - fn_glPointParameterxvOES = new Deno.UnsafeFnPointer(proc("glPointParameterxvOES"), def_glPointParameterxvOES); - fn_glPointSizexOES = new Deno.UnsafeFnPointer(proc("glPointSizexOES"), def_glPointSizexOES); - fn_glPolygonOffsetxOES = new Deno.UnsafeFnPointer(proc("glPolygonOffsetxOES"), def_glPolygonOffsetxOES); - fn_glRotatexOES = new Deno.UnsafeFnPointer(proc("glRotatexOES"), def_glRotatexOES); - fn_glScalexOES = new Deno.UnsafeFnPointer(proc("glScalexOES"), def_glScalexOES); - fn_glTexEnvxOES = new Deno.UnsafeFnPointer(proc("glTexEnvxOES"), def_glTexEnvxOES); - fn_glTexEnvxvOES = new Deno.UnsafeFnPointer(proc("glTexEnvxvOES"), def_glTexEnvxvOES); - fn_glTexParameterxOES = new Deno.UnsafeFnPointer(proc("glTexParameterxOES"), def_glTexParameterxOES); - fn_glTexParameterxvOES = new Deno.UnsafeFnPointer(proc("glTexParameterxvOES"), def_glTexParameterxvOES); - fn_glTranslatexOES = new Deno.UnsafeFnPointer(proc("glTranslatexOES"), def_glTranslatexOES); - fn_glGetLightxvOES = new Deno.UnsafeFnPointer(proc("glGetLightxvOES"), def_glGetLightxvOES); - fn_glGetMaterialxvOES = new Deno.UnsafeFnPointer(proc("glGetMaterialxvOES"), def_glGetMaterialxvOES); - fn_glPointParameterxOES = new Deno.UnsafeFnPointer(proc("glPointParameterxOES"), def_glPointParameterxOES); - fn_glSampleCoveragexOES = new Deno.UnsafeFnPointer(proc("glSampleCoveragexOES"), def_glSampleCoveragexOES); - fn_glAccumxOES = new Deno.UnsafeFnPointer(proc("glAccumxOES"), def_glAccumxOES); - fn_glBitmapxOES = new Deno.UnsafeFnPointer(proc("glBitmapxOES"), def_glBitmapxOES); - fn_glBlendColorxOES = new Deno.UnsafeFnPointer(proc("glBlendColorxOES"), def_glBlendColorxOES); - fn_glClearAccumxOES = new Deno.UnsafeFnPointer(proc("glClearAccumxOES"), def_glClearAccumxOES); - fn_glColor3xOES = new Deno.UnsafeFnPointer(proc("glColor3xOES"), def_glColor3xOES); - fn_glColor3xvOES = new Deno.UnsafeFnPointer(proc("glColor3xvOES"), def_glColor3xvOES); - fn_glColor4xvOES = new Deno.UnsafeFnPointer(proc("glColor4xvOES"), def_glColor4xvOES); - fn_glConvolutionParameterxOES = new Deno.UnsafeFnPointer(proc("glConvolutionParameterxOES"), def_glConvolutionParameterxOES); - fn_glConvolutionParameterxvOES = new Deno.UnsafeFnPointer(proc("glConvolutionParameterxvOES"), def_glConvolutionParameterxvOES); - fn_glEvalCoord1xOES = new Deno.UnsafeFnPointer(proc("glEvalCoord1xOES"), def_glEvalCoord1xOES); - fn_glEvalCoord1xvOES = new Deno.UnsafeFnPointer(proc("glEvalCoord1xvOES"), def_glEvalCoord1xvOES); - fn_glEvalCoord2xOES = new Deno.UnsafeFnPointer(proc("glEvalCoord2xOES"), def_glEvalCoord2xOES); - fn_glEvalCoord2xvOES = new Deno.UnsafeFnPointer(proc("glEvalCoord2xvOES"), def_glEvalCoord2xvOES); - fn_glFeedbackBufferxOES = new Deno.UnsafeFnPointer(proc("glFeedbackBufferxOES"), def_glFeedbackBufferxOES); - fn_glGetConvolutionParameterxvOES = new Deno.UnsafeFnPointer(proc("glGetConvolutionParameterxvOES"), def_glGetConvolutionParameterxvOES); - fn_glGetHistogramParameterxvOES = new Deno.UnsafeFnPointer(proc("glGetHistogramParameterxvOES"), def_glGetHistogramParameterxvOES); - fn_glGetLightxOES = new Deno.UnsafeFnPointer(proc("glGetLightxOES"), def_glGetLightxOES); - fn_glGetMapxvOES = new Deno.UnsafeFnPointer(proc("glGetMapxvOES"), def_glGetMapxvOES); - fn_glGetMaterialxOES = new Deno.UnsafeFnPointer(proc("glGetMaterialxOES"), def_glGetMaterialxOES); - fn_glGetPixelMapxv = new Deno.UnsafeFnPointer(proc("glGetPixelMapxv"), def_glGetPixelMapxv); - fn_glGetTexGenxvOES = new Deno.UnsafeFnPointer(proc("glGetTexGenxvOES"), def_glGetTexGenxvOES); - fn_glGetTexLevelParameterxvOES = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterxvOES"), def_glGetTexLevelParameterxvOES); - fn_glIndexxOES = new Deno.UnsafeFnPointer(proc("glIndexxOES"), def_glIndexxOES); - fn_glIndexxvOES = new Deno.UnsafeFnPointer(proc("glIndexxvOES"), def_glIndexxvOES); - fn_glLoadTransposeMatrixxOES = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixxOES"), def_glLoadTransposeMatrixxOES); + fn_glFrustumxOES = new Deno.UnsafeFnPointer( + proc("glFrustumxOES"), + def_glFrustumxOES, + ); + fn_glGetClipPlanexOES = new Deno.UnsafeFnPointer( + proc("glGetClipPlanexOES"), + def_glGetClipPlanexOES, + ); + fn_glGetFixedvOES = new Deno.UnsafeFnPointer( + proc("glGetFixedvOES"), + def_glGetFixedvOES, + ); + fn_glGetTexEnvxvOES = new Deno.UnsafeFnPointer( + proc("glGetTexEnvxvOES"), + def_glGetTexEnvxvOES, + ); + fn_glGetTexParameterxvOES = new Deno.UnsafeFnPointer( + proc("glGetTexParameterxvOES"), + def_glGetTexParameterxvOES, + ); + fn_glLightModelxOES = new Deno.UnsafeFnPointer( + proc("glLightModelxOES"), + def_glLightModelxOES, + ); + fn_glLightModelxvOES = new Deno.UnsafeFnPointer( + proc("glLightModelxvOES"), + def_glLightModelxvOES, + ); + fn_glLightxOES = new Deno.UnsafeFnPointer( + proc("glLightxOES"), + def_glLightxOES, + ); + fn_glLightxvOES = new Deno.UnsafeFnPointer( + proc("glLightxvOES"), + def_glLightxvOES, + ); + fn_glLineWidthxOES = new Deno.UnsafeFnPointer( + proc("glLineWidthxOES"), + def_glLineWidthxOES, + ); + fn_glLoadMatrixxOES = new Deno.UnsafeFnPointer( + proc("glLoadMatrixxOES"), + def_glLoadMatrixxOES, + ); + fn_glMaterialxOES = new Deno.UnsafeFnPointer( + proc("glMaterialxOES"), + def_glMaterialxOES, + ); + fn_glMaterialxvOES = new Deno.UnsafeFnPointer( + proc("glMaterialxvOES"), + def_glMaterialxvOES, + ); + fn_glMultMatrixxOES = new Deno.UnsafeFnPointer( + proc("glMultMatrixxOES"), + def_glMultMatrixxOES, + ); + fn_glMultiTexCoord4xOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4xOES"), + def_glMultiTexCoord4xOES, + ); + fn_glNormal3xOES = new Deno.UnsafeFnPointer( + proc("glNormal3xOES"), + def_glNormal3xOES, + ); + fn_glOrthoxOES = new Deno.UnsafeFnPointer( + proc("glOrthoxOES"), + def_glOrthoxOES, + ); + fn_glPointParameterxvOES = new Deno.UnsafeFnPointer( + proc("glPointParameterxvOES"), + def_glPointParameterxvOES, + ); + fn_glPointSizexOES = new Deno.UnsafeFnPointer( + proc("glPointSizexOES"), + def_glPointSizexOES, + ); + fn_glPolygonOffsetxOES = new Deno.UnsafeFnPointer( + proc("glPolygonOffsetxOES"), + def_glPolygonOffsetxOES, + ); + fn_glRotatexOES = new Deno.UnsafeFnPointer( + proc("glRotatexOES"), + def_glRotatexOES, + ); + fn_glScalexOES = new Deno.UnsafeFnPointer( + proc("glScalexOES"), + def_glScalexOES, + ); + fn_glTexEnvxOES = new Deno.UnsafeFnPointer( + proc("glTexEnvxOES"), + def_glTexEnvxOES, + ); + fn_glTexEnvxvOES = new Deno.UnsafeFnPointer( + proc("glTexEnvxvOES"), + def_glTexEnvxvOES, + ); + fn_glTexParameterxOES = new Deno.UnsafeFnPointer( + proc("glTexParameterxOES"), + def_glTexParameterxOES, + ); + fn_glTexParameterxvOES = new Deno.UnsafeFnPointer( + proc("glTexParameterxvOES"), + def_glTexParameterxvOES, + ); + fn_glTranslatexOES = new Deno.UnsafeFnPointer( + proc("glTranslatexOES"), + def_glTranslatexOES, + ); + fn_glGetLightxvOES = new Deno.UnsafeFnPointer( + proc("glGetLightxvOES"), + def_glGetLightxvOES, + ); + fn_glGetMaterialxvOES = new Deno.UnsafeFnPointer( + proc("glGetMaterialxvOES"), + def_glGetMaterialxvOES, + ); + fn_glPointParameterxOES = new Deno.UnsafeFnPointer( + proc("glPointParameterxOES"), + def_glPointParameterxOES, + ); + fn_glSampleCoveragexOES = new Deno.UnsafeFnPointer( + proc("glSampleCoveragexOES"), + def_glSampleCoveragexOES, + ); + fn_glAccumxOES = new Deno.UnsafeFnPointer( + proc("glAccumxOES"), + def_glAccumxOES, + ); + fn_glBitmapxOES = new Deno.UnsafeFnPointer( + proc("glBitmapxOES"), + def_glBitmapxOES, + ); + fn_glBlendColorxOES = new Deno.UnsafeFnPointer( + proc("glBlendColorxOES"), + def_glBlendColorxOES, + ); + fn_glClearAccumxOES = new Deno.UnsafeFnPointer( + proc("glClearAccumxOES"), + def_glClearAccumxOES, + ); + fn_glColor3xOES = new Deno.UnsafeFnPointer( + proc("glColor3xOES"), + def_glColor3xOES, + ); + fn_glColor3xvOES = new Deno.UnsafeFnPointer( + proc("glColor3xvOES"), + def_glColor3xvOES, + ); + fn_glColor4xvOES = new Deno.UnsafeFnPointer( + proc("glColor4xvOES"), + def_glColor4xvOES, + ); + fn_glConvolutionParameterxOES = new Deno.UnsafeFnPointer( + proc("glConvolutionParameterxOES"), + def_glConvolutionParameterxOES, + ); + fn_glConvolutionParameterxvOES = new Deno.UnsafeFnPointer( + proc("glConvolutionParameterxvOES"), + def_glConvolutionParameterxvOES, + ); + fn_glEvalCoord1xOES = new Deno.UnsafeFnPointer( + proc("glEvalCoord1xOES"), + def_glEvalCoord1xOES, + ); + fn_glEvalCoord1xvOES = new Deno.UnsafeFnPointer( + proc("glEvalCoord1xvOES"), + def_glEvalCoord1xvOES, + ); + fn_glEvalCoord2xOES = new Deno.UnsafeFnPointer( + proc("glEvalCoord2xOES"), + def_glEvalCoord2xOES, + ); + fn_glEvalCoord2xvOES = new Deno.UnsafeFnPointer( + proc("glEvalCoord2xvOES"), + def_glEvalCoord2xvOES, + ); + fn_glFeedbackBufferxOES = new Deno.UnsafeFnPointer( + proc("glFeedbackBufferxOES"), + def_glFeedbackBufferxOES, + ); + fn_glGetConvolutionParameterxvOES = new Deno.UnsafeFnPointer( + proc("glGetConvolutionParameterxvOES"), + def_glGetConvolutionParameterxvOES, + ); + fn_glGetHistogramParameterxvOES = new Deno.UnsafeFnPointer( + proc("glGetHistogramParameterxvOES"), + def_glGetHistogramParameterxvOES, + ); + fn_glGetLightxOES = new Deno.UnsafeFnPointer( + proc("glGetLightxOES"), + def_glGetLightxOES, + ); + fn_glGetMapxvOES = new Deno.UnsafeFnPointer( + proc("glGetMapxvOES"), + def_glGetMapxvOES, + ); + fn_glGetMaterialxOES = new Deno.UnsafeFnPointer( + proc("glGetMaterialxOES"), + def_glGetMaterialxOES, + ); + fn_glGetPixelMapxv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapxv"), + def_glGetPixelMapxv, + ); + fn_glGetTexGenxvOES = new Deno.UnsafeFnPointer( + proc("glGetTexGenxvOES"), + def_glGetTexGenxvOES, + ); + fn_glGetTexLevelParameterxvOES = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterxvOES"), + def_glGetTexLevelParameterxvOES, + ); + fn_glIndexxOES = new Deno.UnsafeFnPointer( + proc("glIndexxOES"), + def_glIndexxOES, + ); + fn_glIndexxvOES = new Deno.UnsafeFnPointer( + proc("glIndexxvOES"), + def_glIndexxvOES, + ); + fn_glLoadTransposeMatrixxOES = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixxOES"), + def_glLoadTransposeMatrixxOES, + ); fn_glMap1xOES = new Deno.UnsafeFnPointer(proc("glMap1xOES"), def_glMap1xOES); fn_glMap2xOES = new Deno.UnsafeFnPointer(proc("glMap2xOES"), def_glMap2xOES); - fn_glMapGrid1xOES = new Deno.UnsafeFnPointer(proc("glMapGrid1xOES"), def_glMapGrid1xOES); - fn_glMapGrid2xOES = new Deno.UnsafeFnPointer(proc("glMapGrid2xOES"), def_glMapGrid2xOES); - fn_glMultTransposeMatrixxOES = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixxOES"), def_glMultTransposeMatrixxOES); - fn_glMultiTexCoord1xOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1xOES"), def_glMultiTexCoord1xOES); - fn_glMultiTexCoord1xvOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1xvOES"), def_glMultiTexCoord1xvOES); - fn_glMultiTexCoord2xOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2xOES"), def_glMultiTexCoord2xOES); - fn_glMultiTexCoord2xvOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2xvOES"), def_glMultiTexCoord2xvOES); - fn_glMultiTexCoord3xOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3xOES"), def_glMultiTexCoord3xOES); - fn_glMultiTexCoord3xvOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3xvOES"), def_glMultiTexCoord3xvOES); - fn_glMultiTexCoord4xvOES = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4xvOES"), def_glMultiTexCoord4xvOES); - fn_glNormal3xvOES = new Deno.UnsafeFnPointer(proc("glNormal3xvOES"), def_glNormal3xvOES); - fn_glPassThroughxOES = new Deno.UnsafeFnPointer(proc("glPassThroughxOES"), def_glPassThroughxOES); - fn_glPixelMapx = new Deno.UnsafeFnPointer(proc("glPixelMapx"), def_glPixelMapx); - fn_glPixelStorex = new Deno.UnsafeFnPointer(proc("glPixelStorex"), def_glPixelStorex); - fn_glPixelTransferxOES = new Deno.UnsafeFnPointer(proc("glPixelTransferxOES"), def_glPixelTransferxOES); - fn_glPixelZoomxOES = new Deno.UnsafeFnPointer(proc("glPixelZoomxOES"), def_glPixelZoomxOES); - fn_glPrioritizeTexturesxOES = new Deno.UnsafeFnPointer(proc("glPrioritizeTexturesxOES"), def_glPrioritizeTexturesxOES); - fn_glRasterPos2xOES = new Deno.UnsafeFnPointer(proc("glRasterPos2xOES"), def_glRasterPos2xOES); - fn_glRasterPos2xvOES = new Deno.UnsafeFnPointer(proc("glRasterPos2xvOES"), def_glRasterPos2xvOES); - fn_glRasterPos3xOES = new Deno.UnsafeFnPointer(proc("glRasterPos3xOES"), def_glRasterPos3xOES); - fn_glRasterPos3xvOES = new Deno.UnsafeFnPointer(proc("glRasterPos3xvOES"), def_glRasterPos3xvOES); - fn_glRasterPos4xOES = new Deno.UnsafeFnPointer(proc("glRasterPos4xOES"), def_glRasterPos4xOES); - fn_glRasterPos4xvOES = new Deno.UnsafeFnPointer(proc("glRasterPos4xvOES"), def_glRasterPos4xvOES); + fn_glMapGrid1xOES = new Deno.UnsafeFnPointer( + proc("glMapGrid1xOES"), + def_glMapGrid1xOES, + ); + fn_glMapGrid2xOES = new Deno.UnsafeFnPointer( + proc("glMapGrid2xOES"), + def_glMapGrid2xOES, + ); + fn_glMultTransposeMatrixxOES = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixxOES"), + def_glMultTransposeMatrixxOES, + ); + fn_glMultiTexCoord1xOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1xOES"), + def_glMultiTexCoord1xOES, + ); + fn_glMultiTexCoord1xvOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1xvOES"), + def_glMultiTexCoord1xvOES, + ); + fn_glMultiTexCoord2xOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2xOES"), + def_glMultiTexCoord2xOES, + ); + fn_glMultiTexCoord2xvOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2xvOES"), + def_glMultiTexCoord2xvOES, + ); + fn_glMultiTexCoord3xOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3xOES"), + def_glMultiTexCoord3xOES, + ); + fn_glMultiTexCoord3xvOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3xvOES"), + def_glMultiTexCoord3xvOES, + ); + fn_glMultiTexCoord4xvOES = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4xvOES"), + def_glMultiTexCoord4xvOES, + ); + fn_glNormal3xvOES = new Deno.UnsafeFnPointer( + proc("glNormal3xvOES"), + def_glNormal3xvOES, + ); + fn_glPassThroughxOES = new Deno.UnsafeFnPointer( + proc("glPassThroughxOES"), + def_glPassThroughxOES, + ); + fn_glPixelMapx = new Deno.UnsafeFnPointer( + proc("glPixelMapx"), + def_glPixelMapx, + ); + fn_glPixelStorex = new Deno.UnsafeFnPointer( + proc("glPixelStorex"), + def_glPixelStorex, + ); + fn_glPixelTransferxOES = new Deno.UnsafeFnPointer( + proc("glPixelTransferxOES"), + def_glPixelTransferxOES, + ); + fn_glPixelZoomxOES = new Deno.UnsafeFnPointer( + proc("glPixelZoomxOES"), + def_glPixelZoomxOES, + ); + fn_glPrioritizeTexturesxOES = new Deno.UnsafeFnPointer( + proc("glPrioritizeTexturesxOES"), + def_glPrioritizeTexturesxOES, + ); + fn_glRasterPos2xOES = new Deno.UnsafeFnPointer( + proc("glRasterPos2xOES"), + def_glRasterPos2xOES, + ); + fn_glRasterPos2xvOES = new Deno.UnsafeFnPointer( + proc("glRasterPos2xvOES"), + def_glRasterPos2xvOES, + ); + fn_glRasterPos3xOES = new Deno.UnsafeFnPointer( + proc("glRasterPos3xOES"), + def_glRasterPos3xOES, + ); + fn_glRasterPos3xvOES = new Deno.UnsafeFnPointer( + proc("glRasterPos3xvOES"), + def_glRasterPos3xvOES, + ); + fn_glRasterPos4xOES = new Deno.UnsafeFnPointer( + proc("glRasterPos4xOES"), + def_glRasterPos4xOES, + ); + fn_glRasterPos4xvOES = new Deno.UnsafeFnPointer( + proc("glRasterPos4xvOES"), + def_glRasterPos4xvOES, + ); fn_glRectxOES = new Deno.UnsafeFnPointer(proc("glRectxOES"), def_glRectxOES); - fn_glRectxvOES = new Deno.UnsafeFnPointer(proc("glRectxvOES"), def_glRectxvOES); - fn_glTexCoord1xOES = new Deno.UnsafeFnPointer(proc("glTexCoord1xOES"), def_glTexCoord1xOES); - fn_glTexCoord1xvOES = new Deno.UnsafeFnPointer(proc("glTexCoord1xvOES"), def_glTexCoord1xvOES); - fn_glTexCoord2xOES = new Deno.UnsafeFnPointer(proc("glTexCoord2xOES"), def_glTexCoord2xOES); - fn_glTexCoord2xvOES = new Deno.UnsafeFnPointer(proc("glTexCoord2xvOES"), def_glTexCoord2xvOES); - fn_glTexCoord3xOES = new Deno.UnsafeFnPointer(proc("glTexCoord3xOES"), def_glTexCoord3xOES); - fn_glTexCoord3xvOES = new Deno.UnsafeFnPointer(proc("glTexCoord3xvOES"), def_glTexCoord3xvOES); - fn_glTexCoord4xOES = new Deno.UnsafeFnPointer(proc("glTexCoord4xOES"), def_glTexCoord4xOES); - fn_glTexCoord4xvOES = new Deno.UnsafeFnPointer(proc("glTexCoord4xvOES"), def_glTexCoord4xvOES); - fn_glTexGenxOES = new Deno.UnsafeFnPointer(proc("glTexGenxOES"), def_glTexGenxOES); - fn_glTexGenxvOES = new Deno.UnsafeFnPointer(proc("glTexGenxvOES"), def_glTexGenxvOES); - fn_glVertex2xOES = new Deno.UnsafeFnPointer(proc("glVertex2xOES"), def_glVertex2xOES); - fn_glVertex2xvOES = new Deno.UnsafeFnPointer(proc("glVertex2xvOES"), def_glVertex2xvOES); - fn_glVertex3xOES = new Deno.UnsafeFnPointer(proc("glVertex3xOES"), def_glVertex3xOES); - fn_glVertex3xvOES = new Deno.UnsafeFnPointer(proc("glVertex3xvOES"), def_glVertex3xvOES); - fn_glVertex4xOES = new Deno.UnsafeFnPointer(proc("glVertex4xOES"), def_glVertex4xOES); - fn_glVertex4xvOES = new Deno.UnsafeFnPointer(proc("glVertex4xvOES"), def_glVertex4xvOES); + fn_glRectxvOES = new Deno.UnsafeFnPointer( + proc("glRectxvOES"), + def_glRectxvOES, + ); + fn_glTexCoord1xOES = new Deno.UnsafeFnPointer( + proc("glTexCoord1xOES"), + def_glTexCoord1xOES, + ); + fn_glTexCoord1xvOES = new Deno.UnsafeFnPointer( + proc("glTexCoord1xvOES"), + def_glTexCoord1xvOES, + ); + fn_glTexCoord2xOES = new Deno.UnsafeFnPointer( + proc("glTexCoord2xOES"), + def_glTexCoord2xOES, + ); + fn_glTexCoord2xvOES = new Deno.UnsafeFnPointer( + proc("glTexCoord2xvOES"), + def_glTexCoord2xvOES, + ); + fn_glTexCoord3xOES = new Deno.UnsafeFnPointer( + proc("glTexCoord3xOES"), + def_glTexCoord3xOES, + ); + fn_glTexCoord3xvOES = new Deno.UnsafeFnPointer( + proc("glTexCoord3xvOES"), + def_glTexCoord3xvOES, + ); + fn_glTexCoord4xOES = new Deno.UnsafeFnPointer( + proc("glTexCoord4xOES"), + def_glTexCoord4xOES, + ); + fn_glTexCoord4xvOES = new Deno.UnsafeFnPointer( + proc("glTexCoord4xvOES"), + def_glTexCoord4xvOES, + ); + fn_glTexGenxOES = new Deno.UnsafeFnPointer( + proc("glTexGenxOES"), + def_glTexGenxOES, + ); + fn_glTexGenxvOES = new Deno.UnsafeFnPointer( + proc("glTexGenxvOES"), + def_glTexGenxvOES, + ); + fn_glVertex2xOES = new Deno.UnsafeFnPointer( + proc("glVertex2xOES"), + def_glVertex2xOES, + ); + fn_glVertex2xvOES = new Deno.UnsafeFnPointer( + proc("glVertex2xvOES"), + def_glVertex2xvOES, + ); + fn_glVertex3xOES = new Deno.UnsafeFnPointer( + proc("glVertex3xOES"), + def_glVertex3xOES, + ); + fn_glVertex3xvOES = new Deno.UnsafeFnPointer( + proc("glVertex3xvOES"), + def_glVertex3xvOES, + ); + fn_glVertex4xOES = new Deno.UnsafeFnPointer( + proc("glVertex4xOES"), + def_glVertex4xOES, + ); + fn_glVertex4xvOES = new Deno.UnsafeFnPointer( + proc("glVertex4xvOES"), + def_glVertex4xvOES, + ); } diff --git a/api/ext/GL_OES_fragment_precision_high.ts b/api/ext/GL_OES_fragment_precision_high.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_fragment_precision_high.ts +++ b/api/ext/GL_OES_fragment_precision_high.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_framebuffer_object.ts b/api/ext/GL_OES_framebuffer_object.ts index 8bfa987..ae6d9a1 100644 --- a/api/ext/GL_OES_framebuffer_object.ts +++ b/api/ext/GL_OES_framebuffer_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -101,7 +109,9 @@ export const def_glIsRenderbufferOES = { result: "u8", } as const; -let fn_glIsRenderbufferOES!: Deno.UnsafeFnPointer; +let fn_glIsRenderbufferOES!: Deno.UnsafeFnPointer< + typeof def_glIsRenderbufferOES +>; export function IsRenderbufferOES( renderbuffer: GLuint, @@ -116,7 +126,9 @@ export const def_glBindRenderbufferOES = { result: "void", } as const; -let fn_glBindRenderbufferOES!: Deno.UnsafeFnPointer; +let fn_glBindRenderbufferOES!: Deno.UnsafeFnPointer< + typeof def_glBindRenderbufferOES +>; export function BindRenderbufferOES( target: GLenum, @@ -133,7 +145,9 @@ export const def_glDeleteRenderbuffersOES = { result: "void", } as const; -let fn_glDeleteRenderbuffersOES!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffersOES!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffersOES +>; export function DeleteRenderbuffersOES( n: GLsizei, @@ -150,7 +164,9 @@ export const def_glGenRenderbuffersOES = { result: "void", } as const; -let fn_glGenRenderbuffersOES!: Deno.UnsafeFnPointer; +let fn_glGenRenderbuffersOES!: Deno.UnsafeFnPointer< + typeof def_glGenRenderbuffersOES +>; export function GenRenderbuffersOES( n: GLsizei, @@ -167,7 +183,9 @@ export const def_glRenderbufferStorageOES = { result: "void", } as const; -let fn_glRenderbufferStorageOES!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageOES!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageOES +>; export function RenderbufferStorageOES( target: GLenum, @@ -188,7 +206,9 @@ export const def_glGetRenderbufferParameterivOES = { result: "void", } as const; -let fn_glGetRenderbufferParameterivOES!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameterivOES!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameterivOES +>; export function GetRenderbufferParameterivOES( target: GLenum, @@ -222,7 +242,9 @@ export const def_glBindFramebufferOES = { result: "void", } as const; -let fn_glBindFramebufferOES!: Deno.UnsafeFnPointer; +let fn_glBindFramebufferOES!: Deno.UnsafeFnPointer< + typeof def_glBindFramebufferOES +>; export function BindFramebufferOES( target: GLenum, @@ -239,7 +261,9 @@ export const def_glDeleteFramebuffersOES = { result: "void", } as const; -let fn_glDeleteFramebuffersOES!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffersOES!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffersOES +>; export function DeleteFramebuffersOES( n: GLsizei, @@ -256,7 +280,9 @@ export const def_glGenFramebuffersOES = { result: "void", } as const; -let fn_glGenFramebuffersOES!: Deno.UnsafeFnPointer; +let fn_glGenFramebuffersOES!: Deno.UnsafeFnPointer< + typeof def_glGenFramebuffersOES +>; export function GenFramebuffersOES( n: GLsizei, @@ -273,7 +299,9 @@ export const def_glCheckFramebufferStatusOES = { result: "u32", } as const; -let fn_glCheckFramebufferStatusOES!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatusOES!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatusOES +>; export function CheckFramebufferStatusOES( target: GLenum, @@ -288,7 +316,9 @@ export const def_glFramebufferRenderbufferOES = { result: "void", } as const; -let fn_glFramebufferRenderbufferOES!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbufferOES!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbufferOES +>; export function FramebufferRenderbufferOES( target: GLenum, @@ -309,7 +339,9 @@ export const def_glFramebufferTexture2DOES = { result: "void", } as const; -let fn_glFramebufferTexture2DOES!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2DOES!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2DOES +>; export function FramebufferTexture2DOES( target: GLenum, @@ -332,7 +364,9 @@ export const def_glGetFramebufferAttachmentParameterivOES = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameterivOES!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameterivOES!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameterivOES +>; export function GetFramebufferAttachmentParameterivOES( target: GLenum, @@ -353,7 +387,9 @@ export const def_glGenerateMipmapOES = { result: "void", } as const; -let fn_glGenerateMipmapOES!: Deno.UnsafeFnPointer; +let fn_glGenerateMipmapOES!: Deno.UnsafeFnPointer< + typeof def_glGenerateMipmapOES +>; export function GenerateMipmapOES( target: GLenum, @@ -365,19 +401,64 @@ export function GenerateMipmapOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glIsRenderbufferOES = new Deno.UnsafeFnPointer(proc("glIsRenderbufferOES"), def_glIsRenderbufferOES); - fn_glBindRenderbufferOES = new Deno.UnsafeFnPointer(proc("glBindRenderbufferOES"), def_glBindRenderbufferOES); - fn_glDeleteRenderbuffersOES = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffersOES"), def_glDeleteRenderbuffersOES); - fn_glGenRenderbuffersOES = new Deno.UnsafeFnPointer(proc("glGenRenderbuffersOES"), def_glGenRenderbuffersOES); - fn_glRenderbufferStorageOES = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageOES"), def_glRenderbufferStorageOES); - fn_glGetRenderbufferParameterivOES = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameterivOES"), def_glGetRenderbufferParameterivOES); - fn_glIsFramebufferOES = new Deno.UnsafeFnPointer(proc("glIsFramebufferOES"), def_glIsFramebufferOES); - fn_glBindFramebufferOES = new Deno.UnsafeFnPointer(proc("glBindFramebufferOES"), def_glBindFramebufferOES); - fn_glDeleteFramebuffersOES = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffersOES"), def_glDeleteFramebuffersOES); - fn_glGenFramebuffersOES = new Deno.UnsafeFnPointer(proc("glGenFramebuffersOES"), def_glGenFramebuffersOES); - fn_glCheckFramebufferStatusOES = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatusOES"), def_glCheckFramebufferStatusOES); - fn_glFramebufferRenderbufferOES = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbufferOES"), def_glFramebufferRenderbufferOES); - fn_glFramebufferTexture2DOES = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2DOES"), def_glFramebufferTexture2DOES); - fn_glGetFramebufferAttachmentParameterivOES = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameterivOES"), def_glGetFramebufferAttachmentParameterivOES); - fn_glGenerateMipmapOES = new Deno.UnsafeFnPointer(proc("glGenerateMipmapOES"), def_glGenerateMipmapOES); + fn_glIsRenderbufferOES = new Deno.UnsafeFnPointer( + proc("glIsRenderbufferOES"), + def_glIsRenderbufferOES, + ); + fn_glBindRenderbufferOES = new Deno.UnsafeFnPointer( + proc("glBindRenderbufferOES"), + def_glBindRenderbufferOES, + ); + fn_glDeleteRenderbuffersOES = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffersOES"), + def_glDeleteRenderbuffersOES, + ); + fn_glGenRenderbuffersOES = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffersOES"), + def_glGenRenderbuffersOES, + ); + fn_glRenderbufferStorageOES = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageOES"), + def_glRenderbufferStorageOES, + ); + fn_glGetRenderbufferParameterivOES = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameterivOES"), + def_glGetRenderbufferParameterivOES, + ); + fn_glIsFramebufferOES = new Deno.UnsafeFnPointer( + proc("glIsFramebufferOES"), + def_glIsFramebufferOES, + ); + fn_glBindFramebufferOES = new Deno.UnsafeFnPointer( + proc("glBindFramebufferOES"), + def_glBindFramebufferOES, + ); + fn_glDeleteFramebuffersOES = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffersOES"), + def_glDeleteFramebuffersOES, + ); + fn_glGenFramebuffersOES = new Deno.UnsafeFnPointer( + proc("glGenFramebuffersOES"), + def_glGenFramebuffersOES, + ); + fn_glCheckFramebufferStatusOES = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatusOES"), + def_glCheckFramebufferStatusOES, + ); + fn_glFramebufferRenderbufferOES = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbufferOES"), + def_glFramebufferRenderbufferOES, + ); + fn_glFramebufferTexture2DOES = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2DOES"), + def_glFramebufferTexture2DOES, + ); + fn_glGetFramebufferAttachmentParameterivOES = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameterivOES"), + def_glGetFramebufferAttachmentParameterivOES, + ); + fn_glGenerateMipmapOES = new Deno.UnsafeFnPointer( + proc("glGenerateMipmapOES"), + def_glGenerateMipmapOES, + ); } diff --git a/api/ext/GL_OES_geometry_point_size.ts b/api/ext/GL_OES_geometry_point_size.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_geometry_point_size.ts +++ b/api/ext/GL_OES_geometry_point_size.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_geometry_shader.ts b/api/ext/GL_OES_geometry_shader.ts index 530b970..2065dad 100644 --- a/api/ext/GL_OES_geometry_shader.ts +++ b/api/ext/GL_OES_geometry_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -101,7 +109,9 @@ export const def_glFramebufferTextureOES = { result: "void", } as const; -let fn_glFramebufferTextureOES!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureOES!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureOES +>; export function FramebufferTextureOES( target: GLenum, @@ -119,5 +129,8 @@ export function FramebufferTextureOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferTextureOES = new Deno.UnsafeFnPointer(proc("glFramebufferTextureOES"), def_glFramebufferTextureOES); + fn_glFramebufferTextureOES = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureOES"), + def_glFramebufferTextureOES, + ); } diff --git a/api/ext/GL_OES_get_program_binary.ts b/api/ext/GL_OES_get_program_binary.ts index ad4a2d4..e3cf469 100644 --- a/api/ext/GL_OES_get_program_binary.ts +++ b/api/ext/GL_OES_get_program_binary.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glGetProgramBinaryOES = { result: "void", } as const; -let fn_glGetProgramBinaryOES!: Deno.UnsafeFnPointer; +let fn_glGetProgramBinaryOES!: Deno.UnsafeFnPointer< + typeof def_glGetProgramBinaryOES +>; export function GetProgramBinaryOES( program: GLuint, @@ -112,6 +122,12 @@ export function ProgramBinaryOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetProgramBinaryOES = new Deno.UnsafeFnPointer(proc("glGetProgramBinaryOES"), def_glGetProgramBinaryOES); - fn_glProgramBinaryOES = new Deno.UnsafeFnPointer(proc("glProgramBinaryOES"), def_glProgramBinaryOES); + fn_glGetProgramBinaryOES = new Deno.UnsafeFnPointer( + proc("glGetProgramBinaryOES"), + def_glGetProgramBinaryOES, + ); + fn_glProgramBinaryOES = new Deno.UnsafeFnPointer( + proc("glProgramBinaryOES"), + def_glProgramBinaryOES, + ); } diff --git a/api/ext/GL_OES_gpu_shader5.ts b/api/ext/GL_OES_gpu_shader5.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_gpu_shader5.ts +++ b/api/ext/GL_OES_gpu_shader5.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_mapbuffer.ts b/api/ext/GL_OES_mapbuffer.ts index 11d2822..0b1fc3b 100644 --- a/api/ext/GL_OES_mapbuffer.ts +++ b/api/ext/GL_OES_mapbuffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -104,7 +112,9 @@ export const def_glGetBufferPointervOES = { result: "void", } as const; -let fn_glGetBufferPointervOES!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointervOES!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointervOES +>; export function GetBufferPointervOES( target: GLenum, @@ -120,7 +130,16 @@ export function GetBufferPointervOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMapBufferOES = new Deno.UnsafeFnPointer(proc("glMapBufferOES"), def_glMapBufferOES); - fn_glUnmapBufferOES = new Deno.UnsafeFnPointer(proc("glUnmapBufferOES"), def_glUnmapBufferOES); - fn_glGetBufferPointervOES = new Deno.UnsafeFnPointer(proc("glGetBufferPointervOES"), def_glGetBufferPointervOES); + fn_glMapBufferOES = new Deno.UnsafeFnPointer( + proc("glMapBufferOES"), + def_glMapBufferOES, + ); + fn_glUnmapBufferOES = new Deno.UnsafeFnPointer( + proc("glUnmapBufferOES"), + def_glUnmapBufferOES, + ); + fn_glGetBufferPointervOES = new Deno.UnsafeFnPointer( + proc("glGetBufferPointervOES"), + def_glGetBufferPointervOES, + ); } diff --git a/api/ext/GL_OES_matrix_get.ts b/api/ext/GL_OES_matrix_get.ts index d55b7c5..fd3c068 100644 --- a/api/ext/GL_OES_matrix_get.ts +++ b/api/ext/GL_OES_matrix_get.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_matrix_palette.ts b/api/ext/GL_OES_matrix_palette.ts index d249a3b..431c6f9 100644 --- a/api/ext/GL_OES_matrix_palette.ts +++ b/api/ext/GL_OES_matrix_palette.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -84,7 +92,9 @@ export const def_glCurrentPaletteMatrixOES = { result: "void", } as const; -let fn_glCurrentPaletteMatrixOES!: Deno.UnsafeFnPointer; +let fn_glCurrentPaletteMatrixOES!: Deno.UnsafeFnPointer< + typeof def_glCurrentPaletteMatrixOES +>; export function CurrentPaletteMatrixOES( matrixpaletteindex: GLuint, @@ -99,7 +109,9 @@ export const def_glLoadPaletteFromModelViewMatrixOES = { result: "void", } as const; -let fn_glLoadPaletteFromModelViewMatrixOES!: Deno.UnsafeFnPointer; +let fn_glLoadPaletteFromModelViewMatrixOES!: Deno.UnsafeFnPointer< + typeof def_glLoadPaletteFromModelViewMatrixOES +>; export function LoadPaletteFromModelViewMatrixOES(): void { fn_glLoadPaletteFromModelViewMatrixOES.call(); @@ -110,7 +122,9 @@ export const def_glMatrixIndexPointerOES = { result: "void", } as const; -let fn_glMatrixIndexPointerOES!: Deno.UnsafeFnPointer; +let fn_glMatrixIndexPointerOES!: Deno.UnsafeFnPointer< + typeof def_glMatrixIndexPointerOES +>; export function MatrixIndexPointerOES( size: GLint, @@ -149,8 +163,20 @@ export function WeightPointerOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glCurrentPaletteMatrixOES = new Deno.UnsafeFnPointer(proc("glCurrentPaletteMatrixOES"), def_glCurrentPaletteMatrixOES); - fn_glLoadPaletteFromModelViewMatrixOES = new Deno.UnsafeFnPointer(proc("glLoadPaletteFromModelViewMatrixOES"), def_glLoadPaletteFromModelViewMatrixOES); - fn_glMatrixIndexPointerOES = new Deno.UnsafeFnPointer(proc("glMatrixIndexPointerOES"), def_glMatrixIndexPointerOES); - fn_glWeightPointerOES = new Deno.UnsafeFnPointer(proc("glWeightPointerOES"), def_glWeightPointerOES); + fn_glCurrentPaletteMatrixOES = new Deno.UnsafeFnPointer( + proc("glCurrentPaletteMatrixOES"), + def_glCurrentPaletteMatrixOES, + ); + fn_glLoadPaletteFromModelViewMatrixOES = new Deno.UnsafeFnPointer( + proc("glLoadPaletteFromModelViewMatrixOES"), + def_glLoadPaletteFromModelViewMatrixOES, + ); + fn_glMatrixIndexPointerOES = new Deno.UnsafeFnPointer( + proc("glMatrixIndexPointerOES"), + def_glMatrixIndexPointerOES, + ); + fn_glWeightPointerOES = new Deno.UnsafeFnPointer( + proc("glWeightPointerOES"), + def_glWeightPointerOES, + ); } diff --git a/api/ext/GL_OES_packed_depth_stencil.ts b/api/ext/GL_OES_packed_depth_stencil.ts index 89c24e7..2e696b8 100644 --- a/api/ext/GL_OES_packed_depth_stencil.ts +++ b/api/ext/GL_OES_packed_depth_stencil.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_point_size_array.ts b/api/ext/GL_OES_point_size_array.ts index 4fbe012..b87d6d8 100644 --- a/api/ext/GL_OES_point_size_array.ts +++ b/api/ext/GL_OES_point_size_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -73,7 +81,9 @@ export const def_glPointSizePointerOES = { result: "void", } as const; -let fn_glPointSizePointerOES!: Deno.UnsafeFnPointer; +let fn_glPointSizePointerOES!: Deno.UnsafeFnPointer< + typeof def_glPointSizePointerOES +>; export function PointSizePointerOES( type: GLenum, @@ -89,5 +99,8 @@ export function PointSizePointerOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPointSizePointerOES = new Deno.UnsafeFnPointer(proc("glPointSizePointerOES"), def_glPointSizePointerOES); + fn_glPointSizePointerOES = new Deno.UnsafeFnPointer( + proc("glPointSizePointerOES"), + def_glPointSizePointerOES, + ); } diff --git a/api/ext/GL_OES_point_sprite.ts b/api/ext/GL_OES_point_sprite.ts index cd9f0b2..b082461 100644 --- a/api/ext/GL_OES_point_sprite.ts +++ b/api/ext/GL_OES_point_sprite.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_primitive_bounding_box.ts b/api/ext/GL_OES_primitive_bounding_box.ts index df4f243..8585ac3 100644 --- a/api/ext/GL_OES_primitive_bounding_box.ts +++ b/api/ext/GL_OES_primitive_bounding_box.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glPrimitiveBoundingBoxOES = { result: "void", } as const; -let fn_glPrimitiveBoundingBoxOES!: Deno.UnsafeFnPointer; +let fn_glPrimitiveBoundingBoxOES!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveBoundingBoxOES +>; export function PrimitiveBoundingBoxOES( minX: GLfloat, @@ -95,5 +105,8 @@ export function PrimitiveBoundingBoxOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPrimitiveBoundingBoxOES = new Deno.UnsafeFnPointer(proc("glPrimitiveBoundingBoxOES"), def_glPrimitiveBoundingBoxOES); + fn_glPrimitiveBoundingBoxOES = new Deno.UnsafeFnPointer( + proc("glPrimitiveBoundingBoxOES"), + def_glPrimitiveBoundingBoxOES, + ); } diff --git a/api/ext/GL_OES_query_matrix.ts b/api/ext/GL_OES_query_matrix.ts index d133e03..bfb1312 100644 --- a/api/ext/GL_OES_query_matrix.ts +++ b/api/ext/GL_OES_query_matrix.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -80,5 +88,8 @@ export function QueryMatrixxOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glQueryMatrixxOES = new Deno.UnsafeFnPointer(proc("glQueryMatrixxOES"), def_glQueryMatrixxOES); + fn_glQueryMatrixxOES = new Deno.UnsafeFnPointer( + proc("glQueryMatrixxOES"), + def_glQueryMatrixxOES, + ); } diff --git a/api/ext/GL_OES_read_format.ts b/api/ext/GL_OES_read_format.ts index 859ecbb..9a30c08 100644 --- a/api/ext/GL_OES_read_format.ts +++ b/api/ext/GL_OES_read_format.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_required_internalformat.ts b/api/ext/GL_OES_required_internalformat.ts index cf1b7e3..eb93de6 100644 --- a/api/ext/GL_OES_required_internalformat.ts +++ b/api/ext/GL_OES_required_internalformat.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_rgb8_rgba8.ts b/api/ext/GL_OES_rgb8_rgba8.ts index 6974649..b964b79 100644 --- a/api/ext/GL_OES_rgb8_rgba8.ts +++ b/api/ext/GL_OES_rgb8_rgba8.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_sample_shading.ts b/api/ext/GL_OES_sample_shading.ts index c4aae86..24dd747 100644 --- a/api/ext/GL_OES_sample_shading.ts +++ b/api/ext/GL_OES_sample_shading.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glMinSampleShadingOES = { result: "void", } as const; -let fn_glMinSampleShadingOES!: Deno.UnsafeFnPointer; +let fn_glMinSampleShadingOES!: Deno.UnsafeFnPointer< + typeof def_glMinSampleShadingOES +>; export function MinSampleShadingOES( value: GLfloat, @@ -82,5 +92,8 @@ export function MinSampleShadingOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glMinSampleShadingOES = new Deno.UnsafeFnPointer(proc("glMinSampleShadingOES"), def_glMinSampleShadingOES); + fn_glMinSampleShadingOES = new Deno.UnsafeFnPointer( + proc("glMinSampleShadingOES"), + def_glMinSampleShadingOES, + ); } diff --git a/api/ext/GL_OES_sample_variables.ts b/api/ext/GL_OES_sample_variables.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_sample_variables.ts +++ b/api/ext/GL_OES_sample_variables.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_shader_image_atomic.ts b/api/ext/GL_OES_shader_image_atomic.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_shader_image_atomic.ts +++ b/api/ext/GL_OES_shader_image_atomic.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_shader_io_blocks.ts b/api/ext/GL_OES_shader_io_blocks.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_shader_io_blocks.ts +++ b/api/ext/GL_OES_shader_io_blocks.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_shader_multisample_interpolation.ts b/api/ext/GL_OES_shader_multisample_interpolation.ts index ddc52a5..faa7b6d 100644 --- a/api/ext/GL_OES_shader_multisample_interpolation.ts +++ b/api/ext/GL_OES_shader_multisample_interpolation.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_single_precision.ts b/api/ext/GL_OES_single_precision.ts index cbb2cbf..62c66a8 100644 --- a/api/ext/GL_OES_single_precision.ts +++ b/api/ext/GL_OES_single_precision.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -179,10 +187,28 @@ export function OrthofOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glClearDepthfOES = new Deno.UnsafeFnPointer(proc("glClearDepthfOES"), def_glClearDepthfOES); - fn_glClipPlanefOES = new Deno.UnsafeFnPointer(proc("glClipPlanefOES"), def_glClipPlanefOES); - fn_glDepthRangefOES = new Deno.UnsafeFnPointer(proc("glDepthRangefOES"), def_glDepthRangefOES); - fn_glFrustumfOES = new Deno.UnsafeFnPointer(proc("glFrustumfOES"), def_glFrustumfOES); - fn_glGetClipPlanefOES = new Deno.UnsafeFnPointer(proc("glGetClipPlanefOES"), def_glGetClipPlanefOES); - fn_glOrthofOES = new Deno.UnsafeFnPointer(proc("glOrthofOES"), def_glOrthofOES); + fn_glClearDepthfOES = new Deno.UnsafeFnPointer( + proc("glClearDepthfOES"), + def_glClearDepthfOES, + ); + fn_glClipPlanefOES = new Deno.UnsafeFnPointer( + proc("glClipPlanefOES"), + def_glClipPlanefOES, + ); + fn_glDepthRangefOES = new Deno.UnsafeFnPointer( + proc("glDepthRangefOES"), + def_glDepthRangefOES, + ); + fn_glFrustumfOES = new Deno.UnsafeFnPointer( + proc("glFrustumfOES"), + def_glFrustumfOES, + ); + fn_glGetClipPlanefOES = new Deno.UnsafeFnPointer( + proc("glGetClipPlanefOES"), + def_glGetClipPlanefOES, + ); + fn_glOrthofOES = new Deno.UnsafeFnPointer( + proc("glOrthofOES"), + def_glOrthofOES, + ); } diff --git a/api/ext/GL_OES_standard_derivatives.ts b/api/ext/GL_OES_standard_derivatives.ts index 1eafaec..1f390fe 100644 --- a/api/ext/GL_OES_standard_derivatives.ts +++ b/api/ext/GL_OES_standard_derivatives.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_stencil1.ts b/api/ext/GL_OES_stencil1.ts index 1823c8d..c0f1aef 100644 --- a/api/ext/GL_OES_stencil1.ts +++ b/api/ext/GL_OES_stencil1.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_stencil4.ts b/api/ext/GL_OES_stencil4.ts index adc527f..c2bd847 100644 --- a/api/ext/GL_OES_stencil4.ts +++ b/api/ext/GL_OES_stencil4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_stencil8.ts b/api/ext/GL_OES_stencil8.ts index f67123e..61b67e6 100644 --- a/api/ext/GL_OES_stencil8.ts +++ b/api/ext/GL_OES_stencil8.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_stencil_wrap.ts b/api/ext/GL_OES_stencil_wrap.ts index 51049fd..f7103de 100644 --- a/api/ext/GL_OES_stencil_wrap.ts +++ b/api/ext/GL_OES_stencil_wrap.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_surfaceless_context.ts b/api/ext/GL_OES_surfaceless_context.ts index eb6436a..1a0ed1a 100644 --- a/api/ext/GL_OES_surfaceless_context.ts +++ b/api/ext/GL_OES_surfaceless_context.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_tessellation_point_size.ts b/api/ext/GL_OES_tessellation_point_size.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_tessellation_point_size.ts +++ b/api/ext/GL_OES_tessellation_point_size.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_tessellation_shader.ts b/api/ext/GL_OES_tessellation_shader.ts index c78afa5..f2e8a12 100644 --- a/api/ext/GL_OES_tessellation_shader.ts +++ b/api/ext/GL_OES_tessellation_shader.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -115,7 +123,9 @@ export const def_glPatchParameteriOES = { result: "void", } as const; -let fn_glPatchParameteriOES!: Deno.UnsafeFnPointer; +let fn_glPatchParameteriOES!: Deno.UnsafeFnPointer< + typeof def_glPatchParameteriOES +>; export function PatchParameteriOES( pname: GLenum, @@ -129,5 +139,8 @@ export function PatchParameteriOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPatchParameteriOES = new Deno.UnsafeFnPointer(proc("glPatchParameteriOES"), def_glPatchParameteriOES); + fn_glPatchParameteriOES = new Deno.UnsafeFnPointer( + proc("glPatchParameteriOES"), + def_glPatchParameteriOES, + ); } diff --git a/api/ext/GL_OES_texture_3D.ts b/api/ext/GL_OES_texture_3D.ts index 21b7351..39102da 100644 --- a/api/ext/GL_OES_texture_3D.ts +++ b/api/ext/GL_OES_texture_3D.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,18 @@ export const FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES = 0x8cd4; /// Commands export const def_glTexImage3DOES = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -103,7 +122,19 @@ export function TexImage3DOES( } export const def_glTexSubImage3DOES = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -142,7 +173,9 @@ export const def_glCopyTexSubImage3DOES = { result: "void", } as const; -let fn_glCopyTexSubImage3DOES!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3DOES!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3DOES +>; export function CopyTexSubImage3DOES( target: GLenum, @@ -169,11 +202,23 @@ export function CopyTexSubImage3DOES( } export const def_glCompressedTexImage3DOES = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3DOES!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3DOES!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3DOES +>; export function CompressedTexImage3DOES( target: GLenum, @@ -200,11 +245,25 @@ export function CompressedTexImage3DOES( } export const def_glCompressedTexSubImage3DOES = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage3DOES!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage3DOES!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3DOES +>; export function CompressedTexSubImage3DOES( target: GLenum, @@ -239,7 +298,9 @@ export const def_glFramebufferTexture3DOES = { result: "void", } as const; -let fn_glFramebufferTexture3DOES!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3DOES!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3DOES +>; export function FramebufferTexture3DOES( target: GLenum, @@ -261,10 +322,28 @@ export function FramebufferTexture3DOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexImage3DOES = new Deno.UnsafeFnPointer(proc("glTexImage3DOES"), def_glTexImage3DOES); - fn_glTexSubImage3DOES = new Deno.UnsafeFnPointer(proc("glTexSubImage3DOES"), def_glTexSubImage3DOES); - fn_glCopyTexSubImage3DOES = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3DOES"), def_glCopyTexSubImage3DOES); - fn_glCompressedTexImage3DOES = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3DOES"), def_glCompressedTexImage3DOES); - fn_glCompressedTexSubImage3DOES = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3DOES"), def_glCompressedTexSubImage3DOES); - fn_glFramebufferTexture3DOES = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3DOES"), def_glFramebufferTexture3DOES); + fn_glTexImage3DOES = new Deno.UnsafeFnPointer( + proc("glTexImage3DOES"), + def_glTexImage3DOES, + ); + fn_glTexSubImage3DOES = new Deno.UnsafeFnPointer( + proc("glTexSubImage3DOES"), + def_glTexSubImage3DOES, + ); + fn_glCopyTexSubImage3DOES = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3DOES"), + def_glCopyTexSubImage3DOES, + ); + fn_glCompressedTexImage3DOES = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3DOES"), + def_glCompressedTexImage3DOES, + ); + fn_glCompressedTexSubImage3DOES = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3DOES"), + def_glCompressedTexSubImage3DOES, + ); + fn_glFramebufferTexture3DOES = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3DOES"), + def_glFramebufferTexture3DOES, + ); } diff --git a/api/ext/GL_OES_texture_border_clamp.ts b/api/ext/GL_OES_texture_border_clamp.ts index caea54d..17b132a 100644 --- a/api/ext/GL_OES_texture_border_clamp.ts +++ b/api/ext/GL_OES_texture_border_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glTexParameterIivOES = { result: "void", } as const; -let fn_glTexParameterIivOES!: Deno.UnsafeFnPointer; +let fn_glTexParameterIivOES!: Deno.UnsafeFnPointer< + typeof def_glTexParameterIivOES +>; export function TexParameterIivOES( target: GLenum, @@ -89,7 +99,9 @@ export const def_glTexParameterIuivOES = { result: "void", } as const; -let fn_glTexParameterIuivOES!: Deno.UnsafeFnPointer; +let fn_glTexParameterIuivOES!: Deno.UnsafeFnPointer< + typeof def_glTexParameterIuivOES +>; export function TexParameterIuivOES( target: GLenum, @@ -108,7 +120,9 @@ export const def_glGetTexParameterIivOES = { result: "void", } as const; -let fn_glGetTexParameterIivOES!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIivOES!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIivOES +>; export function GetTexParameterIivOES( target: GLenum, @@ -127,7 +141,9 @@ export const def_glGetTexParameterIuivOES = { result: "void", } as const; -let fn_glGetTexParameterIuivOES!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuivOES!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuivOES +>; export function GetTexParameterIuivOES( target: GLenum, @@ -146,7 +162,9 @@ export const def_glSamplerParameterIivOES = { result: "void", } as const; -let fn_glSamplerParameterIivOES!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIivOES!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIivOES +>; export function SamplerParameterIivOES( sampler: GLuint, @@ -165,7 +183,9 @@ export const def_glSamplerParameterIuivOES = { result: "void", } as const; -let fn_glSamplerParameterIuivOES!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuivOES!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuivOES +>; export function SamplerParameterIuivOES( sampler: GLuint, @@ -184,7 +204,9 @@ export const def_glGetSamplerParameterIivOES = { result: "void", } as const; -let fn_glGetSamplerParameterIivOES!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIivOES!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIivOES +>; export function GetSamplerParameterIivOES( sampler: GLuint, @@ -203,7 +225,9 @@ export const def_glGetSamplerParameterIuivOES = { result: "void", } as const; -let fn_glGetSamplerParameterIuivOES!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuivOES!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuivOES +>; export function GetSamplerParameterIuivOES( sampler: GLuint, @@ -219,12 +243,36 @@ export function GetSamplerParameterIuivOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexParameterIivOES = new Deno.UnsafeFnPointer(proc("glTexParameterIivOES"), def_glTexParameterIivOES); - fn_glTexParameterIuivOES = new Deno.UnsafeFnPointer(proc("glTexParameterIuivOES"), def_glTexParameterIuivOES); - fn_glGetTexParameterIivOES = new Deno.UnsafeFnPointer(proc("glGetTexParameterIivOES"), def_glGetTexParameterIivOES); - fn_glGetTexParameterIuivOES = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuivOES"), def_glGetTexParameterIuivOES); - fn_glSamplerParameterIivOES = new Deno.UnsafeFnPointer(proc("glSamplerParameterIivOES"), def_glSamplerParameterIivOES); - fn_glSamplerParameterIuivOES = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuivOES"), def_glSamplerParameterIuivOES); - fn_glGetSamplerParameterIivOES = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIivOES"), def_glGetSamplerParameterIivOES); - fn_glGetSamplerParameterIuivOES = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuivOES"), def_glGetSamplerParameterIuivOES); + fn_glTexParameterIivOES = new Deno.UnsafeFnPointer( + proc("glTexParameterIivOES"), + def_glTexParameterIivOES, + ); + fn_glTexParameterIuivOES = new Deno.UnsafeFnPointer( + proc("glTexParameterIuivOES"), + def_glTexParameterIuivOES, + ); + fn_glGetTexParameterIivOES = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIivOES"), + def_glGetTexParameterIivOES, + ); + fn_glGetTexParameterIuivOES = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuivOES"), + def_glGetTexParameterIuivOES, + ); + fn_glSamplerParameterIivOES = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIivOES"), + def_glSamplerParameterIivOES, + ); + fn_glSamplerParameterIuivOES = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuivOES"), + def_glSamplerParameterIuivOES, + ); + fn_glGetSamplerParameterIivOES = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIivOES"), + def_glGetSamplerParameterIivOES, + ); + fn_glGetSamplerParameterIuivOES = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuivOES"), + def_glGetSamplerParameterIuivOES, + ); } diff --git a/api/ext/GL_OES_texture_buffer.ts b/api/ext/GL_OES_texture_buffer.ts index ab9d59b..619fb74 100644 --- a/api/ext/GL_OES_texture_buffer.ts +++ b/api/ext/GL_OES_texture_buffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -101,7 +109,9 @@ export const def_glTexBufferRangeOES = { result: "void", } as const; -let fn_glTexBufferRangeOES!: Deno.UnsafeFnPointer; +let fn_glTexBufferRangeOES!: Deno.UnsafeFnPointer< + typeof def_glTexBufferRangeOES +>; export function TexBufferRangeOES( target: GLenum, @@ -121,6 +131,12 @@ export function TexBufferRangeOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexBufferOES = new Deno.UnsafeFnPointer(proc("glTexBufferOES"), def_glTexBufferOES); - fn_glTexBufferRangeOES = new Deno.UnsafeFnPointer(proc("glTexBufferRangeOES"), def_glTexBufferRangeOES); + fn_glTexBufferOES = new Deno.UnsafeFnPointer( + proc("glTexBufferOES"), + def_glTexBufferOES, + ); + fn_glTexBufferRangeOES = new Deno.UnsafeFnPointer( + proc("glTexBufferRangeOES"), + def_glTexBufferRangeOES, + ); } diff --git a/api/ext/GL_OES_texture_compression_astc.ts b/api/ext/GL_OES_texture_compression_astc.ts index 3dd3646..8197f32 100644 --- a/api/ext/GL_OES_texture_compression_astc.ts +++ b/api/ext/GL_OES_texture_compression_astc.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_texture_cube_map.ts b/api/ext/GL_OES_texture_cube_map.ts index ecb88dd..ef0e8af 100644 --- a/api/ext/GL_OES_texture_cube_map.ts +++ b/api/ext/GL_OES_texture_cube_map.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -249,13 +257,40 @@ export function GetTexGenxvOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexGenfOES = new Deno.UnsafeFnPointer(proc("glTexGenfOES"), def_glTexGenfOES); - fn_glTexGenfvOES = new Deno.UnsafeFnPointer(proc("glTexGenfvOES"), def_glTexGenfvOES); - fn_glTexGeniOES = new Deno.UnsafeFnPointer(proc("glTexGeniOES"), def_glTexGeniOES); - fn_glTexGenivOES = new Deno.UnsafeFnPointer(proc("glTexGenivOES"), def_glTexGenivOES); - fn_glTexGenxOES = new Deno.UnsafeFnPointer(proc("glTexGenxOES"), def_glTexGenxOES); - fn_glTexGenxvOES = new Deno.UnsafeFnPointer(proc("glTexGenxvOES"), def_glTexGenxvOES); - fn_glGetTexGenfvOES = new Deno.UnsafeFnPointer(proc("glGetTexGenfvOES"), def_glGetTexGenfvOES); - fn_glGetTexGenivOES = new Deno.UnsafeFnPointer(proc("glGetTexGenivOES"), def_glGetTexGenivOES); - fn_glGetTexGenxvOES = new Deno.UnsafeFnPointer(proc("glGetTexGenxvOES"), def_glGetTexGenxvOES); + fn_glTexGenfOES = new Deno.UnsafeFnPointer( + proc("glTexGenfOES"), + def_glTexGenfOES, + ); + fn_glTexGenfvOES = new Deno.UnsafeFnPointer( + proc("glTexGenfvOES"), + def_glTexGenfvOES, + ); + fn_glTexGeniOES = new Deno.UnsafeFnPointer( + proc("glTexGeniOES"), + def_glTexGeniOES, + ); + fn_glTexGenivOES = new Deno.UnsafeFnPointer( + proc("glTexGenivOES"), + def_glTexGenivOES, + ); + fn_glTexGenxOES = new Deno.UnsafeFnPointer( + proc("glTexGenxOES"), + def_glTexGenxOES, + ); + fn_glTexGenxvOES = new Deno.UnsafeFnPointer( + proc("glTexGenxvOES"), + def_glTexGenxvOES, + ); + fn_glGetTexGenfvOES = new Deno.UnsafeFnPointer( + proc("glGetTexGenfvOES"), + def_glGetTexGenfvOES, + ); + fn_glGetTexGenivOES = new Deno.UnsafeFnPointer( + proc("glGetTexGenivOES"), + def_glGetTexGenivOES, + ); + fn_glGetTexGenxvOES = new Deno.UnsafeFnPointer( + proc("glGetTexGenxvOES"), + def_glGetTexGenxvOES, + ); } diff --git a/api/ext/GL_OES_texture_cube_map_array.ts b/api/ext/GL_OES_texture_cube_map_array.ts index 7a991d3..c4d3cea 100644 --- a/api/ext/GL_OES_texture_cube_map_array.ts +++ b/api/ext/GL_OES_texture_cube_map_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_texture_env_crossbar.ts b/api/ext/GL_OES_texture_env_crossbar.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_texture_env_crossbar.ts +++ b/api/ext/GL_OES_texture_env_crossbar.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_texture_float.ts b/api/ext/GL_OES_texture_float.ts index 4103c8b..5574bca 100644 --- a/api/ext/GL_OES_texture_float.ts +++ b/api/ext/GL_OES_texture_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_texture_float_linear.ts b/api/ext/GL_OES_texture_float_linear.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_texture_float_linear.ts +++ b/api/ext/GL_OES_texture_float_linear.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_texture_half_float.ts b/api/ext/GL_OES_texture_half_float.ts index 32935a8..17f5eae 100644 --- a/api/ext/GL_OES_texture_half_float.ts +++ b/api/ext/GL_OES_texture_half_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_texture_half_float_linear.ts b/api/ext/GL_OES_texture_half_float_linear.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_texture_half_float_linear.ts +++ b/api/ext/GL_OES_texture_half_float_linear.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_texture_mirrored_repeat.ts b/api/ext/GL_OES_texture_mirrored_repeat.ts index 9ab79fb..625ee55 100644 --- a/api/ext/GL_OES_texture_mirrored_repeat.ts +++ b/api/ext/GL_OES_texture_mirrored_repeat.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_texture_npot.ts b/api/ext/GL_OES_texture_npot.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OES_texture_npot.ts +++ b/api/ext/GL_OES_texture_npot.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_texture_stencil8.ts b/api/ext/GL_OES_texture_stencil8.ts index 6425ba6..82430c0 100644 --- a/api/ext/GL_OES_texture_stencil8.ts +++ b/api/ext/GL_OES_texture_stencil8.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_texture_storage_multisample_2d_array.ts b/api/ext/GL_OES_texture_storage_multisample_2d_array.ts index 9f2ad96..3158f75 100644 --- a/api/ext/GL_OES_texture_storage_multisample_2d_array.ts +++ b/api/ext/GL_OES_texture_storage_multisample_2d_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -73,7 +81,9 @@ export const def_glTexStorage3DMultisampleOES = { result: "void", } as const; -let fn_glTexStorage3DMultisampleOES!: Deno.UnsafeFnPointer; +let fn_glTexStorage3DMultisampleOES!: Deno.UnsafeFnPointer< + typeof def_glTexStorage3DMultisampleOES +>; export function TexStorage3DMultisampleOES( target: GLenum, @@ -97,5 +107,8 @@ export function TexStorage3DMultisampleOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexStorage3DMultisampleOES = new Deno.UnsafeFnPointer(proc("glTexStorage3DMultisampleOES"), def_glTexStorage3DMultisampleOES); + fn_glTexStorage3DMultisampleOES = new Deno.UnsafeFnPointer( + proc("glTexStorage3DMultisampleOES"), + def_glTexStorage3DMultisampleOES, + ); } diff --git a/api/ext/GL_OES_texture_view.ts b/api/ext/GL_OES_texture_view.ts index c02560b..1603fa5 100644 --- a/api/ext/GL_OES_texture_view.ts +++ b/api/ext/GL_OES_texture_view.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -99,5 +107,8 @@ export function TextureViewOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTextureViewOES = new Deno.UnsafeFnPointer(proc("glTextureViewOES"), def_glTextureViewOES); + fn_glTextureViewOES = new Deno.UnsafeFnPointer( + proc("glTextureViewOES"), + def_glTextureViewOES, + ); } diff --git a/api/ext/GL_OES_vertex_array_object.ts b/api/ext/GL_OES_vertex_array_object.ts index 602cc33..d0055e5 100644 --- a/api/ext/GL_OES_vertex_array_object.ts +++ b/api/ext/GL_OES_vertex_array_object.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glBindVertexArrayOES = { result: "void", } as const; -let fn_glBindVertexArrayOES!: Deno.UnsafeFnPointer; +let fn_glBindVertexArrayOES!: Deno.UnsafeFnPointer< + typeof def_glBindVertexArrayOES +>; export function BindVertexArrayOES( array: GLuint, @@ -84,7 +94,9 @@ export const def_glDeleteVertexArraysOES = { result: "void", } as const; -let fn_glDeleteVertexArraysOES!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArraysOES!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArraysOES +>; export function DeleteVertexArraysOES( n: GLsizei, @@ -101,7 +113,9 @@ export const def_glGenVertexArraysOES = { result: "void", } as const; -let fn_glGenVertexArraysOES!: Deno.UnsafeFnPointer; +let fn_glGenVertexArraysOES!: Deno.UnsafeFnPointer< + typeof def_glGenVertexArraysOES +>; export function GenVertexArraysOES( n: GLsizei, @@ -130,8 +144,20 @@ export function IsVertexArrayOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glBindVertexArrayOES = new Deno.UnsafeFnPointer(proc("glBindVertexArrayOES"), def_glBindVertexArrayOES); - fn_glDeleteVertexArraysOES = new Deno.UnsafeFnPointer(proc("glDeleteVertexArraysOES"), def_glDeleteVertexArraysOES); - fn_glGenVertexArraysOES = new Deno.UnsafeFnPointer(proc("glGenVertexArraysOES"), def_glGenVertexArraysOES); - fn_glIsVertexArrayOES = new Deno.UnsafeFnPointer(proc("glIsVertexArrayOES"), def_glIsVertexArrayOES); + fn_glBindVertexArrayOES = new Deno.UnsafeFnPointer( + proc("glBindVertexArrayOES"), + def_glBindVertexArrayOES, + ); + fn_glDeleteVertexArraysOES = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArraysOES"), + def_glDeleteVertexArraysOES, + ); + fn_glGenVertexArraysOES = new Deno.UnsafeFnPointer( + proc("glGenVertexArraysOES"), + def_glGenVertexArraysOES, + ); + fn_glIsVertexArrayOES = new Deno.UnsafeFnPointer( + proc("glIsVertexArrayOES"), + def_glIsVertexArrayOES, + ); } diff --git a/api/ext/GL_OES_vertex_half_float.ts b/api/ext/GL_OES_vertex_half_float.ts index 32935a8..17f5eae 100644 --- a/api/ext/GL_OES_vertex_half_float.ts +++ b/api/ext/GL_OES_vertex_half_float.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_vertex_type_10_10_10_2.ts b/api/ext/GL_OES_vertex_type_10_10_10_2.ts index 777a7d8..84f073c 100644 --- a/api/ext/GL_OES_vertex_type_10_10_10_2.ts +++ b/api/ext/GL_OES_vertex_type_10_10_10_2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OES_viewport_array.ts b/api/ext/GL_OES_viewport_array.ts index d02096c..8199e6c 100644 --- a/api/ext/GL_OES_viewport_array.ts +++ b/api/ext/GL_OES_viewport_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -76,7 +84,9 @@ export const def_glViewportArrayvOES = { result: "void", } as const; -let fn_glViewportArrayvOES!: Deno.UnsafeFnPointer; +let fn_glViewportArrayvOES!: Deno.UnsafeFnPointer< + typeof def_glViewportArrayvOES +>; export function ViewportArrayvOES( first: GLuint, @@ -95,7 +105,9 @@ export const def_glViewportIndexedfOES = { result: "void", } as const; -let fn_glViewportIndexedfOES!: Deno.UnsafeFnPointer; +let fn_glViewportIndexedfOES!: Deno.UnsafeFnPointer< + typeof def_glViewportIndexedfOES +>; export function ViewportIndexedfOES( index: GLuint, @@ -118,7 +130,9 @@ export const def_glViewportIndexedfvOES = { result: "void", } as const; -let fn_glViewportIndexedfvOES!: Deno.UnsafeFnPointer; +let fn_glViewportIndexedfvOES!: Deno.UnsafeFnPointer< + typeof def_glViewportIndexedfvOES +>; export function ViewportIndexedfvOES( index: GLuint, @@ -154,7 +168,9 @@ export const def_glScissorIndexedOES = { result: "void", } as const; -let fn_glScissorIndexedOES!: Deno.UnsafeFnPointer; +let fn_glScissorIndexedOES!: Deno.UnsafeFnPointer< + typeof def_glScissorIndexedOES +>; export function ScissorIndexedOES( index: GLuint, @@ -177,7 +193,9 @@ export const def_glScissorIndexedvOES = { result: "void", } as const; -let fn_glScissorIndexedvOES!: Deno.UnsafeFnPointer; +let fn_glScissorIndexedvOES!: Deno.UnsafeFnPointer< + typeof def_glScissorIndexedvOES +>; export function ScissorIndexedvOES( index: GLuint, @@ -194,7 +212,9 @@ export const def_glDepthRangeArrayfvOES = { result: "void", } as const; -let fn_glDepthRangeArrayfvOES!: Deno.UnsafeFnPointer; +let fn_glDepthRangeArrayfvOES!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeArrayfvOES +>; export function DepthRangeArrayfvOES( first: GLuint, @@ -213,7 +233,9 @@ export const def_glDepthRangeIndexedfOES = { result: "void", } as const; -let fn_glDepthRangeIndexedfOES!: Deno.UnsafeFnPointer; +let fn_glDepthRangeIndexedfOES!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeIndexedfOES +>; export function DepthRangeIndexedfOES( index: GLuint, @@ -299,16 +321,52 @@ export function IsEnablediOES( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glViewportArrayvOES = new Deno.UnsafeFnPointer(proc("glViewportArrayvOES"), def_glViewportArrayvOES); - fn_glViewportIndexedfOES = new Deno.UnsafeFnPointer(proc("glViewportIndexedfOES"), def_glViewportIndexedfOES); - fn_glViewportIndexedfvOES = new Deno.UnsafeFnPointer(proc("glViewportIndexedfvOES"), def_glViewportIndexedfvOES); - fn_glScissorArrayvOES = new Deno.UnsafeFnPointer(proc("glScissorArrayvOES"), def_glScissorArrayvOES); - fn_glScissorIndexedOES = new Deno.UnsafeFnPointer(proc("glScissorIndexedOES"), def_glScissorIndexedOES); - fn_glScissorIndexedvOES = new Deno.UnsafeFnPointer(proc("glScissorIndexedvOES"), def_glScissorIndexedvOES); - fn_glDepthRangeArrayfvOES = new Deno.UnsafeFnPointer(proc("glDepthRangeArrayfvOES"), def_glDepthRangeArrayfvOES); - fn_glDepthRangeIndexedfOES = new Deno.UnsafeFnPointer(proc("glDepthRangeIndexedfOES"), def_glDepthRangeIndexedfOES); - fn_glGetFloati_vOES = new Deno.UnsafeFnPointer(proc("glGetFloati_vOES"), def_glGetFloati_vOES); - fn_glEnableiOES = new Deno.UnsafeFnPointer(proc("glEnableiOES"), def_glEnableiOES); - fn_glDisableiOES = new Deno.UnsafeFnPointer(proc("glDisableiOES"), def_glDisableiOES); - fn_glIsEnablediOES = new Deno.UnsafeFnPointer(proc("glIsEnablediOES"), def_glIsEnablediOES); + fn_glViewportArrayvOES = new Deno.UnsafeFnPointer( + proc("glViewportArrayvOES"), + def_glViewportArrayvOES, + ); + fn_glViewportIndexedfOES = new Deno.UnsafeFnPointer( + proc("glViewportIndexedfOES"), + def_glViewportIndexedfOES, + ); + fn_glViewportIndexedfvOES = new Deno.UnsafeFnPointer( + proc("glViewportIndexedfvOES"), + def_glViewportIndexedfvOES, + ); + fn_glScissorArrayvOES = new Deno.UnsafeFnPointer( + proc("glScissorArrayvOES"), + def_glScissorArrayvOES, + ); + fn_glScissorIndexedOES = new Deno.UnsafeFnPointer( + proc("glScissorIndexedOES"), + def_glScissorIndexedOES, + ); + fn_glScissorIndexedvOES = new Deno.UnsafeFnPointer( + proc("glScissorIndexedvOES"), + def_glScissorIndexedvOES, + ); + fn_glDepthRangeArrayfvOES = new Deno.UnsafeFnPointer( + proc("glDepthRangeArrayfvOES"), + def_glDepthRangeArrayfvOES, + ); + fn_glDepthRangeIndexedfOES = new Deno.UnsafeFnPointer( + proc("glDepthRangeIndexedfOES"), + def_glDepthRangeIndexedfOES, + ); + fn_glGetFloati_vOES = new Deno.UnsafeFnPointer( + proc("glGetFloati_vOES"), + def_glGetFloati_vOES, + ); + fn_glEnableiOES = new Deno.UnsafeFnPointer( + proc("glEnableiOES"), + def_glEnableiOES, + ); + fn_glDisableiOES = new Deno.UnsafeFnPointer( + proc("glDisableiOES"), + def_glDisableiOES, + ); + fn_glIsEnablediOES = new Deno.UnsafeFnPointer( + proc("glIsEnablediOES"), + def_glIsEnablediOES, + ); } diff --git a/api/ext/GL_OML_interlace.ts b/api/ext/GL_OML_interlace.ts index 7773c77..adc9e37 100644 --- a/api/ext/GL_OML_interlace.ts +++ b/api/ext/GL_OML_interlace.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OML_resample.ts b/api/ext/GL_OML_resample.ts index cd86b5f..4531bf9 100644 --- a/api/ext/GL_OML_resample.ts +++ b/api/ext/GL_OML_resample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OML_subsample.ts b/api/ext/GL_OML_subsample.ts index 871b221..4c06c8c 100644 --- a/api/ext/GL_OML_subsample.ts +++ b/api/ext/GL_OML_subsample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OVR_multiview.ts b/api/ext/GL_OVR_multiview.ts index 4cf8a5b..10423ab 100644 --- a/api/ext/GL_OVR_multiview.ts +++ b/api/ext/GL_OVR_multiview.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glFramebufferTextureMultiviewOVR = { result: "void", } as const; -let fn_glFramebufferTextureMultiviewOVR!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureMultiviewOVR!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureMultiviewOVR +>; export function FramebufferTextureMultiviewOVR( target: GLenum, @@ -94,5 +104,8 @@ export function FramebufferTextureMultiviewOVR( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferTextureMultiviewOVR = new Deno.UnsafeFnPointer(proc("glFramebufferTextureMultiviewOVR"), def_glFramebufferTextureMultiviewOVR); + fn_glFramebufferTextureMultiviewOVR = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureMultiviewOVR"), + def_glFramebufferTextureMultiviewOVR, + ); } diff --git a/api/ext/GL_OVR_multiview2.ts b/api/ext/GL_OVR_multiview2.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_OVR_multiview2.ts +++ b/api/ext/GL_OVR_multiview2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_OVR_multiview_multisampled_render_to_texture.ts b/api/ext/GL_OVR_multiview_multisampled_render_to_texture.ts index ce45a0b..5bcfa69 100644 --- a/api/ext/GL_OVR_multiview_multisampled_render_to_texture.ts +++ b/api/ext/GL_OVR_multiview_multisampled_render_to_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glFramebufferTextureMultisampleMultiviewOVR = { result: "void", } as const; -let fn_glFramebufferTextureMultisampleMultiviewOVR!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureMultisampleMultiviewOVR!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureMultisampleMultiviewOVR +>; export function FramebufferTextureMultisampleMultiviewOVR( target: GLenum, @@ -90,5 +100,8 @@ export function FramebufferTextureMultisampleMultiviewOVR( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferTextureMultisampleMultiviewOVR = new Deno.UnsafeFnPointer(proc("glFramebufferTextureMultisampleMultiviewOVR"), def_glFramebufferTextureMultisampleMultiviewOVR); + fn_glFramebufferTextureMultisampleMultiviewOVR = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureMultisampleMultiviewOVR"), + def_glFramebufferTextureMultisampleMultiviewOVR, + ); } diff --git a/api/ext/GL_PGI_misc_hints.ts b/api/ext/GL_PGI_misc_hints.ts index a3fcb1c..8a2f19f 100644 --- a/api/ext/GL_PGI_misc_hints.ts +++ b/api/ext/GL_PGI_misc_hints.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_PGI_vertex_hints.ts b/api/ext/GL_PGI_vertex_hints.ts index 54f32de..d0c1993 100644 --- a/api/ext/GL_PGI_vertex_hints.ts +++ b/api/ext/GL_PGI_vertex_hints.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_QCOM_YUV_texture_gather.ts b/api/ext/GL_QCOM_YUV_texture_gather.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_QCOM_YUV_texture_gather.ts +++ b/api/ext/GL_QCOM_YUV_texture_gather.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_QCOM_alpha_test.ts b/api/ext/GL_QCOM_alpha_test.ts index c9b541f..887bc2b 100644 --- a/api/ext/GL_QCOM_alpha_test.ts +++ b/api/ext/GL_QCOM_alpha_test.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -85,5 +93,8 @@ export function AlphaFuncQCOM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glAlphaFuncQCOM = new Deno.UnsafeFnPointer(proc("glAlphaFuncQCOM"), def_glAlphaFuncQCOM); + fn_glAlphaFuncQCOM = new Deno.UnsafeFnPointer( + proc("glAlphaFuncQCOM"), + def_glAlphaFuncQCOM, + ); } diff --git a/api/ext/GL_QCOM_binning_control.ts b/api/ext/GL_QCOM_binning_control.ts index a6fd991..5bc8196 100644 --- a/api/ext/GL_QCOM_binning_control.ts +++ b/api/ext/GL_QCOM_binning_control.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_QCOM_driver_control.ts b/api/ext/GL_QCOM_driver_control.ts index 3f3eeaa..0c169d4 100644 --- a/api/ext/GL_QCOM_driver_control.ts +++ b/api/ext/GL_QCOM_driver_control.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glGetDriverControlsQCOM = { result: "void", } as const; -let fn_glGetDriverControlsQCOM!: Deno.UnsafeFnPointer; +let fn_glGetDriverControlsQCOM!: Deno.UnsafeFnPointer< + typeof def_glGetDriverControlsQCOM +>; export function GetDriverControlsQCOM( num: Buffer, @@ -85,7 +95,9 @@ export const def_glGetDriverControlStringQCOM = { result: "void", } as const; -let fn_glGetDriverControlStringQCOM!: Deno.UnsafeFnPointer; +let fn_glGetDriverControlStringQCOM!: Deno.UnsafeFnPointer< + typeof def_glGetDriverControlStringQCOM +>; export function GetDriverControlStringQCOM( driverControl: GLuint, @@ -106,7 +118,9 @@ export const def_glEnableDriverControlQCOM = { result: "void", } as const; -let fn_glEnableDriverControlQCOM!: Deno.UnsafeFnPointer; +let fn_glEnableDriverControlQCOM!: Deno.UnsafeFnPointer< + typeof def_glEnableDriverControlQCOM +>; export function EnableDriverControlQCOM( driverControl: GLuint, @@ -121,7 +135,9 @@ export const def_glDisableDriverControlQCOM = { result: "void", } as const; -let fn_glDisableDriverControlQCOM!: Deno.UnsafeFnPointer; +let fn_glDisableDriverControlQCOM!: Deno.UnsafeFnPointer< + typeof def_glDisableDriverControlQCOM +>; export function DisableDriverControlQCOM( driverControl: GLuint, @@ -133,8 +149,20 @@ export function DisableDriverControlQCOM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetDriverControlsQCOM = new Deno.UnsafeFnPointer(proc("glGetDriverControlsQCOM"), def_glGetDriverControlsQCOM); - fn_glGetDriverControlStringQCOM = new Deno.UnsafeFnPointer(proc("glGetDriverControlStringQCOM"), def_glGetDriverControlStringQCOM); - fn_glEnableDriverControlQCOM = new Deno.UnsafeFnPointer(proc("glEnableDriverControlQCOM"), def_glEnableDriverControlQCOM); - fn_glDisableDriverControlQCOM = new Deno.UnsafeFnPointer(proc("glDisableDriverControlQCOM"), def_glDisableDriverControlQCOM); + fn_glGetDriverControlsQCOM = new Deno.UnsafeFnPointer( + proc("glGetDriverControlsQCOM"), + def_glGetDriverControlsQCOM, + ); + fn_glGetDriverControlStringQCOM = new Deno.UnsafeFnPointer( + proc("glGetDriverControlStringQCOM"), + def_glGetDriverControlStringQCOM, + ); + fn_glEnableDriverControlQCOM = new Deno.UnsafeFnPointer( + proc("glEnableDriverControlQCOM"), + def_glEnableDriverControlQCOM, + ); + fn_glDisableDriverControlQCOM = new Deno.UnsafeFnPointer( + proc("glDisableDriverControlQCOM"), + def_glDisableDriverControlQCOM, + ); } diff --git a/api/ext/GL_QCOM_extended_get.ts b/api/ext/GL_QCOM_extended_get.ts index f513e0f..9441cbe 100644 --- a/api/ext/GL_QCOM_extended_get.ts +++ b/api/ext/GL_QCOM_extended_get.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -79,7 +87,9 @@ export const def_glExtGetTexturesQCOM = { result: "void", } as const; -let fn_glExtGetTexturesQCOM!: Deno.UnsafeFnPointer; +let fn_glExtGetTexturesQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtGetTexturesQCOM +>; export function ExtGetTexturesQCOM( textures: Buffer, @@ -98,7 +108,9 @@ export const def_glExtGetBuffersQCOM = { result: "void", } as const; -let fn_glExtGetBuffersQCOM!: Deno.UnsafeFnPointer; +let fn_glExtGetBuffersQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtGetBuffersQCOM +>; export function ExtGetBuffersQCOM( buffers: Buffer, @@ -117,7 +129,9 @@ export const def_glExtGetRenderbuffersQCOM = { result: "void", } as const; -let fn_glExtGetRenderbuffersQCOM!: Deno.UnsafeFnPointer; +let fn_glExtGetRenderbuffersQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtGetRenderbuffersQCOM +>; export function ExtGetRenderbuffersQCOM( renderbuffers: Buffer, @@ -136,7 +150,9 @@ export const def_glExtGetFramebuffersQCOM = { result: "void", } as const; -let fn_glExtGetFramebuffersQCOM!: Deno.UnsafeFnPointer; +let fn_glExtGetFramebuffersQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtGetFramebuffersQCOM +>; export function ExtGetFramebuffersQCOM( framebuffers: Buffer, @@ -155,7 +171,9 @@ export const def_glExtGetTexLevelParameterivQCOM = { result: "void", } as const; -let fn_glExtGetTexLevelParameterivQCOM!: Deno.UnsafeFnPointer; +let fn_glExtGetTexLevelParameterivQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtGetTexLevelParameterivQCOM +>; export function ExtGetTexLevelParameterivQCOM( texture: GLuint, @@ -178,7 +196,9 @@ export const def_glExtTexObjectStateOverrideiQCOM = { result: "void", } as const; -let fn_glExtTexObjectStateOverrideiQCOM!: Deno.UnsafeFnPointer; +let fn_glExtTexObjectStateOverrideiQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtTexObjectStateOverrideiQCOM +>; export function ExtTexObjectStateOverrideiQCOM( target: GLenum, @@ -193,11 +213,25 @@ export function ExtTexObjectStateOverrideiQCOM( } export const def_glExtGetTexSubImageQCOM = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glExtGetTexSubImageQCOM!: Deno.UnsafeFnPointer; +let fn_glExtGetTexSubImageQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtGetTexSubImageQCOM +>; export function ExtGetTexSubImageQCOM( target: GLenum, @@ -232,7 +266,9 @@ export const def_glExtGetBufferPointervQCOM = { result: "void", } as const; -let fn_glExtGetBufferPointervQCOM!: Deno.UnsafeFnPointer; +let fn_glExtGetBufferPointervQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtGetBufferPointervQCOM +>; export function ExtGetBufferPointervQCOM( target: GLenum, @@ -246,12 +282,36 @@ export function ExtGetBufferPointervQCOM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glExtGetTexturesQCOM = new Deno.UnsafeFnPointer(proc("glExtGetTexturesQCOM"), def_glExtGetTexturesQCOM); - fn_glExtGetBuffersQCOM = new Deno.UnsafeFnPointer(proc("glExtGetBuffersQCOM"), def_glExtGetBuffersQCOM); - fn_glExtGetRenderbuffersQCOM = new Deno.UnsafeFnPointer(proc("glExtGetRenderbuffersQCOM"), def_glExtGetRenderbuffersQCOM); - fn_glExtGetFramebuffersQCOM = new Deno.UnsafeFnPointer(proc("glExtGetFramebuffersQCOM"), def_glExtGetFramebuffersQCOM); - fn_glExtGetTexLevelParameterivQCOM = new Deno.UnsafeFnPointer(proc("glExtGetTexLevelParameterivQCOM"), def_glExtGetTexLevelParameterivQCOM); - fn_glExtTexObjectStateOverrideiQCOM = new Deno.UnsafeFnPointer(proc("glExtTexObjectStateOverrideiQCOM"), def_glExtTexObjectStateOverrideiQCOM); - fn_glExtGetTexSubImageQCOM = new Deno.UnsafeFnPointer(proc("glExtGetTexSubImageQCOM"), def_glExtGetTexSubImageQCOM); - fn_glExtGetBufferPointervQCOM = new Deno.UnsafeFnPointer(proc("glExtGetBufferPointervQCOM"), def_glExtGetBufferPointervQCOM); + fn_glExtGetTexturesQCOM = new Deno.UnsafeFnPointer( + proc("glExtGetTexturesQCOM"), + def_glExtGetTexturesQCOM, + ); + fn_glExtGetBuffersQCOM = new Deno.UnsafeFnPointer( + proc("glExtGetBuffersQCOM"), + def_glExtGetBuffersQCOM, + ); + fn_glExtGetRenderbuffersQCOM = new Deno.UnsafeFnPointer( + proc("glExtGetRenderbuffersQCOM"), + def_glExtGetRenderbuffersQCOM, + ); + fn_glExtGetFramebuffersQCOM = new Deno.UnsafeFnPointer( + proc("glExtGetFramebuffersQCOM"), + def_glExtGetFramebuffersQCOM, + ); + fn_glExtGetTexLevelParameterivQCOM = new Deno.UnsafeFnPointer( + proc("glExtGetTexLevelParameterivQCOM"), + def_glExtGetTexLevelParameterivQCOM, + ); + fn_glExtTexObjectStateOverrideiQCOM = new Deno.UnsafeFnPointer( + proc("glExtTexObjectStateOverrideiQCOM"), + def_glExtTexObjectStateOverrideiQCOM, + ); + fn_glExtGetTexSubImageQCOM = new Deno.UnsafeFnPointer( + proc("glExtGetTexSubImageQCOM"), + def_glExtGetTexSubImageQCOM, + ); + fn_glExtGetBufferPointervQCOM = new Deno.UnsafeFnPointer( + proc("glExtGetBufferPointervQCOM"), + def_glExtGetBufferPointervQCOM, + ); } diff --git a/api/ext/GL_QCOM_extended_get2.ts b/api/ext/GL_QCOM_extended_get2.ts index 7f60baf..411d08a 100644 --- a/api/ext/GL_QCOM_extended_get2.ts +++ b/api/ext/GL_QCOM_extended_get2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glExtGetShadersQCOM = { result: "void", } as const; -let fn_glExtGetShadersQCOM!: Deno.UnsafeFnPointer; +let fn_glExtGetShadersQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtGetShadersQCOM +>; export function ExtGetShadersQCOM( shaders: Buffer, @@ -85,7 +95,9 @@ export const def_glExtGetProgramsQCOM = { result: "void", } as const; -let fn_glExtGetProgramsQCOM!: Deno.UnsafeFnPointer; +let fn_glExtGetProgramsQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtGetProgramsQCOM +>; export function ExtGetProgramsQCOM( programs: Buffer, @@ -104,7 +116,9 @@ export const def_glExtIsProgramBinaryQCOM = { result: "u8", } as const; -let fn_glExtIsProgramBinaryQCOM!: Deno.UnsafeFnPointer; +let fn_glExtIsProgramBinaryQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtIsProgramBinaryQCOM +>; export function ExtIsProgramBinaryQCOM( program: GLuint, @@ -119,7 +133,9 @@ export const def_glExtGetProgramBinarySourceQCOM = { result: "void", } as const; -let fn_glExtGetProgramBinarySourceQCOM!: Deno.UnsafeFnPointer; +let fn_glExtGetProgramBinarySourceQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtGetProgramBinarySourceQCOM +>; export function ExtGetProgramBinarySourceQCOM( program: GLuint, @@ -137,8 +153,20 @@ export function ExtGetProgramBinarySourceQCOM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glExtGetShadersQCOM = new Deno.UnsafeFnPointer(proc("glExtGetShadersQCOM"), def_glExtGetShadersQCOM); - fn_glExtGetProgramsQCOM = new Deno.UnsafeFnPointer(proc("glExtGetProgramsQCOM"), def_glExtGetProgramsQCOM); - fn_glExtIsProgramBinaryQCOM = new Deno.UnsafeFnPointer(proc("glExtIsProgramBinaryQCOM"), def_glExtIsProgramBinaryQCOM); - fn_glExtGetProgramBinarySourceQCOM = new Deno.UnsafeFnPointer(proc("glExtGetProgramBinarySourceQCOM"), def_glExtGetProgramBinarySourceQCOM); + fn_glExtGetShadersQCOM = new Deno.UnsafeFnPointer( + proc("glExtGetShadersQCOM"), + def_glExtGetShadersQCOM, + ); + fn_glExtGetProgramsQCOM = new Deno.UnsafeFnPointer( + proc("glExtGetProgramsQCOM"), + def_glExtGetProgramsQCOM, + ); + fn_glExtIsProgramBinaryQCOM = new Deno.UnsafeFnPointer( + proc("glExtIsProgramBinaryQCOM"), + def_glExtIsProgramBinaryQCOM, + ); + fn_glExtGetProgramBinarySourceQCOM = new Deno.UnsafeFnPointer( + proc("glExtGetProgramBinarySourceQCOM"), + def_glExtGetProgramBinarySourceQCOM, + ); } diff --git a/api/ext/GL_QCOM_frame_extrapolation.ts b/api/ext/GL_QCOM_frame_extrapolation.ts index 9880dce..8b48259 100644 --- a/api/ext/GL_QCOM_frame_extrapolation.ts +++ b/api/ext/GL_QCOM_frame_extrapolation.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glExtrapolateTex2DQCOM = { result: "void", } as const; -let fn_glExtrapolateTex2DQCOM!: Deno.UnsafeFnPointer; +let fn_glExtrapolateTex2DQCOM!: Deno.UnsafeFnPointer< + typeof def_glExtrapolateTex2DQCOM +>; export function ExtrapolateTex2DQCOM( src1: GLuint, @@ -84,5 +94,8 @@ export function ExtrapolateTex2DQCOM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glExtrapolateTex2DQCOM = new Deno.UnsafeFnPointer(proc("glExtrapolateTex2DQCOM"), def_glExtrapolateTex2DQCOM); + fn_glExtrapolateTex2DQCOM = new Deno.UnsafeFnPointer( + proc("glExtrapolateTex2DQCOM"), + def_glExtrapolateTex2DQCOM, + ); } diff --git a/api/ext/GL_QCOM_framebuffer_foveated.ts b/api/ext/GL_QCOM_framebuffer_foveated.ts index 951abc6..7cd6cdb 100644 --- a/api/ext/GL_QCOM_framebuffer_foveated.ts +++ b/api/ext/GL_QCOM_framebuffer_foveated.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glFramebufferFoveationConfigQCOM = { result: "void", } as const; -let fn_glFramebufferFoveationConfigQCOM!: Deno.UnsafeFnPointer; +let fn_glFramebufferFoveationConfigQCOM!: Deno.UnsafeFnPointer< + typeof def_glFramebufferFoveationConfigQCOM +>; export function FramebufferFoveationConfigQCOM( framebuffer: GLuint, @@ -93,7 +103,9 @@ export const def_glFramebufferFoveationParametersQCOM = { result: "void", } as const; -let fn_glFramebufferFoveationParametersQCOM!: Deno.UnsafeFnPointer; +let fn_glFramebufferFoveationParametersQCOM!: Deno.UnsafeFnPointer< + typeof def_glFramebufferFoveationParametersQCOM +>; export function FramebufferFoveationParametersQCOM( framebuffer: GLuint, @@ -119,6 +131,12 @@ export function FramebufferFoveationParametersQCOM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferFoveationConfigQCOM = new Deno.UnsafeFnPointer(proc("glFramebufferFoveationConfigQCOM"), def_glFramebufferFoveationConfigQCOM); - fn_glFramebufferFoveationParametersQCOM = new Deno.UnsafeFnPointer(proc("glFramebufferFoveationParametersQCOM"), def_glFramebufferFoveationParametersQCOM); + fn_glFramebufferFoveationConfigQCOM = new Deno.UnsafeFnPointer( + proc("glFramebufferFoveationConfigQCOM"), + def_glFramebufferFoveationConfigQCOM, + ); + fn_glFramebufferFoveationParametersQCOM = new Deno.UnsafeFnPointer( + proc("glFramebufferFoveationParametersQCOM"), + def_glFramebufferFoveationParametersQCOM, + ); } diff --git a/api/ext/GL_QCOM_motion_estimation.ts b/api/ext/GL_QCOM_motion_estimation.ts index d577d07..215d03f 100644 --- a/api/ext/GL_QCOM_motion_estimation.ts +++ b/api/ext/GL_QCOM_motion_estimation.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -71,7 +79,9 @@ export const def_glTexEstimateMotionQCOM = { result: "void", } as const; -let fn_glTexEstimateMotionQCOM!: Deno.UnsafeFnPointer; +let fn_glTexEstimateMotionQCOM!: Deno.UnsafeFnPointer< + typeof def_glTexEstimateMotionQCOM +>; export function TexEstimateMotionQCOM( ref: GLuint, @@ -90,7 +100,9 @@ export const def_glTexEstimateMotionRegionsQCOM = { result: "void", } as const; -let fn_glTexEstimateMotionRegionsQCOM!: Deno.UnsafeFnPointer; +let fn_glTexEstimateMotionRegionsQCOM!: Deno.UnsafeFnPointer< + typeof def_glTexEstimateMotionRegionsQCOM +>; export function TexEstimateMotionRegionsQCOM( ref: GLuint, @@ -108,6 +120,12 @@ export function TexEstimateMotionRegionsQCOM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexEstimateMotionQCOM = new Deno.UnsafeFnPointer(proc("glTexEstimateMotionQCOM"), def_glTexEstimateMotionQCOM); - fn_glTexEstimateMotionRegionsQCOM = new Deno.UnsafeFnPointer(proc("glTexEstimateMotionRegionsQCOM"), def_glTexEstimateMotionRegionsQCOM); + fn_glTexEstimateMotionQCOM = new Deno.UnsafeFnPointer( + proc("glTexEstimateMotionQCOM"), + def_glTexEstimateMotionQCOM, + ); + fn_glTexEstimateMotionRegionsQCOM = new Deno.UnsafeFnPointer( + proc("glTexEstimateMotionRegionsQCOM"), + def_glTexEstimateMotionRegionsQCOM, + ); } diff --git a/api/ext/GL_QCOM_perfmon_global_mode.ts b/api/ext/GL_QCOM_perfmon_global_mode.ts index 0feb543..c05a9b3 100644 --- a/api/ext/GL_QCOM_perfmon_global_mode.ts +++ b/api/ext/GL_QCOM_perfmon_global_mode.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_QCOM_render_shared_exponent.ts b/api/ext/GL_QCOM_render_shared_exponent.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_QCOM_render_shared_exponent.ts +++ b/api/ext/GL_QCOM_render_shared_exponent.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_QCOM_shader_framebuffer_fetch_noncoherent.ts b/api/ext/GL_QCOM_shader_framebuffer_fetch_noncoherent.ts index 80a59af..80dd179 100644 --- a/api/ext/GL_QCOM_shader_framebuffer_fetch_noncoherent.ts +++ b/api/ext/GL_QCOM_shader_framebuffer_fetch_noncoherent.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glFramebufferFetchBarrierQCOM = { result: "void", } as const; -let fn_glFramebufferFetchBarrierQCOM!: Deno.UnsafeFnPointer; +let fn_glFramebufferFetchBarrierQCOM!: Deno.UnsafeFnPointer< + typeof def_glFramebufferFetchBarrierQCOM +>; export function FramebufferFetchBarrierQCOM(): void { fn_glFramebufferFetchBarrierQCOM.call(); @@ -77,5 +87,8 @@ export function FramebufferFetchBarrierQCOM(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFramebufferFetchBarrierQCOM = new Deno.UnsafeFnPointer(proc("glFramebufferFetchBarrierQCOM"), def_glFramebufferFetchBarrierQCOM); + fn_glFramebufferFetchBarrierQCOM = new Deno.UnsafeFnPointer( + proc("glFramebufferFetchBarrierQCOM"), + def_glFramebufferFetchBarrierQCOM, + ); } diff --git a/api/ext/GL_QCOM_shader_framebuffer_fetch_rate.ts b/api/ext/GL_QCOM_shader_framebuffer_fetch_rate.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_QCOM_shader_framebuffer_fetch_rate.ts +++ b/api/ext/GL_QCOM_shader_framebuffer_fetch_rate.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_QCOM_shading_rate.ts b/api/ext/GL_QCOM_shading_rate.ts index ca8ef00..79eec15 100644 --- a/api/ext/GL_QCOM_shading_rate.ts +++ b/api/ext/GL_QCOM_shading_rate.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,5 +96,8 @@ export function ShadingRateQCOM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glShadingRateQCOM = new Deno.UnsafeFnPointer(proc("glShadingRateQCOM"), def_glShadingRateQCOM); + fn_glShadingRateQCOM = new Deno.UnsafeFnPointer( + proc("glShadingRateQCOM"), + def_glShadingRateQCOM, + ); } diff --git a/api/ext/GL_QCOM_texture_foveated.ts b/api/ext/GL_QCOM_texture_foveated.ts index 925e1ae..2e6e379 100644 --- a/api/ext/GL_QCOM_texture_foveated.ts +++ b/api/ext/GL_QCOM_texture_foveated.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,7 +83,9 @@ export const def_glTextureFoveationParametersQCOM = { result: "void", } as const; -let fn_glTextureFoveationParametersQCOM!: Deno.UnsafeFnPointer; +let fn_glTextureFoveationParametersQCOM!: Deno.UnsafeFnPointer< + typeof def_glTextureFoveationParametersQCOM +>; export function TextureFoveationParametersQCOM( texture: GLuint, @@ -101,5 +111,8 @@ export function TextureFoveationParametersQCOM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTextureFoveationParametersQCOM = new Deno.UnsafeFnPointer(proc("glTextureFoveationParametersQCOM"), def_glTextureFoveationParametersQCOM); + fn_glTextureFoveationParametersQCOM = new Deno.UnsafeFnPointer( + proc("glTextureFoveationParametersQCOM"), + def_glTextureFoveationParametersQCOM, + ); } diff --git a/api/ext/GL_QCOM_texture_foveated2.ts b/api/ext/GL_QCOM_texture_foveated2.ts index c2b9530..421850a 100644 --- a/api/ext/GL_QCOM_texture_foveated2.ts +++ b/api/ext/GL_QCOM_texture_foveated2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_QCOM_texture_foveated_subsampled_layout.ts b/api/ext/GL_QCOM_texture_foveated_subsampled_layout.ts index 184e773..1c3b7f3 100644 --- a/api/ext/GL_QCOM_texture_foveated_subsampled_layout.ts +++ b/api/ext/GL_QCOM_texture_foveated_subsampled_layout.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_QCOM_tiled_rendering.ts b/api/ext/GL_QCOM_tiled_rendering.ts index 64f480a..4c441c5 100644 --- a/api/ext/GL_QCOM_tiled_rendering.ts +++ b/api/ext/GL_QCOM_tiled_rendering.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -135,6 +143,12 @@ export function EndTilingQCOM( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glStartTilingQCOM = new Deno.UnsafeFnPointer(proc("glStartTilingQCOM"), def_glStartTilingQCOM); - fn_glEndTilingQCOM = new Deno.UnsafeFnPointer(proc("glEndTilingQCOM"), def_glEndTilingQCOM); + fn_glStartTilingQCOM = new Deno.UnsafeFnPointer( + proc("glStartTilingQCOM"), + def_glStartTilingQCOM, + ); + fn_glEndTilingQCOM = new Deno.UnsafeFnPointer( + proc("glEndTilingQCOM"), + def_glEndTilingQCOM, + ); } diff --git a/api/ext/GL_QCOM_writeonly_rendering.ts b/api/ext/GL_QCOM_writeonly_rendering.ts index f7f8bbf..c124a96 100644 --- a/api/ext/GL_QCOM_writeonly_rendering.ts +++ b/api/ext/GL_QCOM_writeonly_rendering.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_REND_screen_coordinates.ts b/api/ext/GL_REND_screen_coordinates.ts index 9a4e926..6af7497 100644 --- a/api/ext/GL_REND_screen_coordinates.ts +++ b/api/ext/GL_REND_screen_coordinates.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_S3_s3tc.ts b/api/ext/GL_S3_s3tc.ts index 878f4b3..3b8c4d6 100644 --- a/api/ext/GL_S3_s3tc.ts +++ b/api/ext/GL_S3_s3tc.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIS_detail_texture.ts b/api/ext/GL_SGIS_detail_texture.ts index 05006c4..9118ccb 100644 --- a/api/ext/GL_SGIS_detail_texture.ts +++ b/api/ext/GL_SGIS_detail_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -76,7 +84,9 @@ export const def_glDetailTexFuncSGIS = { result: "void", } as const; -let fn_glDetailTexFuncSGIS!: Deno.UnsafeFnPointer; +let fn_glDetailTexFuncSGIS!: Deno.UnsafeFnPointer< + typeof def_glDetailTexFuncSGIS +>; export function DetailTexFuncSGIS( target: GLenum, @@ -95,7 +105,9 @@ export const def_glGetDetailTexFuncSGIS = { result: "void", } as const; -let fn_glGetDetailTexFuncSGIS!: Deno.UnsafeFnPointer; +let fn_glGetDetailTexFuncSGIS!: Deno.UnsafeFnPointer< + typeof def_glGetDetailTexFuncSGIS +>; export function GetDetailTexFuncSGIS( target: GLenum, @@ -109,6 +121,12 @@ export function GetDetailTexFuncSGIS( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDetailTexFuncSGIS = new Deno.UnsafeFnPointer(proc("glDetailTexFuncSGIS"), def_glDetailTexFuncSGIS); - fn_glGetDetailTexFuncSGIS = new Deno.UnsafeFnPointer(proc("glGetDetailTexFuncSGIS"), def_glGetDetailTexFuncSGIS); + fn_glDetailTexFuncSGIS = new Deno.UnsafeFnPointer( + proc("glDetailTexFuncSGIS"), + def_glDetailTexFuncSGIS, + ); + fn_glGetDetailTexFuncSGIS = new Deno.UnsafeFnPointer( + proc("glGetDetailTexFuncSGIS"), + def_glGetDetailTexFuncSGIS, + ); } diff --git a/api/ext/GL_SGIS_fog_function.ts b/api/ext/GL_SGIS_fog_function.ts index c9e9c99..0002efa 100644 --- a/api/ext/GL_SGIS_fog_function.ts +++ b/api/ext/GL_SGIS_fog_function.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -100,6 +108,12 @@ export function GetFogFuncSGIS( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFogFuncSGIS = new Deno.UnsafeFnPointer(proc("glFogFuncSGIS"), def_glFogFuncSGIS); - fn_glGetFogFuncSGIS = new Deno.UnsafeFnPointer(proc("glGetFogFuncSGIS"), def_glGetFogFuncSGIS); + fn_glFogFuncSGIS = new Deno.UnsafeFnPointer( + proc("glFogFuncSGIS"), + def_glFogFuncSGIS, + ); + fn_glGetFogFuncSGIS = new Deno.UnsafeFnPointer( + proc("glGetFogFuncSGIS"), + def_glGetFogFuncSGIS, + ); } diff --git a/api/ext/GL_SGIS_generate_mipmap.ts b/api/ext/GL_SGIS_generate_mipmap.ts index 3a65d4d..2edbdf1 100644 --- a/api/ext/GL_SGIS_generate_mipmap.ts +++ b/api/ext/GL_SGIS_generate_mipmap.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIS_multisample.ts b/api/ext/GL_SGIS_multisample.ts index 26f2bc3..a064cf7 100644 --- a/api/ext/GL_SGIS_multisample.ts +++ b/api/ext/GL_SGIS_multisample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -101,7 +109,9 @@ export const def_glSamplePatternSGIS = { result: "void", } as const; -let fn_glSamplePatternSGIS!: Deno.UnsafeFnPointer; +let fn_glSamplePatternSGIS!: Deno.UnsafeFnPointer< + typeof def_glSamplePatternSGIS +>; export function SamplePatternSGIS( pattern: GLenum, @@ -113,6 +123,12 @@ export function SamplePatternSGIS( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glSampleMaskSGIS = new Deno.UnsafeFnPointer(proc("glSampleMaskSGIS"), def_glSampleMaskSGIS); - fn_glSamplePatternSGIS = new Deno.UnsafeFnPointer(proc("glSamplePatternSGIS"), def_glSamplePatternSGIS); + fn_glSampleMaskSGIS = new Deno.UnsafeFnPointer( + proc("glSampleMaskSGIS"), + def_glSampleMaskSGIS, + ); + fn_glSamplePatternSGIS = new Deno.UnsafeFnPointer( + proc("glSamplePatternSGIS"), + def_glSamplePatternSGIS, + ); } diff --git a/api/ext/GL_SGIS_pixel_texture.ts b/api/ext/GL_SGIS_pixel_texture.ts index beb675b..f0e2a2f 100644 --- a/api/ext/GL_SGIS_pixel_texture.ts +++ b/api/ext/GL_SGIS_pixel_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glPixelTexGenParameteriSGIS = { result: "void", } as const; -let fn_glPixelTexGenParameteriSGIS!: Deno.UnsafeFnPointer; +let fn_glPixelTexGenParameteriSGIS!: Deno.UnsafeFnPointer< + typeof def_glPixelTexGenParameteriSGIS +>; export function PixelTexGenParameteriSGIS( pname: GLenum, @@ -89,7 +99,9 @@ export const def_glPixelTexGenParameterivSGIS = { result: "void", } as const; -let fn_glPixelTexGenParameterivSGIS!: Deno.UnsafeFnPointer; +let fn_glPixelTexGenParameterivSGIS!: Deno.UnsafeFnPointer< + typeof def_glPixelTexGenParameterivSGIS +>; export function PixelTexGenParameterivSGIS( pname: GLenum, @@ -106,7 +118,9 @@ export const def_glPixelTexGenParameterfSGIS = { result: "void", } as const; -let fn_glPixelTexGenParameterfSGIS!: Deno.UnsafeFnPointer; +let fn_glPixelTexGenParameterfSGIS!: Deno.UnsafeFnPointer< + typeof def_glPixelTexGenParameterfSGIS +>; export function PixelTexGenParameterfSGIS( pname: GLenum, @@ -123,7 +137,9 @@ export const def_glPixelTexGenParameterfvSGIS = { result: "void", } as const; -let fn_glPixelTexGenParameterfvSGIS!: Deno.UnsafeFnPointer; +let fn_glPixelTexGenParameterfvSGIS!: Deno.UnsafeFnPointer< + typeof def_glPixelTexGenParameterfvSGIS +>; export function PixelTexGenParameterfvSGIS( pname: GLenum, @@ -140,7 +156,9 @@ export const def_glGetPixelTexGenParameterivSGIS = { result: "void", } as const; -let fn_glGetPixelTexGenParameterivSGIS!: Deno.UnsafeFnPointer; +let fn_glGetPixelTexGenParameterivSGIS!: Deno.UnsafeFnPointer< + typeof def_glGetPixelTexGenParameterivSGIS +>; export function GetPixelTexGenParameterivSGIS( pname: GLenum, @@ -157,7 +175,9 @@ export const def_glGetPixelTexGenParameterfvSGIS = { result: "void", } as const; -let fn_glGetPixelTexGenParameterfvSGIS!: Deno.UnsafeFnPointer; +let fn_glGetPixelTexGenParameterfvSGIS!: Deno.UnsafeFnPointer< + typeof def_glGetPixelTexGenParameterfvSGIS +>; export function GetPixelTexGenParameterfvSGIS( pname: GLenum, @@ -171,10 +191,28 @@ export function GetPixelTexGenParameterfvSGIS( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPixelTexGenParameteriSGIS = new Deno.UnsafeFnPointer(proc("glPixelTexGenParameteriSGIS"), def_glPixelTexGenParameteriSGIS); - fn_glPixelTexGenParameterivSGIS = new Deno.UnsafeFnPointer(proc("glPixelTexGenParameterivSGIS"), def_glPixelTexGenParameterivSGIS); - fn_glPixelTexGenParameterfSGIS = new Deno.UnsafeFnPointer(proc("glPixelTexGenParameterfSGIS"), def_glPixelTexGenParameterfSGIS); - fn_glPixelTexGenParameterfvSGIS = new Deno.UnsafeFnPointer(proc("glPixelTexGenParameterfvSGIS"), def_glPixelTexGenParameterfvSGIS); - fn_glGetPixelTexGenParameterivSGIS = new Deno.UnsafeFnPointer(proc("glGetPixelTexGenParameterivSGIS"), def_glGetPixelTexGenParameterivSGIS); - fn_glGetPixelTexGenParameterfvSGIS = new Deno.UnsafeFnPointer(proc("glGetPixelTexGenParameterfvSGIS"), def_glGetPixelTexGenParameterfvSGIS); + fn_glPixelTexGenParameteriSGIS = new Deno.UnsafeFnPointer( + proc("glPixelTexGenParameteriSGIS"), + def_glPixelTexGenParameteriSGIS, + ); + fn_glPixelTexGenParameterivSGIS = new Deno.UnsafeFnPointer( + proc("glPixelTexGenParameterivSGIS"), + def_glPixelTexGenParameterivSGIS, + ); + fn_glPixelTexGenParameterfSGIS = new Deno.UnsafeFnPointer( + proc("glPixelTexGenParameterfSGIS"), + def_glPixelTexGenParameterfSGIS, + ); + fn_glPixelTexGenParameterfvSGIS = new Deno.UnsafeFnPointer( + proc("glPixelTexGenParameterfvSGIS"), + def_glPixelTexGenParameterfvSGIS, + ); + fn_glGetPixelTexGenParameterivSGIS = new Deno.UnsafeFnPointer( + proc("glGetPixelTexGenParameterivSGIS"), + def_glGetPixelTexGenParameterivSGIS, + ); + fn_glGetPixelTexGenParameterfvSGIS = new Deno.UnsafeFnPointer( + proc("glGetPixelTexGenParameterfvSGIS"), + def_glGetPixelTexGenParameterfvSGIS, + ); } diff --git a/api/ext/GL_SGIS_point_line_texgen.ts b/api/ext/GL_SGIS_point_line_texgen.ts index 24e5267..161c518 100644 --- a/api/ext/GL_SGIS_point_line_texgen.ts +++ b/api/ext/GL_SGIS_point_line_texgen.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIS_point_parameters.ts b/api/ext/GL_SGIS_point_parameters.ts index ecf542c..f87c20c 100644 --- a/api/ext/GL_SGIS_point_parameters.ts +++ b/api/ext/GL_SGIS_point_parameters.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glPointParameterfSGIS = { result: "void", } as const; -let fn_glPointParameterfSGIS!: Deno.UnsafeFnPointer; +let fn_glPointParameterfSGIS!: Deno.UnsafeFnPointer< + typeof def_glPointParameterfSGIS +>; export function PointParameterfSGIS( pname: GLenum, @@ -89,7 +99,9 @@ export const def_glPointParameterfvSGIS = { result: "void", } as const; -let fn_glPointParameterfvSGIS!: Deno.UnsafeFnPointer; +let fn_glPointParameterfvSGIS!: Deno.UnsafeFnPointer< + typeof def_glPointParameterfvSGIS +>; export function PointParameterfvSGIS( pname: GLenum, @@ -103,6 +115,12 @@ export function PointParameterfvSGIS( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPointParameterfSGIS = new Deno.UnsafeFnPointer(proc("glPointParameterfSGIS"), def_glPointParameterfSGIS); - fn_glPointParameterfvSGIS = new Deno.UnsafeFnPointer(proc("glPointParameterfvSGIS"), def_glPointParameterfvSGIS); + fn_glPointParameterfSGIS = new Deno.UnsafeFnPointer( + proc("glPointParameterfSGIS"), + def_glPointParameterfSGIS, + ); + fn_glPointParameterfvSGIS = new Deno.UnsafeFnPointer( + proc("glPointParameterfvSGIS"), + def_glPointParameterfvSGIS, + ); } diff --git a/api/ext/GL_SGIS_sharpen_texture.ts b/api/ext/GL_SGIS_sharpen_texture.ts index b8a28e1..98011c7 100644 --- a/api/ext/GL_SGIS_sharpen_texture.ts +++ b/api/ext/GL_SGIS_sharpen_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -72,7 +80,9 @@ export const def_glSharpenTexFuncSGIS = { result: "void", } as const; -let fn_glSharpenTexFuncSGIS!: Deno.UnsafeFnPointer; +let fn_glSharpenTexFuncSGIS!: Deno.UnsafeFnPointer< + typeof def_glSharpenTexFuncSGIS +>; export function SharpenTexFuncSGIS( target: GLenum, @@ -91,7 +101,9 @@ export const def_glGetSharpenTexFuncSGIS = { result: "void", } as const; -let fn_glGetSharpenTexFuncSGIS!: Deno.UnsafeFnPointer; +let fn_glGetSharpenTexFuncSGIS!: Deno.UnsafeFnPointer< + typeof def_glGetSharpenTexFuncSGIS +>; export function GetSharpenTexFuncSGIS( target: GLenum, @@ -105,6 +117,12 @@ export function GetSharpenTexFuncSGIS( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glSharpenTexFuncSGIS = new Deno.UnsafeFnPointer(proc("glSharpenTexFuncSGIS"), def_glSharpenTexFuncSGIS); - fn_glGetSharpenTexFuncSGIS = new Deno.UnsafeFnPointer(proc("glGetSharpenTexFuncSGIS"), def_glGetSharpenTexFuncSGIS); + fn_glSharpenTexFuncSGIS = new Deno.UnsafeFnPointer( + proc("glSharpenTexFuncSGIS"), + def_glSharpenTexFuncSGIS, + ); + fn_glGetSharpenTexFuncSGIS = new Deno.UnsafeFnPointer( + proc("glGetSharpenTexFuncSGIS"), + def_glGetSharpenTexFuncSGIS, + ); } diff --git a/api/ext/GL_SGIS_texture4D.ts b/api/ext/GL_SGIS_texture4D.ts index 169a832..0fd34f7 100644 --- a/api/ext/GL_SGIS_texture4D.ts +++ b/api/ext/GL_SGIS_texture4D.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,7 +82,19 @@ export const TEXTURE_4D_BINDING_SGIS = 0x814f; /// Commands export const def_glTexImage4DSGIS = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -109,11 +129,27 @@ export function TexImage4DSGIS( } export const def_glTexSubImage4DSGIS = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glTexSubImage4DSGIS!: Deno.UnsafeFnPointer; +let fn_glTexSubImage4DSGIS!: Deno.UnsafeFnPointer< + typeof def_glTexSubImage4DSGIS +>; export function TexSubImage4DSGIS( target: GLenum, @@ -149,6 +185,12 @@ export function TexSubImage4DSGIS( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTexImage4DSGIS = new Deno.UnsafeFnPointer(proc("glTexImage4DSGIS"), def_glTexImage4DSGIS); - fn_glTexSubImage4DSGIS = new Deno.UnsafeFnPointer(proc("glTexSubImage4DSGIS"), def_glTexSubImage4DSGIS); + fn_glTexImage4DSGIS = new Deno.UnsafeFnPointer( + proc("glTexImage4DSGIS"), + def_glTexImage4DSGIS, + ); + fn_glTexSubImage4DSGIS = new Deno.UnsafeFnPointer( + proc("glTexSubImage4DSGIS"), + def_glTexSubImage4DSGIS, + ); } diff --git a/api/ext/GL_SGIS_texture_border_clamp.ts b/api/ext/GL_SGIS_texture_border_clamp.ts index 9b45a8a..2353340 100644 --- a/api/ext/GL_SGIS_texture_border_clamp.ts +++ b/api/ext/GL_SGIS_texture_border_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIS_texture_color_mask.ts b/api/ext/GL_SGIS_texture_color_mask.ts index b0fd23f..1c6d913 100644 --- a/api/ext/GL_SGIS_texture_color_mask.ts +++ b/api/ext/GL_SGIS_texture_color_mask.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glTextureColorMaskSGIS = { result: "void", } as const; -let fn_glTextureColorMaskSGIS!: Deno.UnsafeFnPointer; +let fn_glTextureColorMaskSGIS!: Deno.UnsafeFnPointer< + typeof def_glTextureColorMaskSGIS +>; export function TextureColorMaskSGIS( red: GLboolean, @@ -87,5 +97,8 @@ export function TextureColorMaskSGIS( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTextureColorMaskSGIS = new Deno.UnsafeFnPointer(proc("glTextureColorMaskSGIS"), def_glTextureColorMaskSGIS); + fn_glTextureColorMaskSGIS = new Deno.UnsafeFnPointer( + proc("glTextureColorMaskSGIS"), + def_glTextureColorMaskSGIS, + ); } diff --git a/api/ext/GL_SGIS_texture_edge_clamp.ts b/api/ext/GL_SGIS_texture_edge_clamp.ts index d9739d6..a5242a1 100644 --- a/api/ext/GL_SGIS_texture_edge_clamp.ts +++ b/api/ext/GL_SGIS_texture_edge_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIS_texture_filter4.ts b/api/ext/GL_SGIS_texture_filter4.ts index 8ad643f..1c9f562 100644 --- a/api/ext/GL_SGIS_texture_filter4.ts +++ b/api/ext/GL_SGIS_texture_filter4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glGetTexFilterFuncSGIS = { result: "void", } as const; -let fn_glGetTexFilterFuncSGIS!: Deno.UnsafeFnPointer; +let fn_glGetTexFilterFuncSGIS!: Deno.UnsafeFnPointer< + typeof def_glGetTexFilterFuncSGIS +>; export function GetTexFilterFuncSGIS( target: GLenum, @@ -89,7 +99,9 @@ export const def_glTexFilterFuncSGIS = { result: "void", } as const; -let fn_glTexFilterFuncSGIS!: Deno.UnsafeFnPointer; +let fn_glTexFilterFuncSGIS!: Deno.UnsafeFnPointer< + typeof def_glTexFilterFuncSGIS +>; export function TexFilterFuncSGIS( target: GLenum, @@ -107,6 +119,12 @@ export function TexFilterFuncSGIS( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetTexFilterFuncSGIS = new Deno.UnsafeFnPointer(proc("glGetTexFilterFuncSGIS"), def_glGetTexFilterFuncSGIS); - fn_glTexFilterFuncSGIS = new Deno.UnsafeFnPointer(proc("glTexFilterFuncSGIS"), def_glTexFilterFuncSGIS); + fn_glGetTexFilterFuncSGIS = new Deno.UnsafeFnPointer( + proc("glGetTexFilterFuncSGIS"), + def_glGetTexFilterFuncSGIS, + ); + fn_glTexFilterFuncSGIS = new Deno.UnsafeFnPointer( + proc("glTexFilterFuncSGIS"), + def_glTexFilterFuncSGIS, + ); } diff --git a/api/ext/GL_SGIS_texture_lod.ts b/api/ext/GL_SGIS_texture_lod.ts index ea2601f..8ff68da 100644 --- a/api/ext/GL_SGIS_texture_lod.ts +++ b/api/ext/GL_SGIS_texture_lod.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIS_texture_select.ts b/api/ext/GL_SGIS_texture_select.ts index 1affdfd..247d0f6 100644 --- a/api/ext/GL_SGIS_texture_select.ts +++ b/api/ext/GL_SGIS_texture_select.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_async.ts b/api/ext/GL_SGIX_async.ts index ac902ee..d5403dc 100644 --- a/api/ext/GL_SGIX_async.ts +++ b/api/ext/GL_SGIX_async.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -114,7 +122,9 @@ export const def_glGenAsyncMarkersSGIX = { result: "u32", } as const; -let fn_glGenAsyncMarkersSGIX!: Deno.UnsafeFnPointer; +let fn_glGenAsyncMarkersSGIX!: Deno.UnsafeFnPointer< + typeof def_glGenAsyncMarkersSGIX +>; export function GenAsyncMarkersSGIX( range: GLsizei, @@ -129,7 +139,9 @@ export const def_glDeleteAsyncMarkersSGIX = { result: "void", } as const; -let fn_glDeleteAsyncMarkersSGIX!: Deno.UnsafeFnPointer; +let fn_glDeleteAsyncMarkersSGIX!: Deno.UnsafeFnPointer< + typeof def_glDeleteAsyncMarkersSGIX +>; export function DeleteAsyncMarkersSGIX( marker: GLuint, @@ -146,7 +158,9 @@ export const def_glIsAsyncMarkerSGIX = { result: "u8", } as const; -let fn_glIsAsyncMarkerSGIX!: Deno.UnsafeFnPointer; +let fn_glIsAsyncMarkerSGIX!: Deno.UnsafeFnPointer< + typeof def_glIsAsyncMarkerSGIX +>; export function IsAsyncMarkerSGIX( marker: GLuint, @@ -158,10 +172,28 @@ export function IsAsyncMarkerSGIX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glAsyncMarkerSGIX = new Deno.UnsafeFnPointer(proc("glAsyncMarkerSGIX"), def_glAsyncMarkerSGIX); - fn_glFinishAsyncSGIX = new Deno.UnsafeFnPointer(proc("glFinishAsyncSGIX"), def_glFinishAsyncSGIX); - fn_glPollAsyncSGIX = new Deno.UnsafeFnPointer(proc("glPollAsyncSGIX"), def_glPollAsyncSGIX); - fn_glGenAsyncMarkersSGIX = new Deno.UnsafeFnPointer(proc("glGenAsyncMarkersSGIX"), def_glGenAsyncMarkersSGIX); - fn_glDeleteAsyncMarkersSGIX = new Deno.UnsafeFnPointer(proc("glDeleteAsyncMarkersSGIX"), def_glDeleteAsyncMarkersSGIX); - fn_glIsAsyncMarkerSGIX = new Deno.UnsafeFnPointer(proc("glIsAsyncMarkerSGIX"), def_glIsAsyncMarkerSGIX); + fn_glAsyncMarkerSGIX = new Deno.UnsafeFnPointer( + proc("glAsyncMarkerSGIX"), + def_glAsyncMarkerSGIX, + ); + fn_glFinishAsyncSGIX = new Deno.UnsafeFnPointer( + proc("glFinishAsyncSGIX"), + def_glFinishAsyncSGIX, + ); + fn_glPollAsyncSGIX = new Deno.UnsafeFnPointer( + proc("glPollAsyncSGIX"), + def_glPollAsyncSGIX, + ); + fn_glGenAsyncMarkersSGIX = new Deno.UnsafeFnPointer( + proc("glGenAsyncMarkersSGIX"), + def_glGenAsyncMarkersSGIX, + ); + fn_glDeleteAsyncMarkersSGIX = new Deno.UnsafeFnPointer( + proc("glDeleteAsyncMarkersSGIX"), + def_glDeleteAsyncMarkersSGIX, + ); + fn_glIsAsyncMarkerSGIX = new Deno.UnsafeFnPointer( + proc("glIsAsyncMarkerSGIX"), + def_glIsAsyncMarkerSGIX, + ); } diff --git a/api/ext/GL_SGIX_async_histogram.ts b/api/ext/GL_SGIX_async_histogram.ts index a3adb12..79e7049 100644 --- a/api/ext/GL_SGIX_async_histogram.ts +++ b/api/ext/GL_SGIX_async_histogram.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_async_pixel.ts b/api/ext/GL_SGIX_async_pixel.ts index 939be00..1b044e6 100644 --- a/api/ext/GL_SGIX_async_pixel.ts +++ b/api/ext/GL_SGIX_async_pixel.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_blend_alpha_minmax.ts b/api/ext/GL_SGIX_blend_alpha_minmax.ts index bd575c7..06dac39 100644 --- a/api/ext/GL_SGIX_blend_alpha_minmax.ts +++ b/api/ext/GL_SGIX_blend_alpha_minmax.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_calligraphic_fragment.ts b/api/ext/GL_SGIX_calligraphic_fragment.ts index 215c881..6c7d0a0 100644 --- a/api/ext/GL_SGIX_calligraphic_fragment.ts +++ b/api/ext/GL_SGIX_calligraphic_fragment.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_clipmap.ts b/api/ext/GL_SGIX_clipmap.ts index 63ca9d9..384e206 100644 --- a/api/ext/GL_SGIX_clipmap.ts +++ b/api/ext/GL_SGIX_clipmap.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_convolution_accuracy.ts b/api/ext/GL_SGIX_convolution_accuracy.ts index b339d3a..5cba29a 100644 --- a/api/ext/GL_SGIX_convolution_accuracy.ts +++ b/api/ext/GL_SGIX_convolution_accuracy.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_depth_pass_instrument.ts b/api/ext/GL_SGIX_depth_pass_instrument.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_SGIX_depth_pass_instrument.ts +++ b/api/ext/GL_SGIX_depth_pass_instrument.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_depth_texture.ts b/api/ext/GL_SGIX_depth_texture.ts index 39b334b..3e0aa38 100644 --- a/api/ext/GL_SGIX_depth_texture.ts +++ b/api/ext/GL_SGIX_depth_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_flush_raster.ts b/api/ext/GL_SGIX_flush_raster.ts index d349836..5550e4e 100644 --- a/api/ext/GL_SGIX_flush_raster.ts +++ b/api/ext/GL_SGIX_flush_raster.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -74,5 +82,8 @@ export function FlushRasterSGIX(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFlushRasterSGIX = new Deno.UnsafeFnPointer(proc("glFlushRasterSGIX"), def_glFlushRasterSGIX); + fn_glFlushRasterSGIX = new Deno.UnsafeFnPointer( + proc("glFlushRasterSGIX"), + def_glFlushRasterSGIX, + ); } diff --git a/api/ext/GL_SGIX_fog_offset.ts b/api/ext/GL_SGIX_fog_offset.ts index d2785ef..a82dc40 100644 --- a/api/ext/GL_SGIX_fog_offset.ts +++ b/api/ext/GL_SGIX_fog_offset.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_fragment_lighting.ts b/api/ext/GL_SGIX_fragment_lighting.ts index e16b49f..fab9fe2 100644 --- a/api/ext/GL_SGIX_fragment_lighting.ts +++ b/api/ext/GL_SGIX_fragment_lighting.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -88,7 +96,9 @@ export const def_glFragmentColorMaterialSGIX = { result: "void", } as const; -let fn_glFragmentColorMaterialSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentColorMaterialSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentColorMaterialSGIX +>; export function FragmentColorMaterialSGIX( face: GLenum, @@ -105,7 +115,9 @@ export const def_glFragmentLightfSGIX = { result: "void", } as const; -let fn_glFragmentLightfSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentLightfSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentLightfSGIX +>; export function FragmentLightfSGIX( light: GLenum, @@ -124,7 +136,9 @@ export const def_glFragmentLightfvSGIX = { result: "void", } as const; -let fn_glFragmentLightfvSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentLightfvSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentLightfvSGIX +>; export function FragmentLightfvSGIX( light: GLenum, @@ -143,7 +157,9 @@ export const def_glFragmentLightiSGIX = { result: "void", } as const; -let fn_glFragmentLightiSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentLightiSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentLightiSGIX +>; export function FragmentLightiSGIX( light: GLenum, @@ -162,7 +178,9 @@ export const def_glFragmentLightivSGIX = { result: "void", } as const; -let fn_glFragmentLightivSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentLightivSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentLightivSGIX +>; export function FragmentLightivSGIX( light: GLenum, @@ -181,7 +199,9 @@ export const def_glFragmentLightModelfSGIX = { result: "void", } as const; -let fn_glFragmentLightModelfSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentLightModelfSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentLightModelfSGIX +>; export function FragmentLightModelfSGIX( pname: GLenum, @@ -198,7 +218,9 @@ export const def_glFragmentLightModelfvSGIX = { result: "void", } as const; -let fn_glFragmentLightModelfvSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentLightModelfvSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentLightModelfvSGIX +>; export function FragmentLightModelfvSGIX( pname: GLenum, @@ -215,7 +237,9 @@ export const def_glFragmentLightModeliSGIX = { result: "void", } as const; -let fn_glFragmentLightModeliSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentLightModeliSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentLightModeliSGIX +>; export function FragmentLightModeliSGIX( pname: GLenum, @@ -232,7 +256,9 @@ export const def_glFragmentLightModelivSGIX = { result: "void", } as const; -let fn_glFragmentLightModelivSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentLightModelivSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentLightModelivSGIX +>; export function FragmentLightModelivSGIX( pname: GLenum, @@ -249,7 +275,9 @@ export const def_glFragmentMaterialfSGIX = { result: "void", } as const; -let fn_glFragmentMaterialfSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentMaterialfSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentMaterialfSGIX +>; export function FragmentMaterialfSGIX( face: GLenum, @@ -268,7 +296,9 @@ export const def_glFragmentMaterialfvSGIX = { result: "void", } as const; -let fn_glFragmentMaterialfvSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentMaterialfvSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentMaterialfvSGIX +>; export function FragmentMaterialfvSGIX( face: GLenum, @@ -287,7 +317,9 @@ export const def_glFragmentMaterialiSGIX = { result: "void", } as const; -let fn_glFragmentMaterialiSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentMaterialiSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentMaterialiSGIX +>; export function FragmentMaterialiSGIX( face: GLenum, @@ -306,7 +338,9 @@ export const def_glFragmentMaterialivSGIX = { result: "void", } as const; -let fn_glFragmentMaterialivSGIX!: Deno.UnsafeFnPointer; +let fn_glFragmentMaterialivSGIX!: Deno.UnsafeFnPointer< + typeof def_glFragmentMaterialivSGIX +>; export function FragmentMaterialivSGIX( face: GLenum, @@ -325,7 +359,9 @@ export const def_glGetFragmentLightfvSGIX = { result: "void", } as const; -let fn_glGetFragmentLightfvSGIX!: Deno.UnsafeFnPointer; +let fn_glGetFragmentLightfvSGIX!: Deno.UnsafeFnPointer< + typeof def_glGetFragmentLightfvSGIX +>; export function GetFragmentLightfvSGIX( light: GLenum, @@ -344,7 +380,9 @@ export const def_glGetFragmentLightivSGIX = { result: "void", } as const; -let fn_glGetFragmentLightivSGIX!: Deno.UnsafeFnPointer; +let fn_glGetFragmentLightivSGIX!: Deno.UnsafeFnPointer< + typeof def_glGetFragmentLightivSGIX +>; export function GetFragmentLightivSGIX( light: GLenum, @@ -363,7 +401,9 @@ export const def_glGetFragmentMaterialfvSGIX = { result: "void", } as const; -let fn_glGetFragmentMaterialfvSGIX!: Deno.UnsafeFnPointer; +let fn_glGetFragmentMaterialfvSGIX!: Deno.UnsafeFnPointer< + typeof def_glGetFragmentMaterialfvSGIX +>; export function GetFragmentMaterialfvSGIX( face: GLenum, @@ -382,7 +422,9 @@ export const def_glGetFragmentMaterialivSGIX = { result: "void", } as const; -let fn_glGetFragmentMaterialivSGIX!: Deno.UnsafeFnPointer; +let fn_glGetFragmentMaterialivSGIX!: Deno.UnsafeFnPointer< + typeof def_glGetFragmentMaterialivSGIX +>; export function GetFragmentMaterialivSGIX( face: GLenum, @@ -415,22 +457,76 @@ export function LightEnviSGIX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFragmentColorMaterialSGIX = new Deno.UnsafeFnPointer(proc("glFragmentColorMaterialSGIX"), def_glFragmentColorMaterialSGIX); - fn_glFragmentLightfSGIX = new Deno.UnsafeFnPointer(proc("glFragmentLightfSGIX"), def_glFragmentLightfSGIX); - fn_glFragmentLightfvSGIX = new Deno.UnsafeFnPointer(proc("glFragmentLightfvSGIX"), def_glFragmentLightfvSGIX); - fn_glFragmentLightiSGIX = new Deno.UnsafeFnPointer(proc("glFragmentLightiSGIX"), def_glFragmentLightiSGIX); - fn_glFragmentLightivSGIX = new Deno.UnsafeFnPointer(proc("glFragmentLightivSGIX"), def_glFragmentLightivSGIX); - fn_glFragmentLightModelfSGIX = new Deno.UnsafeFnPointer(proc("glFragmentLightModelfSGIX"), def_glFragmentLightModelfSGIX); - fn_glFragmentLightModelfvSGIX = new Deno.UnsafeFnPointer(proc("glFragmentLightModelfvSGIX"), def_glFragmentLightModelfvSGIX); - fn_glFragmentLightModeliSGIX = new Deno.UnsafeFnPointer(proc("glFragmentLightModeliSGIX"), def_glFragmentLightModeliSGIX); - fn_glFragmentLightModelivSGIX = new Deno.UnsafeFnPointer(proc("glFragmentLightModelivSGIX"), def_glFragmentLightModelivSGIX); - fn_glFragmentMaterialfSGIX = new Deno.UnsafeFnPointer(proc("glFragmentMaterialfSGIX"), def_glFragmentMaterialfSGIX); - fn_glFragmentMaterialfvSGIX = new Deno.UnsafeFnPointer(proc("glFragmentMaterialfvSGIX"), def_glFragmentMaterialfvSGIX); - fn_glFragmentMaterialiSGIX = new Deno.UnsafeFnPointer(proc("glFragmentMaterialiSGIX"), def_glFragmentMaterialiSGIX); - fn_glFragmentMaterialivSGIX = new Deno.UnsafeFnPointer(proc("glFragmentMaterialivSGIX"), def_glFragmentMaterialivSGIX); - fn_glGetFragmentLightfvSGIX = new Deno.UnsafeFnPointer(proc("glGetFragmentLightfvSGIX"), def_glGetFragmentLightfvSGIX); - fn_glGetFragmentLightivSGIX = new Deno.UnsafeFnPointer(proc("glGetFragmentLightivSGIX"), def_glGetFragmentLightivSGIX); - fn_glGetFragmentMaterialfvSGIX = new Deno.UnsafeFnPointer(proc("glGetFragmentMaterialfvSGIX"), def_glGetFragmentMaterialfvSGIX); - fn_glGetFragmentMaterialivSGIX = new Deno.UnsafeFnPointer(proc("glGetFragmentMaterialivSGIX"), def_glGetFragmentMaterialivSGIX); - fn_glLightEnviSGIX = new Deno.UnsafeFnPointer(proc("glLightEnviSGIX"), def_glLightEnviSGIX); + fn_glFragmentColorMaterialSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentColorMaterialSGIX"), + def_glFragmentColorMaterialSGIX, + ); + fn_glFragmentLightfSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentLightfSGIX"), + def_glFragmentLightfSGIX, + ); + fn_glFragmentLightfvSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentLightfvSGIX"), + def_glFragmentLightfvSGIX, + ); + fn_glFragmentLightiSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentLightiSGIX"), + def_glFragmentLightiSGIX, + ); + fn_glFragmentLightivSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentLightivSGIX"), + def_glFragmentLightivSGIX, + ); + fn_glFragmentLightModelfSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentLightModelfSGIX"), + def_glFragmentLightModelfSGIX, + ); + fn_glFragmentLightModelfvSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentLightModelfvSGIX"), + def_glFragmentLightModelfvSGIX, + ); + fn_glFragmentLightModeliSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentLightModeliSGIX"), + def_glFragmentLightModeliSGIX, + ); + fn_glFragmentLightModelivSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentLightModelivSGIX"), + def_glFragmentLightModelivSGIX, + ); + fn_glFragmentMaterialfSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentMaterialfSGIX"), + def_glFragmentMaterialfSGIX, + ); + fn_glFragmentMaterialfvSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentMaterialfvSGIX"), + def_glFragmentMaterialfvSGIX, + ); + fn_glFragmentMaterialiSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentMaterialiSGIX"), + def_glFragmentMaterialiSGIX, + ); + fn_glFragmentMaterialivSGIX = new Deno.UnsafeFnPointer( + proc("glFragmentMaterialivSGIX"), + def_glFragmentMaterialivSGIX, + ); + fn_glGetFragmentLightfvSGIX = new Deno.UnsafeFnPointer( + proc("glGetFragmentLightfvSGIX"), + def_glGetFragmentLightfvSGIX, + ); + fn_glGetFragmentLightivSGIX = new Deno.UnsafeFnPointer( + proc("glGetFragmentLightivSGIX"), + def_glGetFragmentLightivSGIX, + ); + fn_glGetFragmentMaterialfvSGIX = new Deno.UnsafeFnPointer( + proc("glGetFragmentMaterialfvSGIX"), + def_glGetFragmentMaterialfvSGIX, + ); + fn_glGetFragmentMaterialivSGIX = new Deno.UnsafeFnPointer( + proc("glGetFragmentMaterialivSGIX"), + def_glGetFragmentMaterialivSGIX, + ); + fn_glLightEnviSGIX = new Deno.UnsafeFnPointer( + proc("glLightEnviSGIX"), + def_glLightEnviSGIX, + ); } diff --git a/api/ext/GL_SGIX_framezoom.ts b/api/ext/GL_SGIX_framezoom.ts index 812044b..cd5dc23 100644 --- a/api/ext/GL_SGIX_framezoom.ts +++ b/api/ext/GL_SGIX_framezoom.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -83,5 +91,8 @@ export function FrameZoomSGIX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFrameZoomSGIX = new Deno.UnsafeFnPointer(proc("glFrameZoomSGIX"), def_glFrameZoomSGIX); + fn_glFrameZoomSGIX = new Deno.UnsafeFnPointer( + proc("glFrameZoomSGIX"), + def_glFrameZoomSGIX, + ); } diff --git a/api/ext/GL_SGIX_igloo_interface.ts b/api/ext/GL_SGIX_igloo_interface.ts index acfe650..f18374b 100644 --- a/api/ext/GL_SGIX_igloo_interface.ts +++ b/api/ext/GL_SGIX_igloo_interface.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glIglooInterfaceSGIX = { result: "void", } as const; -let fn_glIglooInterfaceSGIX!: Deno.UnsafeFnPointer; +let fn_glIglooInterfaceSGIX!: Deno.UnsafeFnPointer< + typeof def_glIglooInterfaceSGIX +>; export function IglooInterfaceSGIX( pname: GLenum, @@ -80,5 +90,8 @@ export function IglooInterfaceSGIX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glIglooInterfaceSGIX = new Deno.UnsafeFnPointer(proc("glIglooInterfaceSGIX"), def_glIglooInterfaceSGIX); + fn_glIglooInterfaceSGIX = new Deno.UnsafeFnPointer( + proc("glIglooInterfaceSGIX"), + def_glIglooInterfaceSGIX, + ); } diff --git a/api/ext/GL_SGIX_instruments.ts b/api/ext/GL_SGIX_instruments.ts index 14591c4..2224fdf 100644 --- a/api/ext/GL_SGIX_instruments.ts +++ b/api/ext/GL_SGIX_instruments.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glGetInstrumentsSGIX = { result: "i32", } as const; -let fn_glGetInstrumentsSGIX!: Deno.UnsafeFnPointer; +let fn_glGetInstrumentsSGIX!: Deno.UnsafeFnPointer< + typeof def_glGetInstrumentsSGIX +>; export function GetInstrumentsSGIX(): GLint { return fn_glGetInstrumentsSGIX.call(); @@ -81,7 +91,9 @@ export const def_glInstrumentsBufferSGIX = { result: "void", } as const; -let fn_glInstrumentsBufferSGIX!: Deno.UnsafeFnPointer; +let fn_glInstrumentsBufferSGIX!: Deno.UnsafeFnPointer< + typeof def_glInstrumentsBufferSGIX +>; export function InstrumentsBufferSGIX( size: GLsizei, @@ -98,7 +110,9 @@ export const def_glPollInstrumentsSGIX = { result: "i32", } as const; -let fn_glPollInstrumentsSGIX!: Deno.UnsafeFnPointer; +let fn_glPollInstrumentsSGIX!: Deno.UnsafeFnPointer< + typeof def_glPollInstrumentsSGIX +>; export function PollInstrumentsSGIX( marker_p: Buffer, @@ -113,7 +127,9 @@ export const def_glReadInstrumentsSGIX = { result: "void", } as const; -let fn_glReadInstrumentsSGIX!: Deno.UnsafeFnPointer; +let fn_glReadInstrumentsSGIX!: Deno.UnsafeFnPointer< + typeof def_glReadInstrumentsSGIX +>; export function ReadInstrumentsSGIX( marker: GLint, @@ -128,7 +144,9 @@ export const def_glStartInstrumentsSGIX = { result: "void", } as const; -let fn_glStartInstrumentsSGIX!: Deno.UnsafeFnPointer; +let fn_glStartInstrumentsSGIX!: Deno.UnsafeFnPointer< + typeof def_glStartInstrumentsSGIX +>; export function StartInstrumentsSGIX(): void { fn_glStartInstrumentsSGIX.call(); @@ -139,7 +157,9 @@ export const def_glStopInstrumentsSGIX = { result: "void", } as const; -let fn_glStopInstrumentsSGIX!: Deno.UnsafeFnPointer; +let fn_glStopInstrumentsSGIX!: Deno.UnsafeFnPointer< + typeof def_glStopInstrumentsSGIX +>; export function StopInstrumentsSGIX( marker: GLint, @@ -151,10 +171,28 @@ export function StopInstrumentsSGIX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetInstrumentsSGIX = new Deno.UnsafeFnPointer(proc("glGetInstrumentsSGIX"), def_glGetInstrumentsSGIX); - fn_glInstrumentsBufferSGIX = new Deno.UnsafeFnPointer(proc("glInstrumentsBufferSGIX"), def_glInstrumentsBufferSGIX); - fn_glPollInstrumentsSGIX = new Deno.UnsafeFnPointer(proc("glPollInstrumentsSGIX"), def_glPollInstrumentsSGIX); - fn_glReadInstrumentsSGIX = new Deno.UnsafeFnPointer(proc("glReadInstrumentsSGIX"), def_glReadInstrumentsSGIX); - fn_glStartInstrumentsSGIX = new Deno.UnsafeFnPointer(proc("glStartInstrumentsSGIX"), def_glStartInstrumentsSGIX); - fn_glStopInstrumentsSGIX = new Deno.UnsafeFnPointer(proc("glStopInstrumentsSGIX"), def_glStopInstrumentsSGIX); + fn_glGetInstrumentsSGIX = new Deno.UnsafeFnPointer( + proc("glGetInstrumentsSGIX"), + def_glGetInstrumentsSGIX, + ); + fn_glInstrumentsBufferSGIX = new Deno.UnsafeFnPointer( + proc("glInstrumentsBufferSGIX"), + def_glInstrumentsBufferSGIX, + ); + fn_glPollInstrumentsSGIX = new Deno.UnsafeFnPointer( + proc("glPollInstrumentsSGIX"), + def_glPollInstrumentsSGIX, + ); + fn_glReadInstrumentsSGIX = new Deno.UnsafeFnPointer( + proc("glReadInstrumentsSGIX"), + def_glReadInstrumentsSGIX, + ); + fn_glStartInstrumentsSGIX = new Deno.UnsafeFnPointer( + proc("glStartInstrumentsSGIX"), + def_glStartInstrumentsSGIX, + ); + fn_glStopInstrumentsSGIX = new Deno.UnsafeFnPointer( + proc("glStopInstrumentsSGIX"), + def_glStopInstrumentsSGIX, + ); } diff --git a/api/ext/GL_SGIX_interlace.ts b/api/ext/GL_SGIX_interlace.ts index f4ad1b7..6edc6bf 100644 --- a/api/ext/GL_SGIX_interlace.ts +++ b/api/ext/GL_SGIX_interlace.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_ir_instrument1.ts b/api/ext/GL_SGIX_ir_instrument1.ts index 4cb77cb..06fe12f 100644 --- a/api/ext/GL_SGIX_ir_instrument1.ts +++ b/api/ext/GL_SGIX_ir_instrument1.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_list_priority.ts b/api/ext/GL_SGIX_list_priority.ts index 5acabd4..03a0d89 100644 --- a/api/ext/GL_SGIX_list_priority.ts +++ b/api/ext/GL_SGIX_list_priority.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -69,7 +77,9 @@ export const def_glGetListParameterfvSGIX = { result: "void", } as const; -let fn_glGetListParameterfvSGIX!: Deno.UnsafeFnPointer; +let fn_glGetListParameterfvSGIX!: Deno.UnsafeFnPointer< + typeof def_glGetListParameterfvSGIX +>; export function GetListParameterfvSGIX( list: GLuint, @@ -88,7 +98,9 @@ export const def_glGetListParameterivSGIX = { result: "void", } as const; -let fn_glGetListParameterivSGIX!: Deno.UnsafeFnPointer; +let fn_glGetListParameterivSGIX!: Deno.UnsafeFnPointer< + typeof def_glGetListParameterivSGIX +>; export function GetListParameterivSGIX( list: GLuint, @@ -107,7 +119,9 @@ export const def_glListParameterfSGIX = { result: "void", } as const; -let fn_glListParameterfSGIX!: Deno.UnsafeFnPointer; +let fn_glListParameterfSGIX!: Deno.UnsafeFnPointer< + typeof def_glListParameterfSGIX +>; export function ListParameterfSGIX( list: GLuint, @@ -126,7 +140,9 @@ export const def_glListParameterfvSGIX = { result: "void", } as const; -let fn_glListParameterfvSGIX!: Deno.UnsafeFnPointer; +let fn_glListParameterfvSGIX!: Deno.UnsafeFnPointer< + typeof def_glListParameterfvSGIX +>; export function ListParameterfvSGIX( list: GLuint, @@ -145,7 +161,9 @@ export const def_glListParameteriSGIX = { result: "void", } as const; -let fn_glListParameteriSGIX!: Deno.UnsafeFnPointer; +let fn_glListParameteriSGIX!: Deno.UnsafeFnPointer< + typeof def_glListParameteriSGIX +>; export function ListParameteriSGIX( list: GLuint, @@ -164,7 +182,9 @@ export const def_glListParameterivSGIX = { result: "void", } as const; -let fn_glListParameterivSGIX!: Deno.UnsafeFnPointer; +let fn_glListParameterivSGIX!: Deno.UnsafeFnPointer< + typeof def_glListParameterivSGIX +>; export function ListParameterivSGIX( list: GLuint, @@ -180,10 +200,28 @@ export function ListParameterivSGIX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGetListParameterfvSGIX = new Deno.UnsafeFnPointer(proc("glGetListParameterfvSGIX"), def_glGetListParameterfvSGIX); - fn_glGetListParameterivSGIX = new Deno.UnsafeFnPointer(proc("glGetListParameterivSGIX"), def_glGetListParameterivSGIX); - fn_glListParameterfSGIX = new Deno.UnsafeFnPointer(proc("glListParameterfSGIX"), def_glListParameterfSGIX); - fn_glListParameterfvSGIX = new Deno.UnsafeFnPointer(proc("glListParameterfvSGIX"), def_glListParameterfvSGIX); - fn_glListParameteriSGIX = new Deno.UnsafeFnPointer(proc("glListParameteriSGIX"), def_glListParameteriSGIX); - fn_glListParameterivSGIX = new Deno.UnsafeFnPointer(proc("glListParameterivSGIX"), def_glListParameterivSGIX); + fn_glGetListParameterfvSGIX = new Deno.UnsafeFnPointer( + proc("glGetListParameterfvSGIX"), + def_glGetListParameterfvSGIX, + ); + fn_glGetListParameterivSGIX = new Deno.UnsafeFnPointer( + proc("glGetListParameterivSGIX"), + def_glGetListParameterivSGIX, + ); + fn_glListParameterfSGIX = new Deno.UnsafeFnPointer( + proc("glListParameterfSGIX"), + def_glListParameterfSGIX, + ); + fn_glListParameterfvSGIX = new Deno.UnsafeFnPointer( + proc("glListParameterfvSGIX"), + def_glListParameterfvSGIX, + ); + fn_glListParameteriSGIX = new Deno.UnsafeFnPointer( + proc("glListParameteriSGIX"), + def_glListParameteriSGIX, + ); + fn_glListParameterivSGIX = new Deno.UnsafeFnPointer( + proc("glListParameterivSGIX"), + def_glListParameterivSGIX, + ); } diff --git a/api/ext/GL_SGIX_pixel_texture.ts b/api/ext/GL_SGIX_pixel_texture.ts index 66a85dd..3ccc156 100644 --- a/api/ext/GL_SGIX_pixel_texture.ts +++ b/api/ext/GL_SGIX_pixel_texture.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -82,5 +90,8 @@ export function PixelTexGenSGIX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glPixelTexGenSGIX = new Deno.UnsafeFnPointer(proc("glPixelTexGenSGIX"), def_glPixelTexGenSGIX); + fn_glPixelTexGenSGIX = new Deno.UnsafeFnPointer( + proc("glPixelTexGenSGIX"), + def_glPixelTexGenSGIX, + ); } diff --git a/api/ext/GL_SGIX_pixel_tiles.ts b/api/ext/GL_SGIX_pixel_tiles.ts index 3051743..1812f25 100644 --- a/api/ext/GL_SGIX_pixel_tiles.ts +++ b/api/ext/GL_SGIX_pixel_tiles.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_polynomial_ffd.ts b/api/ext/GL_SGIX_polynomial_ffd.ts index 83e6aa8..b917fef 100644 --- a/api/ext/GL_SGIX_polynomial_ffd.ts +++ b/api/ext/GL_SGIX_polynomial_ffd.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,11 +78,28 @@ export const MAX_DEFORMATION_ORDER_SGIX = 0x8197; /// Commands export const def_glDeformationMap3dSGIX = { - parameters: ["u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glDeformationMap3dSGIX!: Deno.UnsafeFnPointer; +let fn_glDeformationMap3dSGIX!: Deno.UnsafeFnPointer< + typeof def_glDeformationMap3dSGIX +>; export function DeformationMap3dSGIX( target: GLenum, @@ -111,11 +136,28 @@ export function DeformationMap3dSGIX( } export const def_glDeformationMap3fSGIX = { - parameters: ["u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glDeformationMap3fSGIX!: Deno.UnsafeFnPointer; +let fn_glDeformationMap3fSGIX!: Deno.UnsafeFnPointer< + typeof def_glDeformationMap3fSGIX +>; export function DeformationMap3fSGIX( target: GLenum, @@ -171,7 +213,9 @@ export const def_glLoadIdentityDeformationMapSGIX = { result: "void", } as const; -let fn_glLoadIdentityDeformationMapSGIX!: Deno.UnsafeFnPointer; +let fn_glLoadIdentityDeformationMapSGIX!: Deno.UnsafeFnPointer< + typeof def_glLoadIdentityDeformationMapSGIX +>; export function LoadIdentityDeformationMapSGIX( mask: GLbitfield, @@ -183,8 +227,20 @@ export function LoadIdentityDeformationMapSGIX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDeformationMap3dSGIX = new Deno.UnsafeFnPointer(proc("glDeformationMap3dSGIX"), def_glDeformationMap3dSGIX); - fn_glDeformationMap3fSGIX = new Deno.UnsafeFnPointer(proc("glDeformationMap3fSGIX"), def_glDeformationMap3fSGIX); - fn_glDeformSGIX = new Deno.UnsafeFnPointer(proc("glDeformSGIX"), def_glDeformSGIX); - fn_glLoadIdentityDeformationMapSGIX = new Deno.UnsafeFnPointer(proc("glLoadIdentityDeformationMapSGIX"), def_glLoadIdentityDeformationMapSGIX); + fn_glDeformationMap3dSGIX = new Deno.UnsafeFnPointer( + proc("glDeformationMap3dSGIX"), + def_glDeformationMap3dSGIX, + ); + fn_glDeformationMap3fSGIX = new Deno.UnsafeFnPointer( + proc("glDeformationMap3fSGIX"), + def_glDeformationMap3fSGIX, + ); + fn_glDeformSGIX = new Deno.UnsafeFnPointer( + proc("glDeformSGIX"), + def_glDeformSGIX, + ); + fn_glLoadIdentityDeformationMapSGIX = new Deno.UnsafeFnPointer( + proc("glLoadIdentityDeformationMapSGIX"), + def_glLoadIdentityDeformationMapSGIX, + ); } diff --git a/api/ext/GL_SGIX_reference_plane.ts b/api/ext/GL_SGIX_reference_plane.ts index cc82e92..5c7f936 100644 --- a/api/ext/GL_SGIX_reference_plane.ts +++ b/api/ext/GL_SGIX_reference_plane.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glReferencePlaneSGIX = { result: "void", } as const; -let fn_glReferencePlaneSGIX!: Deno.UnsafeFnPointer; +let fn_glReferencePlaneSGIX!: Deno.UnsafeFnPointer< + typeof def_glReferencePlaneSGIX +>; export function ReferencePlaneSGIX( equation: Buffer, @@ -82,5 +92,8 @@ export function ReferencePlaneSGIX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glReferencePlaneSGIX = new Deno.UnsafeFnPointer(proc("glReferencePlaneSGIX"), def_glReferencePlaneSGIX); + fn_glReferencePlaneSGIX = new Deno.UnsafeFnPointer( + proc("glReferencePlaneSGIX"), + def_glReferencePlaneSGIX, + ); } diff --git a/api/ext/GL_SGIX_resample.ts b/api/ext/GL_SGIX_resample.ts index 9d1914b..e0bfff8 100644 --- a/api/ext/GL_SGIX_resample.ts +++ b/api/ext/GL_SGIX_resample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_scalebias_hint.ts b/api/ext/GL_SGIX_scalebias_hint.ts index 25427b7..4ee3588 100644 --- a/api/ext/GL_SGIX_scalebias_hint.ts +++ b/api/ext/GL_SGIX_scalebias_hint.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_shadow.ts b/api/ext/GL_SGIX_shadow.ts index 7e332e6..c6249d6 100644 --- a/api/ext/GL_SGIX_shadow.ts +++ b/api/ext/GL_SGIX_shadow.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_shadow_ambient.ts b/api/ext/GL_SGIX_shadow_ambient.ts index ead0640..7b5191a 100644 --- a/api/ext/GL_SGIX_shadow_ambient.ts +++ b/api/ext/GL_SGIX_shadow_ambient.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_sprite.ts b/api/ext/GL_SGIX_sprite.ts index 7fc0117..0dffbfc 100644 --- a/api/ext/GL_SGIX_sprite.ts +++ b/api/ext/GL_SGIX_sprite.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -75,7 +83,9 @@ export const def_glSpriteParameterfSGIX = { result: "void", } as const; -let fn_glSpriteParameterfSGIX!: Deno.UnsafeFnPointer; +let fn_glSpriteParameterfSGIX!: Deno.UnsafeFnPointer< + typeof def_glSpriteParameterfSGIX +>; export function SpriteParameterfSGIX( pname: GLenum, @@ -92,7 +102,9 @@ export const def_glSpriteParameterfvSGIX = { result: "void", } as const; -let fn_glSpriteParameterfvSGIX!: Deno.UnsafeFnPointer; +let fn_glSpriteParameterfvSGIX!: Deno.UnsafeFnPointer< + typeof def_glSpriteParameterfvSGIX +>; export function SpriteParameterfvSGIX( pname: GLenum, @@ -109,7 +121,9 @@ export const def_glSpriteParameteriSGIX = { result: "void", } as const; -let fn_glSpriteParameteriSGIX!: Deno.UnsafeFnPointer; +let fn_glSpriteParameteriSGIX!: Deno.UnsafeFnPointer< + typeof def_glSpriteParameteriSGIX +>; export function SpriteParameteriSGIX( pname: GLenum, @@ -126,7 +140,9 @@ export const def_glSpriteParameterivSGIX = { result: "void", } as const; -let fn_glSpriteParameterivSGIX!: Deno.UnsafeFnPointer; +let fn_glSpriteParameterivSGIX!: Deno.UnsafeFnPointer< + typeof def_glSpriteParameterivSGIX +>; export function SpriteParameterivSGIX( pname: GLenum, @@ -140,8 +156,20 @@ export function SpriteParameterivSGIX( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glSpriteParameterfSGIX = new Deno.UnsafeFnPointer(proc("glSpriteParameterfSGIX"), def_glSpriteParameterfSGIX); - fn_glSpriteParameterfvSGIX = new Deno.UnsafeFnPointer(proc("glSpriteParameterfvSGIX"), def_glSpriteParameterfvSGIX); - fn_glSpriteParameteriSGIX = new Deno.UnsafeFnPointer(proc("glSpriteParameteriSGIX"), def_glSpriteParameteriSGIX); - fn_glSpriteParameterivSGIX = new Deno.UnsafeFnPointer(proc("glSpriteParameterivSGIX"), def_glSpriteParameterivSGIX); + fn_glSpriteParameterfSGIX = new Deno.UnsafeFnPointer( + proc("glSpriteParameterfSGIX"), + def_glSpriteParameterfSGIX, + ); + fn_glSpriteParameterfvSGIX = new Deno.UnsafeFnPointer( + proc("glSpriteParameterfvSGIX"), + def_glSpriteParameterfvSGIX, + ); + fn_glSpriteParameteriSGIX = new Deno.UnsafeFnPointer( + proc("glSpriteParameteriSGIX"), + def_glSpriteParameteriSGIX, + ); + fn_glSpriteParameterivSGIX = new Deno.UnsafeFnPointer( + proc("glSpriteParameterivSGIX"), + def_glSpriteParameterivSGIX, + ); } diff --git a/api/ext/GL_SGIX_subsample.ts b/api/ext/GL_SGIX_subsample.ts index 68869c1..35d4465 100644 --- a/api/ext/GL_SGIX_subsample.ts +++ b/api/ext/GL_SGIX_subsample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_tag_sample_buffer.ts b/api/ext/GL_SGIX_tag_sample_buffer.ts index 1743961..8d5a17d 100644 --- a/api/ext/GL_SGIX_tag_sample_buffer.ts +++ b/api/ext/GL_SGIX_tag_sample_buffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glTagSampleBufferSGIX = { result: "void", } as const; -let fn_glTagSampleBufferSGIX!: Deno.UnsafeFnPointer; +let fn_glTagSampleBufferSGIX!: Deno.UnsafeFnPointer< + typeof def_glTagSampleBufferSGIX +>; export function TagSampleBufferSGIX(): void { fn_glTagSampleBufferSGIX.call(); @@ -74,5 +84,8 @@ export function TagSampleBufferSGIX(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glTagSampleBufferSGIX = new Deno.UnsafeFnPointer(proc("glTagSampleBufferSGIX"), def_glTagSampleBufferSGIX); + fn_glTagSampleBufferSGIX = new Deno.UnsafeFnPointer( + proc("glTagSampleBufferSGIX"), + def_glTagSampleBufferSGIX, + ); } diff --git a/api/ext/GL_SGIX_texture_add_env.ts b/api/ext/GL_SGIX_texture_add_env.ts index 19e3881..714972c 100644 --- a/api/ext/GL_SGIX_texture_add_env.ts +++ b/api/ext/GL_SGIX_texture_add_env.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_texture_coordinate_clamp.ts b/api/ext/GL_SGIX_texture_coordinate_clamp.ts index bd79429..3c44837 100644 --- a/api/ext/GL_SGIX_texture_coordinate_clamp.ts +++ b/api/ext/GL_SGIX_texture_coordinate_clamp.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_texture_lod_bias.ts b/api/ext/GL_SGIX_texture_lod_bias.ts index 428c830..19d1463 100644 --- a/api/ext/GL_SGIX_texture_lod_bias.ts +++ b/api/ext/GL_SGIX_texture_lod_bias.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_texture_multi_buffer.ts b/api/ext/GL_SGIX_texture_multi_buffer.ts index 069c902..7533f10 100644 --- a/api/ext/GL_SGIX_texture_multi_buffer.ts +++ b/api/ext/GL_SGIX_texture_multi_buffer.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_texture_scale_bias.ts b/api/ext/GL_SGIX_texture_scale_bias.ts index 41fc954..895ef4c 100644 --- a/api/ext/GL_SGIX_texture_scale_bias.ts +++ b/api/ext/GL_SGIX_texture_scale_bias.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_vertex_preclip.ts b/api/ext/GL_SGIX_vertex_preclip.ts index 2dcc90f..9776360 100644 --- a/api/ext/GL_SGIX_vertex_preclip.ts +++ b/api/ext/GL_SGIX_vertex_preclip.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_ycrcb.ts b/api/ext/GL_SGIX_ycrcb.ts index 4dd5f6e..a35cbce 100644 --- a/api/ext/GL_SGIX_ycrcb.ts +++ b/api/ext/GL_SGIX_ycrcb.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_ycrcb_subsample.ts b/api/ext/GL_SGIX_ycrcb_subsample.ts index a9d1623..1ea7606 100644 --- a/api/ext/GL_SGIX_ycrcb_subsample.ts +++ b/api/ext/GL_SGIX_ycrcb_subsample.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGIX_ycrcba.ts b/api/ext/GL_SGIX_ycrcba.ts index 520cf82..02ed565 100644 --- a/api/ext/GL_SGIX_ycrcba.ts +++ b/api/ext/GL_SGIX_ycrcba.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGI_color_matrix.ts b/api/ext/GL_SGI_color_matrix.ts index f1d9222..c8f448b 100644 --- a/api/ext/GL_SGI_color_matrix.ts +++ b/api/ext/GL_SGI_color_matrix.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SGI_color_table.ts b/api/ext/GL_SGI_color_table.ts index 2e62c3f..b1d6d8e 100644 --- a/api/ext/GL_SGI_color_table.ts +++ b/api/ext/GL_SGI_color_table.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -109,7 +117,9 @@ export const def_glColorTableParameterfvSGI = { result: "void", } as const; -let fn_glColorTableParameterfvSGI!: Deno.UnsafeFnPointer; +let fn_glColorTableParameterfvSGI!: Deno.UnsafeFnPointer< + typeof def_glColorTableParameterfvSGI +>; export function ColorTableParameterfvSGI( target: GLenum, @@ -128,7 +138,9 @@ export const def_glColorTableParameterivSGI = { result: "void", } as const; -let fn_glColorTableParameterivSGI!: Deno.UnsafeFnPointer; +let fn_glColorTableParameterivSGI!: Deno.UnsafeFnPointer< + typeof def_glColorTableParameterivSGI +>; export function ColorTableParameterivSGI( target: GLenum, @@ -147,7 +159,9 @@ export const def_glCopyColorTableSGI = { result: "void", } as const; -let fn_glCopyColorTableSGI!: Deno.UnsafeFnPointer; +let fn_glCopyColorTableSGI!: Deno.UnsafeFnPointer< + typeof def_glCopyColorTableSGI +>; export function CopyColorTableSGI( target: GLenum, @@ -191,7 +205,9 @@ export const def_glGetColorTableParameterfvSGI = { result: "void", } as const; -let fn_glGetColorTableParameterfvSGI!: Deno.UnsafeFnPointer; +let fn_glGetColorTableParameterfvSGI!: Deno.UnsafeFnPointer< + typeof def_glGetColorTableParameterfvSGI +>; export function GetColorTableParameterfvSGI( target: GLenum, @@ -210,7 +226,9 @@ export const def_glGetColorTableParameterivSGI = { result: "void", } as const; -let fn_glGetColorTableParameterivSGI!: Deno.UnsafeFnPointer; +let fn_glGetColorTableParameterivSGI!: Deno.UnsafeFnPointer< + typeof def_glGetColorTableParameterivSGI +>; export function GetColorTableParameterivSGI( target: GLenum, @@ -226,11 +244,32 @@ export function GetColorTableParameterivSGI( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glColorTableSGI = new Deno.UnsafeFnPointer(proc("glColorTableSGI"), def_glColorTableSGI); - fn_glColorTableParameterfvSGI = new Deno.UnsafeFnPointer(proc("glColorTableParameterfvSGI"), def_glColorTableParameterfvSGI); - fn_glColorTableParameterivSGI = new Deno.UnsafeFnPointer(proc("glColorTableParameterivSGI"), def_glColorTableParameterivSGI); - fn_glCopyColorTableSGI = new Deno.UnsafeFnPointer(proc("glCopyColorTableSGI"), def_glCopyColorTableSGI); - fn_glGetColorTableSGI = new Deno.UnsafeFnPointer(proc("glGetColorTableSGI"), def_glGetColorTableSGI); - fn_glGetColorTableParameterfvSGI = new Deno.UnsafeFnPointer(proc("glGetColorTableParameterfvSGI"), def_glGetColorTableParameterfvSGI); - fn_glGetColorTableParameterivSGI = new Deno.UnsafeFnPointer(proc("glGetColorTableParameterivSGI"), def_glGetColorTableParameterivSGI); + fn_glColorTableSGI = new Deno.UnsafeFnPointer( + proc("glColorTableSGI"), + def_glColorTableSGI, + ); + fn_glColorTableParameterfvSGI = new Deno.UnsafeFnPointer( + proc("glColorTableParameterfvSGI"), + def_glColorTableParameterfvSGI, + ); + fn_glColorTableParameterivSGI = new Deno.UnsafeFnPointer( + proc("glColorTableParameterivSGI"), + def_glColorTableParameterivSGI, + ); + fn_glCopyColorTableSGI = new Deno.UnsafeFnPointer( + proc("glCopyColorTableSGI"), + def_glCopyColorTableSGI, + ); + fn_glGetColorTableSGI = new Deno.UnsafeFnPointer( + proc("glGetColorTableSGI"), + def_glGetColorTableSGI, + ); + fn_glGetColorTableParameterfvSGI = new Deno.UnsafeFnPointer( + proc("glGetColorTableParameterfvSGI"), + def_glGetColorTableParameterfvSGI, + ); + fn_glGetColorTableParameterivSGI = new Deno.UnsafeFnPointer( + proc("glGetColorTableParameterivSGI"), + def_glGetColorTableParameterivSGI, + ); } diff --git a/api/ext/GL_SGI_texture_color_table.ts b/api/ext/GL_SGI_texture_color_table.ts index a15ca78..a75ecb1 100644 --- a/api/ext/GL_SGI_texture_color_table.ts +++ b/api/ext/GL_SGI_texture_color_table.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SUNX_constant_data.ts b/api/ext/GL_SUNX_constant_data.ts index c75db8d..5c206a7 100644 --- a/api/ext/GL_SUNX_constant_data.ts +++ b/api/ext/GL_SUNX_constant_data.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glFinishTextureSUNX = { result: "void", } as const; -let fn_glFinishTextureSUNX!: Deno.UnsafeFnPointer; +let fn_glFinishTextureSUNX!: Deno.UnsafeFnPointer< + typeof def_glFinishTextureSUNX +>; export function FinishTextureSUNX(): void { fn_glFinishTextureSUNX.call(); @@ -78,5 +88,8 @@ export function FinishTextureSUNX(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glFinishTextureSUNX = new Deno.UnsafeFnPointer(proc("glFinishTextureSUNX"), def_glFinishTextureSUNX); + fn_glFinishTextureSUNX = new Deno.UnsafeFnPointer( + proc("glFinishTextureSUNX"), + def_glFinishTextureSUNX, + ); } diff --git a/api/ext/GL_SUN_convolution_border_modes.ts b/api/ext/GL_SUN_convolution_border_modes.ts index 3d070d2..aecc030 100644 --- a/api/ext/GL_SUN_convolution_border_modes.ts +++ b/api/ext/GL_SUN_convolution_border_modes.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SUN_global_alpha.ts b/api/ext/GL_SUN_global_alpha.ts index b07dd65..8b6f2da 100644 --- a/api/ext/GL_SUN_global_alpha.ts +++ b/api/ext/GL_SUN_global_alpha.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glGlobalAlphaFactorbSUN = { result: "void", } as const; -let fn_glGlobalAlphaFactorbSUN!: Deno.UnsafeFnPointer; +let fn_glGlobalAlphaFactorbSUN!: Deno.UnsafeFnPointer< + typeof def_glGlobalAlphaFactorbSUN +>; export function GlobalAlphaFactorbSUN( factor: GLbyte, @@ -85,7 +95,9 @@ export const def_glGlobalAlphaFactorsSUN = { result: "void", } as const; -let fn_glGlobalAlphaFactorsSUN!: Deno.UnsafeFnPointer; +let fn_glGlobalAlphaFactorsSUN!: Deno.UnsafeFnPointer< + typeof def_glGlobalAlphaFactorsSUN +>; export function GlobalAlphaFactorsSUN( factor: GLshort, @@ -100,7 +112,9 @@ export const def_glGlobalAlphaFactoriSUN = { result: "void", } as const; -let fn_glGlobalAlphaFactoriSUN!: Deno.UnsafeFnPointer; +let fn_glGlobalAlphaFactoriSUN!: Deno.UnsafeFnPointer< + typeof def_glGlobalAlphaFactoriSUN +>; export function GlobalAlphaFactoriSUN( factor: GLint, @@ -115,7 +129,9 @@ export const def_glGlobalAlphaFactorfSUN = { result: "void", } as const; -let fn_glGlobalAlphaFactorfSUN!: Deno.UnsafeFnPointer; +let fn_glGlobalAlphaFactorfSUN!: Deno.UnsafeFnPointer< + typeof def_glGlobalAlphaFactorfSUN +>; export function GlobalAlphaFactorfSUN( factor: GLfloat, @@ -130,7 +146,9 @@ export const def_glGlobalAlphaFactordSUN = { result: "void", } as const; -let fn_glGlobalAlphaFactordSUN!: Deno.UnsafeFnPointer; +let fn_glGlobalAlphaFactordSUN!: Deno.UnsafeFnPointer< + typeof def_glGlobalAlphaFactordSUN +>; export function GlobalAlphaFactordSUN( factor: GLdouble, @@ -145,7 +163,9 @@ export const def_glGlobalAlphaFactorubSUN = { result: "void", } as const; -let fn_glGlobalAlphaFactorubSUN!: Deno.UnsafeFnPointer; +let fn_glGlobalAlphaFactorubSUN!: Deno.UnsafeFnPointer< + typeof def_glGlobalAlphaFactorubSUN +>; export function GlobalAlphaFactorubSUN( factor: GLubyte, @@ -160,7 +180,9 @@ export const def_glGlobalAlphaFactorusSUN = { result: "void", } as const; -let fn_glGlobalAlphaFactorusSUN!: Deno.UnsafeFnPointer; +let fn_glGlobalAlphaFactorusSUN!: Deno.UnsafeFnPointer< + typeof def_glGlobalAlphaFactorusSUN +>; export function GlobalAlphaFactorusSUN( factor: GLushort, @@ -175,7 +197,9 @@ export const def_glGlobalAlphaFactoruiSUN = { result: "void", } as const; -let fn_glGlobalAlphaFactoruiSUN!: Deno.UnsafeFnPointer; +let fn_glGlobalAlphaFactoruiSUN!: Deno.UnsafeFnPointer< + typeof def_glGlobalAlphaFactoruiSUN +>; export function GlobalAlphaFactoruiSUN( factor: GLuint, @@ -187,12 +211,36 @@ export function GlobalAlphaFactoruiSUN( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glGlobalAlphaFactorbSUN = new Deno.UnsafeFnPointer(proc("glGlobalAlphaFactorbSUN"), def_glGlobalAlphaFactorbSUN); - fn_glGlobalAlphaFactorsSUN = new Deno.UnsafeFnPointer(proc("glGlobalAlphaFactorsSUN"), def_glGlobalAlphaFactorsSUN); - fn_glGlobalAlphaFactoriSUN = new Deno.UnsafeFnPointer(proc("glGlobalAlphaFactoriSUN"), def_glGlobalAlphaFactoriSUN); - fn_glGlobalAlphaFactorfSUN = new Deno.UnsafeFnPointer(proc("glGlobalAlphaFactorfSUN"), def_glGlobalAlphaFactorfSUN); - fn_glGlobalAlphaFactordSUN = new Deno.UnsafeFnPointer(proc("glGlobalAlphaFactordSUN"), def_glGlobalAlphaFactordSUN); - fn_glGlobalAlphaFactorubSUN = new Deno.UnsafeFnPointer(proc("glGlobalAlphaFactorubSUN"), def_glGlobalAlphaFactorubSUN); - fn_glGlobalAlphaFactorusSUN = new Deno.UnsafeFnPointer(proc("glGlobalAlphaFactorusSUN"), def_glGlobalAlphaFactorusSUN); - fn_glGlobalAlphaFactoruiSUN = new Deno.UnsafeFnPointer(proc("glGlobalAlphaFactoruiSUN"), def_glGlobalAlphaFactoruiSUN); + fn_glGlobalAlphaFactorbSUN = new Deno.UnsafeFnPointer( + proc("glGlobalAlphaFactorbSUN"), + def_glGlobalAlphaFactorbSUN, + ); + fn_glGlobalAlphaFactorsSUN = new Deno.UnsafeFnPointer( + proc("glGlobalAlphaFactorsSUN"), + def_glGlobalAlphaFactorsSUN, + ); + fn_glGlobalAlphaFactoriSUN = new Deno.UnsafeFnPointer( + proc("glGlobalAlphaFactoriSUN"), + def_glGlobalAlphaFactoriSUN, + ); + fn_glGlobalAlphaFactorfSUN = new Deno.UnsafeFnPointer( + proc("glGlobalAlphaFactorfSUN"), + def_glGlobalAlphaFactorfSUN, + ); + fn_glGlobalAlphaFactordSUN = new Deno.UnsafeFnPointer( + proc("glGlobalAlphaFactordSUN"), + def_glGlobalAlphaFactordSUN, + ); + fn_glGlobalAlphaFactorubSUN = new Deno.UnsafeFnPointer( + proc("glGlobalAlphaFactorubSUN"), + def_glGlobalAlphaFactorubSUN, + ); + fn_glGlobalAlphaFactorusSUN = new Deno.UnsafeFnPointer( + proc("glGlobalAlphaFactorusSUN"), + def_glGlobalAlphaFactorusSUN, + ); + fn_glGlobalAlphaFactoruiSUN = new Deno.UnsafeFnPointer( + proc("glGlobalAlphaFactoruiSUN"), + def_glGlobalAlphaFactoruiSUN, + ); } diff --git a/api/ext/GL_SUN_mesh_array.ts b/api/ext/GL_SUN_mesh_array.ts index d79b8e8..162cbbd 100644 --- a/api/ext/GL_SUN_mesh_array.ts +++ b/api/ext/GL_SUN_mesh_array.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -70,7 +78,9 @@ export const def_glDrawMeshArraysSUN = { result: "void", } as const; -let fn_glDrawMeshArraysSUN!: Deno.UnsafeFnPointer; +let fn_glDrawMeshArraysSUN!: Deno.UnsafeFnPointer< + typeof def_glDrawMeshArraysSUN +>; export function DrawMeshArraysSUN( mode: GLenum, @@ -88,5 +98,8 @@ export function DrawMeshArraysSUN( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glDrawMeshArraysSUN = new Deno.UnsafeFnPointer(proc("glDrawMeshArraysSUN"), def_glDrawMeshArraysSUN); + fn_glDrawMeshArraysSUN = new Deno.UnsafeFnPointer( + proc("glDrawMeshArraysSUN"), + def_glDrawMeshArraysSUN, + ); } diff --git a/api/ext/GL_SUN_slice_accum.ts b/api/ext/GL_SUN_slice_accum.ts index 3b638a8..bb35b39 100644 --- a/api/ext/GL_SUN_slice_accum.ts +++ b/api/ext/GL_SUN_slice_accum.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_SUN_triangle_list.ts b/api/ext/GL_SUN_triangle_list.ts index 2cb2067..24bb61e 100644 --- a/api/ext/GL_SUN_triangle_list.ts +++ b/api/ext/GL_SUN_triangle_list.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -85,7 +93,9 @@ export const def_glReplacementCodeuiSUN = { result: "void", } as const; -let fn_glReplacementCodeuiSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiSUN +>; export function ReplacementCodeuiSUN( code: GLuint, @@ -100,7 +110,9 @@ export const def_glReplacementCodeusSUN = { result: "void", } as const; -let fn_glReplacementCodeusSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeusSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeusSUN +>; export function ReplacementCodeusSUN( code: GLushort, @@ -115,7 +127,9 @@ export const def_glReplacementCodeubSUN = { result: "void", } as const; -let fn_glReplacementCodeubSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeubSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeubSUN +>; export function ReplacementCodeubSUN( code: GLubyte, @@ -130,7 +144,9 @@ export const def_glReplacementCodeuivSUN = { result: "void", } as const; -let fn_glReplacementCodeuivSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuivSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuivSUN +>; export function ReplacementCodeuivSUN( code: Buffer, @@ -145,7 +161,9 @@ export const def_glReplacementCodeusvSUN = { result: "void", } as const; -let fn_glReplacementCodeusvSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeusvSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeusvSUN +>; export function ReplacementCodeusvSUN( code: Buffer, @@ -160,7 +178,9 @@ export const def_glReplacementCodeubvSUN = { result: "void", } as const; -let fn_glReplacementCodeubvSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeubvSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeubvSUN +>; export function ReplacementCodeubvSUN( code: Buffer, @@ -175,7 +195,9 @@ export const def_glReplacementCodePointerSUN = { result: "void", } as const; -let fn_glReplacementCodePointerSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodePointerSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodePointerSUN +>; export function ReplacementCodePointerSUN( type: GLenum, @@ -191,11 +213,32 @@ export function ReplacementCodePointerSUN( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glReplacementCodeuiSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiSUN"), def_glReplacementCodeuiSUN); - fn_glReplacementCodeusSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeusSUN"), def_glReplacementCodeusSUN); - fn_glReplacementCodeubSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeubSUN"), def_glReplacementCodeubSUN); - fn_glReplacementCodeuivSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuivSUN"), def_glReplacementCodeuivSUN); - fn_glReplacementCodeusvSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeusvSUN"), def_glReplacementCodeusvSUN); - fn_glReplacementCodeubvSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeubvSUN"), def_glReplacementCodeubvSUN); - fn_glReplacementCodePointerSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodePointerSUN"), def_glReplacementCodePointerSUN); + fn_glReplacementCodeuiSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiSUN"), + def_glReplacementCodeuiSUN, + ); + fn_glReplacementCodeusSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeusSUN"), + def_glReplacementCodeusSUN, + ); + fn_glReplacementCodeubSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeubSUN"), + def_glReplacementCodeubSUN, + ); + fn_glReplacementCodeuivSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuivSUN"), + def_glReplacementCodeuivSUN, + ); + fn_glReplacementCodeusvSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeusvSUN"), + def_glReplacementCodeusvSUN, + ); + fn_glReplacementCodeubvSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeubvSUN"), + def_glReplacementCodeubvSUN, + ); + fn_glReplacementCodePointerSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodePointerSUN"), + def_glReplacementCodePointerSUN, + ); } diff --git a/api/ext/GL_SUN_vertex.ts b/api/ext/GL_SUN_vertex.ts index 183c910..ebde942 100644 --- a/api/ext/GL_SUN_vertex.ts +++ b/api/ext/GL_SUN_vertex.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -66,7 +74,9 @@ export const def_glColor4ubVertex2fSUN = { result: "void", } as const; -let fn_glColor4ubVertex2fSUN!: Deno.UnsafeFnPointer; +let fn_glColor4ubVertex2fSUN!: Deno.UnsafeFnPointer< + typeof def_glColor4ubVertex2fSUN +>; export function Color4ubVertex2fSUN( r: GLubyte, @@ -91,7 +101,9 @@ export const def_glColor4ubVertex2fvSUN = { result: "void", } as const; -let fn_glColor4ubVertex2fvSUN!: Deno.UnsafeFnPointer; +let fn_glColor4ubVertex2fvSUN!: Deno.UnsafeFnPointer< + typeof def_glColor4ubVertex2fvSUN +>; export function Color4ubVertex2fvSUN( c: Buffer, @@ -108,7 +120,9 @@ export const def_glColor4ubVertex3fSUN = { result: "void", } as const; -let fn_glColor4ubVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glColor4ubVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glColor4ubVertex3fSUN +>; export function Color4ubVertex3fSUN( r: GLubyte, @@ -135,7 +149,9 @@ export const def_glColor4ubVertex3fvSUN = { result: "void", } as const; -let fn_glColor4ubVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glColor4ubVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glColor4ubVertex3fvSUN +>; export function Color4ubVertex3fvSUN( c: Buffer, @@ -152,7 +168,9 @@ export const def_glColor3fVertex3fSUN = { result: "void", } as const; -let fn_glColor3fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glColor3fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glColor3fVertex3fSUN +>; export function Color3fVertex3fSUN( r: GLfloat, @@ -177,7 +195,9 @@ export const def_glColor3fVertex3fvSUN = { result: "void", } as const; -let fn_glColor3fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glColor3fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glColor3fVertex3fvSUN +>; export function Color3fVertex3fvSUN( c: Buffer, @@ -194,7 +214,9 @@ export const def_glNormal3fVertex3fSUN = { result: "void", } as const; -let fn_glNormal3fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glNormal3fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glNormal3fVertex3fSUN +>; export function Normal3fVertex3fSUN( nx: GLfloat, @@ -219,7 +241,9 @@ export const def_glNormal3fVertex3fvSUN = { result: "void", } as const; -let fn_glNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glNormal3fVertex3fvSUN +>; export function Normal3fVertex3fvSUN( n: Buffer, @@ -232,11 +256,24 @@ export function Normal3fVertex3fvSUN( } export const def_glColor4fNormal3fVertex3fSUN = { - parameters: ["f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32"], + parameters: [ + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + ], result: "void", } as const; -let fn_glColor4fNormal3fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glColor4fNormal3fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glColor4fNormal3fVertex3fSUN +>; export function Color4fNormal3fVertex3fSUN( r: GLfloat, @@ -269,7 +306,9 @@ export const def_glColor4fNormal3fVertex3fvSUN = { result: "void", } as const; -let fn_glColor4fNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glColor4fNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glColor4fNormal3fVertex3fvSUN +>; export function Color4fNormal3fVertex3fvSUN( c: Buffer, @@ -288,7 +327,9 @@ export const def_glTexCoord2fVertex3fSUN = { result: "void", } as const; -let fn_glTexCoord2fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord2fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord2fVertex3fSUN +>; export function TexCoord2fVertex3fSUN( s: GLfloat, @@ -311,7 +352,9 @@ export const def_glTexCoord2fVertex3fvSUN = { result: "void", } as const; -let fn_glTexCoord2fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord2fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord2fVertex3fvSUN +>; export function TexCoord2fVertex3fvSUN( tc: Buffer, @@ -328,7 +371,9 @@ export const def_glTexCoord4fVertex4fSUN = { result: "void", } as const; -let fn_glTexCoord4fVertex4fSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord4fVertex4fSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord4fVertex4fSUN +>; export function TexCoord4fVertex4fSUN( s: GLfloat, @@ -357,7 +402,9 @@ export const def_glTexCoord4fVertex4fvSUN = { result: "void", } as const; -let fn_glTexCoord4fVertex4fvSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord4fVertex4fvSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord4fVertex4fvSUN +>; export function TexCoord4fVertex4fvSUN( tc: Buffer, @@ -374,7 +421,9 @@ export const def_glTexCoord2fColor4ubVertex3fSUN = { result: "void", } as const; -let fn_glTexCoord2fColor4ubVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord2fColor4ubVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord2fColor4ubVertex3fSUN +>; export function TexCoord2fColor4ubVertex3fSUN( s: GLfloat, @@ -405,7 +454,9 @@ export const def_glTexCoord2fColor4ubVertex3fvSUN = { result: "void", } as const; -let fn_glTexCoord2fColor4ubVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord2fColor4ubVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord2fColor4ubVertex3fvSUN +>; export function TexCoord2fColor4ubVertex3fvSUN( tc: Buffer, @@ -424,7 +475,9 @@ export const def_glTexCoord2fColor3fVertex3fSUN = { result: "void", } as const; -let fn_glTexCoord2fColor3fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord2fColor3fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord2fColor3fVertex3fSUN +>; export function TexCoord2fColor3fVertex3fSUN( s: GLfloat, @@ -453,7 +506,9 @@ export const def_glTexCoord2fColor3fVertex3fvSUN = { result: "void", } as const; -let fn_glTexCoord2fColor3fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord2fColor3fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord2fColor3fVertex3fvSUN +>; export function TexCoord2fColor3fVertex3fvSUN( tc: Buffer, @@ -472,7 +527,9 @@ export const def_glTexCoord2fNormal3fVertex3fSUN = { result: "void", } as const; -let fn_glTexCoord2fNormal3fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord2fNormal3fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord2fNormal3fVertex3fSUN +>; export function TexCoord2fNormal3fVertex3fSUN( s: GLfloat, @@ -501,7 +558,9 @@ export const def_glTexCoord2fNormal3fVertex3fvSUN = { result: "void", } as const; -let fn_glTexCoord2fNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord2fNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord2fNormal3fVertex3fvSUN +>; export function TexCoord2fNormal3fVertex3fvSUN( tc: Buffer, @@ -516,11 +575,26 @@ export function TexCoord2fNormal3fVertex3fvSUN( } export const def_glTexCoord2fColor4fNormal3fVertex3fSUN = { - parameters: ["f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32"], + parameters: [ + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + ], result: "void", } as const; -let fn_glTexCoord2fColor4fNormal3fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord2fColor4fNormal3fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord2fColor4fNormal3fVertex3fSUN +>; export function TexCoord2fColor4fNormal3fVertex3fSUN( s: GLfloat, @@ -557,7 +631,9 @@ export const def_glTexCoord2fColor4fNormal3fVertex3fvSUN = { result: "void", } as const; -let fn_glTexCoord2fColor4fNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord2fColor4fNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord2fColor4fNormal3fVertex3fvSUN +>; export function TexCoord2fColor4fNormal3fVertex3fvSUN( tc: Buffer, @@ -574,11 +650,29 @@ export function TexCoord2fColor4fNormal3fVertex3fvSUN( } export const def_glTexCoord4fColor4fNormal3fVertex4fSUN = { - parameters: ["f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32"], + parameters: [ + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + ], result: "void", } as const; -let fn_glTexCoord4fColor4fNormal3fVertex4fSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord4fColor4fNormal3fVertex4fSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord4fColor4fNormal3fVertex4fSUN +>; export function TexCoord4fColor4fNormal3fVertex4fSUN( s: GLfloat, @@ -621,7 +715,9 @@ export const def_glTexCoord4fColor4fNormal3fVertex4fvSUN = { result: "void", } as const; -let fn_glTexCoord4fColor4fNormal3fVertex4fvSUN!: Deno.UnsafeFnPointer; +let fn_glTexCoord4fColor4fNormal3fVertex4fvSUN!: Deno.UnsafeFnPointer< + typeof def_glTexCoord4fColor4fNormal3fVertex4fvSUN +>; export function TexCoord4fColor4fNormal3fVertex4fvSUN( tc: Buffer, @@ -642,7 +738,9 @@ export const def_glReplacementCodeuiVertex3fSUN = { result: "void", } as const; -let fn_glReplacementCodeuiVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiVertex3fSUN +>; export function ReplacementCodeuiVertex3fSUN( rc: GLuint, @@ -663,7 +761,9 @@ export const def_glReplacementCodeuiVertex3fvSUN = { result: "void", } as const; -let fn_glReplacementCodeuiVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiVertex3fvSUN +>; export function ReplacementCodeuiVertex3fvSUN( rc: Buffer, @@ -680,7 +780,9 @@ export const def_glReplacementCodeuiColor4ubVertex3fSUN = { result: "void", } as const; -let fn_glReplacementCodeuiColor4ubVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiColor4ubVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiColor4ubVertex3fSUN +>; export function ReplacementCodeuiColor4ubVertex3fSUN( rc: GLuint, @@ -709,7 +811,9 @@ export const def_glReplacementCodeuiColor4ubVertex3fvSUN = { result: "void", } as const; -let fn_glReplacementCodeuiColor4ubVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiColor4ubVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiColor4ubVertex3fvSUN +>; export function ReplacementCodeuiColor4ubVertex3fvSUN( rc: Buffer, @@ -728,7 +832,9 @@ export const def_glReplacementCodeuiColor3fVertex3fSUN = { result: "void", } as const; -let fn_glReplacementCodeuiColor3fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiColor3fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiColor3fVertex3fSUN +>; export function ReplacementCodeuiColor3fVertex3fSUN( rc: GLuint, @@ -755,7 +861,9 @@ export const def_glReplacementCodeuiColor3fVertex3fvSUN = { result: "void", } as const; -let fn_glReplacementCodeuiColor3fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiColor3fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiColor3fVertex3fvSUN +>; export function ReplacementCodeuiColor3fVertex3fvSUN( rc: Buffer, @@ -774,7 +882,9 @@ export const def_glReplacementCodeuiNormal3fVertex3fSUN = { result: "void", } as const; -let fn_glReplacementCodeuiNormal3fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiNormal3fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiNormal3fVertex3fSUN +>; export function ReplacementCodeuiNormal3fVertex3fSUN( rc: GLuint, @@ -801,7 +911,9 @@ export const def_glReplacementCodeuiNormal3fVertex3fvSUN = { result: "void", } as const; -let fn_glReplacementCodeuiNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiNormal3fVertex3fvSUN +>; export function ReplacementCodeuiNormal3fVertex3fvSUN( rc: Buffer, @@ -816,11 +928,25 @@ export function ReplacementCodeuiNormal3fVertex3fvSUN( } export const def_glReplacementCodeuiColor4fNormal3fVertex3fSUN = { - parameters: ["u32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32"], + parameters: [ + "u32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + ], result: "void", } as const; -let fn_glReplacementCodeuiColor4fNormal3fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiColor4fNormal3fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiColor4fNormal3fVertex3fSUN +>; export function ReplacementCodeuiColor4fNormal3fVertex3fSUN( rc: GLuint, @@ -855,7 +981,9 @@ export const def_glReplacementCodeuiColor4fNormal3fVertex3fvSUN = { result: "void", } as const; -let fn_glReplacementCodeuiColor4fNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiColor4fNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiColor4fNormal3fVertex3fvSUN +>; export function ReplacementCodeuiColor4fNormal3fVertex3fvSUN( rc: Buffer, @@ -876,7 +1004,9 @@ export const def_glReplacementCodeuiTexCoord2fVertex3fSUN = { result: "void", } as const; -let fn_glReplacementCodeuiTexCoord2fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiTexCoord2fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiTexCoord2fVertex3fSUN +>; export function ReplacementCodeuiTexCoord2fVertex3fSUN( rc: GLuint, @@ -901,7 +1031,9 @@ export const def_glReplacementCodeuiTexCoord2fVertex3fvSUN = { result: "void", } as const; -let fn_glReplacementCodeuiTexCoord2fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiTexCoord2fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiTexCoord2fVertex3fvSUN +>; export function ReplacementCodeuiTexCoord2fVertex3fvSUN( rc: Buffer, @@ -920,7 +1052,9 @@ export const def_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = { result: "void", } as const; -let fn_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN +>; export function ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN( rc: GLuint, @@ -951,7 +1085,9 @@ export const def_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = { result: "void", } as const; -let fn_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN +>; export function ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN( rc: Buffer, @@ -968,11 +1104,28 @@ export function ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN( } export const def_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = { - parameters: ["u32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32", "f32"], + parameters: [ + "u32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + "f32", + ], result: "void", } as const; -let fn_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN!: + Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN + >; export function ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN( rc: GLuint, @@ -1011,7 +1164,10 @@ export const def_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = { result: "void", } as const; -let fn_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN!: Deno.UnsafeFnPointer; +let fn_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN!: + Deno.UnsafeFnPointer< + typeof def_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN + >; export function ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN( rc: Buffer, @@ -1031,44 +1187,168 @@ export function ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glColor4ubVertex2fSUN = new Deno.UnsafeFnPointer(proc("glColor4ubVertex2fSUN"), def_glColor4ubVertex2fSUN); - fn_glColor4ubVertex2fvSUN = new Deno.UnsafeFnPointer(proc("glColor4ubVertex2fvSUN"), def_glColor4ubVertex2fvSUN); - fn_glColor4ubVertex3fSUN = new Deno.UnsafeFnPointer(proc("glColor4ubVertex3fSUN"), def_glColor4ubVertex3fSUN); - fn_glColor4ubVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glColor4ubVertex3fvSUN"), def_glColor4ubVertex3fvSUN); - fn_glColor3fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glColor3fVertex3fSUN"), def_glColor3fVertex3fSUN); - fn_glColor3fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glColor3fVertex3fvSUN"), def_glColor3fVertex3fvSUN); - fn_glNormal3fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glNormal3fVertex3fSUN"), def_glNormal3fVertex3fSUN); - fn_glNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glNormal3fVertex3fvSUN"), def_glNormal3fVertex3fvSUN); - fn_glColor4fNormal3fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glColor4fNormal3fVertex3fSUN"), def_glColor4fNormal3fVertex3fSUN); - fn_glColor4fNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glColor4fNormal3fVertex3fvSUN"), def_glColor4fNormal3fVertex3fvSUN); - fn_glTexCoord2fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glTexCoord2fVertex3fSUN"), def_glTexCoord2fVertex3fSUN); - fn_glTexCoord2fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glTexCoord2fVertex3fvSUN"), def_glTexCoord2fVertex3fvSUN); - fn_glTexCoord4fVertex4fSUN = new Deno.UnsafeFnPointer(proc("glTexCoord4fVertex4fSUN"), def_glTexCoord4fVertex4fSUN); - fn_glTexCoord4fVertex4fvSUN = new Deno.UnsafeFnPointer(proc("glTexCoord4fVertex4fvSUN"), def_glTexCoord4fVertex4fvSUN); - fn_glTexCoord2fColor4ubVertex3fSUN = new Deno.UnsafeFnPointer(proc("glTexCoord2fColor4ubVertex3fSUN"), def_glTexCoord2fColor4ubVertex3fSUN); - fn_glTexCoord2fColor4ubVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glTexCoord2fColor4ubVertex3fvSUN"), def_glTexCoord2fColor4ubVertex3fvSUN); - fn_glTexCoord2fColor3fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glTexCoord2fColor3fVertex3fSUN"), def_glTexCoord2fColor3fVertex3fSUN); - fn_glTexCoord2fColor3fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glTexCoord2fColor3fVertex3fvSUN"), def_glTexCoord2fColor3fVertex3fvSUN); - fn_glTexCoord2fNormal3fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glTexCoord2fNormal3fVertex3fSUN"), def_glTexCoord2fNormal3fVertex3fSUN); - fn_glTexCoord2fNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glTexCoord2fNormal3fVertex3fvSUN"), def_glTexCoord2fNormal3fVertex3fvSUN); - fn_glTexCoord2fColor4fNormal3fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glTexCoord2fColor4fNormal3fVertex3fSUN"), def_glTexCoord2fColor4fNormal3fVertex3fSUN); - fn_glTexCoord2fColor4fNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glTexCoord2fColor4fNormal3fVertex3fvSUN"), def_glTexCoord2fColor4fNormal3fVertex3fvSUN); - fn_glTexCoord4fColor4fNormal3fVertex4fSUN = new Deno.UnsafeFnPointer(proc("glTexCoord4fColor4fNormal3fVertex4fSUN"), def_glTexCoord4fColor4fNormal3fVertex4fSUN); - fn_glTexCoord4fColor4fNormal3fVertex4fvSUN = new Deno.UnsafeFnPointer(proc("glTexCoord4fColor4fNormal3fVertex4fvSUN"), def_glTexCoord4fColor4fNormal3fVertex4fvSUN); - fn_glReplacementCodeuiVertex3fSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiVertex3fSUN"), def_glReplacementCodeuiVertex3fSUN); - fn_glReplacementCodeuiVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiVertex3fvSUN"), def_glReplacementCodeuiVertex3fvSUN); - fn_glReplacementCodeuiColor4ubVertex3fSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiColor4ubVertex3fSUN"), def_glReplacementCodeuiColor4ubVertex3fSUN); - fn_glReplacementCodeuiColor4ubVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiColor4ubVertex3fvSUN"), def_glReplacementCodeuiColor4ubVertex3fvSUN); - fn_glReplacementCodeuiColor3fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiColor3fVertex3fSUN"), def_glReplacementCodeuiColor3fVertex3fSUN); - fn_glReplacementCodeuiColor3fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiColor3fVertex3fvSUN"), def_glReplacementCodeuiColor3fVertex3fvSUN); - fn_glReplacementCodeuiNormal3fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiNormal3fVertex3fSUN"), def_glReplacementCodeuiNormal3fVertex3fSUN); - fn_glReplacementCodeuiNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiNormal3fVertex3fvSUN"), def_glReplacementCodeuiNormal3fVertex3fvSUN); - fn_glReplacementCodeuiColor4fNormal3fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiColor4fNormal3fVertex3fSUN"), def_glReplacementCodeuiColor4fNormal3fVertex3fSUN); - fn_glReplacementCodeuiColor4fNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiColor4fNormal3fVertex3fvSUN"), def_glReplacementCodeuiColor4fNormal3fVertex3fvSUN); - fn_glReplacementCodeuiTexCoord2fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiTexCoord2fVertex3fSUN"), def_glReplacementCodeuiTexCoord2fVertex3fSUN); - fn_glReplacementCodeuiTexCoord2fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiTexCoord2fVertex3fvSUN"), def_glReplacementCodeuiTexCoord2fVertex3fvSUN); - fn_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN"), def_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN); - fn_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN"), def_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN); - fn_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN"), def_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN); - fn_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer(proc("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN"), def_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN); + fn_glColor4ubVertex2fSUN = new Deno.UnsafeFnPointer( + proc("glColor4ubVertex2fSUN"), + def_glColor4ubVertex2fSUN, + ); + fn_glColor4ubVertex2fvSUN = new Deno.UnsafeFnPointer( + proc("glColor4ubVertex2fvSUN"), + def_glColor4ubVertex2fvSUN, + ); + fn_glColor4ubVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glColor4ubVertex3fSUN"), + def_glColor4ubVertex3fSUN, + ); + fn_glColor4ubVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glColor4ubVertex3fvSUN"), + def_glColor4ubVertex3fvSUN, + ); + fn_glColor3fVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glColor3fVertex3fSUN"), + def_glColor3fVertex3fSUN, + ); + fn_glColor3fVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glColor3fVertex3fvSUN"), + def_glColor3fVertex3fvSUN, + ); + fn_glNormal3fVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glNormal3fVertex3fSUN"), + def_glNormal3fVertex3fSUN, + ); + fn_glNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glNormal3fVertex3fvSUN"), + def_glNormal3fVertex3fvSUN, + ); + fn_glColor4fNormal3fVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glColor4fNormal3fVertex3fSUN"), + def_glColor4fNormal3fVertex3fSUN, + ); + fn_glColor4fNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glColor4fNormal3fVertex3fvSUN"), + def_glColor4fNormal3fVertex3fvSUN, + ); + fn_glTexCoord2fVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord2fVertex3fSUN"), + def_glTexCoord2fVertex3fSUN, + ); + fn_glTexCoord2fVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord2fVertex3fvSUN"), + def_glTexCoord2fVertex3fvSUN, + ); + fn_glTexCoord4fVertex4fSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord4fVertex4fSUN"), + def_glTexCoord4fVertex4fSUN, + ); + fn_glTexCoord4fVertex4fvSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord4fVertex4fvSUN"), + def_glTexCoord4fVertex4fvSUN, + ); + fn_glTexCoord2fColor4ubVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord2fColor4ubVertex3fSUN"), + def_glTexCoord2fColor4ubVertex3fSUN, + ); + fn_glTexCoord2fColor4ubVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord2fColor4ubVertex3fvSUN"), + def_glTexCoord2fColor4ubVertex3fvSUN, + ); + fn_glTexCoord2fColor3fVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord2fColor3fVertex3fSUN"), + def_glTexCoord2fColor3fVertex3fSUN, + ); + fn_glTexCoord2fColor3fVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord2fColor3fVertex3fvSUN"), + def_glTexCoord2fColor3fVertex3fvSUN, + ); + fn_glTexCoord2fNormal3fVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord2fNormal3fVertex3fSUN"), + def_glTexCoord2fNormal3fVertex3fSUN, + ); + fn_glTexCoord2fNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord2fNormal3fVertex3fvSUN"), + def_glTexCoord2fNormal3fVertex3fvSUN, + ); + fn_glTexCoord2fColor4fNormal3fVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord2fColor4fNormal3fVertex3fSUN"), + def_glTexCoord2fColor4fNormal3fVertex3fSUN, + ); + fn_glTexCoord2fColor4fNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord2fColor4fNormal3fVertex3fvSUN"), + def_glTexCoord2fColor4fNormal3fVertex3fvSUN, + ); + fn_glTexCoord4fColor4fNormal3fVertex4fSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord4fColor4fNormal3fVertex4fSUN"), + def_glTexCoord4fColor4fNormal3fVertex4fSUN, + ); + fn_glTexCoord4fColor4fNormal3fVertex4fvSUN = new Deno.UnsafeFnPointer( + proc("glTexCoord4fColor4fNormal3fVertex4fvSUN"), + def_glTexCoord4fColor4fNormal3fVertex4fvSUN, + ); + fn_glReplacementCodeuiVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiVertex3fSUN"), + def_glReplacementCodeuiVertex3fSUN, + ); + fn_glReplacementCodeuiVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiVertex3fvSUN"), + def_glReplacementCodeuiVertex3fvSUN, + ); + fn_glReplacementCodeuiColor4ubVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiColor4ubVertex3fSUN"), + def_glReplacementCodeuiColor4ubVertex3fSUN, + ); + fn_glReplacementCodeuiColor4ubVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiColor4ubVertex3fvSUN"), + def_glReplacementCodeuiColor4ubVertex3fvSUN, + ); + fn_glReplacementCodeuiColor3fVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiColor3fVertex3fSUN"), + def_glReplacementCodeuiColor3fVertex3fSUN, + ); + fn_glReplacementCodeuiColor3fVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiColor3fVertex3fvSUN"), + def_glReplacementCodeuiColor3fVertex3fvSUN, + ); + fn_glReplacementCodeuiNormal3fVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiNormal3fVertex3fSUN"), + def_glReplacementCodeuiNormal3fVertex3fSUN, + ); + fn_glReplacementCodeuiNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiNormal3fVertex3fvSUN"), + def_glReplacementCodeuiNormal3fVertex3fvSUN, + ); + fn_glReplacementCodeuiColor4fNormal3fVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiColor4fNormal3fVertex3fSUN"), + def_glReplacementCodeuiColor4fNormal3fVertex3fSUN, + ); + fn_glReplacementCodeuiColor4fNormal3fVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiColor4fNormal3fVertex3fvSUN"), + def_glReplacementCodeuiColor4fNormal3fVertex3fvSUN, + ); + fn_glReplacementCodeuiTexCoord2fVertex3fSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiTexCoord2fVertex3fSUN"), + def_glReplacementCodeuiTexCoord2fVertex3fSUN, + ); + fn_glReplacementCodeuiTexCoord2fVertex3fvSUN = new Deno.UnsafeFnPointer( + proc("glReplacementCodeuiTexCoord2fVertex3fvSUN"), + def_glReplacementCodeuiTexCoord2fVertex3fvSUN, + ); + fn_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = new Deno + .UnsafeFnPointer( + proc("glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN"), + def_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN, + ); + fn_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = new Deno + .UnsafeFnPointer( + proc("glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN"), + def_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN, + ); + fn_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = new Deno + .UnsafeFnPointer( + proc("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN"), + def_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN, + ); + fn_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = new Deno + .UnsafeFnPointer( + proc("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN"), + def_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN, + ); } diff --git a/api/ext/GL_VIV_shader_binary.ts b/api/ext/GL_VIV_shader_binary.ts index 22c18ae..08e42a5 100644 --- a/api/ext/GL_VIV_shader_binary.ts +++ b/api/ext/GL_VIV_shader_binary.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_WIN_phong_shading.ts b/api/ext/GL_WIN_phong_shading.ts index 168b2b6..0da4583 100644 --- a/api/ext/GL_WIN_phong_shading.ts +++ b/api/ext/GL_WIN_phong_shading.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/ext/GL_WIN_specular_fog.ts b/api/ext/GL_WIN_specular_fog.ts index 8f4be3d..c0a2647 100644 --- a/api/ext/GL_WIN_specular_fog.ts +++ b/api/ext/GL_WIN_specular_fog.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { diff --git a/api/gl1.1.ts b/api/gl1.1.ts index c4cf41d..910dbc8 100644 --- a/api/gl1.1.ts +++ b/api/gl1.1.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -812,7 +820,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1309,7 +1327,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1328,7 +1348,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1347,7 +1369,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1368,7 +1392,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -4797,7 +4823,18 @@ export function Map1f( } export const def_glMap2d = { - parameters: ["u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -4830,7 +4867,18 @@ export function Map2d( } export const def_glMap2f = { - parameters: ["u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5525,7 +5573,9 @@ export const def_glGetPolygonStipple = { result: "void", } as const; -let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetPolygonStipple +>; export function GetPolygonStipple( mask: Buffer, @@ -6056,7 +6106,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -6081,7 +6133,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -6133,7 +6187,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6270,7 +6334,9 @@ export const def_glDisableClientState = { result: "void", } as const; -let fn_glDisableClientState!: Deno.UnsafeFnPointer; +let fn_glDisableClientState!: Deno.UnsafeFnPointer< + typeof def_glDisableClientState +>; export function DisableClientState( array: GLenum, @@ -6302,7 +6368,9 @@ export const def_glEnableClientState = { result: "void", } as const; -let fn_glEnableClientState!: Deno.UnsafeFnPointer; +let fn_glEnableClientState!: Deno.UnsafeFnPointer< + typeof def_glEnableClientState +>; export function EnableClientState( array: GLenum, @@ -6336,7 +6404,9 @@ export const def_glInterleavedArrays = { result: "void", } as const; -let fn_glInterleavedArrays!: Deno.UnsafeFnPointer; +let fn_glInterleavedArrays!: Deno.UnsafeFnPointer< + typeof def_glInterleavedArrays +>; export function InterleavedArrays( format: GLenum, @@ -6416,7 +6486,9 @@ export const def_glAreTexturesResident = { result: "u8", } as const; -let fn_glAreTexturesResident!: Deno.UnsafeFnPointer; +let fn_glAreTexturesResident!: Deno.UnsafeFnPointer< + typeof def_glAreTexturesResident +>; export function AreTexturesResident( n: GLsizei, @@ -6435,7 +6507,9 @@ export const def_glPrioritizeTextures = { result: "void", } as const; -let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer; +let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer< + typeof def_glPrioritizeTextures +>; export function PrioritizeTextures( n: GLsizei, @@ -6508,58 +6582,175 @@ export function PushClientAttrib( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); fn_glNewList = new Deno.UnsafeFnPointer(proc("glNewList"), def_glNewList); fn_glEndList = new Deno.UnsafeFnPointer(proc("glEndList"), def_glEndList); fn_glCallList = new Deno.UnsafeFnPointer(proc("glCallList"), def_glCallList); - fn_glCallLists = new Deno.UnsafeFnPointer(proc("glCallLists"), def_glCallLists); - fn_glDeleteLists = new Deno.UnsafeFnPointer(proc("glDeleteLists"), def_glDeleteLists); + fn_glCallLists = new Deno.UnsafeFnPointer( + proc("glCallLists"), + def_glCallLists, + ); + fn_glDeleteLists = new Deno.UnsafeFnPointer( + proc("glDeleteLists"), + def_glDeleteLists, + ); fn_glGenLists = new Deno.UnsafeFnPointer(proc("glGenLists"), def_glGenLists); fn_glListBase = new Deno.UnsafeFnPointer(proc("glListBase"), def_glListBase); fn_glBegin = new Deno.UnsafeFnPointer(proc("glBegin"), def_glBegin); @@ -6575,11 +6766,20 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor3s = new Deno.UnsafeFnPointer(proc("glColor3s"), def_glColor3s); fn_glColor3sv = new Deno.UnsafeFnPointer(proc("glColor3sv"), def_glColor3sv); fn_glColor3ub = new Deno.UnsafeFnPointer(proc("glColor3ub"), def_glColor3ub); - fn_glColor3ubv = new Deno.UnsafeFnPointer(proc("glColor3ubv"), def_glColor3ubv); + fn_glColor3ubv = new Deno.UnsafeFnPointer( + proc("glColor3ubv"), + def_glColor3ubv, + ); fn_glColor3ui = new Deno.UnsafeFnPointer(proc("glColor3ui"), def_glColor3ui); - fn_glColor3uiv = new Deno.UnsafeFnPointer(proc("glColor3uiv"), def_glColor3uiv); + fn_glColor3uiv = new Deno.UnsafeFnPointer( + proc("glColor3uiv"), + def_glColor3uiv, + ); fn_glColor3us = new Deno.UnsafeFnPointer(proc("glColor3us"), def_glColor3us); - fn_glColor3usv = new Deno.UnsafeFnPointer(proc("glColor3usv"), def_glColor3usv); + fn_glColor3usv = new Deno.UnsafeFnPointer( + proc("glColor3usv"), + def_glColor3usv, + ); fn_glColor4b = new Deno.UnsafeFnPointer(proc("glColor4b"), def_glColor4b); fn_glColor4bv = new Deno.UnsafeFnPointer(proc("glColor4bv"), def_glColor4bv); fn_glColor4d = new Deno.UnsafeFnPointer(proc("glColor4d"), def_glColor4d); @@ -6591,13 +6791,25 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor4s = new Deno.UnsafeFnPointer(proc("glColor4s"), def_glColor4s); fn_glColor4sv = new Deno.UnsafeFnPointer(proc("glColor4sv"), def_glColor4sv); fn_glColor4ub = new Deno.UnsafeFnPointer(proc("glColor4ub"), def_glColor4ub); - fn_glColor4ubv = new Deno.UnsafeFnPointer(proc("glColor4ubv"), def_glColor4ubv); + fn_glColor4ubv = new Deno.UnsafeFnPointer( + proc("glColor4ubv"), + def_glColor4ubv, + ); fn_glColor4ui = new Deno.UnsafeFnPointer(proc("glColor4ui"), def_glColor4ui); - fn_glColor4uiv = new Deno.UnsafeFnPointer(proc("glColor4uiv"), def_glColor4uiv); + fn_glColor4uiv = new Deno.UnsafeFnPointer( + proc("glColor4uiv"), + def_glColor4uiv, + ); fn_glColor4us = new Deno.UnsafeFnPointer(proc("glColor4us"), def_glColor4us); - fn_glColor4usv = new Deno.UnsafeFnPointer(proc("glColor4usv"), def_glColor4usv); + fn_glColor4usv = new Deno.UnsafeFnPointer( + proc("glColor4usv"), + def_glColor4usv, + ); fn_glEdgeFlag = new Deno.UnsafeFnPointer(proc("glEdgeFlag"), def_glEdgeFlag); - fn_glEdgeFlagv = new Deno.UnsafeFnPointer(proc("glEdgeFlagv"), def_glEdgeFlagv); + fn_glEdgeFlagv = new Deno.UnsafeFnPointer( + proc("glEdgeFlagv"), + def_glEdgeFlagv, + ); fn_glEnd = new Deno.UnsafeFnPointer(proc("glEnd"), def_glEnd); fn_glIndexd = new Deno.UnsafeFnPointer(proc("glIndexd"), def_glIndexd); fn_glIndexdv = new Deno.UnsafeFnPointer(proc("glIndexdv"), def_glIndexdv); @@ -6608,39 +6820,126 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glIndexs = new Deno.UnsafeFnPointer(proc("glIndexs"), def_glIndexs); fn_glIndexsv = new Deno.UnsafeFnPointer(proc("glIndexsv"), def_glIndexsv); fn_glNormal3b = new Deno.UnsafeFnPointer(proc("glNormal3b"), def_glNormal3b); - fn_glNormal3bv = new Deno.UnsafeFnPointer(proc("glNormal3bv"), def_glNormal3bv); + fn_glNormal3bv = new Deno.UnsafeFnPointer( + proc("glNormal3bv"), + def_glNormal3bv, + ); fn_glNormal3d = new Deno.UnsafeFnPointer(proc("glNormal3d"), def_glNormal3d); - fn_glNormal3dv = new Deno.UnsafeFnPointer(proc("glNormal3dv"), def_glNormal3dv); + fn_glNormal3dv = new Deno.UnsafeFnPointer( + proc("glNormal3dv"), + def_glNormal3dv, + ); fn_glNormal3f = new Deno.UnsafeFnPointer(proc("glNormal3f"), def_glNormal3f); - fn_glNormal3fv = new Deno.UnsafeFnPointer(proc("glNormal3fv"), def_glNormal3fv); + fn_glNormal3fv = new Deno.UnsafeFnPointer( + proc("glNormal3fv"), + def_glNormal3fv, + ); fn_glNormal3i = new Deno.UnsafeFnPointer(proc("glNormal3i"), def_glNormal3i); - fn_glNormal3iv = new Deno.UnsafeFnPointer(proc("glNormal3iv"), def_glNormal3iv); + fn_glNormal3iv = new Deno.UnsafeFnPointer( + proc("glNormal3iv"), + def_glNormal3iv, + ); fn_glNormal3s = new Deno.UnsafeFnPointer(proc("glNormal3s"), def_glNormal3s); - fn_glNormal3sv = new Deno.UnsafeFnPointer(proc("glNormal3sv"), def_glNormal3sv); - fn_glRasterPos2d = new Deno.UnsafeFnPointer(proc("glRasterPos2d"), def_glRasterPos2d); - fn_glRasterPos2dv = new Deno.UnsafeFnPointer(proc("glRasterPos2dv"), def_glRasterPos2dv); - fn_glRasterPos2f = new Deno.UnsafeFnPointer(proc("glRasterPos2f"), def_glRasterPos2f); - fn_glRasterPos2fv = new Deno.UnsafeFnPointer(proc("glRasterPos2fv"), def_glRasterPos2fv); - fn_glRasterPos2i = new Deno.UnsafeFnPointer(proc("glRasterPos2i"), def_glRasterPos2i); - fn_glRasterPos2iv = new Deno.UnsafeFnPointer(proc("glRasterPos2iv"), def_glRasterPos2iv); - fn_glRasterPos2s = new Deno.UnsafeFnPointer(proc("glRasterPos2s"), def_glRasterPos2s); - fn_glRasterPos2sv = new Deno.UnsafeFnPointer(proc("glRasterPos2sv"), def_glRasterPos2sv); - fn_glRasterPos3d = new Deno.UnsafeFnPointer(proc("glRasterPos3d"), def_glRasterPos3d); - fn_glRasterPos3dv = new Deno.UnsafeFnPointer(proc("glRasterPos3dv"), def_glRasterPos3dv); - fn_glRasterPos3f = new Deno.UnsafeFnPointer(proc("glRasterPos3f"), def_glRasterPos3f); - fn_glRasterPos3fv = new Deno.UnsafeFnPointer(proc("glRasterPos3fv"), def_glRasterPos3fv); - fn_glRasterPos3i = new Deno.UnsafeFnPointer(proc("glRasterPos3i"), def_glRasterPos3i); - fn_glRasterPos3iv = new Deno.UnsafeFnPointer(proc("glRasterPos3iv"), def_glRasterPos3iv); - fn_glRasterPos3s = new Deno.UnsafeFnPointer(proc("glRasterPos3s"), def_glRasterPos3s); - fn_glRasterPos3sv = new Deno.UnsafeFnPointer(proc("glRasterPos3sv"), def_glRasterPos3sv); - fn_glRasterPos4d = new Deno.UnsafeFnPointer(proc("glRasterPos4d"), def_glRasterPos4d); - fn_glRasterPos4dv = new Deno.UnsafeFnPointer(proc("glRasterPos4dv"), def_glRasterPos4dv); - fn_glRasterPos4f = new Deno.UnsafeFnPointer(proc("glRasterPos4f"), def_glRasterPos4f); - fn_glRasterPos4fv = new Deno.UnsafeFnPointer(proc("glRasterPos4fv"), def_glRasterPos4fv); - fn_glRasterPos4i = new Deno.UnsafeFnPointer(proc("glRasterPos4i"), def_glRasterPos4i); - fn_glRasterPos4iv = new Deno.UnsafeFnPointer(proc("glRasterPos4iv"), def_glRasterPos4iv); - fn_glRasterPos4s = new Deno.UnsafeFnPointer(proc("glRasterPos4s"), def_glRasterPos4s); - fn_glRasterPos4sv = new Deno.UnsafeFnPointer(proc("glRasterPos4sv"), def_glRasterPos4sv); + fn_glNormal3sv = new Deno.UnsafeFnPointer( + proc("glNormal3sv"), + def_glNormal3sv, + ); + fn_glRasterPos2d = new Deno.UnsafeFnPointer( + proc("glRasterPos2d"), + def_glRasterPos2d, + ); + fn_glRasterPos2dv = new Deno.UnsafeFnPointer( + proc("glRasterPos2dv"), + def_glRasterPos2dv, + ); + fn_glRasterPos2f = new Deno.UnsafeFnPointer( + proc("glRasterPos2f"), + def_glRasterPos2f, + ); + fn_glRasterPos2fv = new Deno.UnsafeFnPointer( + proc("glRasterPos2fv"), + def_glRasterPos2fv, + ); + fn_glRasterPos2i = new Deno.UnsafeFnPointer( + proc("glRasterPos2i"), + def_glRasterPos2i, + ); + fn_glRasterPos2iv = new Deno.UnsafeFnPointer( + proc("glRasterPos2iv"), + def_glRasterPos2iv, + ); + fn_glRasterPos2s = new Deno.UnsafeFnPointer( + proc("glRasterPos2s"), + def_glRasterPos2s, + ); + fn_glRasterPos2sv = new Deno.UnsafeFnPointer( + proc("glRasterPos2sv"), + def_glRasterPos2sv, + ); + fn_glRasterPos3d = new Deno.UnsafeFnPointer( + proc("glRasterPos3d"), + def_glRasterPos3d, + ); + fn_glRasterPos3dv = new Deno.UnsafeFnPointer( + proc("glRasterPos3dv"), + def_glRasterPos3dv, + ); + fn_glRasterPos3f = new Deno.UnsafeFnPointer( + proc("glRasterPos3f"), + def_glRasterPos3f, + ); + fn_glRasterPos3fv = new Deno.UnsafeFnPointer( + proc("glRasterPos3fv"), + def_glRasterPos3fv, + ); + fn_glRasterPos3i = new Deno.UnsafeFnPointer( + proc("glRasterPos3i"), + def_glRasterPos3i, + ); + fn_glRasterPos3iv = new Deno.UnsafeFnPointer( + proc("glRasterPos3iv"), + def_glRasterPos3iv, + ); + fn_glRasterPos3s = new Deno.UnsafeFnPointer( + proc("glRasterPos3s"), + def_glRasterPos3s, + ); + fn_glRasterPos3sv = new Deno.UnsafeFnPointer( + proc("glRasterPos3sv"), + def_glRasterPos3sv, + ); + fn_glRasterPos4d = new Deno.UnsafeFnPointer( + proc("glRasterPos4d"), + def_glRasterPos4d, + ); + fn_glRasterPos4dv = new Deno.UnsafeFnPointer( + proc("glRasterPos4dv"), + def_glRasterPos4dv, + ); + fn_glRasterPos4f = new Deno.UnsafeFnPointer( + proc("glRasterPos4f"), + def_glRasterPos4f, + ); + fn_glRasterPos4fv = new Deno.UnsafeFnPointer( + proc("glRasterPos4fv"), + def_glRasterPos4fv, + ); + fn_glRasterPos4i = new Deno.UnsafeFnPointer( + proc("glRasterPos4i"), + def_glRasterPos4i, + ); + fn_glRasterPos4iv = new Deno.UnsafeFnPointer( + proc("glRasterPos4iv"), + def_glRasterPos4iv, + ); + fn_glRasterPos4s = new Deno.UnsafeFnPointer( + proc("glRasterPos4s"), + def_glRasterPos4s, + ); + fn_glRasterPos4sv = new Deno.UnsafeFnPointer( + proc("glRasterPos4sv"), + def_glRasterPos4sv, + ); fn_glRectd = new Deno.UnsafeFnPointer(proc("glRectd"), def_glRectd); fn_glRectdv = new Deno.UnsafeFnPointer(proc("glRectdv"), def_glRectdv); fn_glRectf = new Deno.UnsafeFnPointer(proc("glRectf"), def_glRectf); @@ -6649,64 +6948,202 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glRectiv = new Deno.UnsafeFnPointer(proc("glRectiv"), def_glRectiv); fn_glRects = new Deno.UnsafeFnPointer(proc("glRects"), def_glRects); fn_glRectsv = new Deno.UnsafeFnPointer(proc("glRectsv"), def_glRectsv); - fn_glTexCoord1d = new Deno.UnsafeFnPointer(proc("glTexCoord1d"), def_glTexCoord1d); - fn_glTexCoord1dv = new Deno.UnsafeFnPointer(proc("glTexCoord1dv"), def_glTexCoord1dv); - fn_glTexCoord1f = new Deno.UnsafeFnPointer(proc("glTexCoord1f"), def_glTexCoord1f); - fn_glTexCoord1fv = new Deno.UnsafeFnPointer(proc("glTexCoord1fv"), def_glTexCoord1fv); - fn_glTexCoord1i = new Deno.UnsafeFnPointer(proc("glTexCoord1i"), def_glTexCoord1i); - fn_glTexCoord1iv = new Deno.UnsafeFnPointer(proc("glTexCoord1iv"), def_glTexCoord1iv); - fn_glTexCoord1s = new Deno.UnsafeFnPointer(proc("glTexCoord1s"), def_glTexCoord1s); - fn_glTexCoord1sv = new Deno.UnsafeFnPointer(proc("glTexCoord1sv"), def_glTexCoord1sv); - fn_glTexCoord2d = new Deno.UnsafeFnPointer(proc("glTexCoord2d"), def_glTexCoord2d); - fn_glTexCoord2dv = new Deno.UnsafeFnPointer(proc("glTexCoord2dv"), def_glTexCoord2dv); - fn_glTexCoord2f = new Deno.UnsafeFnPointer(proc("glTexCoord2f"), def_glTexCoord2f); - fn_glTexCoord2fv = new Deno.UnsafeFnPointer(proc("glTexCoord2fv"), def_glTexCoord2fv); - fn_glTexCoord2i = new Deno.UnsafeFnPointer(proc("glTexCoord2i"), def_glTexCoord2i); - fn_glTexCoord2iv = new Deno.UnsafeFnPointer(proc("glTexCoord2iv"), def_glTexCoord2iv); - fn_glTexCoord2s = new Deno.UnsafeFnPointer(proc("glTexCoord2s"), def_glTexCoord2s); - fn_glTexCoord2sv = new Deno.UnsafeFnPointer(proc("glTexCoord2sv"), def_glTexCoord2sv); - fn_glTexCoord3d = new Deno.UnsafeFnPointer(proc("glTexCoord3d"), def_glTexCoord3d); - fn_glTexCoord3dv = new Deno.UnsafeFnPointer(proc("glTexCoord3dv"), def_glTexCoord3dv); - fn_glTexCoord3f = new Deno.UnsafeFnPointer(proc("glTexCoord3f"), def_glTexCoord3f); - fn_glTexCoord3fv = new Deno.UnsafeFnPointer(proc("glTexCoord3fv"), def_glTexCoord3fv); - fn_glTexCoord3i = new Deno.UnsafeFnPointer(proc("glTexCoord3i"), def_glTexCoord3i); - fn_glTexCoord3iv = new Deno.UnsafeFnPointer(proc("glTexCoord3iv"), def_glTexCoord3iv); - fn_glTexCoord3s = new Deno.UnsafeFnPointer(proc("glTexCoord3s"), def_glTexCoord3s); - fn_glTexCoord3sv = new Deno.UnsafeFnPointer(proc("glTexCoord3sv"), def_glTexCoord3sv); - fn_glTexCoord4d = new Deno.UnsafeFnPointer(proc("glTexCoord4d"), def_glTexCoord4d); - fn_glTexCoord4dv = new Deno.UnsafeFnPointer(proc("glTexCoord4dv"), def_glTexCoord4dv); - fn_glTexCoord4f = new Deno.UnsafeFnPointer(proc("glTexCoord4f"), def_glTexCoord4f); - fn_glTexCoord4fv = new Deno.UnsafeFnPointer(proc("glTexCoord4fv"), def_glTexCoord4fv); - fn_glTexCoord4i = new Deno.UnsafeFnPointer(proc("glTexCoord4i"), def_glTexCoord4i); - fn_glTexCoord4iv = new Deno.UnsafeFnPointer(proc("glTexCoord4iv"), def_glTexCoord4iv); - fn_glTexCoord4s = new Deno.UnsafeFnPointer(proc("glTexCoord4s"), def_glTexCoord4s); - fn_glTexCoord4sv = new Deno.UnsafeFnPointer(proc("glTexCoord4sv"), def_glTexCoord4sv); + fn_glTexCoord1d = new Deno.UnsafeFnPointer( + proc("glTexCoord1d"), + def_glTexCoord1d, + ); + fn_glTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glTexCoord1dv"), + def_glTexCoord1dv, + ); + fn_glTexCoord1f = new Deno.UnsafeFnPointer( + proc("glTexCoord1f"), + def_glTexCoord1f, + ); + fn_glTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glTexCoord1fv"), + def_glTexCoord1fv, + ); + fn_glTexCoord1i = new Deno.UnsafeFnPointer( + proc("glTexCoord1i"), + def_glTexCoord1i, + ); + fn_glTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glTexCoord1iv"), + def_glTexCoord1iv, + ); + fn_glTexCoord1s = new Deno.UnsafeFnPointer( + proc("glTexCoord1s"), + def_glTexCoord1s, + ); + fn_glTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glTexCoord1sv"), + def_glTexCoord1sv, + ); + fn_glTexCoord2d = new Deno.UnsafeFnPointer( + proc("glTexCoord2d"), + def_glTexCoord2d, + ); + fn_glTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glTexCoord2dv"), + def_glTexCoord2dv, + ); + fn_glTexCoord2f = new Deno.UnsafeFnPointer( + proc("glTexCoord2f"), + def_glTexCoord2f, + ); + fn_glTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glTexCoord2fv"), + def_glTexCoord2fv, + ); + fn_glTexCoord2i = new Deno.UnsafeFnPointer( + proc("glTexCoord2i"), + def_glTexCoord2i, + ); + fn_glTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glTexCoord2iv"), + def_glTexCoord2iv, + ); + fn_glTexCoord2s = new Deno.UnsafeFnPointer( + proc("glTexCoord2s"), + def_glTexCoord2s, + ); + fn_glTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glTexCoord2sv"), + def_glTexCoord2sv, + ); + fn_glTexCoord3d = new Deno.UnsafeFnPointer( + proc("glTexCoord3d"), + def_glTexCoord3d, + ); + fn_glTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glTexCoord3dv"), + def_glTexCoord3dv, + ); + fn_glTexCoord3f = new Deno.UnsafeFnPointer( + proc("glTexCoord3f"), + def_glTexCoord3f, + ); + fn_glTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glTexCoord3fv"), + def_glTexCoord3fv, + ); + fn_glTexCoord3i = new Deno.UnsafeFnPointer( + proc("glTexCoord3i"), + def_glTexCoord3i, + ); + fn_glTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glTexCoord3iv"), + def_glTexCoord3iv, + ); + fn_glTexCoord3s = new Deno.UnsafeFnPointer( + proc("glTexCoord3s"), + def_glTexCoord3s, + ); + fn_glTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glTexCoord3sv"), + def_glTexCoord3sv, + ); + fn_glTexCoord4d = new Deno.UnsafeFnPointer( + proc("glTexCoord4d"), + def_glTexCoord4d, + ); + fn_glTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glTexCoord4dv"), + def_glTexCoord4dv, + ); + fn_glTexCoord4f = new Deno.UnsafeFnPointer( + proc("glTexCoord4f"), + def_glTexCoord4f, + ); + fn_glTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glTexCoord4fv"), + def_glTexCoord4fv, + ); + fn_glTexCoord4i = new Deno.UnsafeFnPointer( + proc("glTexCoord4i"), + def_glTexCoord4i, + ); + fn_glTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glTexCoord4iv"), + def_glTexCoord4iv, + ); + fn_glTexCoord4s = new Deno.UnsafeFnPointer( + proc("glTexCoord4s"), + def_glTexCoord4s, + ); + fn_glTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glTexCoord4sv"), + def_glTexCoord4sv, + ); fn_glVertex2d = new Deno.UnsafeFnPointer(proc("glVertex2d"), def_glVertex2d); - fn_glVertex2dv = new Deno.UnsafeFnPointer(proc("glVertex2dv"), def_glVertex2dv); + fn_glVertex2dv = new Deno.UnsafeFnPointer( + proc("glVertex2dv"), + def_glVertex2dv, + ); fn_glVertex2f = new Deno.UnsafeFnPointer(proc("glVertex2f"), def_glVertex2f); - fn_glVertex2fv = new Deno.UnsafeFnPointer(proc("glVertex2fv"), def_glVertex2fv); + fn_glVertex2fv = new Deno.UnsafeFnPointer( + proc("glVertex2fv"), + def_glVertex2fv, + ); fn_glVertex2i = new Deno.UnsafeFnPointer(proc("glVertex2i"), def_glVertex2i); - fn_glVertex2iv = new Deno.UnsafeFnPointer(proc("glVertex2iv"), def_glVertex2iv); + fn_glVertex2iv = new Deno.UnsafeFnPointer( + proc("glVertex2iv"), + def_glVertex2iv, + ); fn_glVertex2s = new Deno.UnsafeFnPointer(proc("glVertex2s"), def_glVertex2s); - fn_glVertex2sv = new Deno.UnsafeFnPointer(proc("glVertex2sv"), def_glVertex2sv); + fn_glVertex2sv = new Deno.UnsafeFnPointer( + proc("glVertex2sv"), + def_glVertex2sv, + ); fn_glVertex3d = new Deno.UnsafeFnPointer(proc("glVertex3d"), def_glVertex3d); - fn_glVertex3dv = new Deno.UnsafeFnPointer(proc("glVertex3dv"), def_glVertex3dv); + fn_glVertex3dv = new Deno.UnsafeFnPointer( + proc("glVertex3dv"), + def_glVertex3dv, + ); fn_glVertex3f = new Deno.UnsafeFnPointer(proc("glVertex3f"), def_glVertex3f); - fn_glVertex3fv = new Deno.UnsafeFnPointer(proc("glVertex3fv"), def_glVertex3fv); + fn_glVertex3fv = new Deno.UnsafeFnPointer( + proc("glVertex3fv"), + def_glVertex3fv, + ); fn_glVertex3i = new Deno.UnsafeFnPointer(proc("glVertex3i"), def_glVertex3i); - fn_glVertex3iv = new Deno.UnsafeFnPointer(proc("glVertex3iv"), def_glVertex3iv); + fn_glVertex3iv = new Deno.UnsafeFnPointer( + proc("glVertex3iv"), + def_glVertex3iv, + ); fn_glVertex3s = new Deno.UnsafeFnPointer(proc("glVertex3s"), def_glVertex3s); - fn_glVertex3sv = new Deno.UnsafeFnPointer(proc("glVertex3sv"), def_glVertex3sv); + fn_glVertex3sv = new Deno.UnsafeFnPointer( + proc("glVertex3sv"), + def_glVertex3sv, + ); fn_glVertex4d = new Deno.UnsafeFnPointer(proc("glVertex4d"), def_glVertex4d); - fn_glVertex4dv = new Deno.UnsafeFnPointer(proc("glVertex4dv"), def_glVertex4dv); + fn_glVertex4dv = new Deno.UnsafeFnPointer( + proc("glVertex4dv"), + def_glVertex4dv, + ); fn_glVertex4f = new Deno.UnsafeFnPointer(proc("glVertex4f"), def_glVertex4f); - fn_glVertex4fv = new Deno.UnsafeFnPointer(proc("glVertex4fv"), def_glVertex4fv); + fn_glVertex4fv = new Deno.UnsafeFnPointer( + proc("glVertex4fv"), + def_glVertex4fv, + ); fn_glVertex4i = new Deno.UnsafeFnPointer(proc("glVertex4i"), def_glVertex4i); - fn_glVertex4iv = new Deno.UnsafeFnPointer(proc("glVertex4iv"), def_glVertex4iv); + fn_glVertex4iv = new Deno.UnsafeFnPointer( + proc("glVertex4iv"), + def_glVertex4iv, + ); fn_glVertex4s = new Deno.UnsafeFnPointer(proc("glVertex4s"), def_glVertex4s); - fn_glVertex4sv = new Deno.UnsafeFnPointer(proc("glVertex4sv"), def_glVertex4sv); - fn_glClipPlane = new Deno.UnsafeFnPointer(proc("glClipPlane"), def_glClipPlane); - fn_glColorMaterial = new Deno.UnsafeFnPointer(proc("glColorMaterial"), def_glColorMaterial); + fn_glVertex4sv = new Deno.UnsafeFnPointer( + proc("glVertex4sv"), + def_glVertex4sv, + ); + fn_glClipPlane = new Deno.UnsafeFnPointer( + proc("glClipPlane"), + def_glClipPlane, + ); + fn_glColorMaterial = new Deno.UnsafeFnPointer( + proc("glColorMaterial"), + def_glColorMaterial, + ); fn_glFogf = new Deno.UnsafeFnPointer(proc("glFogf"), def_glFogf); fn_glFogfv = new Deno.UnsafeFnPointer(proc("glFogfv"), def_glFogfv); fn_glFogi = new Deno.UnsafeFnPointer(proc("glFogi"), def_glFogi); @@ -6715,17 +7152,50 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glLightfv = new Deno.UnsafeFnPointer(proc("glLightfv"), def_glLightfv); fn_glLighti = new Deno.UnsafeFnPointer(proc("glLighti"), def_glLighti); fn_glLightiv = new Deno.UnsafeFnPointer(proc("glLightiv"), def_glLightiv); - fn_glLightModelf = new Deno.UnsafeFnPointer(proc("glLightModelf"), def_glLightModelf); - fn_glLightModelfv = new Deno.UnsafeFnPointer(proc("glLightModelfv"), def_glLightModelfv); - fn_glLightModeli = new Deno.UnsafeFnPointer(proc("glLightModeli"), def_glLightModeli); - fn_glLightModeliv = new Deno.UnsafeFnPointer(proc("glLightModeliv"), def_glLightModeliv); - fn_glLineStipple = new Deno.UnsafeFnPointer(proc("glLineStipple"), def_glLineStipple); - fn_glMaterialf = new Deno.UnsafeFnPointer(proc("glMaterialf"), def_glMaterialf); - fn_glMaterialfv = new Deno.UnsafeFnPointer(proc("glMaterialfv"), def_glMaterialfv); - fn_glMateriali = new Deno.UnsafeFnPointer(proc("glMateriali"), def_glMateriali); - fn_glMaterialiv = new Deno.UnsafeFnPointer(proc("glMaterialiv"), def_glMaterialiv); - fn_glPolygonStipple = new Deno.UnsafeFnPointer(proc("glPolygonStipple"), def_glPolygonStipple); - fn_glShadeModel = new Deno.UnsafeFnPointer(proc("glShadeModel"), def_glShadeModel); + fn_glLightModelf = new Deno.UnsafeFnPointer( + proc("glLightModelf"), + def_glLightModelf, + ); + fn_glLightModelfv = new Deno.UnsafeFnPointer( + proc("glLightModelfv"), + def_glLightModelfv, + ); + fn_glLightModeli = new Deno.UnsafeFnPointer( + proc("glLightModeli"), + def_glLightModeli, + ); + fn_glLightModeliv = new Deno.UnsafeFnPointer( + proc("glLightModeliv"), + def_glLightModeliv, + ); + fn_glLineStipple = new Deno.UnsafeFnPointer( + proc("glLineStipple"), + def_glLineStipple, + ); + fn_glMaterialf = new Deno.UnsafeFnPointer( + proc("glMaterialf"), + def_glMaterialf, + ); + fn_glMaterialfv = new Deno.UnsafeFnPointer( + proc("glMaterialfv"), + def_glMaterialfv, + ); + fn_glMateriali = new Deno.UnsafeFnPointer( + proc("glMateriali"), + def_glMateriali, + ); + fn_glMaterialiv = new Deno.UnsafeFnPointer( + proc("glMaterialiv"), + def_glMaterialiv, + ); + fn_glPolygonStipple = new Deno.UnsafeFnPointer( + proc("glPolygonStipple"), + def_glPolygonStipple, + ); + fn_glShadeModel = new Deno.UnsafeFnPointer( + proc("glShadeModel"), + def_glShadeModel, + ); fn_glTexEnvf = new Deno.UnsafeFnPointer(proc("glTexEnvf"), def_glTexEnvf); fn_glTexEnvfv = new Deno.UnsafeFnPointer(proc("glTexEnvfv"), def_glTexEnvfv); fn_glTexEnvi = new Deno.UnsafeFnPointer(proc("glTexEnvi"), def_glTexEnvi); @@ -6736,111 +7206,372 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glTexGenfv = new Deno.UnsafeFnPointer(proc("glTexGenfv"), def_glTexGenfv); fn_glTexGeni = new Deno.UnsafeFnPointer(proc("glTexGeni"), def_glTexGeni); fn_glTexGeniv = new Deno.UnsafeFnPointer(proc("glTexGeniv"), def_glTexGeniv); - fn_glFeedbackBuffer = new Deno.UnsafeFnPointer(proc("glFeedbackBuffer"), def_glFeedbackBuffer); - fn_glSelectBuffer = new Deno.UnsafeFnPointer(proc("glSelectBuffer"), def_glSelectBuffer); - fn_glRenderMode = new Deno.UnsafeFnPointer(proc("glRenderMode"), def_glRenderMode); - fn_glInitNames = new Deno.UnsafeFnPointer(proc("glInitNames"), def_glInitNames); + fn_glFeedbackBuffer = new Deno.UnsafeFnPointer( + proc("glFeedbackBuffer"), + def_glFeedbackBuffer, + ); + fn_glSelectBuffer = new Deno.UnsafeFnPointer( + proc("glSelectBuffer"), + def_glSelectBuffer, + ); + fn_glRenderMode = new Deno.UnsafeFnPointer( + proc("glRenderMode"), + def_glRenderMode, + ); + fn_glInitNames = new Deno.UnsafeFnPointer( + proc("glInitNames"), + def_glInitNames, + ); fn_glLoadName = new Deno.UnsafeFnPointer(proc("glLoadName"), def_glLoadName); - fn_glPassThrough = new Deno.UnsafeFnPointer(proc("glPassThrough"), def_glPassThrough); + fn_glPassThrough = new Deno.UnsafeFnPointer( + proc("glPassThrough"), + def_glPassThrough, + ); fn_glPopName = new Deno.UnsafeFnPointer(proc("glPopName"), def_glPopName); fn_glPushName = new Deno.UnsafeFnPointer(proc("glPushName"), def_glPushName); - fn_glClearAccum = new Deno.UnsafeFnPointer(proc("glClearAccum"), def_glClearAccum); - fn_glClearIndex = new Deno.UnsafeFnPointer(proc("glClearIndex"), def_glClearIndex); - fn_glIndexMask = new Deno.UnsafeFnPointer(proc("glIndexMask"), def_glIndexMask); + fn_glClearAccum = new Deno.UnsafeFnPointer( + proc("glClearAccum"), + def_glClearAccum, + ); + fn_glClearIndex = new Deno.UnsafeFnPointer( + proc("glClearIndex"), + def_glClearIndex, + ); + fn_glIndexMask = new Deno.UnsafeFnPointer( + proc("glIndexMask"), + def_glIndexMask, + ); fn_glAccum = new Deno.UnsafeFnPointer(proc("glAccum"), def_glAccum); - fn_glPopAttrib = new Deno.UnsafeFnPointer(proc("glPopAttrib"), def_glPopAttrib); - fn_glPushAttrib = new Deno.UnsafeFnPointer(proc("glPushAttrib"), def_glPushAttrib); + fn_glPopAttrib = new Deno.UnsafeFnPointer( + proc("glPopAttrib"), + def_glPopAttrib, + ); + fn_glPushAttrib = new Deno.UnsafeFnPointer( + proc("glPushAttrib"), + def_glPushAttrib, + ); fn_glMap1d = new Deno.UnsafeFnPointer(proc("glMap1d"), def_glMap1d); fn_glMap1f = new Deno.UnsafeFnPointer(proc("glMap1f"), def_glMap1f); fn_glMap2d = new Deno.UnsafeFnPointer(proc("glMap2d"), def_glMap2d); fn_glMap2f = new Deno.UnsafeFnPointer(proc("glMap2f"), def_glMap2f); - fn_glMapGrid1d = new Deno.UnsafeFnPointer(proc("glMapGrid1d"), def_glMapGrid1d); - fn_glMapGrid1f = new Deno.UnsafeFnPointer(proc("glMapGrid1f"), def_glMapGrid1f); - fn_glMapGrid2d = new Deno.UnsafeFnPointer(proc("glMapGrid2d"), def_glMapGrid2d); - fn_glMapGrid2f = new Deno.UnsafeFnPointer(proc("glMapGrid2f"), def_glMapGrid2f); - fn_glEvalCoord1d = new Deno.UnsafeFnPointer(proc("glEvalCoord1d"), def_glEvalCoord1d); - fn_glEvalCoord1dv = new Deno.UnsafeFnPointer(proc("glEvalCoord1dv"), def_glEvalCoord1dv); - fn_glEvalCoord1f = new Deno.UnsafeFnPointer(proc("glEvalCoord1f"), def_glEvalCoord1f); - fn_glEvalCoord1fv = new Deno.UnsafeFnPointer(proc("glEvalCoord1fv"), def_glEvalCoord1fv); - fn_glEvalCoord2d = new Deno.UnsafeFnPointer(proc("glEvalCoord2d"), def_glEvalCoord2d); - fn_glEvalCoord2dv = new Deno.UnsafeFnPointer(proc("glEvalCoord2dv"), def_glEvalCoord2dv); - fn_glEvalCoord2f = new Deno.UnsafeFnPointer(proc("glEvalCoord2f"), def_glEvalCoord2f); - fn_glEvalCoord2fv = new Deno.UnsafeFnPointer(proc("glEvalCoord2fv"), def_glEvalCoord2fv); - fn_glEvalMesh1 = new Deno.UnsafeFnPointer(proc("glEvalMesh1"), def_glEvalMesh1); - fn_glEvalPoint1 = new Deno.UnsafeFnPointer(proc("glEvalPoint1"), def_glEvalPoint1); - fn_glEvalMesh2 = new Deno.UnsafeFnPointer(proc("glEvalMesh2"), def_glEvalMesh2); - fn_glEvalPoint2 = new Deno.UnsafeFnPointer(proc("glEvalPoint2"), def_glEvalPoint2); - fn_glAlphaFunc = new Deno.UnsafeFnPointer(proc("glAlphaFunc"), def_glAlphaFunc); - fn_glPixelZoom = new Deno.UnsafeFnPointer(proc("glPixelZoom"), def_glPixelZoom); - fn_glPixelTransferf = new Deno.UnsafeFnPointer(proc("glPixelTransferf"), def_glPixelTransferf); - fn_glPixelTransferi = new Deno.UnsafeFnPointer(proc("glPixelTransferi"), def_glPixelTransferi); - fn_glPixelMapfv = new Deno.UnsafeFnPointer(proc("glPixelMapfv"), def_glPixelMapfv); - fn_glPixelMapuiv = new Deno.UnsafeFnPointer(proc("glPixelMapuiv"), def_glPixelMapuiv); - fn_glPixelMapusv = new Deno.UnsafeFnPointer(proc("glPixelMapusv"), def_glPixelMapusv); - fn_glCopyPixels = new Deno.UnsafeFnPointer(proc("glCopyPixels"), def_glCopyPixels); - fn_glDrawPixels = new Deno.UnsafeFnPointer(proc("glDrawPixels"), def_glDrawPixels); - fn_glGetClipPlane = new Deno.UnsafeFnPointer(proc("glGetClipPlane"), def_glGetClipPlane); - fn_glGetLightfv = new Deno.UnsafeFnPointer(proc("glGetLightfv"), def_glGetLightfv); - fn_glGetLightiv = new Deno.UnsafeFnPointer(proc("glGetLightiv"), def_glGetLightiv); + fn_glMapGrid1d = new Deno.UnsafeFnPointer( + proc("glMapGrid1d"), + def_glMapGrid1d, + ); + fn_glMapGrid1f = new Deno.UnsafeFnPointer( + proc("glMapGrid1f"), + def_glMapGrid1f, + ); + fn_glMapGrid2d = new Deno.UnsafeFnPointer( + proc("glMapGrid2d"), + def_glMapGrid2d, + ); + fn_glMapGrid2f = new Deno.UnsafeFnPointer( + proc("glMapGrid2f"), + def_glMapGrid2f, + ); + fn_glEvalCoord1d = new Deno.UnsafeFnPointer( + proc("glEvalCoord1d"), + def_glEvalCoord1d, + ); + fn_glEvalCoord1dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1dv"), + def_glEvalCoord1dv, + ); + fn_glEvalCoord1f = new Deno.UnsafeFnPointer( + proc("glEvalCoord1f"), + def_glEvalCoord1f, + ); + fn_glEvalCoord1fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1fv"), + def_glEvalCoord1fv, + ); + fn_glEvalCoord2d = new Deno.UnsafeFnPointer( + proc("glEvalCoord2d"), + def_glEvalCoord2d, + ); + fn_glEvalCoord2dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2dv"), + def_glEvalCoord2dv, + ); + fn_glEvalCoord2f = new Deno.UnsafeFnPointer( + proc("glEvalCoord2f"), + def_glEvalCoord2f, + ); + fn_glEvalCoord2fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2fv"), + def_glEvalCoord2fv, + ); + fn_glEvalMesh1 = new Deno.UnsafeFnPointer( + proc("glEvalMesh1"), + def_glEvalMesh1, + ); + fn_glEvalPoint1 = new Deno.UnsafeFnPointer( + proc("glEvalPoint1"), + def_glEvalPoint1, + ); + fn_glEvalMesh2 = new Deno.UnsafeFnPointer( + proc("glEvalMesh2"), + def_glEvalMesh2, + ); + fn_glEvalPoint2 = new Deno.UnsafeFnPointer( + proc("glEvalPoint2"), + def_glEvalPoint2, + ); + fn_glAlphaFunc = new Deno.UnsafeFnPointer( + proc("glAlphaFunc"), + def_glAlphaFunc, + ); + fn_glPixelZoom = new Deno.UnsafeFnPointer( + proc("glPixelZoom"), + def_glPixelZoom, + ); + fn_glPixelTransferf = new Deno.UnsafeFnPointer( + proc("glPixelTransferf"), + def_glPixelTransferf, + ); + fn_glPixelTransferi = new Deno.UnsafeFnPointer( + proc("glPixelTransferi"), + def_glPixelTransferi, + ); + fn_glPixelMapfv = new Deno.UnsafeFnPointer( + proc("glPixelMapfv"), + def_glPixelMapfv, + ); + fn_glPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glPixelMapuiv"), + def_glPixelMapuiv, + ); + fn_glPixelMapusv = new Deno.UnsafeFnPointer( + proc("glPixelMapusv"), + def_glPixelMapusv, + ); + fn_glCopyPixels = new Deno.UnsafeFnPointer( + proc("glCopyPixels"), + def_glCopyPixels, + ); + fn_glDrawPixels = new Deno.UnsafeFnPointer( + proc("glDrawPixels"), + def_glDrawPixels, + ); + fn_glGetClipPlane = new Deno.UnsafeFnPointer( + proc("glGetClipPlane"), + def_glGetClipPlane, + ); + fn_glGetLightfv = new Deno.UnsafeFnPointer( + proc("glGetLightfv"), + def_glGetLightfv, + ); + fn_glGetLightiv = new Deno.UnsafeFnPointer( + proc("glGetLightiv"), + def_glGetLightiv, + ); fn_glGetMapdv = new Deno.UnsafeFnPointer(proc("glGetMapdv"), def_glGetMapdv); fn_glGetMapfv = new Deno.UnsafeFnPointer(proc("glGetMapfv"), def_glGetMapfv); fn_glGetMapiv = new Deno.UnsafeFnPointer(proc("glGetMapiv"), def_glGetMapiv); - fn_glGetMaterialfv = new Deno.UnsafeFnPointer(proc("glGetMaterialfv"), def_glGetMaterialfv); - fn_glGetMaterialiv = new Deno.UnsafeFnPointer(proc("glGetMaterialiv"), def_glGetMaterialiv); - fn_glGetPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetPixelMapfv"), def_glGetPixelMapfv); - fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetPixelMapuiv"), def_glGetPixelMapuiv); - fn_glGetPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetPixelMapusv"), def_glGetPixelMapusv); - fn_glGetPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetPolygonStipple"), def_glGetPolygonStipple); - fn_glGetTexEnvfv = new Deno.UnsafeFnPointer(proc("glGetTexEnvfv"), def_glGetTexEnvfv); - fn_glGetTexEnviv = new Deno.UnsafeFnPointer(proc("glGetTexEnviv"), def_glGetTexEnviv); - fn_glGetTexGendv = new Deno.UnsafeFnPointer(proc("glGetTexGendv"), def_glGetTexGendv); - fn_glGetTexGenfv = new Deno.UnsafeFnPointer(proc("glGetTexGenfv"), def_glGetTexGenfv); - fn_glGetTexGeniv = new Deno.UnsafeFnPointer(proc("glGetTexGeniv"), def_glGetTexGeniv); + fn_glGetMaterialfv = new Deno.UnsafeFnPointer( + proc("glGetMaterialfv"), + def_glGetMaterialfv, + ); + fn_glGetMaterialiv = new Deno.UnsafeFnPointer( + proc("glGetMaterialiv"), + def_glGetMaterialiv, + ); + fn_glGetPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapfv"), + def_glGetPixelMapfv, + ); + fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapuiv"), + def_glGetPixelMapuiv, + ); + fn_glGetPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapusv"), + def_glGetPixelMapusv, + ); + fn_glGetPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetPolygonStipple"), + def_glGetPolygonStipple, + ); + fn_glGetTexEnvfv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvfv"), + def_glGetTexEnvfv, + ); + fn_glGetTexEnviv = new Deno.UnsafeFnPointer( + proc("glGetTexEnviv"), + def_glGetTexEnviv, + ); + fn_glGetTexGendv = new Deno.UnsafeFnPointer( + proc("glGetTexGendv"), + def_glGetTexGendv, + ); + fn_glGetTexGenfv = new Deno.UnsafeFnPointer( + proc("glGetTexGenfv"), + def_glGetTexGenfv, + ); + fn_glGetTexGeniv = new Deno.UnsafeFnPointer( + proc("glGetTexGeniv"), + def_glGetTexGeniv, + ); fn_glIsList = new Deno.UnsafeFnPointer(proc("glIsList"), def_glIsList); fn_glFrustum = new Deno.UnsafeFnPointer(proc("glFrustum"), def_glFrustum); - fn_glLoadIdentity = new Deno.UnsafeFnPointer(proc("glLoadIdentity"), def_glLoadIdentity); - fn_glLoadMatrixf = new Deno.UnsafeFnPointer(proc("glLoadMatrixf"), def_glLoadMatrixf); - fn_glLoadMatrixd = new Deno.UnsafeFnPointer(proc("glLoadMatrixd"), def_glLoadMatrixd); - fn_glMatrixMode = new Deno.UnsafeFnPointer(proc("glMatrixMode"), def_glMatrixMode); - fn_glMultMatrixf = new Deno.UnsafeFnPointer(proc("glMultMatrixf"), def_glMultMatrixf); - fn_glMultMatrixd = new Deno.UnsafeFnPointer(proc("glMultMatrixd"), def_glMultMatrixd); + fn_glLoadIdentity = new Deno.UnsafeFnPointer( + proc("glLoadIdentity"), + def_glLoadIdentity, + ); + fn_glLoadMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadMatrixf"), + def_glLoadMatrixf, + ); + fn_glLoadMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadMatrixd"), + def_glLoadMatrixd, + ); + fn_glMatrixMode = new Deno.UnsafeFnPointer( + proc("glMatrixMode"), + def_glMatrixMode, + ); + fn_glMultMatrixf = new Deno.UnsafeFnPointer( + proc("glMultMatrixf"), + def_glMultMatrixf, + ); + fn_glMultMatrixd = new Deno.UnsafeFnPointer( + proc("glMultMatrixd"), + def_glMultMatrixd, + ); fn_glOrtho = new Deno.UnsafeFnPointer(proc("glOrtho"), def_glOrtho); - fn_glPopMatrix = new Deno.UnsafeFnPointer(proc("glPopMatrix"), def_glPopMatrix); - fn_glPushMatrix = new Deno.UnsafeFnPointer(proc("glPushMatrix"), def_glPushMatrix); + fn_glPopMatrix = new Deno.UnsafeFnPointer( + proc("glPopMatrix"), + def_glPopMatrix, + ); + fn_glPushMatrix = new Deno.UnsafeFnPointer( + proc("glPushMatrix"), + def_glPushMatrix, + ); fn_glRotated = new Deno.UnsafeFnPointer(proc("glRotated"), def_glRotated); fn_glRotatef = new Deno.UnsafeFnPointer(proc("glRotatef"), def_glRotatef); fn_glScaled = new Deno.UnsafeFnPointer(proc("glScaled"), def_glScaled); fn_glScalef = new Deno.UnsafeFnPointer(proc("glScalef"), def_glScalef); - fn_glTranslated = new Deno.UnsafeFnPointer(proc("glTranslated"), def_glTranslated); - fn_glTranslatef = new Deno.UnsafeFnPointer(proc("glTranslatef"), def_glTranslatef); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glArrayElement = new Deno.UnsafeFnPointer(proc("glArrayElement"), def_glArrayElement); - fn_glColorPointer = new Deno.UnsafeFnPointer(proc("glColorPointer"), def_glColorPointer); - fn_glDisableClientState = new Deno.UnsafeFnPointer(proc("glDisableClientState"), def_glDisableClientState); - fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer(proc("glEdgeFlagPointer"), def_glEdgeFlagPointer); - fn_glEnableClientState = new Deno.UnsafeFnPointer(proc("glEnableClientState"), def_glEnableClientState); - fn_glIndexPointer = new Deno.UnsafeFnPointer(proc("glIndexPointer"), def_glIndexPointer); - fn_glInterleavedArrays = new Deno.UnsafeFnPointer(proc("glInterleavedArrays"), def_glInterleavedArrays); - fn_glNormalPointer = new Deno.UnsafeFnPointer(proc("glNormalPointer"), def_glNormalPointer); - fn_glTexCoordPointer = new Deno.UnsafeFnPointer(proc("glTexCoordPointer"), def_glTexCoordPointer); - fn_glVertexPointer = new Deno.UnsafeFnPointer(proc("glVertexPointer"), def_glVertexPointer); - fn_glAreTexturesResident = new Deno.UnsafeFnPointer(proc("glAreTexturesResident"), def_glAreTexturesResident); - fn_glPrioritizeTextures = new Deno.UnsafeFnPointer(proc("glPrioritizeTextures"), def_glPrioritizeTextures); + fn_glTranslated = new Deno.UnsafeFnPointer( + proc("glTranslated"), + def_glTranslated, + ); + fn_glTranslatef = new Deno.UnsafeFnPointer( + proc("glTranslatef"), + def_glTranslatef, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glArrayElement = new Deno.UnsafeFnPointer( + proc("glArrayElement"), + def_glArrayElement, + ); + fn_glColorPointer = new Deno.UnsafeFnPointer( + proc("glColorPointer"), + def_glColorPointer, + ); + fn_glDisableClientState = new Deno.UnsafeFnPointer( + proc("glDisableClientState"), + def_glDisableClientState, + ); + fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer( + proc("glEdgeFlagPointer"), + def_glEdgeFlagPointer, + ); + fn_glEnableClientState = new Deno.UnsafeFnPointer( + proc("glEnableClientState"), + def_glEnableClientState, + ); + fn_glIndexPointer = new Deno.UnsafeFnPointer( + proc("glIndexPointer"), + def_glIndexPointer, + ); + fn_glInterleavedArrays = new Deno.UnsafeFnPointer( + proc("glInterleavedArrays"), + def_glInterleavedArrays, + ); + fn_glNormalPointer = new Deno.UnsafeFnPointer( + proc("glNormalPointer"), + def_glNormalPointer, + ); + fn_glTexCoordPointer = new Deno.UnsafeFnPointer( + proc("glTexCoordPointer"), + def_glTexCoordPointer, + ); + fn_glVertexPointer = new Deno.UnsafeFnPointer( + proc("glVertexPointer"), + def_glVertexPointer, + ); + fn_glAreTexturesResident = new Deno.UnsafeFnPointer( + proc("glAreTexturesResident"), + def_glAreTexturesResident, + ); + fn_glPrioritizeTextures = new Deno.UnsafeFnPointer( + proc("glPrioritizeTextures"), + def_glPrioritizeTextures, + ); fn_glIndexub = new Deno.UnsafeFnPointer(proc("glIndexub"), def_glIndexub); fn_glIndexubv = new Deno.UnsafeFnPointer(proc("glIndexubv"), def_glIndexubv); - fn_glPopClientAttrib = new Deno.UnsafeFnPointer(proc("glPopClientAttrib"), def_glPopClientAttrib); - fn_glPushClientAttrib = new Deno.UnsafeFnPointer(proc("glPushClientAttrib"), def_glPushClientAttrib); + fn_glPopClientAttrib = new Deno.UnsafeFnPointer( + proc("glPopClientAttrib"), + def_glPopClientAttrib, + ); + fn_glPushClientAttrib = new Deno.UnsafeFnPointer( + proc("glPushClientAttrib"), + def_glPushClientAttrib, + ); } diff --git a/api/gl1.2.ts b/api/gl1.2.ts index b1ce0e3..76d6252 100644 --- a/api/gl1.2.ts +++ b/api/gl1.2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -853,7 +861,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1350,7 +1368,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1369,7 +1389,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1388,7 +1410,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1409,7 +1433,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -4838,7 +4864,18 @@ export function Map1f( } export const def_glMap2d = { - parameters: ["u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -4871,7 +4908,18 @@ export function Map2d( } export const def_glMap2f = { - parameters: ["u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5566,7 +5614,9 @@ export const def_glGetPolygonStipple = { result: "void", } as const; -let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetPolygonStipple +>; export function GetPolygonStipple( mask: Buffer, @@ -6097,7 +6147,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -6122,7 +6174,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -6174,7 +6228,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6311,7 +6375,9 @@ export const def_glDisableClientState = { result: "void", } as const; -let fn_glDisableClientState!: Deno.UnsafeFnPointer; +let fn_glDisableClientState!: Deno.UnsafeFnPointer< + typeof def_glDisableClientState +>; export function DisableClientState( array: GLenum, @@ -6343,7 +6409,9 @@ export const def_glEnableClientState = { result: "void", } as const; -let fn_glEnableClientState!: Deno.UnsafeFnPointer; +let fn_glEnableClientState!: Deno.UnsafeFnPointer< + typeof def_glEnableClientState +>; export function EnableClientState( array: GLenum, @@ -6377,7 +6445,9 @@ export const def_glInterleavedArrays = { result: "void", } as const; -let fn_glInterleavedArrays!: Deno.UnsafeFnPointer; +let fn_glInterleavedArrays!: Deno.UnsafeFnPointer< + typeof def_glInterleavedArrays +>; export function InterleavedArrays( format: GLenum, @@ -6457,7 +6527,9 @@ export const def_glAreTexturesResident = { result: "u8", } as const; -let fn_glAreTexturesResident!: Deno.UnsafeFnPointer; +let fn_glAreTexturesResident!: Deno.UnsafeFnPointer< + typeof def_glAreTexturesResident +>; export function AreTexturesResident( n: GLsizei, @@ -6476,7 +6548,9 @@ export const def_glPrioritizeTextures = { result: "void", } as const; -let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer; +let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer< + typeof def_glPrioritizeTextures +>; export function PrioritizeTextures( n: GLsizei, @@ -6551,7 +6625,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -6572,7 +6648,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6605,7 +6692,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6644,7 +6743,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -6673,58 +6774,175 @@ export function CopyTexSubImage3D( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); fn_glNewList = new Deno.UnsafeFnPointer(proc("glNewList"), def_glNewList); fn_glEndList = new Deno.UnsafeFnPointer(proc("glEndList"), def_glEndList); fn_glCallList = new Deno.UnsafeFnPointer(proc("glCallList"), def_glCallList); - fn_glCallLists = new Deno.UnsafeFnPointer(proc("glCallLists"), def_glCallLists); - fn_glDeleteLists = new Deno.UnsafeFnPointer(proc("glDeleteLists"), def_glDeleteLists); + fn_glCallLists = new Deno.UnsafeFnPointer( + proc("glCallLists"), + def_glCallLists, + ); + fn_glDeleteLists = new Deno.UnsafeFnPointer( + proc("glDeleteLists"), + def_glDeleteLists, + ); fn_glGenLists = new Deno.UnsafeFnPointer(proc("glGenLists"), def_glGenLists); fn_glListBase = new Deno.UnsafeFnPointer(proc("glListBase"), def_glListBase); fn_glBegin = new Deno.UnsafeFnPointer(proc("glBegin"), def_glBegin); @@ -6740,11 +6958,20 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor3s = new Deno.UnsafeFnPointer(proc("glColor3s"), def_glColor3s); fn_glColor3sv = new Deno.UnsafeFnPointer(proc("glColor3sv"), def_glColor3sv); fn_glColor3ub = new Deno.UnsafeFnPointer(proc("glColor3ub"), def_glColor3ub); - fn_glColor3ubv = new Deno.UnsafeFnPointer(proc("glColor3ubv"), def_glColor3ubv); + fn_glColor3ubv = new Deno.UnsafeFnPointer( + proc("glColor3ubv"), + def_glColor3ubv, + ); fn_glColor3ui = new Deno.UnsafeFnPointer(proc("glColor3ui"), def_glColor3ui); - fn_glColor3uiv = new Deno.UnsafeFnPointer(proc("glColor3uiv"), def_glColor3uiv); + fn_glColor3uiv = new Deno.UnsafeFnPointer( + proc("glColor3uiv"), + def_glColor3uiv, + ); fn_glColor3us = new Deno.UnsafeFnPointer(proc("glColor3us"), def_glColor3us); - fn_glColor3usv = new Deno.UnsafeFnPointer(proc("glColor3usv"), def_glColor3usv); + fn_glColor3usv = new Deno.UnsafeFnPointer( + proc("glColor3usv"), + def_glColor3usv, + ); fn_glColor4b = new Deno.UnsafeFnPointer(proc("glColor4b"), def_glColor4b); fn_glColor4bv = new Deno.UnsafeFnPointer(proc("glColor4bv"), def_glColor4bv); fn_glColor4d = new Deno.UnsafeFnPointer(proc("glColor4d"), def_glColor4d); @@ -6756,13 +6983,25 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor4s = new Deno.UnsafeFnPointer(proc("glColor4s"), def_glColor4s); fn_glColor4sv = new Deno.UnsafeFnPointer(proc("glColor4sv"), def_glColor4sv); fn_glColor4ub = new Deno.UnsafeFnPointer(proc("glColor4ub"), def_glColor4ub); - fn_glColor4ubv = new Deno.UnsafeFnPointer(proc("glColor4ubv"), def_glColor4ubv); + fn_glColor4ubv = new Deno.UnsafeFnPointer( + proc("glColor4ubv"), + def_glColor4ubv, + ); fn_glColor4ui = new Deno.UnsafeFnPointer(proc("glColor4ui"), def_glColor4ui); - fn_glColor4uiv = new Deno.UnsafeFnPointer(proc("glColor4uiv"), def_glColor4uiv); + fn_glColor4uiv = new Deno.UnsafeFnPointer( + proc("glColor4uiv"), + def_glColor4uiv, + ); fn_glColor4us = new Deno.UnsafeFnPointer(proc("glColor4us"), def_glColor4us); - fn_glColor4usv = new Deno.UnsafeFnPointer(proc("glColor4usv"), def_glColor4usv); + fn_glColor4usv = new Deno.UnsafeFnPointer( + proc("glColor4usv"), + def_glColor4usv, + ); fn_glEdgeFlag = new Deno.UnsafeFnPointer(proc("glEdgeFlag"), def_glEdgeFlag); - fn_glEdgeFlagv = new Deno.UnsafeFnPointer(proc("glEdgeFlagv"), def_glEdgeFlagv); + fn_glEdgeFlagv = new Deno.UnsafeFnPointer( + proc("glEdgeFlagv"), + def_glEdgeFlagv, + ); fn_glEnd = new Deno.UnsafeFnPointer(proc("glEnd"), def_glEnd); fn_glIndexd = new Deno.UnsafeFnPointer(proc("glIndexd"), def_glIndexd); fn_glIndexdv = new Deno.UnsafeFnPointer(proc("glIndexdv"), def_glIndexdv); @@ -6773,39 +7012,126 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glIndexs = new Deno.UnsafeFnPointer(proc("glIndexs"), def_glIndexs); fn_glIndexsv = new Deno.UnsafeFnPointer(proc("glIndexsv"), def_glIndexsv); fn_glNormal3b = new Deno.UnsafeFnPointer(proc("glNormal3b"), def_glNormal3b); - fn_glNormal3bv = new Deno.UnsafeFnPointer(proc("glNormal3bv"), def_glNormal3bv); + fn_glNormal3bv = new Deno.UnsafeFnPointer( + proc("glNormal3bv"), + def_glNormal3bv, + ); fn_glNormal3d = new Deno.UnsafeFnPointer(proc("glNormal3d"), def_glNormal3d); - fn_glNormal3dv = new Deno.UnsafeFnPointer(proc("glNormal3dv"), def_glNormal3dv); + fn_glNormal3dv = new Deno.UnsafeFnPointer( + proc("glNormal3dv"), + def_glNormal3dv, + ); fn_glNormal3f = new Deno.UnsafeFnPointer(proc("glNormal3f"), def_glNormal3f); - fn_glNormal3fv = new Deno.UnsafeFnPointer(proc("glNormal3fv"), def_glNormal3fv); + fn_glNormal3fv = new Deno.UnsafeFnPointer( + proc("glNormal3fv"), + def_glNormal3fv, + ); fn_glNormal3i = new Deno.UnsafeFnPointer(proc("glNormal3i"), def_glNormal3i); - fn_glNormal3iv = new Deno.UnsafeFnPointer(proc("glNormal3iv"), def_glNormal3iv); + fn_glNormal3iv = new Deno.UnsafeFnPointer( + proc("glNormal3iv"), + def_glNormal3iv, + ); fn_glNormal3s = new Deno.UnsafeFnPointer(proc("glNormal3s"), def_glNormal3s); - fn_glNormal3sv = new Deno.UnsafeFnPointer(proc("glNormal3sv"), def_glNormal3sv); - fn_glRasterPos2d = new Deno.UnsafeFnPointer(proc("glRasterPos2d"), def_glRasterPos2d); - fn_glRasterPos2dv = new Deno.UnsafeFnPointer(proc("glRasterPos2dv"), def_glRasterPos2dv); - fn_glRasterPos2f = new Deno.UnsafeFnPointer(proc("glRasterPos2f"), def_glRasterPos2f); - fn_glRasterPos2fv = new Deno.UnsafeFnPointer(proc("glRasterPos2fv"), def_glRasterPos2fv); - fn_glRasterPos2i = new Deno.UnsafeFnPointer(proc("glRasterPos2i"), def_glRasterPos2i); - fn_glRasterPos2iv = new Deno.UnsafeFnPointer(proc("glRasterPos2iv"), def_glRasterPos2iv); - fn_glRasterPos2s = new Deno.UnsafeFnPointer(proc("glRasterPos2s"), def_glRasterPos2s); - fn_glRasterPos2sv = new Deno.UnsafeFnPointer(proc("glRasterPos2sv"), def_glRasterPos2sv); - fn_glRasterPos3d = new Deno.UnsafeFnPointer(proc("glRasterPos3d"), def_glRasterPos3d); - fn_glRasterPos3dv = new Deno.UnsafeFnPointer(proc("glRasterPos3dv"), def_glRasterPos3dv); - fn_glRasterPos3f = new Deno.UnsafeFnPointer(proc("glRasterPos3f"), def_glRasterPos3f); - fn_glRasterPos3fv = new Deno.UnsafeFnPointer(proc("glRasterPos3fv"), def_glRasterPos3fv); - fn_glRasterPos3i = new Deno.UnsafeFnPointer(proc("glRasterPos3i"), def_glRasterPos3i); - fn_glRasterPos3iv = new Deno.UnsafeFnPointer(proc("glRasterPos3iv"), def_glRasterPos3iv); - fn_glRasterPos3s = new Deno.UnsafeFnPointer(proc("glRasterPos3s"), def_glRasterPos3s); - fn_glRasterPos3sv = new Deno.UnsafeFnPointer(proc("glRasterPos3sv"), def_glRasterPos3sv); - fn_glRasterPos4d = new Deno.UnsafeFnPointer(proc("glRasterPos4d"), def_glRasterPos4d); - fn_glRasterPos4dv = new Deno.UnsafeFnPointer(proc("glRasterPos4dv"), def_glRasterPos4dv); - fn_glRasterPos4f = new Deno.UnsafeFnPointer(proc("glRasterPos4f"), def_glRasterPos4f); - fn_glRasterPos4fv = new Deno.UnsafeFnPointer(proc("glRasterPos4fv"), def_glRasterPos4fv); - fn_glRasterPos4i = new Deno.UnsafeFnPointer(proc("glRasterPos4i"), def_glRasterPos4i); - fn_glRasterPos4iv = new Deno.UnsafeFnPointer(proc("glRasterPos4iv"), def_glRasterPos4iv); - fn_glRasterPos4s = new Deno.UnsafeFnPointer(proc("glRasterPos4s"), def_glRasterPos4s); - fn_glRasterPos4sv = new Deno.UnsafeFnPointer(proc("glRasterPos4sv"), def_glRasterPos4sv); + fn_glNormal3sv = new Deno.UnsafeFnPointer( + proc("glNormal3sv"), + def_glNormal3sv, + ); + fn_glRasterPos2d = new Deno.UnsafeFnPointer( + proc("glRasterPos2d"), + def_glRasterPos2d, + ); + fn_glRasterPos2dv = new Deno.UnsafeFnPointer( + proc("glRasterPos2dv"), + def_glRasterPos2dv, + ); + fn_glRasterPos2f = new Deno.UnsafeFnPointer( + proc("glRasterPos2f"), + def_glRasterPos2f, + ); + fn_glRasterPos2fv = new Deno.UnsafeFnPointer( + proc("glRasterPos2fv"), + def_glRasterPos2fv, + ); + fn_glRasterPos2i = new Deno.UnsafeFnPointer( + proc("glRasterPos2i"), + def_glRasterPos2i, + ); + fn_glRasterPos2iv = new Deno.UnsafeFnPointer( + proc("glRasterPos2iv"), + def_glRasterPos2iv, + ); + fn_glRasterPos2s = new Deno.UnsafeFnPointer( + proc("glRasterPos2s"), + def_glRasterPos2s, + ); + fn_glRasterPos2sv = new Deno.UnsafeFnPointer( + proc("glRasterPos2sv"), + def_glRasterPos2sv, + ); + fn_glRasterPos3d = new Deno.UnsafeFnPointer( + proc("glRasterPos3d"), + def_glRasterPos3d, + ); + fn_glRasterPos3dv = new Deno.UnsafeFnPointer( + proc("glRasterPos3dv"), + def_glRasterPos3dv, + ); + fn_glRasterPos3f = new Deno.UnsafeFnPointer( + proc("glRasterPos3f"), + def_glRasterPos3f, + ); + fn_glRasterPos3fv = new Deno.UnsafeFnPointer( + proc("glRasterPos3fv"), + def_glRasterPos3fv, + ); + fn_glRasterPos3i = new Deno.UnsafeFnPointer( + proc("glRasterPos3i"), + def_glRasterPos3i, + ); + fn_glRasterPos3iv = new Deno.UnsafeFnPointer( + proc("glRasterPos3iv"), + def_glRasterPos3iv, + ); + fn_glRasterPos3s = new Deno.UnsafeFnPointer( + proc("glRasterPos3s"), + def_glRasterPos3s, + ); + fn_glRasterPos3sv = new Deno.UnsafeFnPointer( + proc("glRasterPos3sv"), + def_glRasterPos3sv, + ); + fn_glRasterPos4d = new Deno.UnsafeFnPointer( + proc("glRasterPos4d"), + def_glRasterPos4d, + ); + fn_glRasterPos4dv = new Deno.UnsafeFnPointer( + proc("glRasterPos4dv"), + def_glRasterPos4dv, + ); + fn_glRasterPos4f = new Deno.UnsafeFnPointer( + proc("glRasterPos4f"), + def_glRasterPos4f, + ); + fn_glRasterPos4fv = new Deno.UnsafeFnPointer( + proc("glRasterPos4fv"), + def_glRasterPos4fv, + ); + fn_glRasterPos4i = new Deno.UnsafeFnPointer( + proc("glRasterPos4i"), + def_glRasterPos4i, + ); + fn_glRasterPos4iv = new Deno.UnsafeFnPointer( + proc("glRasterPos4iv"), + def_glRasterPos4iv, + ); + fn_glRasterPos4s = new Deno.UnsafeFnPointer( + proc("glRasterPos4s"), + def_glRasterPos4s, + ); + fn_glRasterPos4sv = new Deno.UnsafeFnPointer( + proc("glRasterPos4sv"), + def_glRasterPos4sv, + ); fn_glRectd = new Deno.UnsafeFnPointer(proc("glRectd"), def_glRectd); fn_glRectdv = new Deno.UnsafeFnPointer(proc("glRectdv"), def_glRectdv); fn_glRectf = new Deno.UnsafeFnPointer(proc("glRectf"), def_glRectf); @@ -6814,64 +7140,202 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glRectiv = new Deno.UnsafeFnPointer(proc("glRectiv"), def_glRectiv); fn_glRects = new Deno.UnsafeFnPointer(proc("glRects"), def_glRects); fn_glRectsv = new Deno.UnsafeFnPointer(proc("glRectsv"), def_glRectsv); - fn_glTexCoord1d = new Deno.UnsafeFnPointer(proc("glTexCoord1d"), def_glTexCoord1d); - fn_glTexCoord1dv = new Deno.UnsafeFnPointer(proc("glTexCoord1dv"), def_glTexCoord1dv); - fn_glTexCoord1f = new Deno.UnsafeFnPointer(proc("glTexCoord1f"), def_glTexCoord1f); - fn_glTexCoord1fv = new Deno.UnsafeFnPointer(proc("glTexCoord1fv"), def_glTexCoord1fv); - fn_glTexCoord1i = new Deno.UnsafeFnPointer(proc("glTexCoord1i"), def_glTexCoord1i); - fn_glTexCoord1iv = new Deno.UnsafeFnPointer(proc("glTexCoord1iv"), def_glTexCoord1iv); - fn_glTexCoord1s = new Deno.UnsafeFnPointer(proc("glTexCoord1s"), def_glTexCoord1s); - fn_glTexCoord1sv = new Deno.UnsafeFnPointer(proc("glTexCoord1sv"), def_glTexCoord1sv); - fn_glTexCoord2d = new Deno.UnsafeFnPointer(proc("glTexCoord2d"), def_glTexCoord2d); - fn_glTexCoord2dv = new Deno.UnsafeFnPointer(proc("glTexCoord2dv"), def_glTexCoord2dv); - fn_glTexCoord2f = new Deno.UnsafeFnPointer(proc("glTexCoord2f"), def_glTexCoord2f); - fn_glTexCoord2fv = new Deno.UnsafeFnPointer(proc("glTexCoord2fv"), def_glTexCoord2fv); - fn_glTexCoord2i = new Deno.UnsafeFnPointer(proc("glTexCoord2i"), def_glTexCoord2i); - fn_glTexCoord2iv = new Deno.UnsafeFnPointer(proc("glTexCoord2iv"), def_glTexCoord2iv); - fn_glTexCoord2s = new Deno.UnsafeFnPointer(proc("glTexCoord2s"), def_glTexCoord2s); - fn_glTexCoord2sv = new Deno.UnsafeFnPointer(proc("glTexCoord2sv"), def_glTexCoord2sv); - fn_glTexCoord3d = new Deno.UnsafeFnPointer(proc("glTexCoord3d"), def_glTexCoord3d); - fn_glTexCoord3dv = new Deno.UnsafeFnPointer(proc("glTexCoord3dv"), def_glTexCoord3dv); - fn_glTexCoord3f = new Deno.UnsafeFnPointer(proc("glTexCoord3f"), def_glTexCoord3f); - fn_glTexCoord3fv = new Deno.UnsafeFnPointer(proc("glTexCoord3fv"), def_glTexCoord3fv); - fn_glTexCoord3i = new Deno.UnsafeFnPointer(proc("glTexCoord3i"), def_glTexCoord3i); - fn_glTexCoord3iv = new Deno.UnsafeFnPointer(proc("glTexCoord3iv"), def_glTexCoord3iv); - fn_glTexCoord3s = new Deno.UnsafeFnPointer(proc("glTexCoord3s"), def_glTexCoord3s); - fn_glTexCoord3sv = new Deno.UnsafeFnPointer(proc("glTexCoord3sv"), def_glTexCoord3sv); - fn_glTexCoord4d = new Deno.UnsafeFnPointer(proc("glTexCoord4d"), def_glTexCoord4d); - fn_glTexCoord4dv = new Deno.UnsafeFnPointer(proc("glTexCoord4dv"), def_glTexCoord4dv); - fn_glTexCoord4f = new Deno.UnsafeFnPointer(proc("glTexCoord4f"), def_glTexCoord4f); - fn_glTexCoord4fv = new Deno.UnsafeFnPointer(proc("glTexCoord4fv"), def_glTexCoord4fv); - fn_glTexCoord4i = new Deno.UnsafeFnPointer(proc("glTexCoord4i"), def_glTexCoord4i); - fn_glTexCoord4iv = new Deno.UnsafeFnPointer(proc("glTexCoord4iv"), def_glTexCoord4iv); - fn_glTexCoord4s = new Deno.UnsafeFnPointer(proc("glTexCoord4s"), def_glTexCoord4s); - fn_glTexCoord4sv = new Deno.UnsafeFnPointer(proc("glTexCoord4sv"), def_glTexCoord4sv); + fn_glTexCoord1d = new Deno.UnsafeFnPointer( + proc("glTexCoord1d"), + def_glTexCoord1d, + ); + fn_glTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glTexCoord1dv"), + def_glTexCoord1dv, + ); + fn_glTexCoord1f = new Deno.UnsafeFnPointer( + proc("glTexCoord1f"), + def_glTexCoord1f, + ); + fn_glTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glTexCoord1fv"), + def_glTexCoord1fv, + ); + fn_glTexCoord1i = new Deno.UnsafeFnPointer( + proc("glTexCoord1i"), + def_glTexCoord1i, + ); + fn_glTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glTexCoord1iv"), + def_glTexCoord1iv, + ); + fn_glTexCoord1s = new Deno.UnsafeFnPointer( + proc("glTexCoord1s"), + def_glTexCoord1s, + ); + fn_glTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glTexCoord1sv"), + def_glTexCoord1sv, + ); + fn_glTexCoord2d = new Deno.UnsafeFnPointer( + proc("glTexCoord2d"), + def_glTexCoord2d, + ); + fn_glTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glTexCoord2dv"), + def_glTexCoord2dv, + ); + fn_glTexCoord2f = new Deno.UnsafeFnPointer( + proc("glTexCoord2f"), + def_glTexCoord2f, + ); + fn_glTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glTexCoord2fv"), + def_glTexCoord2fv, + ); + fn_glTexCoord2i = new Deno.UnsafeFnPointer( + proc("glTexCoord2i"), + def_glTexCoord2i, + ); + fn_glTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glTexCoord2iv"), + def_glTexCoord2iv, + ); + fn_glTexCoord2s = new Deno.UnsafeFnPointer( + proc("glTexCoord2s"), + def_glTexCoord2s, + ); + fn_glTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glTexCoord2sv"), + def_glTexCoord2sv, + ); + fn_glTexCoord3d = new Deno.UnsafeFnPointer( + proc("glTexCoord3d"), + def_glTexCoord3d, + ); + fn_glTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glTexCoord3dv"), + def_glTexCoord3dv, + ); + fn_glTexCoord3f = new Deno.UnsafeFnPointer( + proc("glTexCoord3f"), + def_glTexCoord3f, + ); + fn_glTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glTexCoord3fv"), + def_glTexCoord3fv, + ); + fn_glTexCoord3i = new Deno.UnsafeFnPointer( + proc("glTexCoord3i"), + def_glTexCoord3i, + ); + fn_glTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glTexCoord3iv"), + def_glTexCoord3iv, + ); + fn_glTexCoord3s = new Deno.UnsafeFnPointer( + proc("glTexCoord3s"), + def_glTexCoord3s, + ); + fn_glTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glTexCoord3sv"), + def_glTexCoord3sv, + ); + fn_glTexCoord4d = new Deno.UnsafeFnPointer( + proc("glTexCoord4d"), + def_glTexCoord4d, + ); + fn_glTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glTexCoord4dv"), + def_glTexCoord4dv, + ); + fn_glTexCoord4f = new Deno.UnsafeFnPointer( + proc("glTexCoord4f"), + def_glTexCoord4f, + ); + fn_glTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glTexCoord4fv"), + def_glTexCoord4fv, + ); + fn_glTexCoord4i = new Deno.UnsafeFnPointer( + proc("glTexCoord4i"), + def_glTexCoord4i, + ); + fn_glTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glTexCoord4iv"), + def_glTexCoord4iv, + ); + fn_glTexCoord4s = new Deno.UnsafeFnPointer( + proc("glTexCoord4s"), + def_glTexCoord4s, + ); + fn_glTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glTexCoord4sv"), + def_glTexCoord4sv, + ); fn_glVertex2d = new Deno.UnsafeFnPointer(proc("glVertex2d"), def_glVertex2d); - fn_glVertex2dv = new Deno.UnsafeFnPointer(proc("glVertex2dv"), def_glVertex2dv); + fn_glVertex2dv = new Deno.UnsafeFnPointer( + proc("glVertex2dv"), + def_glVertex2dv, + ); fn_glVertex2f = new Deno.UnsafeFnPointer(proc("glVertex2f"), def_glVertex2f); - fn_glVertex2fv = new Deno.UnsafeFnPointer(proc("glVertex2fv"), def_glVertex2fv); + fn_glVertex2fv = new Deno.UnsafeFnPointer( + proc("glVertex2fv"), + def_glVertex2fv, + ); fn_glVertex2i = new Deno.UnsafeFnPointer(proc("glVertex2i"), def_glVertex2i); - fn_glVertex2iv = new Deno.UnsafeFnPointer(proc("glVertex2iv"), def_glVertex2iv); + fn_glVertex2iv = new Deno.UnsafeFnPointer( + proc("glVertex2iv"), + def_glVertex2iv, + ); fn_glVertex2s = new Deno.UnsafeFnPointer(proc("glVertex2s"), def_glVertex2s); - fn_glVertex2sv = new Deno.UnsafeFnPointer(proc("glVertex2sv"), def_glVertex2sv); + fn_glVertex2sv = new Deno.UnsafeFnPointer( + proc("glVertex2sv"), + def_glVertex2sv, + ); fn_glVertex3d = new Deno.UnsafeFnPointer(proc("glVertex3d"), def_glVertex3d); - fn_glVertex3dv = new Deno.UnsafeFnPointer(proc("glVertex3dv"), def_glVertex3dv); + fn_glVertex3dv = new Deno.UnsafeFnPointer( + proc("glVertex3dv"), + def_glVertex3dv, + ); fn_glVertex3f = new Deno.UnsafeFnPointer(proc("glVertex3f"), def_glVertex3f); - fn_glVertex3fv = new Deno.UnsafeFnPointer(proc("glVertex3fv"), def_glVertex3fv); + fn_glVertex3fv = new Deno.UnsafeFnPointer( + proc("glVertex3fv"), + def_glVertex3fv, + ); fn_glVertex3i = new Deno.UnsafeFnPointer(proc("glVertex3i"), def_glVertex3i); - fn_glVertex3iv = new Deno.UnsafeFnPointer(proc("glVertex3iv"), def_glVertex3iv); + fn_glVertex3iv = new Deno.UnsafeFnPointer( + proc("glVertex3iv"), + def_glVertex3iv, + ); fn_glVertex3s = new Deno.UnsafeFnPointer(proc("glVertex3s"), def_glVertex3s); - fn_glVertex3sv = new Deno.UnsafeFnPointer(proc("glVertex3sv"), def_glVertex3sv); + fn_glVertex3sv = new Deno.UnsafeFnPointer( + proc("glVertex3sv"), + def_glVertex3sv, + ); fn_glVertex4d = new Deno.UnsafeFnPointer(proc("glVertex4d"), def_glVertex4d); - fn_glVertex4dv = new Deno.UnsafeFnPointer(proc("glVertex4dv"), def_glVertex4dv); + fn_glVertex4dv = new Deno.UnsafeFnPointer( + proc("glVertex4dv"), + def_glVertex4dv, + ); fn_glVertex4f = new Deno.UnsafeFnPointer(proc("glVertex4f"), def_glVertex4f); - fn_glVertex4fv = new Deno.UnsafeFnPointer(proc("glVertex4fv"), def_glVertex4fv); + fn_glVertex4fv = new Deno.UnsafeFnPointer( + proc("glVertex4fv"), + def_glVertex4fv, + ); fn_glVertex4i = new Deno.UnsafeFnPointer(proc("glVertex4i"), def_glVertex4i); - fn_glVertex4iv = new Deno.UnsafeFnPointer(proc("glVertex4iv"), def_glVertex4iv); + fn_glVertex4iv = new Deno.UnsafeFnPointer( + proc("glVertex4iv"), + def_glVertex4iv, + ); fn_glVertex4s = new Deno.UnsafeFnPointer(proc("glVertex4s"), def_glVertex4s); - fn_glVertex4sv = new Deno.UnsafeFnPointer(proc("glVertex4sv"), def_glVertex4sv); - fn_glClipPlane = new Deno.UnsafeFnPointer(proc("glClipPlane"), def_glClipPlane); - fn_glColorMaterial = new Deno.UnsafeFnPointer(proc("glColorMaterial"), def_glColorMaterial); + fn_glVertex4sv = new Deno.UnsafeFnPointer( + proc("glVertex4sv"), + def_glVertex4sv, + ); + fn_glClipPlane = new Deno.UnsafeFnPointer( + proc("glClipPlane"), + def_glClipPlane, + ); + fn_glColorMaterial = new Deno.UnsafeFnPointer( + proc("glColorMaterial"), + def_glColorMaterial, + ); fn_glFogf = new Deno.UnsafeFnPointer(proc("glFogf"), def_glFogf); fn_glFogfv = new Deno.UnsafeFnPointer(proc("glFogfv"), def_glFogfv); fn_glFogi = new Deno.UnsafeFnPointer(proc("glFogi"), def_glFogi); @@ -6880,17 +7344,50 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glLightfv = new Deno.UnsafeFnPointer(proc("glLightfv"), def_glLightfv); fn_glLighti = new Deno.UnsafeFnPointer(proc("glLighti"), def_glLighti); fn_glLightiv = new Deno.UnsafeFnPointer(proc("glLightiv"), def_glLightiv); - fn_glLightModelf = new Deno.UnsafeFnPointer(proc("glLightModelf"), def_glLightModelf); - fn_glLightModelfv = new Deno.UnsafeFnPointer(proc("glLightModelfv"), def_glLightModelfv); - fn_glLightModeli = new Deno.UnsafeFnPointer(proc("glLightModeli"), def_glLightModeli); - fn_glLightModeliv = new Deno.UnsafeFnPointer(proc("glLightModeliv"), def_glLightModeliv); - fn_glLineStipple = new Deno.UnsafeFnPointer(proc("glLineStipple"), def_glLineStipple); - fn_glMaterialf = new Deno.UnsafeFnPointer(proc("glMaterialf"), def_glMaterialf); - fn_glMaterialfv = new Deno.UnsafeFnPointer(proc("glMaterialfv"), def_glMaterialfv); - fn_glMateriali = new Deno.UnsafeFnPointer(proc("glMateriali"), def_glMateriali); - fn_glMaterialiv = new Deno.UnsafeFnPointer(proc("glMaterialiv"), def_glMaterialiv); - fn_glPolygonStipple = new Deno.UnsafeFnPointer(proc("glPolygonStipple"), def_glPolygonStipple); - fn_glShadeModel = new Deno.UnsafeFnPointer(proc("glShadeModel"), def_glShadeModel); + fn_glLightModelf = new Deno.UnsafeFnPointer( + proc("glLightModelf"), + def_glLightModelf, + ); + fn_glLightModelfv = new Deno.UnsafeFnPointer( + proc("glLightModelfv"), + def_glLightModelfv, + ); + fn_glLightModeli = new Deno.UnsafeFnPointer( + proc("glLightModeli"), + def_glLightModeli, + ); + fn_glLightModeliv = new Deno.UnsafeFnPointer( + proc("glLightModeliv"), + def_glLightModeliv, + ); + fn_glLineStipple = new Deno.UnsafeFnPointer( + proc("glLineStipple"), + def_glLineStipple, + ); + fn_glMaterialf = new Deno.UnsafeFnPointer( + proc("glMaterialf"), + def_glMaterialf, + ); + fn_glMaterialfv = new Deno.UnsafeFnPointer( + proc("glMaterialfv"), + def_glMaterialfv, + ); + fn_glMateriali = new Deno.UnsafeFnPointer( + proc("glMateriali"), + def_glMateriali, + ); + fn_glMaterialiv = new Deno.UnsafeFnPointer( + proc("glMaterialiv"), + def_glMaterialiv, + ); + fn_glPolygonStipple = new Deno.UnsafeFnPointer( + proc("glPolygonStipple"), + def_glPolygonStipple, + ); + fn_glShadeModel = new Deno.UnsafeFnPointer( + proc("glShadeModel"), + def_glShadeModel, + ); fn_glTexEnvf = new Deno.UnsafeFnPointer(proc("glTexEnvf"), def_glTexEnvf); fn_glTexEnvfv = new Deno.UnsafeFnPointer(proc("glTexEnvfv"), def_glTexEnvfv); fn_glTexEnvi = new Deno.UnsafeFnPointer(proc("glTexEnvi"), def_glTexEnvi); @@ -6901,115 +7398,388 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glTexGenfv = new Deno.UnsafeFnPointer(proc("glTexGenfv"), def_glTexGenfv); fn_glTexGeni = new Deno.UnsafeFnPointer(proc("glTexGeni"), def_glTexGeni); fn_glTexGeniv = new Deno.UnsafeFnPointer(proc("glTexGeniv"), def_glTexGeniv); - fn_glFeedbackBuffer = new Deno.UnsafeFnPointer(proc("glFeedbackBuffer"), def_glFeedbackBuffer); - fn_glSelectBuffer = new Deno.UnsafeFnPointer(proc("glSelectBuffer"), def_glSelectBuffer); - fn_glRenderMode = new Deno.UnsafeFnPointer(proc("glRenderMode"), def_glRenderMode); - fn_glInitNames = new Deno.UnsafeFnPointer(proc("glInitNames"), def_glInitNames); + fn_glFeedbackBuffer = new Deno.UnsafeFnPointer( + proc("glFeedbackBuffer"), + def_glFeedbackBuffer, + ); + fn_glSelectBuffer = new Deno.UnsafeFnPointer( + proc("glSelectBuffer"), + def_glSelectBuffer, + ); + fn_glRenderMode = new Deno.UnsafeFnPointer( + proc("glRenderMode"), + def_glRenderMode, + ); + fn_glInitNames = new Deno.UnsafeFnPointer( + proc("glInitNames"), + def_glInitNames, + ); fn_glLoadName = new Deno.UnsafeFnPointer(proc("glLoadName"), def_glLoadName); - fn_glPassThrough = new Deno.UnsafeFnPointer(proc("glPassThrough"), def_glPassThrough); + fn_glPassThrough = new Deno.UnsafeFnPointer( + proc("glPassThrough"), + def_glPassThrough, + ); fn_glPopName = new Deno.UnsafeFnPointer(proc("glPopName"), def_glPopName); fn_glPushName = new Deno.UnsafeFnPointer(proc("glPushName"), def_glPushName); - fn_glClearAccum = new Deno.UnsafeFnPointer(proc("glClearAccum"), def_glClearAccum); - fn_glClearIndex = new Deno.UnsafeFnPointer(proc("glClearIndex"), def_glClearIndex); - fn_glIndexMask = new Deno.UnsafeFnPointer(proc("glIndexMask"), def_glIndexMask); + fn_glClearAccum = new Deno.UnsafeFnPointer( + proc("glClearAccum"), + def_glClearAccum, + ); + fn_glClearIndex = new Deno.UnsafeFnPointer( + proc("glClearIndex"), + def_glClearIndex, + ); + fn_glIndexMask = new Deno.UnsafeFnPointer( + proc("glIndexMask"), + def_glIndexMask, + ); fn_glAccum = new Deno.UnsafeFnPointer(proc("glAccum"), def_glAccum); - fn_glPopAttrib = new Deno.UnsafeFnPointer(proc("glPopAttrib"), def_glPopAttrib); - fn_glPushAttrib = new Deno.UnsafeFnPointer(proc("glPushAttrib"), def_glPushAttrib); + fn_glPopAttrib = new Deno.UnsafeFnPointer( + proc("glPopAttrib"), + def_glPopAttrib, + ); + fn_glPushAttrib = new Deno.UnsafeFnPointer( + proc("glPushAttrib"), + def_glPushAttrib, + ); fn_glMap1d = new Deno.UnsafeFnPointer(proc("glMap1d"), def_glMap1d); fn_glMap1f = new Deno.UnsafeFnPointer(proc("glMap1f"), def_glMap1f); fn_glMap2d = new Deno.UnsafeFnPointer(proc("glMap2d"), def_glMap2d); fn_glMap2f = new Deno.UnsafeFnPointer(proc("glMap2f"), def_glMap2f); - fn_glMapGrid1d = new Deno.UnsafeFnPointer(proc("glMapGrid1d"), def_glMapGrid1d); - fn_glMapGrid1f = new Deno.UnsafeFnPointer(proc("glMapGrid1f"), def_glMapGrid1f); - fn_glMapGrid2d = new Deno.UnsafeFnPointer(proc("glMapGrid2d"), def_glMapGrid2d); - fn_glMapGrid2f = new Deno.UnsafeFnPointer(proc("glMapGrid2f"), def_glMapGrid2f); - fn_glEvalCoord1d = new Deno.UnsafeFnPointer(proc("glEvalCoord1d"), def_glEvalCoord1d); - fn_glEvalCoord1dv = new Deno.UnsafeFnPointer(proc("glEvalCoord1dv"), def_glEvalCoord1dv); - fn_glEvalCoord1f = new Deno.UnsafeFnPointer(proc("glEvalCoord1f"), def_glEvalCoord1f); - fn_glEvalCoord1fv = new Deno.UnsafeFnPointer(proc("glEvalCoord1fv"), def_glEvalCoord1fv); - fn_glEvalCoord2d = new Deno.UnsafeFnPointer(proc("glEvalCoord2d"), def_glEvalCoord2d); - fn_glEvalCoord2dv = new Deno.UnsafeFnPointer(proc("glEvalCoord2dv"), def_glEvalCoord2dv); - fn_glEvalCoord2f = new Deno.UnsafeFnPointer(proc("glEvalCoord2f"), def_glEvalCoord2f); - fn_glEvalCoord2fv = new Deno.UnsafeFnPointer(proc("glEvalCoord2fv"), def_glEvalCoord2fv); - fn_glEvalMesh1 = new Deno.UnsafeFnPointer(proc("glEvalMesh1"), def_glEvalMesh1); - fn_glEvalPoint1 = new Deno.UnsafeFnPointer(proc("glEvalPoint1"), def_glEvalPoint1); - fn_glEvalMesh2 = new Deno.UnsafeFnPointer(proc("glEvalMesh2"), def_glEvalMesh2); - fn_glEvalPoint2 = new Deno.UnsafeFnPointer(proc("glEvalPoint2"), def_glEvalPoint2); - fn_glAlphaFunc = new Deno.UnsafeFnPointer(proc("glAlphaFunc"), def_glAlphaFunc); - fn_glPixelZoom = new Deno.UnsafeFnPointer(proc("glPixelZoom"), def_glPixelZoom); - fn_glPixelTransferf = new Deno.UnsafeFnPointer(proc("glPixelTransferf"), def_glPixelTransferf); - fn_glPixelTransferi = new Deno.UnsafeFnPointer(proc("glPixelTransferi"), def_glPixelTransferi); - fn_glPixelMapfv = new Deno.UnsafeFnPointer(proc("glPixelMapfv"), def_glPixelMapfv); - fn_glPixelMapuiv = new Deno.UnsafeFnPointer(proc("glPixelMapuiv"), def_glPixelMapuiv); - fn_glPixelMapusv = new Deno.UnsafeFnPointer(proc("glPixelMapusv"), def_glPixelMapusv); - fn_glCopyPixels = new Deno.UnsafeFnPointer(proc("glCopyPixels"), def_glCopyPixels); - fn_glDrawPixels = new Deno.UnsafeFnPointer(proc("glDrawPixels"), def_glDrawPixels); - fn_glGetClipPlane = new Deno.UnsafeFnPointer(proc("glGetClipPlane"), def_glGetClipPlane); - fn_glGetLightfv = new Deno.UnsafeFnPointer(proc("glGetLightfv"), def_glGetLightfv); - fn_glGetLightiv = new Deno.UnsafeFnPointer(proc("glGetLightiv"), def_glGetLightiv); + fn_glMapGrid1d = new Deno.UnsafeFnPointer( + proc("glMapGrid1d"), + def_glMapGrid1d, + ); + fn_glMapGrid1f = new Deno.UnsafeFnPointer( + proc("glMapGrid1f"), + def_glMapGrid1f, + ); + fn_glMapGrid2d = new Deno.UnsafeFnPointer( + proc("glMapGrid2d"), + def_glMapGrid2d, + ); + fn_glMapGrid2f = new Deno.UnsafeFnPointer( + proc("glMapGrid2f"), + def_glMapGrid2f, + ); + fn_glEvalCoord1d = new Deno.UnsafeFnPointer( + proc("glEvalCoord1d"), + def_glEvalCoord1d, + ); + fn_glEvalCoord1dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1dv"), + def_glEvalCoord1dv, + ); + fn_glEvalCoord1f = new Deno.UnsafeFnPointer( + proc("glEvalCoord1f"), + def_glEvalCoord1f, + ); + fn_glEvalCoord1fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1fv"), + def_glEvalCoord1fv, + ); + fn_glEvalCoord2d = new Deno.UnsafeFnPointer( + proc("glEvalCoord2d"), + def_glEvalCoord2d, + ); + fn_glEvalCoord2dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2dv"), + def_glEvalCoord2dv, + ); + fn_glEvalCoord2f = new Deno.UnsafeFnPointer( + proc("glEvalCoord2f"), + def_glEvalCoord2f, + ); + fn_glEvalCoord2fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2fv"), + def_glEvalCoord2fv, + ); + fn_glEvalMesh1 = new Deno.UnsafeFnPointer( + proc("glEvalMesh1"), + def_glEvalMesh1, + ); + fn_glEvalPoint1 = new Deno.UnsafeFnPointer( + proc("glEvalPoint1"), + def_glEvalPoint1, + ); + fn_glEvalMesh2 = new Deno.UnsafeFnPointer( + proc("glEvalMesh2"), + def_glEvalMesh2, + ); + fn_glEvalPoint2 = new Deno.UnsafeFnPointer( + proc("glEvalPoint2"), + def_glEvalPoint2, + ); + fn_glAlphaFunc = new Deno.UnsafeFnPointer( + proc("glAlphaFunc"), + def_glAlphaFunc, + ); + fn_glPixelZoom = new Deno.UnsafeFnPointer( + proc("glPixelZoom"), + def_glPixelZoom, + ); + fn_glPixelTransferf = new Deno.UnsafeFnPointer( + proc("glPixelTransferf"), + def_glPixelTransferf, + ); + fn_glPixelTransferi = new Deno.UnsafeFnPointer( + proc("glPixelTransferi"), + def_glPixelTransferi, + ); + fn_glPixelMapfv = new Deno.UnsafeFnPointer( + proc("glPixelMapfv"), + def_glPixelMapfv, + ); + fn_glPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glPixelMapuiv"), + def_glPixelMapuiv, + ); + fn_glPixelMapusv = new Deno.UnsafeFnPointer( + proc("glPixelMapusv"), + def_glPixelMapusv, + ); + fn_glCopyPixels = new Deno.UnsafeFnPointer( + proc("glCopyPixels"), + def_glCopyPixels, + ); + fn_glDrawPixels = new Deno.UnsafeFnPointer( + proc("glDrawPixels"), + def_glDrawPixels, + ); + fn_glGetClipPlane = new Deno.UnsafeFnPointer( + proc("glGetClipPlane"), + def_glGetClipPlane, + ); + fn_glGetLightfv = new Deno.UnsafeFnPointer( + proc("glGetLightfv"), + def_glGetLightfv, + ); + fn_glGetLightiv = new Deno.UnsafeFnPointer( + proc("glGetLightiv"), + def_glGetLightiv, + ); fn_glGetMapdv = new Deno.UnsafeFnPointer(proc("glGetMapdv"), def_glGetMapdv); fn_glGetMapfv = new Deno.UnsafeFnPointer(proc("glGetMapfv"), def_glGetMapfv); fn_glGetMapiv = new Deno.UnsafeFnPointer(proc("glGetMapiv"), def_glGetMapiv); - fn_glGetMaterialfv = new Deno.UnsafeFnPointer(proc("glGetMaterialfv"), def_glGetMaterialfv); - fn_glGetMaterialiv = new Deno.UnsafeFnPointer(proc("glGetMaterialiv"), def_glGetMaterialiv); - fn_glGetPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetPixelMapfv"), def_glGetPixelMapfv); - fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetPixelMapuiv"), def_glGetPixelMapuiv); - fn_glGetPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetPixelMapusv"), def_glGetPixelMapusv); - fn_glGetPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetPolygonStipple"), def_glGetPolygonStipple); - fn_glGetTexEnvfv = new Deno.UnsafeFnPointer(proc("glGetTexEnvfv"), def_glGetTexEnvfv); - fn_glGetTexEnviv = new Deno.UnsafeFnPointer(proc("glGetTexEnviv"), def_glGetTexEnviv); - fn_glGetTexGendv = new Deno.UnsafeFnPointer(proc("glGetTexGendv"), def_glGetTexGendv); - fn_glGetTexGenfv = new Deno.UnsafeFnPointer(proc("glGetTexGenfv"), def_glGetTexGenfv); - fn_glGetTexGeniv = new Deno.UnsafeFnPointer(proc("glGetTexGeniv"), def_glGetTexGeniv); + fn_glGetMaterialfv = new Deno.UnsafeFnPointer( + proc("glGetMaterialfv"), + def_glGetMaterialfv, + ); + fn_glGetMaterialiv = new Deno.UnsafeFnPointer( + proc("glGetMaterialiv"), + def_glGetMaterialiv, + ); + fn_glGetPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapfv"), + def_glGetPixelMapfv, + ); + fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapuiv"), + def_glGetPixelMapuiv, + ); + fn_glGetPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapusv"), + def_glGetPixelMapusv, + ); + fn_glGetPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetPolygonStipple"), + def_glGetPolygonStipple, + ); + fn_glGetTexEnvfv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvfv"), + def_glGetTexEnvfv, + ); + fn_glGetTexEnviv = new Deno.UnsafeFnPointer( + proc("glGetTexEnviv"), + def_glGetTexEnviv, + ); + fn_glGetTexGendv = new Deno.UnsafeFnPointer( + proc("glGetTexGendv"), + def_glGetTexGendv, + ); + fn_glGetTexGenfv = new Deno.UnsafeFnPointer( + proc("glGetTexGenfv"), + def_glGetTexGenfv, + ); + fn_glGetTexGeniv = new Deno.UnsafeFnPointer( + proc("glGetTexGeniv"), + def_glGetTexGeniv, + ); fn_glIsList = new Deno.UnsafeFnPointer(proc("glIsList"), def_glIsList); fn_glFrustum = new Deno.UnsafeFnPointer(proc("glFrustum"), def_glFrustum); - fn_glLoadIdentity = new Deno.UnsafeFnPointer(proc("glLoadIdentity"), def_glLoadIdentity); - fn_glLoadMatrixf = new Deno.UnsafeFnPointer(proc("glLoadMatrixf"), def_glLoadMatrixf); - fn_glLoadMatrixd = new Deno.UnsafeFnPointer(proc("glLoadMatrixd"), def_glLoadMatrixd); - fn_glMatrixMode = new Deno.UnsafeFnPointer(proc("glMatrixMode"), def_glMatrixMode); - fn_glMultMatrixf = new Deno.UnsafeFnPointer(proc("glMultMatrixf"), def_glMultMatrixf); - fn_glMultMatrixd = new Deno.UnsafeFnPointer(proc("glMultMatrixd"), def_glMultMatrixd); + fn_glLoadIdentity = new Deno.UnsafeFnPointer( + proc("glLoadIdentity"), + def_glLoadIdentity, + ); + fn_glLoadMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadMatrixf"), + def_glLoadMatrixf, + ); + fn_glLoadMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadMatrixd"), + def_glLoadMatrixd, + ); + fn_glMatrixMode = new Deno.UnsafeFnPointer( + proc("glMatrixMode"), + def_glMatrixMode, + ); + fn_glMultMatrixf = new Deno.UnsafeFnPointer( + proc("glMultMatrixf"), + def_glMultMatrixf, + ); + fn_glMultMatrixd = new Deno.UnsafeFnPointer( + proc("glMultMatrixd"), + def_glMultMatrixd, + ); fn_glOrtho = new Deno.UnsafeFnPointer(proc("glOrtho"), def_glOrtho); - fn_glPopMatrix = new Deno.UnsafeFnPointer(proc("glPopMatrix"), def_glPopMatrix); - fn_glPushMatrix = new Deno.UnsafeFnPointer(proc("glPushMatrix"), def_glPushMatrix); + fn_glPopMatrix = new Deno.UnsafeFnPointer( + proc("glPopMatrix"), + def_glPopMatrix, + ); + fn_glPushMatrix = new Deno.UnsafeFnPointer( + proc("glPushMatrix"), + def_glPushMatrix, + ); fn_glRotated = new Deno.UnsafeFnPointer(proc("glRotated"), def_glRotated); fn_glRotatef = new Deno.UnsafeFnPointer(proc("glRotatef"), def_glRotatef); fn_glScaled = new Deno.UnsafeFnPointer(proc("glScaled"), def_glScaled); fn_glScalef = new Deno.UnsafeFnPointer(proc("glScalef"), def_glScalef); - fn_glTranslated = new Deno.UnsafeFnPointer(proc("glTranslated"), def_glTranslated); - fn_glTranslatef = new Deno.UnsafeFnPointer(proc("glTranslatef"), def_glTranslatef); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glArrayElement = new Deno.UnsafeFnPointer(proc("glArrayElement"), def_glArrayElement); - fn_glColorPointer = new Deno.UnsafeFnPointer(proc("glColorPointer"), def_glColorPointer); - fn_glDisableClientState = new Deno.UnsafeFnPointer(proc("glDisableClientState"), def_glDisableClientState); - fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer(proc("glEdgeFlagPointer"), def_glEdgeFlagPointer); - fn_glEnableClientState = new Deno.UnsafeFnPointer(proc("glEnableClientState"), def_glEnableClientState); - fn_glIndexPointer = new Deno.UnsafeFnPointer(proc("glIndexPointer"), def_glIndexPointer); - fn_glInterleavedArrays = new Deno.UnsafeFnPointer(proc("glInterleavedArrays"), def_glInterleavedArrays); - fn_glNormalPointer = new Deno.UnsafeFnPointer(proc("glNormalPointer"), def_glNormalPointer); - fn_glTexCoordPointer = new Deno.UnsafeFnPointer(proc("glTexCoordPointer"), def_glTexCoordPointer); - fn_glVertexPointer = new Deno.UnsafeFnPointer(proc("glVertexPointer"), def_glVertexPointer); - fn_glAreTexturesResident = new Deno.UnsafeFnPointer(proc("glAreTexturesResident"), def_glAreTexturesResident); - fn_glPrioritizeTextures = new Deno.UnsafeFnPointer(proc("glPrioritizeTextures"), def_glPrioritizeTextures); + fn_glTranslated = new Deno.UnsafeFnPointer( + proc("glTranslated"), + def_glTranslated, + ); + fn_glTranslatef = new Deno.UnsafeFnPointer( + proc("glTranslatef"), + def_glTranslatef, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glArrayElement = new Deno.UnsafeFnPointer( + proc("glArrayElement"), + def_glArrayElement, + ); + fn_glColorPointer = new Deno.UnsafeFnPointer( + proc("glColorPointer"), + def_glColorPointer, + ); + fn_glDisableClientState = new Deno.UnsafeFnPointer( + proc("glDisableClientState"), + def_glDisableClientState, + ); + fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer( + proc("glEdgeFlagPointer"), + def_glEdgeFlagPointer, + ); + fn_glEnableClientState = new Deno.UnsafeFnPointer( + proc("glEnableClientState"), + def_glEnableClientState, + ); + fn_glIndexPointer = new Deno.UnsafeFnPointer( + proc("glIndexPointer"), + def_glIndexPointer, + ); + fn_glInterleavedArrays = new Deno.UnsafeFnPointer( + proc("glInterleavedArrays"), + def_glInterleavedArrays, + ); + fn_glNormalPointer = new Deno.UnsafeFnPointer( + proc("glNormalPointer"), + def_glNormalPointer, + ); + fn_glTexCoordPointer = new Deno.UnsafeFnPointer( + proc("glTexCoordPointer"), + def_glTexCoordPointer, + ); + fn_glVertexPointer = new Deno.UnsafeFnPointer( + proc("glVertexPointer"), + def_glVertexPointer, + ); + fn_glAreTexturesResident = new Deno.UnsafeFnPointer( + proc("glAreTexturesResident"), + def_glAreTexturesResident, + ); + fn_glPrioritizeTextures = new Deno.UnsafeFnPointer( + proc("glPrioritizeTextures"), + def_glPrioritizeTextures, + ); fn_glIndexub = new Deno.UnsafeFnPointer(proc("glIndexub"), def_glIndexub); fn_glIndexubv = new Deno.UnsafeFnPointer(proc("glIndexubv"), def_glIndexubv); - fn_glPopClientAttrib = new Deno.UnsafeFnPointer(proc("glPopClientAttrib"), def_glPopClientAttrib); - fn_glPushClientAttrib = new Deno.UnsafeFnPointer(proc("glPushClientAttrib"), def_glPushClientAttrib); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); + fn_glPopClientAttrib = new Deno.UnsafeFnPointer( + proc("glPopClientAttrib"), + def_glPopClientAttrib, + ); + fn_glPushClientAttrib = new Deno.UnsafeFnPointer( + proc("glPushClientAttrib"), + def_glPushClientAttrib, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); } diff --git a/api/gl1.3.ts b/api/gl1.3.ts index 63de5b0..6674e1a 100644 --- a/api/gl1.3.ts +++ b/api/gl1.3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -949,7 +957,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1446,7 +1464,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1465,7 +1485,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1484,7 +1506,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1505,7 +1529,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -4934,7 +4960,18 @@ export function Map1f( } export const def_glMap2d = { - parameters: ["u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -4967,7 +5004,18 @@ export function Map2d( } export const def_glMap2f = { - parameters: ["u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5662,7 +5710,9 @@ export const def_glGetPolygonStipple = { result: "void", } as const; -let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetPolygonStipple +>; export function GetPolygonStipple( mask: Buffer, @@ -6193,7 +6243,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -6218,7 +6270,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -6270,7 +6324,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6407,7 +6471,9 @@ export const def_glDisableClientState = { result: "void", } as const; -let fn_glDisableClientState!: Deno.UnsafeFnPointer; +let fn_glDisableClientState!: Deno.UnsafeFnPointer< + typeof def_glDisableClientState +>; export function DisableClientState( array: GLenum, @@ -6439,7 +6505,9 @@ export const def_glEnableClientState = { result: "void", } as const; -let fn_glEnableClientState!: Deno.UnsafeFnPointer; +let fn_glEnableClientState!: Deno.UnsafeFnPointer< + typeof def_glEnableClientState +>; export function EnableClientState( array: GLenum, @@ -6473,7 +6541,9 @@ export const def_glInterleavedArrays = { result: "void", } as const; -let fn_glInterleavedArrays!: Deno.UnsafeFnPointer; +let fn_glInterleavedArrays!: Deno.UnsafeFnPointer< + typeof def_glInterleavedArrays +>; export function InterleavedArrays( format: GLenum, @@ -6553,7 +6623,9 @@ export const def_glAreTexturesResident = { result: "u8", } as const; -let fn_glAreTexturesResident!: Deno.UnsafeFnPointer; +let fn_glAreTexturesResident!: Deno.UnsafeFnPointer< + typeof def_glAreTexturesResident +>; export function AreTexturesResident( n: GLsizei, @@ -6572,7 +6644,9 @@ export const def_glPrioritizeTextures = { result: "void", } as const; -let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer; +let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer< + typeof def_glPrioritizeTextures +>; export function PrioritizeTextures( n: GLsizei, @@ -6647,7 +6721,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -6668,7 +6744,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6701,7 +6788,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6740,7 +6839,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -6799,11 +6900,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -6834,7 +6947,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -6863,7 +6978,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -6886,11 +7003,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -6921,11 +7052,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -6956,7 +7099,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -6983,7 +7128,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -7002,7 +7149,9 @@ export const def_glClientActiveTexture = { result: "void", } as const; -let fn_glClientActiveTexture!: Deno.UnsafeFnPointer; +let fn_glClientActiveTexture!: Deno.UnsafeFnPointer< + typeof def_glClientActiveTexture +>; export function ClientActiveTexture( texture: GLenum, @@ -7609,7 +7758,9 @@ export const def_glLoadTransposeMatrixf = { result: "void", } as const; -let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixf +>; export function LoadTransposeMatrixf( m: Buffer, @@ -7624,7 +7775,9 @@ export const def_glLoadTransposeMatrixd = { result: "void", } as const; -let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixd +>; export function LoadTransposeMatrixd( m: Buffer, @@ -7639,7 +7792,9 @@ export const def_glMultTransposeMatrixf = { result: "void", } as const; -let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixf +>; export function MultTransposeMatrixf( m: Buffer, @@ -7654,7 +7809,9 @@ export const def_glMultTransposeMatrixd = { result: "void", } as const; -let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixd +>; export function MultTransposeMatrixd( m: Buffer, @@ -7667,58 +7824,175 @@ export function MultTransposeMatrixd( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); fn_glNewList = new Deno.UnsafeFnPointer(proc("glNewList"), def_glNewList); fn_glEndList = new Deno.UnsafeFnPointer(proc("glEndList"), def_glEndList); fn_glCallList = new Deno.UnsafeFnPointer(proc("glCallList"), def_glCallList); - fn_glCallLists = new Deno.UnsafeFnPointer(proc("glCallLists"), def_glCallLists); - fn_glDeleteLists = new Deno.UnsafeFnPointer(proc("glDeleteLists"), def_glDeleteLists); + fn_glCallLists = new Deno.UnsafeFnPointer( + proc("glCallLists"), + def_glCallLists, + ); + fn_glDeleteLists = new Deno.UnsafeFnPointer( + proc("glDeleteLists"), + def_glDeleteLists, + ); fn_glGenLists = new Deno.UnsafeFnPointer(proc("glGenLists"), def_glGenLists); fn_glListBase = new Deno.UnsafeFnPointer(proc("glListBase"), def_glListBase); fn_glBegin = new Deno.UnsafeFnPointer(proc("glBegin"), def_glBegin); @@ -7734,11 +8008,20 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor3s = new Deno.UnsafeFnPointer(proc("glColor3s"), def_glColor3s); fn_glColor3sv = new Deno.UnsafeFnPointer(proc("glColor3sv"), def_glColor3sv); fn_glColor3ub = new Deno.UnsafeFnPointer(proc("glColor3ub"), def_glColor3ub); - fn_glColor3ubv = new Deno.UnsafeFnPointer(proc("glColor3ubv"), def_glColor3ubv); + fn_glColor3ubv = new Deno.UnsafeFnPointer( + proc("glColor3ubv"), + def_glColor3ubv, + ); fn_glColor3ui = new Deno.UnsafeFnPointer(proc("glColor3ui"), def_glColor3ui); - fn_glColor3uiv = new Deno.UnsafeFnPointer(proc("glColor3uiv"), def_glColor3uiv); + fn_glColor3uiv = new Deno.UnsafeFnPointer( + proc("glColor3uiv"), + def_glColor3uiv, + ); fn_glColor3us = new Deno.UnsafeFnPointer(proc("glColor3us"), def_glColor3us); - fn_glColor3usv = new Deno.UnsafeFnPointer(proc("glColor3usv"), def_glColor3usv); + fn_glColor3usv = new Deno.UnsafeFnPointer( + proc("glColor3usv"), + def_glColor3usv, + ); fn_glColor4b = new Deno.UnsafeFnPointer(proc("glColor4b"), def_glColor4b); fn_glColor4bv = new Deno.UnsafeFnPointer(proc("glColor4bv"), def_glColor4bv); fn_glColor4d = new Deno.UnsafeFnPointer(proc("glColor4d"), def_glColor4d); @@ -7750,13 +8033,25 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor4s = new Deno.UnsafeFnPointer(proc("glColor4s"), def_glColor4s); fn_glColor4sv = new Deno.UnsafeFnPointer(proc("glColor4sv"), def_glColor4sv); fn_glColor4ub = new Deno.UnsafeFnPointer(proc("glColor4ub"), def_glColor4ub); - fn_glColor4ubv = new Deno.UnsafeFnPointer(proc("glColor4ubv"), def_glColor4ubv); + fn_glColor4ubv = new Deno.UnsafeFnPointer( + proc("glColor4ubv"), + def_glColor4ubv, + ); fn_glColor4ui = new Deno.UnsafeFnPointer(proc("glColor4ui"), def_glColor4ui); - fn_glColor4uiv = new Deno.UnsafeFnPointer(proc("glColor4uiv"), def_glColor4uiv); + fn_glColor4uiv = new Deno.UnsafeFnPointer( + proc("glColor4uiv"), + def_glColor4uiv, + ); fn_glColor4us = new Deno.UnsafeFnPointer(proc("glColor4us"), def_glColor4us); - fn_glColor4usv = new Deno.UnsafeFnPointer(proc("glColor4usv"), def_glColor4usv); + fn_glColor4usv = new Deno.UnsafeFnPointer( + proc("glColor4usv"), + def_glColor4usv, + ); fn_glEdgeFlag = new Deno.UnsafeFnPointer(proc("glEdgeFlag"), def_glEdgeFlag); - fn_glEdgeFlagv = new Deno.UnsafeFnPointer(proc("glEdgeFlagv"), def_glEdgeFlagv); + fn_glEdgeFlagv = new Deno.UnsafeFnPointer( + proc("glEdgeFlagv"), + def_glEdgeFlagv, + ); fn_glEnd = new Deno.UnsafeFnPointer(proc("glEnd"), def_glEnd); fn_glIndexd = new Deno.UnsafeFnPointer(proc("glIndexd"), def_glIndexd); fn_glIndexdv = new Deno.UnsafeFnPointer(proc("glIndexdv"), def_glIndexdv); @@ -7767,39 +8062,126 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glIndexs = new Deno.UnsafeFnPointer(proc("glIndexs"), def_glIndexs); fn_glIndexsv = new Deno.UnsafeFnPointer(proc("glIndexsv"), def_glIndexsv); fn_glNormal3b = new Deno.UnsafeFnPointer(proc("glNormal3b"), def_glNormal3b); - fn_glNormal3bv = new Deno.UnsafeFnPointer(proc("glNormal3bv"), def_glNormal3bv); + fn_glNormal3bv = new Deno.UnsafeFnPointer( + proc("glNormal3bv"), + def_glNormal3bv, + ); fn_glNormal3d = new Deno.UnsafeFnPointer(proc("glNormal3d"), def_glNormal3d); - fn_glNormal3dv = new Deno.UnsafeFnPointer(proc("glNormal3dv"), def_glNormal3dv); + fn_glNormal3dv = new Deno.UnsafeFnPointer( + proc("glNormal3dv"), + def_glNormal3dv, + ); fn_glNormal3f = new Deno.UnsafeFnPointer(proc("glNormal3f"), def_glNormal3f); - fn_glNormal3fv = new Deno.UnsafeFnPointer(proc("glNormal3fv"), def_glNormal3fv); + fn_glNormal3fv = new Deno.UnsafeFnPointer( + proc("glNormal3fv"), + def_glNormal3fv, + ); fn_glNormal3i = new Deno.UnsafeFnPointer(proc("glNormal3i"), def_glNormal3i); - fn_glNormal3iv = new Deno.UnsafeFnPointer(proc("glNormal3iv"), def_glNormal3iv); + fn_glNormal3iv = new Deno.UnsafeFnPointer( + proc("glNormal3iv"), + def_glNormal3iv, + ); fn_glNormal3s = new Deno.UnsafeFnPointer(proc("glNormal3s"), def_glNormal3s); - fn_glNormal3sv = new Deno.UnsafeFnPointer(proc("glNormal3sv"), def_glNormal3sv); - fn_glRasterPos2d = new Deno.UnsafeFnPointer(proc("glRasterPos2d"), def_glRasterPos2d); - fn_glRasterPos2dv = new Deno.UnsafeFnPointer(proc("glRasterPos2dv"), def_glRasterPos2dv); - fn_glRasterPos2f = new Deno.UnsafeFnPointer(proc("glRasterPos2f"), def_glRasterPos2f); - fn_glRasterPos2fv = new Deno.UnsafeFnPointer(proc("glRasterPos2fv"), def_glRasterPos2fv); - fn_glRasterPos2i = new Deno.UnsafeFnPointer(proc("glRasterPos2i"), def_glRasterPos2i); - fn_glRasterPos2iv = new Deno.UnsafeFnPointer(proc("glRasterPos2iv"), def_glRasterPos2iv); - fn_glRasterPos2s = new Deno.UnsafeFnPointer(proc("glRasterPos2s"), def_glRasterPos2s); - fn_glRasterPos2sv = new Deno.UnsafeFnPointer(proc("glRasterPos2sv"), def_glRasterPos2sv); - fn_glRasterPos3d = new Deno.UnsafeFnPointer(proc("glRasterPos3d"), def_glRasterPos3d); - fn_glRasterPos3dv = new Deno.UnsafeFnPointer(proc("glRasterPos3dv"), def_glRasterPos3dv); - fn_glRasterPos3f = new Deno.UnsafeFnPointer(proc("glRasterPos3f"), def_glRasterPos3f); - fn_glRasterPos3fv = new Deno.UnsafeFnPointer(proc("glRasterPos3fv"), def_glRasterPos3fv); - fn_glRasterPos3i = new Deno.UnsafeFnPointer(proc("glRasterPos3i"), def_glRasterPos3i); - fn_glRasterPos3iv = new Deno.UnsafeFnPointer(proc("glRasterPos3iv"), def_glRasterPos3iv); - fn_glRasterPos3s = new Deno.UnsafeFnPointer(proc("glRasterPos3s"), def_glRasterPos3s); - fn_glRasterPos3sv = new Deno.UnsafeFnPointer(proc("glRasterPos3sv"), def_glRasterPos3sv); - fn_glRasterPos4d = new Deno.UnsafeFnPointer(proc("glRasterPos4d"), def_glRasterPos4d); - fn_glRasterPos4dv = new Deno.UnsafeFnPointer(proc("glRasterPos4dv"), def_glRasterPos4dv); - fn_glRasterPos4f = new Deno.UnsafeFnPointer(proc("glRasterPos4f"), def_glRasterPos4f); - fn_glRasterPos4fv = new Deno.UnsafeFnPointer(proc("glRasterPos4fv"), def_glRasterPos4fv); - fn_glRasterPos4i = new Deno.UnsafeFnPointer(proc("glRasterPos4i"), def_glRasterPos4i); - fn_glRasterPos4iv = new Deno.UnsafeFnPointer(proc("glRasterPos4iv"), def_glRasterPos4iv); - fn_glRasterPos4s = new Deno.UnsafeFnPointer(proc("glRasterPos4s"), def_glRasterPos4s); - fn_glRasterPos4sv = new Deno.UnsafeFnPointer(proc("glRasterPos4sv"), def_glRasterPos4sv); + fn_glNormal3sv = new Deno.UnsafeFnPointer( + proc("glNormal3sv"), + def_glNormal3sv, + ); + fn_glRasterPos2d = new Deno.UnsafeFnPointer( + proc("glRasterPos2d"), + def_glRasterPos2d, + ); + fn_glRasterPos2dv = new Deno.UnsafeFnPointer( + proc("glRasterPos2dv"), + def_glRasterPos2dv, + ); + fn_glRasterPos2f = new Deno.UnsafeFnPointer( + proc("glRasterPos2f"), + def_glRasterPos2f, + ); + fn_glRasterPos2fv = new Deno.UnsafeFnPointer( + proc("glRasterPos2fv"), + def_glRasterPos2fv, + ); + fn_glRasterPos2i = new Deno.UnsafeFnPointer( + proc("glRasterPos2i"), + def_glRasterPos2i, + ); + fn_glRasterPos2iv = new Deno.UnsafeFnPointer( + proc("glRasterPos2iv"), + def_glRasterPos2iv, + ); + fn_glRasterPos2s = new Deno.UnsafeFnPointer( + proc("glRasterPos2s"), + def_glRasterPos2s, + ); + fn_glRasterPos2sv = new Deno.UnsafeFnPointer( + proc("glRasterPos2sv"), + def_glRasterPos2sv, + ); + fn_glRasterPos3d = new Deno.UnsafeFnPointer( + proc("glRasterPos3d"), + def_glRasterPos3d, + ); + fn_glRasterPos3dv = new Deno.UnsafeFnPointer( + proc("glRasterPos3dv"), + def_glRasterPos3dv, + ); + fn_glRasterPos3f = new Deno.UnsafeFnPointer( + proc("glRasterPos3f"), + def_glRasterPos3f, + ); + fn_glRasterPos3fv = new Deno.UnsafeFnPointer( + proc("glRasterPos3fv"), + def_glRasterPos3fv, + ); + fn_glRasterPos3i = new Deno.UnsafeFnPointer( + proc("glRasterPos3i"), + def_glRasterPos3i, + ); + fn_glRasterPos3iv = new Deno.UnsafeFnPointer( + proc("glRasterPos3iv"), + def_glRasterPos3iv, + ); + fn_glRasterPos3s = new Deno.UnsafeFnPointer( + proc("glRasterPos3s"), + def_glRasterPos3s, + ); + fn_glRasterPos3sv = new Deno.UnsafeFnPointer( + proc("glRasterPos3sv"), + def_glRasterPos3sv, + ); + fn_glRasterPos4d = new Deno.UnsafeFnPointer( + proc("glRasterPos4d"), + def_glRasterPos4d, + ); + fn_glRasterPos4dv = new Deno.UnsafeFnPointer( + proc("glRasterPos4dv"), + def_glRasterPos4dv, + ); + fn_glRasterPos4f = new Deno.UnsafeFnPointer( + proc("glRasterPos4f"), + def_glRasterPos4f, + ); + fn_glRasterPos4fv = new Deno.UnsafeFnPointer( + proc("glRasterPos4fv"), + def_glRasterPos4fv, + ); + fn_glRasterPos4i = new Deno.UnsafeFnPointer( + proc("glRasterPos4i"), + def_glRasterPos4i, + ); + fn_glRasterPos4iv = new Deno.UnsafeFnPointer( + proc("glRasterPos4iv"), + def_glRasterPos4iv, + ); + fn_glRasterPos4s = new Deno.UnsafeFnPointer( + proc("glRasterPos4s"), + def_glRasterPos4s, + ); + fn_glRasterPos4sv = new Deno.UnsafeFnPointer( + proc("glRasterPos4sv"), + def_glRasterPos4sv, + ); fn_glRectd = new Deno.UnsafeFnPointer(proc("glRectd"), def_glRectd); fn_glRectdv = new Deno.UnsafeFnPointer(proc("glRectdv"), def_glRectdv); fn_glRectf = new Deno.UnsafeFnPointer(proc("glRectf"), def_glRectf); @@ -7808,64 +8190,202 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glRectiv = new Deno.UnsafeFnPointer(proc("glRectiv"), def_glRectiv); fn_glRects = new Deno.UnsafeFnPointer(proc("glRects"), def_glRects); fn_glRectsv = new Deno.UnsafeFnPointer(proc("glRectsv"), def_glRectsv); - fn_glTexCoord1d = new Deno.UnsafeFnPointer(proc("glTexCoord1d"), def_glTexCoord1d); - fn_glTexCoord1dv = new Deno.UnsafeFnPointer(proc("glTexCoord1dv"), def_glTexCoord1dv); - fn_glTexCoord1f = new Deno.UnsafeFnPointer(proc("glTexCoord1f"), def_glTexCoord1f); - fn_glTexCoord1fv = new Deno.UnsafeFnPointer(proc("glTexCoord1fv"), def_glTexCoord1fv); - fn_glTexCoord1i = new Deno.UnsafeFnPointer(proc("glTexCoord1i"), def_glTexCoord1i); - fn_glTexCoord1iv = new Deno.UnsafeFnPointer(proc("glTexCoord1iv"), def_glTexCoord1iv); - fn_glTexCoord1s = new Deno.UnsafeFnPointer(proc("glTexCoord1s"), def_glTexCoord1s); - fn_glTexCoord1sv = new Deno.UnsafeFnPointer(proc("glTexCoord1sv"), def_glTexCoord1sv); - fn_glTexCoord2d = new Deno.UnsafeFnPointer(proc("glTexCoord2d"), def_glTexCoord2d); - fn_glTexCoord2dv = new Deno.UnsafeFnPointer(proc("glTexCoord2dv"), def_glTexCoord2dv); - fn_glTexCoord2f = new Deno.UnsafeFnPointer(proc("glTexCoord2f"), def_glTexCoord2f); - fn_glTexCoord2fv = new Deno.UnsafeFnPointer(proc("glTexCoord2fv"), def_glTexCoord2fv); - fn_glTexCoord2i = new Deno.UnsafeFnPointer(proc("glTexCoord2i"), def_glTexCoord2i); - fn_glTexCoord2iv = new Deno.UnsafeFnPointer(proc("glTexCoord2iv"), def_glTexCoord2iv); - fn_glTexCoord2s = new Deno.UnsafeFnPointer(proc("glTexCoord2s"), def_glTexCoord2s); - fn_glTexCoord2sv = new Deno.UnsafeFnPointer(proc("glTexCoord2sv"), def_glTexCoord2sv); - fn_glTexCoord3d = new Deno.UnsafeFnPointer(proc("glTexCoord3d"), def_glTexCoord3d); - fn_glTexCoord3dv = new Deno.UnsafeFnPointer(proc("glTexCoord3dv"), def_glTexCoord3dv); - fn_glTexCoord3f = new Deno.UnsafeFnPointer(proc("glTexCoord3f"), def_glTexCoord3f); - fn_glTexCoord3fv = new Deno.UnsafeFnPointer(proc("glTexCoord3fv"), def_glTexCoord3fv); - fn_glTexCoord3i = new Deno.UnsafeFnPointer(proc("glTexCoord3i"), def_glTexCoord3i); - fn_glTexCoord3iv = new Deno.UnsafeFnPointer(proc("glTexCoord3iv"), def_glTexCoord3iv); - fn_glTexCoord3s = new Deno.UnsafeFnPointer(proc("glTexCoord3s"), def_glTexCoord3s); - fn_glTexCoord3sv = new Deno.UnsafeFnPointer(proc("glTexCoord3sv"), def_glTexCoord3sv); - fn_glTexCoord4d = new Deno.UnsafeFnPointer(proc("glTexCoord4d"), def_glTexCoord4d); - fn_glTexCoord4dv = new Deno.UnsafeFnPointer(proc("glTexCoord4dv"), def_glTexCoord4dv); - fn_glTexCoord4f = new Deno.UnsafeFnPointer(proc("glTexCoord4f"), def_glTexCoord4f); - fn_glTexCoord4fv = new Deno.UnsafeFnPointer(proc("glTexCoord4fv"), def_glTexCoord4fv); - fn_glTexCoord4i = new Deno.UnsafeFnPointer(proc("glTexCoord4i"), def_glTexCoord4i); - fn_glTexCoord4iv = new Deno.UnsafeFnPointer(proc("glTexCoord4iv"), def_glTexCoord4iv); - fn_glTexCoord4s = new Deno.UnsafeFnPointer(proc("glTexCoord4s"), def_glTexCoord4s); - fn_glTexCoord4sv = new Deno.UnsafeFnPointer(proc("glTexCoord4sv"), def_glTexCoord4sv); + fn_glTexCoord1d = new Deno.UnsafeFnPointer( + proc("glTexCoord1d"), + def_glTexCoord1d, + ); + fn_glTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glTexCoord1dv"), + def_glTexCoord1dv, + ); + fn_glTexCoord1f = new Deno.UnsafeFnPointer( + proc("glTexCoord1f"), + def_glTexCoord1f, + ); + fn_glTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glTexCoord1fv"), + def_glTexCoord1fv, + ); + fn_glTexCoord1i = new Deno.UnsafeFnPointer( + proc("glTexCoord1i"), + def_glTexCoord1i, + ); + fn_glTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glTexCoord1iv"), + def_glTexCoord1iv, + ); + fn_glTexCoord1s = new Deno.UnsafeFnPointer( + proc("glTexCoord1s"), + def_glTexCoord1s, + ); + fn_glTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glTexCoord1sv"), + def_glTexCoord1sv, + ); + fn_glTexCoord2d = new Deno.UnsafeFnPointer( + proc("glTexCoord2d"), + def_glTexCoord2d, + ); + fn_glTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glTexCoord2dv"), + def_glTexCoord2dv, + ); + fn_glTexCoord2f = new Deno.UnsafeFnPointer( + proc("glTexCoord2f"), + def_glTexCoord2f, + ); + fn_glTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glTexCoord2fv"), + def_glTexCoord2fv, + ); + fn_glTexCoord2i = new Deno.UnsafeFnPointer( + proc("glTexCoord2i"), + def_glTexCoord2i, + ); + fn_glTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glTexCoord2iv"), + def_glTexCoord2iv, + ); + fn_glTexCoord2s = new Deno.UnsafeFnPointer( + proc("glTexCoord2s"), + def_glTexCoord2s, + ); + fn_glTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glTexCoord2sv"), + def_glTexCoord2sv, + ); + fn_glTexCoord3d = new Deno.UnsafeFnPointer( + proc("glTexCoord3d"), + def_glTexCoord3d, + ); + fn_glTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glTexCoord3dv"), + def_glTexCoord3dv, + ); + fn_glTexCoord3f = new Deno.UnsafeFnPointer( + proc("glTexCoord3f"), + def_glTexCoord3f, + ); + fn_glTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glTexCoord3fv"), + def_glTexCoord3fv, + ); + fn_glTexCoord3i = new Deno.UnsafeFnPointer( + proc("glTexCoord3i"), + def_glTexCoord3i, + ); + fn_glTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glTexCoord3iv"), + def_glTexCoord3iv, + ); + fn_glTexCoord3s = new Deno.UnsafeFnPointer( + proc("glTexCoord3s"), + def_glTexCoord3s, + ); + fn_glTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glTexCoord3sv"), + def_glTexCoord3sv, + ); + fn_glTexCoord4d = new Deno.UnsafeFnPointer( + proc("glTexCoord4d"), + def_glTexCoord4d, + ); + fn_glTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glTexCoord4dv"), + def_glTexCoord4dv, + ); + fn_glTexCoord4f = new Deno.UnsafeFnPointer( + proc("glTexCoord4f"), + def_glTexCoord4f, + ); + fn_glTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glTexCoord4fv"), + def_glTexCoord4fv, + ); + fn_glTexCoord4i = new Deno.UnsafeFnPointer( + proc("glTexCoord4i"), + def_glTexCoord4i, + ); + fn_glTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glTexCoord4iv"), + def_glTexCoord4iv, + ); + fn_glTexCoord4s = new Deno.UnsafeFnPointer( + proc("glTexCoord4s"), + def_glTexCoord4s, + ); + fn_glTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glTexCoord4sv"), + def_glTexCoord4sv, + ); fn_glVertex2d = new Deno.UnsafeFnPointer(proc("glVertex2d"), def_glVertex2d); - fn_glVertex2dv = new Deno.UnsafeFnPointer(proc("glVertex2dv"), def_glVertex2dv); + fn_glVertex2dv = new Deno.UnsafeFnPointer( + proc("glVertex2dv"), + def_glVertex2dv, + ); fn_glVertex2f = new Deno.UnsafeFnPointer(proc("glVertex2f"), def_glVertex2f); - fn_glVertex2fv = new Deno.UnsafeFnPointer(proc("glVertex2fv"), def_glVertex2fv); + fn_glVertex2fv = new Deno.UnsafeFnPointer( + proc("glVertex2fv"), + def_glVertex2fv, + ); fn_glVertex2i = new Deno.UnsafeFnPointer(proc("glVertex2i"), def_glVertex2i); - fn_glVertex2iv = new Deno.UnsafeFnPointer(proc("glVertex2iv"), def_glVertex2iv); + fn_glVertex2iv = new Deno.UnsafeFnPointer( + proc("glVertex2iv"), + def_glVertex2iv, + ); fn_glVertex2s = new Deno.UnsafeFnPointer(proc("glVertex2s"), def_glVertex2s); - fn_glVertex2sv = new Deno.UnsafeFnPointer(proc("glVertex2sv"), def_glVertex2sv); + fn_glVertex2sv = new Deno.UnsafeFnPointer( + proc("glVertex2sv"), + def_glVertex2sv, + ); fn_glVertex3d = new Deno.UnsafeFnPointer(proc("glVertex3d"), def_glVertex3d); - fn_glVertex3dv = new Deno.UnsafeFnPointer(proc("glVertex3dv"), def_glVertex3dv); + fn_glVertex3dv = new Deno.UnsafeFnPointer( + proc("glVertex3dv"), + def_glVertex3dv, + ); fn_glVertex3f = new Deno.UnsafeFnPointer(proc("glVertex3f"), def_glVertex3f); - fn_glVertex3fv = new Deno.UnsafeFnPointer(proc("glVertex3fv"), def_glVertex3fv); + fn_glVertex3fv = new Deno.UnsafeFnPointer( + proc("glVertex3fv"), + def_glVertex3fv, + ); fn_glVertex3i = new Deno.UnsafeFnPointer(proc("glVertex3i"), def_glVertex3i); - fn_glVertex3iv = new Deno.UnsafeFnPointer(proc("glVertex3iv"), def_glVertex3iv); + fn_glVertex3iv = new Deno.UnsafeFnPointer( + proc("glVertex3iv"), + def_glVertex3iv, + ); fn_glVertex3s = new Deno.UnsafeFnPointer(proc("glVertex3s"), def_glVertex3s); - fn_glVertex3sv = new Deno.UnsafeFnPointer(proc("glVertex3sv"), def_glVertex3sv); + fn_glVertex3sv = new Deno.UnsafeFnPointer( + proc("glVertex3sv"), + def_glVertex3sv, + ); fn_glVertex4d = new Deno.UnsafeFnPointer(proc("glVertex4d"), def_glVertex4d); - fn_glVertex4dv = new Deno.UnsafeFnPointer(proc("glVertex4dv"), def_glVertex4dv); + fn_glVertex4dv = new Deno.UnsafeFnPointer( + proc("glVertex4dv"), + def_glVertex4dv, + ); fn_glVertex4f = new Deno.UnsafeFnPointer(proc("glVertex4f"), def_glVertex4f); - fn_glVertex4fv = new Deno.UnsafeFnPointer(proc("glVertex4fv"), def_glVertex4fv); + fn_glVertex4fv = new Deno.UnsafeFnPointer( + proc("glVertex4fv"), + def_glVertex4fv, + ); fn_glVertex4i = new Deno.UnsafeFnPointer(proc("glVertex4i"), def_glVertex4i); - fn_glVertex4iv = new Deno.UnsafeFnPointer(proc("glVertex4iv"), def_glVertex4iv); + fn_glVertex4iv = new Deno.UnsafeFnPointer( + proc("glVertex4iv"), + def_glVertex4iv, + ); fn_glVertex4s = new Deno.UnsafeFnPointer(proc("glVertex4s"), def_glVertex4s); - fn_glVertex4sv = new Deno.UnsafeFnPointer(proc("glVertex4sv"), def_glVertex4sv); - fn_glClipPlane = new Deno.UnsafeFnPointer(proc("glClipPlane"), def_glClipPlane); - fn_glColorMaterial = new Deno.UnsafeFnPointer(proc("glColorMaterial"), def_glColorMaterial); + fn_glVertex4sv = new Deno.UnsafeFnPointer( + proc("glVertex4sv"), + def_glVertex4sv, + ); + fn_glClipPlane = new Deno.UnsafeFnPointer( + proc("glClipPlane"), + def_glClipPlane, + ); + fn_glColorMaterial = new Deno.UnsafeFnPointer( + proc("glColorMaterial"), + def_glColorMaterial, + ); fn_glFogf = new Deno.UnsafeFnPointer(proc("glFogf"), def_glFogf); fn_glFogfv = new Deno.UnsafeFnPointer(proc("glFogfv"), def_glFogfv); fn_glFogi = new Deno.UnsafeFnPointer(proc("glFogi"), def_glFogi); @@ -7874,17 +8394,50 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glLightfv = new Deno.UnsafeFnPointer(proc("glLightfv"), def_glLightfv); fn_glLighti = new Deno.UnsafeFnPointer(proc("glLighti"), def_glLighti); fn_glLightiv = new Deno.UnsafeFnPointer(proc("glLightiv"), def_glLightiv); - fn_glLightModelf = new Deno.UnsafeFnPointer(proc("glLightModelf"), def_glLightModelf); - fn_glLightModelfv = new Deno.UnsafeFnPointer(proc("glLightModelfv"), def_glLightModelfv); - fn_glLightModeli = new Deno.UnsafeFnPointer(proc("glLightModeli"), def_glLightModeli); - fn_glLightModeliv = new Deno.UnsafeFnPointer(proc("glLightModeliv"), def_glLightModeliv); - fn_glLineStipple = new Deno.UnsafeFnPointer(proc("glLineStipple"), def_glLineStipple); - fn_glMaterialf = new Deno.UnsafeFnPointer(proc("glMaterialf"), def_glMaterialf); - fn_glMaterialfv = new Deno.UnsafeFnPointer(proc("glMaterialfv"), def_glMaterialfv); - fn_glMateriali = new Deno.UnsafeFnPointer(proc("glMateriali"), def_glMateriali); - fn_glMaterialiv = new Deno.UnsafeFnPointer(proc("glMaterialiv"), def_glMaterialiv); - fn_glPolygonStipple = new Deno.UnsafeFnPointer(proc("glPolygonStipple"), def_glPolygonStipple); - fn_glShadeModel = new Deno.UnsafeFnPointer(proc("glShadeModel"), def_glShadeModel); + fn_glLightModelf = new Deno.UnsafeFnPointer( + proc("glLightModelf"), + def_glLightModelf, + ); + fn_glLightModelfv = new Deno.UnsafeFnPointer( + proc("glLightModelfv"), + def_glLightModelfv, + ); + fn_glLightModeli = new Deno.UnsafeFnPointer( + proc("glLightModeli"), + def_glLightModeli, + ); + fn_glLightModeliv = new Deno.UnsafeFnPointer( + proc("glLightModeliv"), + def_glLightModeliv, + ); + fn_glLineStipple = new Deno.UnsafeFnPointer( + proc("glLineStipple"), + def_glLineStipple, + ); + fn_glMaterialf = new Deno.UnsafeFnPointer( + proc("glMaterialf"), + def_glMaterialf, + ); + fn_glMaterialfv = new Deno.UnsafeFnPointer( + proc("glMaterialfv"), + def_glMaterialfv, + ); + fn_glMateriali = new Deno.UnsafeFnPointer( + proc("glMateriali"), + def_glMateriali, + ); + fn_glMaterialiv = new Deno.UnsafeFnPointer( + proc("glMaterialiv"), + def_glMaterialiv, + ); + fn_glPolygonStipple = new Deno.UnsafeFnPointer( + proc("glPolygonStipple"), + def_glPolygonStipple, + ); + fn_glShadeModel = new Deno.UnsafeFnPointer( + proc("glShadeModel"), + def_glShadeModel, + ); fn_glTexEnvf = new Deno.UnsafeFnPointer(proc("glTexEnvf"), def_glTexEnvf); fn_glTexEnvfv = new Deno.UnsafeFnPointer(proc("glTexEnvfv"), def_glTexEnvfv); fn_glTexEnvi = new Deno.UnsafeFnPointer(proc("glTexEnvi"), def_glTexEnvi); @@ -7895,161 +8448,572 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glTexGenfv = new Deno.UnsafeFnPointer(proc("glTexGenfv"), def_glTexGenfv); fn_glTexGeni = new Deno.UnsafeFnPointer(proc("glTexGeni"), def_glTexGeni); fn_glTexGeniv = new Deno.UnsafeFnPointer(proc("glTexGeniv"), def_glTexGeniv); - fn_glFeedbackBuffer = new Deno.UnsafeFnPointer(proc("glFeedbackBuffer"), def_glFeedbackBuffer); - fn_glSelectBuffer = new Deno.UnsafeFnPointer(proc("glSelectBuffer"), def_glSelectBuffer); - fn_glRenderMode = new Deno.UnsafeFnPointer(proc("glRenderMode"), def_glRenderMode); - fn_glInitNames = new Deno.UnsafeFnPointer(proc("glInitNames"), def_glInitNames); + fn_glFeedbackBuffer = new Deno.UnsafeFnPointer( + proc("glFeedbackBuffer"), + def_glFeedbackBuffer, + ); + fn_glSelectBuffer = new Deno.UnsafeFnPointer( + proc("glSelectBuffer"), + def_glSelectBuffer, + ); + fn_glRenderMode = new Deno.UnsafeFnPointer( + proc("glRenderMode"), + def_glRenderMode, + ); + fn_glInitNames = new Deno.UnsafeFnPointer( + proc("glInitNames"), + def_glInitNames, + ); fn_glLoadName = new Deno.UnsafeFnPointer(proc("glLoadName"), def_glLoadName); - fn_glPassThrough = new Deno.UnsafeFnPointer(proc("glPassThrough"), def_glPassThrough); + fn_glPassThrough = new Deno.UnsafeFnPointer( + proc("glPassThrough"), + def_glPassThrough, + ); fn_glPopName = new Deno.UnsafeFnPointer(proc("glPopName"), def_glPopName); fn_glPushName = new Deno.UnsafeFnPointer(proc("glPushName"), def_glPushName); - fn_glClearAccum = new Deno.UnsafeFnPointer(proc("glClearAccum"), def_glClearAccum); - fn_glClearIndex = new Deno.UnsafeFnPointer(proc("glClearIndex"), def_glClearIndex); - fn_glIndexMask = new Deno.UnsafeFnPointer(proc("glIndexMask"), def_glIndexMask); + fn_glClearAccum = new Deno.UnsafeFnPointer( + proc("glClearAccum"), + def_glClearAccum, + ); + fn_glClearIndex = new Deno.UnsafeFnPointer( + proc("glClearIndex"), + def_glClearIndex, + ); + fn_glIndexMask = new Deno.UnsafeFnPointer( + proc("glIndexMask"), + def_glIndexMask, + ); fn_glAccum = new Deno.UnsafeFnPointer(proc("glAccum"), def_glAccum); - fn_glPopAttrib = new Deno.UnsafeFnPointer(proc("glPopAttrib"), def_glPopAttrib); - fn_glPushAttrib = new Deno.UnsafeFnPointer(proc("glPushAttrib"), def_glPushAttrib); + fn_glPopAttrib = new Deno.UnsafeFnPointer( + proc("glPopAttrib"), + def_glPopAttrib, + ); + fn_glPushAttrib = new Deno.UnsafeFnPointer( + proc("glPushAttrib"), + def_glPushAttrib, + ); fn_glMap1d = new Deno.UnsafeFnPointer(proc("glMap1d"), def_glMap1d); fn_glMap1f = new Deno.UnsafeFnPointer(proc("glMap1f"), def_glMap1f); fn_glMap2d = new Deno.UnsafeFnPointer(proc("glMap2d"), def_glMap2d); fn_glMap2f = new Deno.UnsafeFnPointer(proc("glMap2f"), def_glMap2f); - fn_glMapGrid1d = new Deno.UnsafeFnPointer(proc("glMapGrid1d"), def_glMapGrid1d); - fn_glMapGrid1f = new Deno.UnsafeFnPointer(proc("glMapGrid1f"), def_glMapGrid1f); - fn_glMapGrid2d = new Deno.UnsafeFnPointer(proc("glMapGrid2d"), def_glMapGrid2d); - fn_glMapGrid2f = new Deno.UnsafeFnPointer(proc("glMapGrid2f"), def_glMapGrid2f); - fn_glEvalCoord1d = new Deno.UnsafeFnPointer(proc("glEvalCoord1d"), def_glEvalCoord1d); - fn_glEvalCoord1dv = new Deno.UnsafeFnPointer(proc("glEvalCoord1dv"), def_glEvalCoord1dv); - fn_glEvalCoord1f = new Deno.UnsafeFnPointer(proc("glEvalCoord1f"), def_glEvalCoord1f); - fn_glEvalCoord1fv = new Deno.UnsafeFnPointer(proc("glEvalCoord1fv"), def_glEvalCoord1fv); - fn_glEvalCoord2d = new Deno.UnsafeFnPointer(proc("glEvalCoord2d"), def_glEvalCoord2d); - fn_glEvalCoord2dv = new Deno.UnsafeFnPointer(proc("glEvalCoord2dv"), def_glEvalCoord2dv); - fn_glEvalCoord2f = new Deno.UnsafeFnPointer(proc("glEvalCoord2f"), def_glEvalCoord2f); - fn_glEvalCoord2fv = new Deno.UnsafeFnPointer(proc("glEvalCoord2fv"), def_glEvalCoord2fv); - fn_glEvalMesh1 = new Deno.UnsafeFnPointer(proc("glEvalMesh1"), def_glEvalMesh1); - fn_glEvalPoint1 = new Deno.UnsafeFnPointer(proc("glEvalPoint1"), def_glEvalPoint1); - fn_glEvalMesh2 = new Deno.UnsafeFnPointer(proc("glEvalMesh2"), def_glEvalMesh2); - fn_glEvalPoint2 = new Deno.UnsafeFnPointer(proc("glEvalPoint2"), def_glEvalPoint2); - fn_glAlphaFunc = new Deno.UnsafeFnPointer(proc("glAlphaFunc"), def_glAlphaFunc); - fn_glPixelZoom = new Deno.UnsafeFnPointer(proc("glPixelZoom"), def_glPixelZoom); - fn_glPixelTransferf = new Deno.UnsafeFnPointer(proc("glPixelTransferf"), def_glPixelTransferf); - fn_glPixelTransferi = new Deno.UnsafeFnPointer(proc("glPixelTransferi"), def_glPixelTransferi); - fn_glPixelMapfv = new Deno.UnsafeFnPointer(proc("glPixelMapfv"), def_glPixelMapfv); - fn_glPixelMapuiv = new Deno.UnsafeFnPointer(proc("glPixelMapuiv"), def_glPixelMapuiv); - fn_glPixelMapusv = new Deno.UnsafeFnPointer(proc("glPixelMapusv"), def_glPixelMapusv); - fn_glCopyPixels = new Deno.UnsafeFnPointer(proc("glCopyPixels"), def_glCopyPixels); - fn_glDrawPixels = new Deno.UnsafeFnPointer(proc("glDrawPixels"), def_glDrawPixels); - fn_glGetClipPlane = new Deno.UnsafeFnPointer(proc("glGetClipPlane"), def_glGetClipPlane); - fn_glGetLightfv = new Deno.UnsafeFnPointer(proc("glGetLightfv"), def_glGetLightfv); - fn_glGetLightiv = new Deno.UnsafeFnPointer(proc("glGetLightiv"), def_glGetLightiv); + fn_glMapGrid1d = new Deno.UnsafeFnPointer( + proc("glMapGrid1d"), + def_glMapGrid1d, + ); + fn_glMapGrid1f = new Deno.UnsafeFnPointer( + proc("glMapGrid1f"), + def_glMapGrid1f, + ); + fn_glMapGrid2d = new Deno.UnsafeFnPointer( + proc("glMapGrid2d"), + def_glMapGrid2d, + ); + fn_glMapGrid2f = new Deno.UnsafeFnPointer( + proc("glMapGrid2f"), + def_glMapGrid2f, + ); + fn_glEvalCoord1d = new Deno.UnsafeFnPointer( + proc("glEvalCoord1d"), + def_glEvalCoord1d, + ); + fn_glEvalCoord1dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1dv"), + def_glEvalCoord1dv, + ); + fn_glEvalCoord1f = new Deno.UnsafeFnPointer( + proc("glEvalCoord1f"), + def_glEvalCoord1f, + ); + fn_glEvalCoord1fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1fv"), + def_glEvalCoord1fv, + ); + fn_glEvalCoord2d = new Deno.UnsafeFnPointer( + proc("glEvalCoord2d"), + def_glEvalCoord2d, + ); + fn_glEvalCoord2dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2dv"), + def_glEvalCoord2dv, + ); + fn_glEvalCoord2f = new Deno.UnsafeFnPointer( + proc("glEvalCoord2f"), + def_glEvalCoord2f, + ); + fn_glEvalCoord2fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2fv"), + def_glEvalCoord2fv, + ); + fn_glEvalMesh1 = new Deno.UnsafeFnPointer( + proc("glEvalMesh1"), + def_glEvalMesh1, + ); + fn_glEvalPoint1 = new Deno.UnsafeFnPointer( + proc("glEvalPoint1"), + def_glEvalPoint1, + ); + fn_glEvalMesh2 = new Deno.UnsafeFnPointer( + proc("glEvalMesh2"), + def_glEvalMesh2, + ); + fn_glEvalPoint2 = new Deno.UnsafeFnPointer( + proc("glEvalPoint2"), + def_glEvalPoint2, + ); + fn_glAlphaFunc = new Deno.UnsafeFnPointer( + proc("glAlphaFunc"), + def_glAlphaFunc, + ); + fn_glPixelZoom = new Deno.UnsafeFnPointer( + proc("glPixelZoom"), + def_glPixelZoom, + ); + fn_glPixelTransferf = new Deno.UnsafeFnPointer( + proc("glPixelTransferf"), + def_glPixelTransferf, + ); + fn_glPixelTransferi = new Deno.UnsafeFnPointer( + proc("glPixelTransferi"), + def_glPixelTransferi, + ); + fn_glPixelMapfv = new Deno.UnsafeFnPointer( + proc("glPixelMapfv"), + def_glPixelMapfv, + ); + fn_glPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glPixelMapuiv"), + def_glPixelMapuiv, + ); + fn_glPixelMapusv = new Deno.UnsafeFnPointer( + proc("glPixelMapusv"), + def_glPixelMapusv, + ); + fn_glCopyPixels = new Deno.UnsafeFnPointer( + proc("glCopyPixels"), + def_glCopyPixels, + ); + fn_glDrawPixels = new Deno.UnsafeFnPointer( + proc("glDrawPixels"), + def_glDrawPixels, + ); + fn_glGetClipPlane = new Deno.UnsafeFnPointer( + proc("glGetClipPlane"), + def_glGetClipPlane, + ); + fn_glGetLightfv = new Deno.UnsafeFnPointer( + proc("glGetLightfv"), + def_glGetLightfv, + ); + fn_glGetLightiv = new Deno.UnsafeFnPointer( + proc("glGetLightiv"), + def_glGetLightiv, + ); fn_glGetMapdv = new Deno.UnsafeFnPointer(proc("glGetMapdv"), def_glGetMapdv); fn_glGetMapfv = new Deno.UnsafeFnPointer(proc("glGetMapfv"), def_glGetMapfv); fn_glGetMapiv = new Deno.UnsafeFnPointer(proc("glGetMapiv"), def_glGetMapiv); - fn_glGetMaterialfv = new Deno.UnsafeFnPointer(proc("glGetMaterialfv"), def_glGetMaterialfv); - fn_glGetMaterialiv = new Deno.UnsafeFnPointer(proc("glGetMaterialiv"), def_glGetMaterialiv); - fn_glGetPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetPixelMapfv"), def_glGetPixelMapfv); - fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetPixelMapuiv"), def_glGetPixelMapuiv); - fn_glGetPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetPixelMapusv"), def_glGetPixelMapusv); - fn_glGetPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetPolygonStipple"), def_glGetPolygonStipple); - fn_glGetTexEnvfv = new Deno.UnsafeFnPointer(proc("glGetTexEnvfv"), def_glGetTexEnvfv); - fn_glGetTexEnviv = new Deno.UnsafeFnPointer(proc("glGetTexEnviv"), def_glGetTexEnviv); - fn_glGetTexGendv = new Deno.UnsafeFnPointer(proc("glGetTexGendv"), def_glGetTexGendv); - fn_glGetTexGenfv = new Deno.UnsafeFnPointer(proc("glGetTexGenfv"), def_glGetTexGenfv); - fn_glGetTexGeniv = new Deno.UnsafeFnPointer(proc("glGetTexGeniv"), def_glGetTexGeniv); + fn_glGetMaterialfv = new Deno.UnsafeFnPointer( + proc("glGetMaterialfv"), + def_glGetMaterialfv, + ); + fn_glGetMaterialiv = new Deno.UnsafeFnPointer( + proc("glGetMaterialiv"), + def_glGetMaterialiv, + ); + fn_glGetPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapfv"), + def_glGetPixelMapfv, + ); + fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapuiv"), + def_glGetPixelMapuiv, + ); + fn_glGetPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapusv"), + def_glGetPixelMapusv, + ); + fn_glGetPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetPolygonStipple"), + def_glGetPolygonStipple, + ); + fn_glGetTexEnvfv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvfv"), + def_glGetTexEnvfv, + ); + fn_glGetTexEnviv = new Deno.UnsafeFnPointer( + proc("glGetTexEnviv"), + def_glGetTexEnviv, + ); + fn_glGetTexGendv = new Deno.UnsafeFnPointer( + proc("glGetTexGendv"), + def_glGetTexGendv, + ); + fn_glGetTexGenfv = new Deno.UnsafeFnPointer( + proc("glGetTexGenfv"), + def_glGetTexGenfv, + ); + fn_glGetTexGeniv = new Deno.UnsafeFnPointer( + proc("glGetTexGeniv"), + def_glGetTexGeniv, + ); fn_glIsList = new Deno.UnsafeFnPointer(proc("glIsList"), def_glIsList); fn_glFrustum = new Deno.UnsafeFnPointer(proc("glFrustum"), def_glFrustum); - fn_glLoadIdentity = new Deno.UnsafeFnPointer(proc("glLoadIdentity"), def_glLoadIdentity); - fn_glLoadMatrixf = new Deno.UnsafeFnPointer(proc("glLoadMatrixf"), def_glLoadMatrixf); - fn_glLoadMatrixd = new Deno.UnsafeFnPointer(proc("glLoadMatrixd"), def_glLoadMatrixd); - fn_glMatrixMode = new Deno.UnsafeFnPointer(proc("glMatrixMode"), def_glMatrixMode); - fn_glMultMatrixf = new Deno.UnsafeFnPointer(proc("glMultMatrixf"), def_glMultMatrixf); - fn_glMultMatrixd = new Deno.UnsafeFnPointer(proc("glMultMatrixd"), def_glMultMatrixd); + fn_glLoadIdentity = new Deno.UnsafeFnPointer( + proc("glLoadIdentity"), + def_glLoadIdentity, + ); + fn_glLoadMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadMatrixf"), + def_glLoadMatrixf, + ); + fn_glLoadMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadMatrixd"), + def_glLoadMatrixd, + ); + fn_glMatrixMode = new Deno.UnsafeFnPointer( + proc("glMatrixMode"), + def_glMatrixMode, + ); + fn_glMultMatrixf = new Deno.UnsafeFnPointer( + proc("glMultMatrixf"), + def_glMultMatrixf, + ); + fn_glMultMatrixd = new Deno.UnsafeFnPointer( + proc("glMultMatrixd"), + def_glMultMatrixd, + ); fn_glOrtho = new Deno.UnsafeFnPointer(proc("glOrtho"), def_glOrtho); - fn_glPopMatrix = new Deno.UnsafeFnPointer(proc("glPopMatrix"), def_glPopMatrix); - fn_glPushMatrix = new Deno.UnsafeFnPointer(proc("glPushMatrix"), def_glPushMatrix); + fn_glPopMatrix = new Deno.UnsafeFnPointer( + proc("glPopMatrix"), + def_glPopMatrix, + ); + fn_glPushMatrix = new Deno.UnsafeFnPointer( + proc("glPushMatrix"), + def_glPushMatrix, + ); fn_glRotated = new Deno.UnsafeFnPointer(proc("glRotated"), def_glRotated); fn_glRotatef = new Deno.UnsafeFnPointer(proc("glRotatef"), def_glRotatef); fn_glScaled = new Deno.UnsafeFnPointer(proc("glScaled"), def_glScaled); fn_glScalef = new Deno.UnsafeFnPointer(proc("glScalef"), def_glScalef); - fn_glTranslated = new Deno.UnsafeFnPointer(proc("glTranslated"), def_glTranslated); - fn_glTranslatef = new Deno.UnsafeFnPointer(proc("glTranslatef"), def_glTranslatef); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glArrayElement = new Deno.UnsafeFnPointer(proc("glArrayElement"), def_glArrayElement); - fn_glColorPointer = new Deno.UnsafeFnPointer(proc("glColorPointer"), def_glColorPointer); - fn_glDisableClientState = new Deno.UnsafeFnPointer(proc("glDisableClientState"), def_glDisableClientState); - fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer(proc("glEdgeFlagPointer"), def_glEdgeFlagPointer); - fn_glEnableClientState = new Deno.UnsafeFnPointer(proc("glEnableClientState"), def_glEnableClientState); - fn_glIndexPointer = new Deno.UnsafeFnPointer(proc("glIndexPointer"), def_glIndexPointer); - fn_glInterleavedArrays = new Deno.UnsafeFnPointer(proc("glInterleavedArrays"), def_glInterleavedArrays); - fn_glNormalPointer = new Deno.UnsafeFnPointer(proc("glNormalPointer"), def_glNormalPointer); - fn_glTexCoordPointer = new Deno.UnsafeFnPointer(proc("glTexCoordPointer"), def_glTexCoordPointer); - fn_glVertexPointer = new Deno.UnsafeFnPointer(proc("glVertexPointer"), def_glVertexPointer); - fn_glAreTexturesResident = new Deno.UnsafeFnPointer(proc("glAreTexturesResident"), def_glAreTexturesResident); - fn_glPrioritizeTextures = new Deno.UnsafeFnPointer(proc("glPrioritizeTextures"), def_glPrioritizeTextures); + fn_glTranslated = new Deno.UnsafeFnPointer( + proc("glTranslated"), + def_glTranslated, + ); + fn_glTranslatef = new Deno.UnsafeFnPointer( + proc("glTranslatef"), + def_glTranslatef, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glArrayElement = new Deno.UnsafeFnPointer( + proc("glArrayElement"), + def_glArrayElement, + ); + fn_glColorPointer = new Deno.UnsafeFnPointer( + proc("glColorPointer"), + def_glColorPointer, + ); + fn_glDisableClientState = new Deno.UnsafeFnPointer( + proc("glDisableClientState"), + def_glDisableClientState, + ); + fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer( + proc("glEdgeFlagPointer"), + def_glEdgeFlagPointer, + ); + fn_glEnableClientState = new Deno.UnsafeFnPointer( + proc("glEnableClientState"), + def_glEnableClientState, + ); + fn_glIndexPointer = new Deno.UnsafeFnPointer( + proc("glIndexPointer"), + def_glIndexPointer, + ); + fn_glInterleavedArrays = new Deno.UnsafeFnPointer( + proc("glInterleavedArrays"), + def_glInterleavedArrays, + ); + fn_glNormalPointer = new Deno.UnsafeFnPointer( + proc("glNormalPointer"), + def_glNormalPointer, + ); + fn_glTexCoordPointer = new Deno.UnsafeFnPointer( + proc("glTexCoordPointer"), + def_glTexCoordPointer, + ); + fn_glVertexPointer = new Deno.UnsafeFnPointer( + proc("glVertexPointer"), + def_glVertexPointer, + ); + fn_glAreTexturesResident = new Deno.UnsafeFnPointer( + proc("glAreTexturesResident"), + def_glAreTexturesResident, + ); + fn_glPrioritizeTextures = new Deno.UnsafeFnPointer( + proc("glPrioritizeTextures"), + def_glPrioritizeTextures, + ); fn_glIndexub = new Deno.UnsafeFnPointer(proc("glIndexub"), def_glIndexub); fn_glIndexubv = new Deno.UnsafeFnPointer(proc("glIndexubv"), def_glIndexubv); - fn_glPopClientAttrib = new Deno.UnsafeFnPointer(proc("glPopClientAttrib"), def_glPopClientAttrib); - fn_glPushClientAttrib = new Deno.UnsafeFnPointer(proc("glPushClientAttrib"), def_glPushClientAttrib); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glClientActiveTexture = new Deno.UnsafeFnPointer(proc("glClientActiveTexture"), def_glClientActiveTexture); - fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1d"), def_glMultiTexCoord1d); - fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1dv"), def_glMultiTexCoord1dv); - fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1f"), def_glMultiTexCoord1f); - fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1fv"), def_glMultiTexCoord1fv); - fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1i"), def_glMultiTexCoord1i); - fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1iv"), def_glMultiTexCoord1iv); - fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1s"), def_glMultiTexCoord1s); - fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1sv"), def_glMultiTexCoord1sv); - fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2d"), def_glMultiTexCoord2d); - fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2dv"), def_glMultiTexCoord2dv); - fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2f"), def_glMultiTexCoord2f); - fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2fv"), def_glMultiTexCoord2fv); - fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2i"), def_glMultiTexCoord2i); - fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2iv"), def_glMultiTexCoord2iv); - fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2s"), def_glMultiTexCoord2s); - fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2sv"), def_glMultiTexCoord2sv); - fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3d"), def_glMultiTexCoord3d); - fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3dv"), def_glMultiTexCoord3dv); - fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3f"), def_glMultiTexCoord3f); - fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3fv"), def_glMultiTexCoord3fv); - fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3i"), def_glMultiTexCoord3i); - fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3iv"), def_glMultiTexCoord3iv); - fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3s"), def_glMultiTexCoord3s); - fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3sv"), def_glMultiTexCoord3sv); - fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4d"), def_glMultiTexCoord4d); - fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4dv"), def_glMultiTexCoord4dv); - fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4f"), def_glMultiTexCoord4f); - fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4fv"), def_glMultiTexCoord4fv); - fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4i"), def_glMultiTexCoord4i); - fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4iv"), def_glMultiTexCoord4iv); - fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4s"), def_glMultiTexCoord4s); - fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4sv"), def_glMultiTexCoord4sv); - fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixf"), def_glLoadTransposeMatrixf); - fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixd"), def_glLoadTransposeMatrixd); - fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixf"), def_glMultTransposeMatrixf); - fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixd"), def_glMultTransposeMatrixd); + fn_glPopClientAttrib = new Deno.UnsafeFnPointer( + proc("glPopClientAttrib"), + def_glPopClientAttrib, + ); + fn_glPushClientAttrib = new Deno.UnsafeFnPointer( + proc("glPushClientAttrib"), + def_glPushClientAttrib, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glClientActiveTexture = new Deno.UnsafeFnPointer( + proc("glClientActiveTexture"), + def_glClientActiveTexture, + ); + fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1d"), + def_glMultiTexCoord1d, + ); + fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1dv"), + def_glMultiTexCoord1dv, + ); + fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1f"), + def_glMultiTexCoord1f, + ); + fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1fv"), + def_glMultiTexCoord1fv, + ); + fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1i"), + def_glMultiTexCoord1i, + ); + fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1iv"), + def_glMultiTexCoord1iv, + ); + fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1s"), + def_glMultiTexCoord1s, + ); + fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1sv"), + def_glMultiTexCoord1sv, + ); + fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2d"), + def_glMultiTexCoord2d, + ); + fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2dv"), + def_glMultiTexCoord2dv, + ); + fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2f"), + def_glMultiTexCoord2f, + ); + fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2fv"), + def_glMultiTexCoord2fv, + ); + fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2i"), + def_glMultiTexCoord2i, + ); + fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2iv"), + def_glMultiTexCoord2iv, + ); + fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2s"), + def_glMultiTexCoord2s, + ); + fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2sv"), + def_glMultiTexCoord2sv, + ); + fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3d"), + def_glMultiTexCoord3d, + ); + fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3dv"), + def_glMultiTexCoord3dv, + ); + fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3f"), + def_glMultiTexCoord3f, + ); + fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3fv"), + def_glMultiTexCoord3fv, + ); + fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3i"), + def_glMultiTexCoord3i, + ); + fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3iv"), + def_glMultiTexCoord3iv, + ); + fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3s"), + def_glMultiTexCoord3s, + ); + fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3sv"), + def_glMultiTexCoord3sv, + ); + fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4d"), + def_glMultiTexCoord4d, + ); + fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4dv"), + def_glMultiTexCoord4dv, + ); + fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4f"), + def_glMultiTexCoord4f, + ); + fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4fv"), + def_glMultiTexCoord4fv, + ); + fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4i"), + def_glMultiTexCoord4i, + ); + fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4iv"), + def_glMultiTexCoord4iv, + ); + fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4s"), + def_glMultiTexCoord4s, + ); + fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4sv"), + def_glMultiTexCoord4sv, + ); + fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixf"), + def_glLoadTransposeMatrixf, + ); + fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixd"), + def_glLoadTransposeMatrixd, + ); + fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixf"), + def_glMultTransposeMatrixf, + ); + fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixd"), + def_glMultTransposeMatrixd, + ); } diff --git a/api/gl1.4.ts b/api/gl1.4.ts index de634a1..839fa3d 100644 --- a/api/gl1.4.ts +++ b/api/gl1.4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -999,7 +1007,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1496,7 +1514,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1515,7 +1535,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1534,7 +1556,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1555,7 +1579,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -4984,7 +5010,18 @@ export function Map1f( } export const def_glMap2d = { - parameters: ["u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5017,7 +5054,18 @@ export function Map2d( } export const def_glMap2f = { - parameters: ["u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5712,7 +5760,9 @@ export const def_glGetPolygonStipple = { result: "void", } as const; -let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetPolygonStipple +>; export function GetPolygonStipple( mask: Buffer, @@ -6243,7 +6293,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -6268,7 +6320,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -6320,7 +6374,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6457,7 +6521,9 @@ export const def_glDisableClientState = { result: "void", } as const; -let fn_glDisableClientState!: Deno.UnsafeFnPointer; +let fn_glDisableClientState!: Deno.UnsafeFnPointer< + typeof def_glDisableClientState +>; export function DisableClientState( array: GLenum, @@ -6489,7 +6555,9 @@ export const def_glEnableClientState = { result: "void", } as const; -let fn_glEnableClientState!: Deno.UnsafeFnPointer; +let fn_glEnableClientState!: Deno.UnsafeFnPointer< + typeof def_glEnableClientState +>; export function EnableClientState( array: GLenum, @@ -6523,7 +6591,9 @@ export const def_glInterleavedArrays = { result: "void", } as const; -let fn_glInterleavedArrays!: Deno.UnsafeFnPointer; +let fn_glInterleavedArrays!: Deno.UnsafeFnPointer< + typeof def_glInterleavedArrays +>; export function InterleavedArrays( format: GLenum, @@ -6603,7 +6673,9 @@ export const def_glAreTexturesResident = { result: "u8", } as const; -let fn_glAreTexturesResident!: Deno.UnsafeFnPointer; +let fn_glAreTexturesResident!: Deno.UnsafeFnPointer< + typeof def_glAreTexturesResident +>; export function AreTexturesResident( n: GLsizei, @@ -6622,7 +6694,9 @@ export const def_glPrioritizeTextures = { result: "void", } as const; -let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer; +let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer< + typeof def_glPrioritizeTextures +>; export function PrioritizeTextures( n: GLsizei, @@ -6697,7 +6771,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -6718,7 +6794,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6751,7 +6838,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6790,7 +6889,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -6849,11 +6950,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -6884,7 +6997,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -6913,7 +7028,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -6936,11 +7053,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -6971,11 +7102,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -7006,7 +7149,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -7033,7 +7178,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -7052,7 +7199,9 @@ export const def_glClientActiveTexture = { result: "void", } as const; -let fn_glClientActiveTexture!: Deno.UnsafeFnPointer; +let fn_glClientActiveTexture!: Deno.UnsafeFnPointer< + typeof def_glClientActiveTexture +>; export function ClientActiveTexture( texture: GLenum, @@ -7659,7 +7808,9 @@ export const def_glLoadTransposeMatrixf = { result: "void", } as const; -let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixf +>; export function LoadTransposeMatrixf( m: Buffer, @@ -7674,7 +7825,9 @@ export const def_glLoadTransposeMatrixd = { result: "void", } as const; -let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixd +>; export function LoadTransposeMatrixd( m: Buffer, @@ -7689,7 +7842,9 @@ export const def_glMultTransposeMatrixf = { result: "void", } as const; -let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixf +>; export function MultTransposeMatrixf( m: Buffer, @@ -7704,7 +7859,9 @@ export const def_glMultTransposeMatrixd = { result: "void", } as const; -let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixd +>; export function MultTransposeMatrixd( m: Buffer, @@ -7719,7 +7876,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -7761,7 +7920,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -7950,7 +8111,9 @@ export const def_glSecondaryColor3bv = { result: "void", } as const; -let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3bv +>; export function SecondaryColor3bv( v: Buffer, @@ -7984,7 +8147,9 @@ export const def_glSecondaryColor3dv = { result: "void", } as const; -let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3dv +>; export function SecondaryColor3dv( v: Buffer, @@ -8018,7 +8183,9 @@ export const def_glSecondaryColor3fv = { result: "void", } as const; -let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3fv +>; export function SecondaryColor3fv( v: Buffer, @@ -8052,7 +8219,9 @@ export const def_glSecondaryColor3iv = { result: "void", } as const; -let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3iv +>; export function SecondaryColor3iv( v: Buffer, @@ -8086,7 +8255,9 @@ export const def_glSecondaryColor3sv = { result: "void", } as const; -let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3sv +>; export function SecondaryColor3sv( v: Buffer, @@ -8101,7 +8272,9 @@ export const def_glSecondaryColor3ub = { result: "void", } as const; -let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ub +>; export function SecondaryColor3ub( red: GLubyte, @@ -8120,7 +8293,9 @@ export const def_glSecondaryColor3ubv = { result: "void", } as const; -let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ubv +>; export function SecondaryColor3ubv( v: Buffer, @@ -8135,7 +8310,9 @@ export const def_glSecondaryColor3ui = { result: "void", } as const; -let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ui +>; export function SecondaryColor3ui( red: GLuint, @@ -8154,7 +8331,9 @@ export const def_glSecondaryColor3uiv = { result: "void", } as const; -let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3uiv +>; export function SecondaryColor3uiv( v: Buffer, @@ -8169,7 +8348,9 @@ export const def_glSecondaryColor3us = { result: "void", } as const; -let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3us +>; export function SecondaryColor3us( red: GLushort, @@ -8188,7 +8369,9 @@ export const def_glSecondaryColor3usv = { result: "void", } as const; -let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3usv +>; export function SecondaryColor3usv( v: Buffer, @@ -8203,7 +8386,9 @@ export const def_glSecondaryColorPointer = { result: "void", } as const; -let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorPointer +>; export function SecondaryColorPointer( size: GLint, @@ -8522,58 +8707,175 @@ export function BlendEquation( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); fn_glNewList = new Deno.UnsafeFnPointer(proc("glNewList"), def_glNewList); fn_glEndList = new Deno.UnsafeFnPointer(proc("glEndList"), def_glEndList); fn_glCallList = new Deno.UnsafeFnPointer(proc("glCallList"), def_glCallList); - fn_glCallLists = new Deno.UnsafeFnPointer(proc("glCallLists"), def_glCallLists); - fn_glDeleteLists = new Deno.UnsafeFnPointer(proc("glDeleteLists"), def_glDeleteLists); + fn_glCallLists = new Deno.UnsafeFnPointer( + proc("glCallLists"), + def_glCallLists, + ); + fn_glDeleteLists = new Deno.UnsafeFnPointer( + proc("glDeleteLists"), + def_glDeleteLists, + ); fn_glGenLists = new Deno.UnsafeFnPointer(proc("glGenLists"), def_glGenLists); fn_glListBase = new Deno.UnsafeFnPointer(proc("glListBase"), def_glListBase); fn_glBegin = new Deno.UnsafeFnPointer(proc("glBegin"), def_glBegin); @@ -8589,11 +8891,20 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor3s = new Deno.UnsafeFnPointer(proc("glColor3s"), def_glColor3s); fn_glColor3sv = new Deno.UnsafeFnPointer(proc("glColor3sv"), def_glColor3sv); fn_glColor3ub = new Deno.UnsafeFnPointer(proc("glColor3ub"), def_glColor3ub); - fn_glColor3ubv = new Deno.UnsafeFnPointer(proc("glColor3ubv"), def_glColor3ubv); + fn_glColor3ubv = new Deno.UnsafeFnPointer( + proc("glColor3ubv"), + def_glColor3ubv, + ); fn_glColor3ui = new Deno.UnsafeFnPointer(proc("glColor3ui"), def_glColor3ui); - fn_glColor3uiv = new Deno.UnsafeFnPointer(proc("glColor3uiv"), def_glColor3uiv); + fn_glColor3uiv = new Deno.UnsafeFnPointer( + proc("glColor3uiv"), + def_glColor3uiv, + ); fn_glColor3us = new Deno.UnsafeFnPointer(proc("glColor3us"), def_glColor3us); - fn_glColor3usv = new Deno.UnsafeFnPointer(proc("glColor3usv"), def_glColor3usv); + fn_glColor3usv = new Deno.UnsafeFnPointer( + proc("glColor3usv"), + def_glColor3usv, + ); fn_glColor4b = new Deno.UnsafeFnPointer(proc("glColor4b"), def_glColor4b); fn_glColor4bv = new Deno.UnsafeFnPointer(proc("glColor4bv"), def_glColor4bv); fn_glColor4d = new Deno.UnsafeFnPointer(proc("glColor4d"), def_glColor4d); @@ -8605,13 +8916,25 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor4s = new Deno.UnsafeFnPointer(proc("glColor4s"), def_glColor4s); fn_glColor4sv = new Deno.UnsafeFnPointer(proc("glColor4sv"), def_glColor4sv); fn_glColor4ub = new Deno.UnsafeFnPointer(proc("glColor4ub"), def_glColor4ub); - fn_glColor4ubv = new Deno.UnsafeFnPointer(proc("glColor4ubv"), def_glColor4ubv); + fn_glColor4ubv = new Deno.UnsafeFnPointer( + proc("glColor4ubv"), + def_glColor4ubv, + ); fn_glColor4ui = new Deno.UnsafeFnPointer(proc("glColor4ui"), def_glColor4ui); - fn_glColor4uiv = new Deno.UnsafeFnPointer(proc("glColor4uiv"), def_glColor4uiv); + fn_glColor4uiv = new Deno.UnsafeFnPointer( + proc("glColor4uiv"), + def_glColor4uiv, + ); fn_glColor4us = new Deno.UnsafeFnPointer(proc("glColor4us"), def_glColor4us); - fn_glColor4usv = new Deno.UnsafeFnPointer(proc("glColor4usv"), def_glColor4usv); + fn_glColor4usv = new Deno.UnsafeFnPointer( + proc("glColor4usv"), + def_glColor4usv, + ); fn_glEdgeFlag = new Deno.UnsafeFnPointer(proc("glEdgeFlag"), def_glEdgeFlag); - fn_glEdgeFlagv = new Deno.UnsafeFnPointer(proc("glEdgeFlagv"), def_glEdgeFlagv); + fn_glEdgeFlagv = new Deno.UnsafeFnPointer( + proc("glEdgeFlagv"), + def_glEdgeFlagv, + ); fn_glEnd = new Deno.UnsafeFnPointer(proc("glEnd"), def_glEnd); fn_glIndexd = new Deno.UnsafeFnPointer(proc("glIndexd"), def_glIndexd); fn_glIndexdv = new Deno.UnsafeFnPointer(proc("glIndexdv"), def_glIndexdv); @@ -8622,39 +8945,126 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glIndexs = new Deno.UnsafeFnPointer(proc("glIndexs"), def_glIndexs); fn_glIndexsv = new Deno.UnsafeFnPointer(proc("glIndexsv"), def_glIndexsv); fn_glNormal3b = new Deno.UnsafeFnPointer(proc("glNormal3b"), def_glNormal3b); - fn_glNormal3bv = new Deno.UnsafeFnPointer(proc("glNormal3bv"), def_glNormal3bv); + fn_glNormal3bv = new Deno.UnsafeFnPointer( + proc("glNormal3bv"), + def_glNormal3bv, + ); fn_glNormal3d = new Deno.UnsafeFnPointer(proc("glNormal3d"), def_glNormal3d); - fn_glNormal3dv = new Deno.UnsafeFnPointer(proc("glNormal3dv"), def_glNormal3dv); + fn_glNormal3dv = new Deno.UnsafeFnPointer( + proc("glNormal3dv"), + def_glNormal3dv, + ); fn_glNormal3f = new Deno.UnsafeFnPointer(proc("glNormal3f"), def_glNormal3f); - fn_glNormal3fv = new Deno.UnsafeFnPointer(proc("glNormal3fv"), def_glNormal3fv); + fn_glNormal3fv = new Deno.UnsafeFnPointer( + proc("glNormal3fv"), + def_glNormal3fv, + ); fn_glNormal3i = new Deno.UnsafeFnPointer(proc("glNormal3i"), def_glNormal3i); - fn_glNormal3iv = new Deno.UnsafeFnPointer(proc("glNormal3iv"), def_glNormal3iv); + fn_glNormal3iv = new Deno.UnsafeFnPointer( + proc("glNormal3iv"), + def_glNormal3iv, + ); fn_glNormal3s = new Deno.UnsafeFnPointer(proc("glNormal3s"), def_glNormal3s); - fn_glNormal3sv = new Deno.UnsafeFnPointer(proc("glNormal3sv"), def_glNormal3sv); - fn_glRasterPos2d = new Deno.UnsafeFnPointer(proc("glRasterPos2d"), def_glRasterPos2d); - fn_glRasterPos2dv = new Deno.UnsafeFnPointer(proc("glRasterPos2dv"), def_glRasterPos2dv); - fn_glRasterPos2f = new Deno.UnsafeFnPointer(proc("glRasterPos2f"), def_glRasterPos2f); - fn_glRasterPos2fv = new Deno.UnsafeFnPointer(proc("glRasterPos2fv"), def_glRasterPos2fv); - fn_glRasterPos2i = new Deno.UnsafeFnPointer(proc("glRasterPos2i"), def_glRasterPos2i); - fn_glRasterPos2iv = new Deno.UnsafeFnPointer(proc("glRasterPos2iv"), def_glRasterPos2iv); - fn_glRasterPos2s = new Deno.UnsafeFnPointer(proc("glRasterPos2s"), def_glRasterPos2s); - fn_glRasterPos2sv = new Deno.UnsafeFnPointer(proc("glRasterPos2sv"), def_glRasterPos2sv); - fn_glRasterPos3d = new Deno.UnsafeFnPointer(proc("glRasterPos3d"), def_glRasterPos3d); - fn_glRasterPos3dv = new Deno.UnsafeFnPointer(proc("glRasterPos3dv"), def_glRasterPos3dv); - fn_glRasterPos3f = new Deno.UnsafeFnPointer(proc("glRasterPos3f"), def_glRasterPos3f); - fn_glRasterPos3fv = new Deno.UnsafeFnPointer(proc("glRasterPos3fv"), def_glRasterPos3fv); - fn_glRasterPos3i = new Deno.UnsafeFnPointer(proc("glRasterPos3i"), def_glRasterPos3i); - fn_glRasterPos3iv = new Deno.UnsafeFnPointer(proc("glRasterPos3iv"), def_glRasterPos3iv); - fn_glRasterPos3s = new Deno.UnsafeFnPointer(proc("glRasterPos3s"), def_glRasterPos3s); - fn_glRasterPos3sv = new Deno.UnsafeFnPointer(proc("glRasterPos3sv"), def_glRasterPos3sv); - fn_glRasterPos4d = new Deno.UnsafeFnPointer(proc("glRasterPos4d"), def_glRasterPos4d); - fn_glRasterPos4dv = new Deno.UnsafeFnPointer(proc("glRasterPos4dv"), def_glRasterPos4dv); - fn_glRasterPos4f = new Deno.UnsafeFnPointer(proc("glRasterPos4f"), def_glRasterPos4f); - fn_glRasterPos4fv = new Deno.UnsafeFnPointer(proc("glRasterPos4fv"), def_glRasterPos4fv); - fn_glRasterPos4i = new Deno.UnsafeFnPointer(proc("glRasterPos4i"), def_glRasterPos4i); - fn_glRasterPos4iv = new Deno.UnsafeFnPointer(proc("glRasterPos4iv"), def_glRasterPos4iv); - fn_glRasterPos4s = new Deno.UnsafeFnPointer(proc("glRasterPos4s"), def_glRasterPos4s); - fn_glRasterPos4sv = new Deno.UnsafeFnPointer(proc("glRasterPos4sv"), def_glRasterPos4sv); + fn_glNormal3sv = new Deno.UnsafeFnPointer( + proc("glNormal3sv"), + def_glNormal3sv, + ); + fn_glRasterPos2d = new Deno.UnsafeFnPointer( + proc("glRasterPos2d"), + def_glRasterPos2d, + ); + fn_glRasterPos2dv = new Deno.UnsafeFnPointer( + proc("glRasterPos2dv"), + def_glRasterPos2dv, + ); + fn_glRasterPos2f = new Deno.UnsafeFnPointer( + proc("glRasterPos2f"), + def_glRasterPos2f, + ); + fn_glRasterPos2fv = new Deno.UnsafeFnPointer( + proc("glRasterPos2fv"), + def_glRasterPos2fv, + ); + fn_glRasterPos2i = new Deno.UnsafeFnPointer( + proc("glRasterPos2i"), + def_glRasterPos2i, + ); + fn_glRasterPos2iv = new Deno.UnsafeFnPointer( + proc("glRasterPos2iv"), + def_glRasterPos2iv, + ); + fn_glRasterPos2s = new Deno.UnsafeFnPointer( + proc("glRasterPos2s"), + def_glRasterPos2s, + ); + fn_glRasterPos2sv = new Deno.UnsafeFnPointer( + proc("glRasterPos2sv"), + def_glRasterPos2sv, + ); + fn_glRasterPos3d = new Deno.UnsafeFnPointer( + proc("glRasterPos3d"), + def_glRasterPos3d, + ); + fn_glRasterPos3dv = new Deno.UnsafeFnPointer( + proc("glRasterPos3dv"), + def_glRasterPos3dv, + ); + fn_glRasterPos3f = new Deno.UnsafeFnPointer( + proc("glRasterPos3f"), + def_glRasterPos3f, + ); + fn_glRasterPos3fv = new Deno.UnsafeFnPointer( + proc("glRasterPos3fv"), + def_glRasterPos3fv, + ); + fn_glRasterPos3i = new Deno.UnsafeFnPointer( + proc("glRasterPos3i"), + def_glRasterPos3i, + ); + fn_glRasterPos3iv = new Deno.UnsafeFnPointer( + proc("glRasterPos3iv"), + def_glRasterPos3iv, + ); + fn_glRasterPos3s = new Deno.UnsafeFnPointer( + proc("glRasterPos3s"), + def_glRasterPos3s, + ); + fn_glRasterPos3sv = new Deno.UnsafeFnPointer( + proc("glRasterPos3sv"), + def_glRasterPos3sv, + ); + fn_glRasterPos4d = new Deno.UnsafeFnPointer( + proc("glRasterPos4d"), + def_glRasterPos4d, + ); + fn_glRasterPos4dv = new Deno.UnsafeFnPointer( + proc("glRasterPos4dv"), + def_glRasterPos4dv, + ); + fn_glRasterPos4f = new Deno.UnsafeFnPointer( + proc("glRasterPos4f"), + def_glRasterPos4f, + ); + fn_glRasterPos4fv = new Deno.UnsafeFnPointer( + proc("glRasterPos4fv"), + def_glRasterPos4fv, + ); + fn_glRasterPos4i = new Deno.UnsafeFnPointer( + proc("glRasterPos4i"), + def_glRasterPos4i, + ); + fn_glRasterPos4iv = new Deno.UnsafeFnPointer( + proc("glRasterPos4iv"), + def_glRasterPos4iv, + ); + fn_glRasterPos4s = new Deno.UnsafeFnPointer( + proc("glRasterPos4s"), + def_glRasterPos4s, + ); + fn_glRasterPos4sv = new Deno.UnsafeFnPointer( + proc("glRasterPos4sv"), + def_glRasterPos4sv, + ); fn_glRectd = new Deno.UnsafeFnPointer(proc("glRectd"), def_glRectd); fn_glRectdv = new Deno.UnsafeFnPointer(proc("glRectdv"), def_glRectdv); fn_glRectf = new Deno.UnsafeFnPointer(proc("glRectf"), def_glRectf); @@ -8663,64 +9073,202 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glRectiv = new Deno.UnsafeFnPointer(proc("glRectiv"), def_glRectiv); fn_glRects = new Deno.UnsafeFnPointer(proc("glRects"), def_glRects); fn_glRectsv = new Deno.UnsafeFnPointer(proc("glRectsv"), def_glRectsv); - fn_glTexCoord1d = new Deno.UnsafeFnPointer(proc("glTexCoord1d"), def_glTexCoord1d); - fn_glTexCoord1dv = new Deno.UnsafeFnPointer(proc("glTexCoord1dv"), def_glTexCoord1dv); - fn_glTexCoord1f = new Deno.UnsafeFnPointer(proc("glTexCoord1f"), def_glTexCoord1f); - fn_glTexCoord1fv = new Deno.UnsafeFnPointer(proc("glTexCoord1fv"), def_glTexCoord1fv); - fn_glTexCoord1i = new Deno.UnsafeFnPointer(proc("glTexCoord1i"), def_glTexCoord1i); - fn_glTexCoord1iv = new Deno.UnsafeFnPointer(proc("glTexCoord1iv"), def_glTexCoord1iv); - fn_glTexCoord1s = new Deno.UnsafeFnPointer(proc("glTexCoord1s"), def_glTexCoord1s); - fn_glTexCoord1sv = new Deno.UnsafeFnPointer(proc("glTexCoord1sv"), def_glTexCoord1sv); - fn_glTexCoord2d = new Deno.UnsafeFnPointer(proc("glTexCoord2d"), def_glTexCoord2d); - fn_glTexCoord2dv = new Deno.UnsafeFnPointer(proc("glTexCoord2dv"), def_glTexCoord2dv); - fn_glTexCoord2f = new Deno.UnsafeFnPointer(proc("glTexCoord2f"), def_glTexCoord2f); - fn_glTexCoord2fv = new Deno.UnsafeFnPointer(proc("glTexCoord2fv"), def_glTexCoord2fv); - fn_glTexCoord2i = new Deno.UnsafeFnPointer(proc("glTexCoord2i"), def_glTexCoord2i); - fn_glTexCoord2iv = new Deno.UnsafeFnPointer(proc("glTexCoord2iv"), def_glTexCoord2iv); - fn_glTexCoord2s = new Deno.UnsafeFnPointer(proc("glTexCoord2s"), def_glTexCoord2s); - fn_glTexCoord2sv = new Deno.UnsafeFnPointer(proc("glTexCoord2sv"), def_glTexCoord2sv); - fn_glTexCoord3d = new Deno.UnsafeFnPointer(proc("glTexCoord3d"), def_glTexCoord3d); - fn_glTexCoord3dv = new Deno.UnsafeFnPointer(proc("glTexCoord3dv"), def_glTexCoord3dv); - fn_glTexCoord3f = new Deno.UnsafeFnPointer(proc("glTexCoord3f"), def_glTexCoord3f); - fn_glTexCoord3fv = new Deno.UnsafeFnPointer(proc("glTexCoord3fv"), def_glTexCoord3fv); - fn_glTexCoord3i = new Deno.UnsafeFnPointer(proc("glTexCoord3i"), def_glTexCoord3i); - fn_glTexCoord3iv = new Deno.UnsafeFnPointer(proc("glTexCoord3iv"), def_glTexCoord3iv); - fn_glTexCoord3s = new Deno.UnsafeFnPointer(proc("glTexCoord3s"), def_glTexCoord3s); - fn_glTexCoord3sv = new Deno.UnsafeFnPointer(proc("glTexCoord3sv"), def_glTexCoord3sv); - fn_glTexCoord4d = new Deno.UnsafeFnPointer(proc("glTexCoord4d"), def_glTexCoord4d); - fn_glTexCoord4dv = new Deno.UnsafeFnPointer(proc("glTexCoord4dv"), def_glTexCoord4dv); - fn_glTexCoord4f = new Deno.UnsafeFnPointer(proc("glTexCoord4f"), def_glTexCoord4f); - fn_glTexCoord4fv = new Deno.UnsafeFnPointer(proc("glTexCoord4fv"), def_glTexCoord4fv); - fn_glTexCoord4i = new Deno.UnsafeFnPointer(proc("glTexCoord4i"), def_glTexCoord4i); - fn_glTexCoord4iv = new Deno.UnsafeFnPointer(proc("glTexCoord4iv"), def_glTexCoord4iv); - fn_glTexCoord4s = new Deno.UnsafeFnPointer(proc("glTexCoord4s"), def_glTexCoord4s); - fn_glTexCoord4sv = new Deno.UnsafeFnPointer(proc("glTexCoord4sv"), def_glTexCoord4sv); + fn_glTexCoord1d = new Deno.UnsafeFnPointer( + proc("glTexCoord1d"), + def_glTexCoord1d, + ); + fn_glTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glTexCoord1dv"), + def_glTexCoord1dv, + ); + fn_glTexCoord1f = new Deno.UnsafeFnPointer( + proc("glTexCoord1f"), + def_glTexCoord1f, + ); + fn_glTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glTexCoord1fv"), + def_glTexCoord1fv, + ); + fn_glTexCoord1i = new Deno.UnsafeFnPointer( + proc("glTexCoord1i"), + def_glTexCoord1i, + ); + fn_glTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glTexCoord1iv"), + def_glTexCoord1iv, + ); + fn_glTexCoord1s = new Deno.UnsafeFnPointer( + proc("glTexCoord1s"), + def_glTexCoord1s, + ); + fn_glTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glTexCoord1sv"), + def_glTexCoord1sv, + ); + fn_glTexCoord2d = new Deno.UnsafeFnPointer( + proc("glTexCoord2d"), + def_glTexCoord2d, + ); + fn_glTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glTexCoord2dv"), + def_glTexCoord2dv, + ); + fn_glTexCoord2f = new Deno.UnsafeFnPointer( + proc("glTexCoord2f"), + def_glTexCoord2f, + ); + fn_glTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glTexCoord2fv"), + def_glTexCoord2fv, + ); + fn_glTexCoord2i = new Deno.UnsafeFnPointer( + proc("glTexCoord2i"), + def_glTexCoord2i, + ); + fn_glTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glTexCoord2iv"), + def_glTexCoord2iv, + ); + fn_glTexCoord2s = new Deno.UnsafeFnPointer( + proc("glTexCoord2s"), + def_glTexCoord2s, + ); + fn_glTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glTexCoord2sv"), + def_glTexCoord2sv, + ); + fn_glTexCoord3d = new Deno.UnsafeFnPointer( + proc("glTexCoord3d"), + def_glTexCoord3d, + ); + fn_glTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glTexCoord3dv"), + def_glTexCoord3dv, + ); + fn_glTexCoord3f = new Deno.UnsafeFnPointer( + proc("glTexCoord3f"), + def_glTexCoord3f, + ); + fn_glTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glTexCoord3fv"), + def_glTexCoord3fv, + ); + fn_glTexCoord3i = new Deno.UnsafeFnPointer( + proc("glTexCoord3i"), + def_glTexCoord3i, + ); + fn_glTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glTexCoord3iv"), + def_glTexCoord3iv, + ); + fn_glTexCoord3s = new Deno.UnsafeFnPointer( + proc("glTexCoord3s"), + def_glTexCoord3s, + ); + fn_glTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glTexCoord3sv"), + def_glTexCoord3sv, + ); + fn_glTexCoord4d = new Deno.UnsafeFnPointer( + proc("glTexCoord4d"), + def_glTexCoord4d, + ); + fn_glTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glTexCoord4dv"), + def_glTexCoord4dv, + ); + fn_glTexCoord4f = new Deno.UnsafeFnPointer( + proc("glTexCoord4f"), + def_glTexCoord4f, + ); + fn_glTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glTexCoord4fv"), + def_glTexCoord4fv, + ); + fn_glTexCoord4i = new Deno.UnsafeFnPointer( + proc("glTexCoord4i"), + def_glTexCoord4i, + ); + fn_glTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glTexCoord4iv"), + def_glTexCoord4iv, + ); + fn_glTexCoord4s = new Deno.UnsafeFnPointer( + proc("glTexCoord4s"), + def_glTexCoord4s, + ); + fn_glTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glTexCoord4sv"), + def_glTexCoord4sv, + ); fn_glVertex2d = new Deno.UnsafeFnPointer(proc("glVertex2d"), def_glVertex2d); - fn_glVertex2dv = new Deno.UnsafeFnPointer(proc("glVertex2dv"), def_glVertex2dv); + fn_glVertex2dv = new Deno.UnsafeFnPointer( + proc("glVertex2dv"), + def_glVertex2dv, + ); fn_glVertex2f = new Deno.UnsafeFnPointer(proc("glVertex2f"), def_glVertex2f); - fn_glVertex2fv = new Deno.UnsafeFnPointer(proc("glVertex2fv"), def_glVertex2fv); + fn_glVertex2fv = new Deno.UnsafeFnPointer( + proc("glVertex2fv"), + def_glVertex2fv, + ); fn_glVertex2i = new Deno.UnsafeFnPointer(proc("glVertex2i"), def_glVertex2i); - fn_glVertex2iv = new Deno.UnsafeFnPointer(proc("glVertex2iv"), def_glVertex2iv); + fn_glVertex2iv = new Deno.UnsafeFnPointer( + proc("glVertex2iv"), + def_glVertex2iv, + ); fn_glVertex2s = new Deno.UnsafeFnPointer(proc("glVertex2s"), def_glVertex2s); - fn_glVertex2sv = new Deno.UnsafeFnPointer(proc("glVertex2sv"), def_glVertex2sv); + fn_glVertex2sv = new Deno.UnsafeFnPointer( + proc("glVertex2sv"), + def_glVertex2sv, + ); fn_glVertex3d = new Deno.UnsafeFnPointer(proc("glVertex3d"), def_glVertex3d); - fn_glVertex3dv = new Deno.UnsafeFnPointer(proc("glVertex3dv"), def_glVertex3dv); + fn_glVertex3dv = new Deno.UnsafeFnPointer( + proc("glVertex3dv"), + def_glVertex3dv, + ); fn_glVertex3f = new Deno.UnsafeFnPointer(proc("glVertex3f"), def_glVertex3f); - fn_glVertex3fv = new Deno.UnsafeFnPointer(proc("glVertex3fv"), def_glVertex3fv); + fn_glVertex3fv = new Deno.UnsafeFnPointer( + proc("glVertex3fv"), + def_glVertex3fv, + ); fn_glVertex3i = new Deno.UnsafeFnPointer(proc("glVertex3i"), def_glVertex3i); - fn_glVertex3iv = new Deno.UnsafeFnPointer(proc("glVertex3iv"), def_glVertex3iv); + fn_glVertex3iv = new Deno.UnsafeFnPointer( + proc("glVertex3iv"), + def_glVertex3iv, + ); fn_glVertex3s = new Deno.UnsafeFnPointer(proc("glVertex3s"), def_glVertex3s); - fn_glVertex3sv = new Deno.UnsafeFnPointer(proc("glVertex3sv"), def_glVertex3sv); + fn_glVertex3sv = new Deno.UnsafeFnPointer( + proc("glVertex3sv"), + def_glVertex3sv, + ); fn_glVertex4d = new Deno.UnsafeFnPointer(proc("glVertex4d"), def_glVertex4d); - fn_glVertex4dv = new Deno.UnsafeFnPointer(proc("glVertex4dv"), def_glVertex4dv); + fn_glVertex4dv = new Deno.UnsafeFnPointer( + proc("glVertex4dv"), + def_glVertex4dv, + ); fn_glVertex4f = new Deno.UnsafeFnPointer(proc("glVertex4f"), def_glVertex4f); - fn_glVertex4fv = new Deno.UnsafeFnPointer(proc("glVertex4fv"), def_glVertex4fv); + fn_glVertex4fv = new Deno.UnsafeFnPointer( + proc("glVertex4fv"), + def_glVertex4fv, + ); fn_glVertex4i = new Deno.UnsafeFnPointer(proc("glVertex4i"), def_glVertex4i); - fn_glVertex4iv = new Deno.UnsafeFnPointer(proc("glVertex4iv"), def_glVertex4iv); + fn_glVertex4iv = new Deno.UnsafeFnPointer( + proc("glVertex4iv"), + def_glVertex4iv, + ); fn_glVertex4s = new Deno.UnsafeFnPointer(proc("glVertex4s"), def_glVertex4s); - fn_glVertex4sv = new Deno.UnsafeFnPointer(proc("glVertex4sv"), def_glVertex4sv); - fn_glClipPlane = new Deno.UnsafeFnPointer(proc("glClipPlane"), def_glClipPlane); - fn_glColorMaterial = new Deno.UnsafeFnPointer(proc("glColorMaterial"), def_glColorMaterial); + fn_glVertex4sv = new Deno.UnsafeFnPointer( + proc("glVertex4sv"), + def_glVertex4sv, + ); + fn_glClipPlane = new Deno.UnsafeFnPointer( + proc("glClipPlane"), + def_glClipPlane, + ); + fn_glColorMaterial = new Deno.UnsafeFnPointer( + proc("glColorMaterial"), + def_glColorMaterial, + ); fn_glFogf = new Deno.UnsafeFnPointer(proc("glFogf"), def_glFogf); fn_glFogfv = new Deno.UnsafeFnPointer(proc("glFogfv"), def_glFogfv); fn_glFogi = new Deno.UnsafeFnPointer(proc("glFogi"), def_glFogi); @@ -8729,17 +9277,50 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glLightfv = new Deno.UnsafeFnPointer(proc("glLightfv"), def_glLightfv); fn_glLighti = new Deno.UnsafeFnPointer(proc("glLighti"), def_glLighti); fn_glLightiv = new Deno.UnsafeFnPointer(proc("glLightiv"), def_glLightiv); - fn_glLightModelf = new Deno.UnsafeFnPointer(proc("glLightModelf"), def_glLightModelf); - fn_glLightModelfv = new Deno.UnsafeFnPointer(proc("glLightModelfv"), def_glLightModelfv); - fn_glLightModeli = new Deno.UnsafeFnPointer(proc("glLightModeli"), def_glLightModeli); - fn_glLightModeliv = new Deno.UnsafeFnPointer(proc("glLightModeliv"), def_glLightModeliv); - fn_glLineStipple = new Deno.UnsafeFnPointer(proc("glLineStipple"), def_glLineStipple); - fn_glMaterialf = new Deno.UnsafeFnPointer(proc("glMaterialf"), def_glMaterialf); - fn_glMaterialfv = new Deno.UnsafeFnPointer(proc("glMaterialfv"), def_glMaterialfv); - fn_glMateriali = new Deno.UnsafeFnPointer(proc("glMateriali"), def_glMateriali); - fn_glMaterialiv = new Deno.UnsafeFnPointer(proc("glMaterialiv"), def_glMaterialiv); - fn_glPolygonStipple = new Deno.UnsafeFnPointer(proc("glPolygonStipple"), def_glPolygonStipple); - fn_glShadeModel = new Deno.UnsafeFnPointer(proc("glShadeModel"), def_glShadeModel); + fn_glLightModelf = new Deno.UnsafeFnPointer( + proc("glLightModelf"), + def_glLightModelf, + ); + fn_glLightModelfv = new Deno.UnsafeFnPointer( + proc("glLightModelfv"), + def_glLightModelfv, + ); + fn_glLightModeli = new Deno.UnsafeFnPointer( + proc("glLightModeli"), + def_glLightModeli, + ); + fn_glLightModeliv = new Deno.UnsafeFnPointer( + proc("glLightModeliv"), + def_glLightModeliv, + ); + fn_glLineStipple = new Deno.UnsafeFnPointer( + proc("glLineStipple"), + def_glLineStipple, + ); + fn_glMaterialf = new Deno.UnsafeFnPointer( + proc("glMaterialf"), + def_glMaterialf, + ); + fn_glMaterialfv = new Deno.UnsafeFnPointer( + proc("glMaterialfv"), + def_glMaterialfv, + ); + fn_glMateriali = new Deno.UnsafeFnPointer( + proc("glMateriali"), + def_glMateriali, + ); + fn_glMaterialiv = new Deno.UnsafeFnPointer( + proc("glMaterialiv"), + def_glMaterialiv, + ); + fn_glPolygonStipple = new Deno.UnsafeFnPointer( + proc("glPolygonStipple"), + def_glPolygonStipple, + ); + fn_glShadeModel = new Deno.UnsafeFnPointer( + proc("glShadeModel"), + def_glShadeModel, + ); fn_glTexEnvf = new Deno.UnsafeFnPointer(proc("glTexEnvf"), def_glTexEnvf); fn_glTexEnvfv = new Deno.UnsafeFnPointer(proc("glTexEnvfv"), def_glTexEnvfv); fn_glTexEnvi = new Deno.UnsafeFnPointer(proc("glTexEnvi"), def_glTexEnvi); @@ -8750,208 +9331,760 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glTexGenfv = new Deno.UnsafeFnPointer(proc("glTexGenfv"), def_glTexGenfv); fn_glTexGeni = new Deno.UnsafeFnPointer(proc("glTexGeni"), def_glTexGeni); fn_glTexGeniv = new Deno.UnsafeFnPointer(proc("glTexGeniv"), def_glTexGeniv); - fn_glFeedbackBuffer = new Deno.UnsafeFnPointer(proc("glFeedbackBuffer"), def_glFeedbackBuffer); - fn_glSelectBuffer = new Deno.UnsafeFnPointer(proc("glSelectBuffer"), def_glSelectBuffer); - fn_glRenderMode = new Deno.UnsafeFnPointer(proc("glRenderMode"), def_glRenderMode); - fn_glInitNames = new Deno.UnsafeFnPointer(proc("glInitNames"), def_glInitNames); + fn_glFeedbackBuffer = new Deno.UnsafeFnPointer( + proc("glFeedbackBuffer"), + def_glFeedbackBuffer, + ); + fn_glSelectBuffer = new Deno.UnsafeFnPointer( + proc("glSelectBuffer"), + def_glSelectBuffer, + ); + fn_glRenderMode = new Deno.UnsafeFnPointer( + proc("glRenderMode"), + def_glRenderMode, + ); + fn_glInitNames = new Deno.UnsafeFnPointer( + proc("glInitNames"), + def_glInitNames, + ); fn_glLoadName = new Deno.UnsafeFnPointer(proc("glLoadName"), def_glLoadName); - fn_glPassThrough = new Deno.UnsafeFnPointer(proc("glPassThrough"), def_glPassThrough); + fn_glPassThrough = new Deno.UnsafeFnPointer( + proc("glPassThrough"), + def_glPassThrough, + ); fn_glPopName = new Deno.UnsafeFnPointer(proc("glPopName"), def_glPopName); fn_glPushName = new Deno.UnsafeFnPointer(proc("glPushName"), def_glPushName); - fn_glClearAccum = new Deno.UnsafeFnPointer(proc("glClearAccum"), def_glClearAccum); - fn_glClearIndex = new Deno.UnsafeFnPointer(proc("glClearIndex"), def_glClearIndex); - fn_glIndexMask = new Deno.UnsafeFnPointer(proc("glIndexMask"), def_glIndexMask); + fn_glClearAccum = new Deno.UnsafeFnPointer( + proc("glClearAccum"), + def_glClearAccum, + ); + fn_glClearIndex = new Deno.UnsafeFnPointer( + proc("glClearIndex"), + def_glClearIndex, + ); + fn_glIndexMask = new Deno.UnsafeFnPointer( + proc("glIndexMask"), + def_glIndexMask, + ); fn_glAccum = new Deno.UnsafeFnPointer(proc("glAccum"), def_glAccum); - fn_glPopAttrib = new Deno.UnsafeFnPointer(proc("glPopAttrib"), def_glPopAttrib); - fn_glPushAttrib = new Deno.UnsafeFnPointer(proc("glPushAttrib"), def_glPushAttrib); + fn_glPopAttrib = new Deno.UnsafeFnPointer( + proc("glPopAttrib"), + def_glPopAttrib, + ); + fn_glPushAttrib = new Deno.UnsafeFnPointer( + proc("glPushAttrib"), + def_glPushAttrib, + ); fn_glMap1d = new Deno.UnsafeFnPointer(proc("glMap1d"), def_glMap1d); fn_glMap1f = new Deno.UnsafeFnPointer(proc("glMap1f"), def_glMap1f); fn_glMap2d = new Deno.UnsafeFnPointer(proc("glMap2d"), def_glMap2d); fn_glMap2f = new Deno.UnsafeFnPointer(proc("glMap2f"), def_glMap2f); - fn_glMapGrid1d = new Deno.UnsafeFnPointer(proc("glMapGrid1d"), def_glMapGrid1d); - fn_glMapGrid1f = new Deno.UnsafeFnPointer(proc("glMapGrid1f"), def_glMapGrid1f); - fn_glMapGrid2d = new Deno.UnsafeFnPointer(proc("glMapGrid2d"), def_glMapGrid2d); - fn_glMapGrid2f = new Deno.UnsafeFnPointer(proc("glMapGrid2f"), def_glMapGrid2f); - fn_glEvalCoord1d = new Deno.UnsafeFnPointer(proc("glEvalCoord1d"), def_glEvalCoord1d); - fn_glEvalCoord1dv = new Deno.UnsafeFnPointer(proc("glEvalCoord1dv"), def_glEvalCoord1dv); - fn_glEvalCoord1f = new Deno.UnsafeFnPointer(proc("glEvalCoord1f"), def_glEvalCoord1f); - fn_glEvalCoord1fv = new Deno.UnsafeFnPointer(proc("glEvalCoord1fv"), def_glEvalCoord1fv); - fn_glEvalCoord2d = new Deno.UnsafeFnPointer(proc("glEvalCoord2d"), def_glEvalCoord2d); - fn_glEvalCoord2dv = new Deno.UnsafeFnPointer(proc("glEvalCoord2dv"), def_glEvalCoord2dv); - fn_glEvalCoord2f = new Deno.UnsafeFnPointer(proc("glEvalCoord2f"), def_glEvalCoord2f); - fn_glEvalCoord2fv = new Deno.UnsafeFnPointer(proc("glEvalCoord2fv"), def_glEvalCoord2fv); - fn_glEvalMesh1 = new Deno.UnsafeFnPointer(proc("glEvalMesh1"), def_glEvalMesh1); - fn_glEvalPoint1 = new Deno.UnsafeFnPointer(proc("glEvalPoint1"), def_glEvalPoint1); - fn_glEvalMesh2 = new Deno.UnsafeFnPointer(proc("glEvalMesh2"), def_glEvalMesh2); - fn_glEvalPoint2 = new Deno.UnsafeFnPointer(proc("glEvalPoint2"), def_glEvalPoint2); - fn_glAlphaFunc = new Deno.UnsafeFnPointer(proc("glAlphaFunc"), def_glAlphaFunc); - fn_glPixelZoom = new Deno.UnsafeFnPointer(proc("glPixelZoom"), def_glPixelZoom); - fn_glPixelTransferf = new Deno.UnsafeFnPointer(proc("glPixelTransferf"), def_glPixelTransferf); - fn_glPixelTransferi = new Deno.UnsafeFnPointer(proc("glPixelTransferi"), def_glPixelTransferi); - fn_glPixelMapfv = new Deno.UnsafeFnPointer(proc("glPixelMapfv"), def_glPixelMapfv); - fn_glPixelMapuiv = new Deno.UnsafeFnPointer(proc("glPixelMapuiv"), def_glPixelMapuiv); - fn_glPixelMapusv = new Deno.UnsafeFnPointer(proc("glPixelMapusv"), def_glPixelMapusv); - fn_glCopyPixels = new Deno.UnsafeFnPointer(proc("glCopyPixels"), def_glCopyPixels); - fn_glDrawPixels = new Deno.UnsafeFnPointer(proc("glDrawPixels"), def_glDrawPixels); - fn_glGetClipPlane = new Deno.UnsafeFnPointer(proc("glGetClipPlane"), def_glGetClipPlane); - fn_glGetLightfv = new Deno.UnsafeFnPointer(proc("glGetLightfv"), def_glGetLightfv); - fn_glGetLightiv = new Deno.UnsafeFnPointer(proc("glGetLightiv"), def_glGetLightiv); + fn_glMapGrid1d = new Deno.UnsafeFnPointer( + proc("glMapGrid1d"), + def_glMapGrid1d, + ); + fn_glMapGrid1f = new Deno.UnsafeFnPointer( + proc("glMapGrid1f"), + def_glMapGrid1f, + ); + fn_glMapGrid2d = new Deno.UnsafeFnPointer( + proc("glMapGrid2d"), + def_glMapGrid2d, + ); + fn_glMapGrid2f = new Deno.UnsafeFnPointer( + proc("glMapGrid2f"), + def_glMapGrid2f, + ); + fn_glEvalCoord1d = new Deno.UnsafeFnPointer( + proc("glEvalCoord1d"), + def_glEvalCoord1d, + ); + fn_glEvalCoord1dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1dv"), + def_glEvalCoord1dv, + ); + fn_glEvalCoord1f = new Deno.UnsafeFnPointer( + proc("glEvalCoord1f"), + def_glEvalCoord1f, + ); + fn_glEvalCoord1fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1fv"), + def_glEvalCoord1fv, + ); + fn_glEvalCoord2d = new Deno.UnsafeFnPointer( + proc("glEvalCoord2d"), + def_glEvalCoord2d, + ); + fn_glEvalCoord2dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2dv"), + def_glEvalCoord2dv, + ); + fn_glEvalCoord2f = new Deno.UnsafeFnPointer( + proc("glEvalCoord2f"), + def_glEvalCoord2f, + ); + fn_glEvalCoord2fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2fv"), + def_glEvalCoord2fv, + ); + fn_glEvalMesh1 = new Deno.UnsafeFnPointer( + proc("glEvalMesh1"), + def_glEvalMesh1, + ); + fn_glEvalPoint1 = new Deno.UnsafeFnPointer( + proc("glEvalPoint1"), + def_glEvalPoint1, + ); + fn_glEvalMesh2 = new Deno.UnsafeFnPointer( + proc("glEvalMesh2"), + def_glEvalMesh2, + ); + fn_glEvalPoint2 = new Deno.UnsafeFnPointer( + proc("glEvalPoint2"), + def_glEvalPoint2, + ); + fn_glAlphaFunc = new Deno.UnsafeFnPointer( + proc("glAlphaFunc"), + def_glAlphaFunc, + ); + fn_glPixelZoom = new Deno.UnsafeFnPointer( + proc("glPixelZoom"), + def_glPixelZoom, + ); + fn_glPixelTransferf = new Deno.UnsafeFnPointer( + proc("glPixelTransferf"), + def_glPixelTransferf, + ); + fn_glPixelTransferi = new Deno.UnsafeFnPointer( + proc("glPixelTransferi"), + def_glPixelTransferi, + ); + fn_glPixelMapfv = new Deno.UnsafeFnPointer( + proc("glPixelMapfv"), + def_glPixelMapfv, + ); + fn_glPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glPixelMapuiv"), + def_glPixelMapuiv, + ); + fn_glPixelMapusv = new Deno.UnsafeFnPointer( + proc("glPixelMapusv"), + def_glPixelMapusv, + ); + fn_glCopyPixels = new Deno.UnsafeFnPointer( + proc("glCopyPixels"), + def_glCopyPixels, + ); + fn_glDrawPixels = new Deno.UnsafeFnPointer( + proc("glDrawPixels"), + def_glDrawPixels, + ); + fn_glGetClipPlane = new Deno.UnsafeFnPointer( + proc("glGetClipPlane"), + def_glGetClipPlane, + ); + fn_glGetLightfv = new Deno.UnsafeFnPointer( + proc("glGetLightfv"), + def_glGetLightfv, + ); + fn_glGetLightiv = new Deno.UnsafeFnPointer( + proc("glGetLightiv"), + def_glGetLightiv, + ); fn_glGetMapdv = new Deno.UnsafeFnPointer(proc("glGetMapdv"), def_glGetMapdv); fn_glGetMapfv = new Deno.UnsafeFnPointer(proc("glGetMapfv"), def_glGetMapfv); fn_glGetMapiv = new Deno.UnsafeFnPointer(proc("glGetMapiv"), def_glGetMapiv); - fn_glGetMaterialfv = new Deno.UnsafeFnPointer(proc("glGetMaterialfv"), def_glGetMaterialfv); - fn_glGetMaterialiv = new Deno.UnsafeFnPointer(proc("glGetMaterialiv"), def_glGetMaterialiv); - fn_glGetPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetPixelMapfv"), def_glGetPixelMapfv); - fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetPixelMapuiv"), def_glGetPixelMapuiv); - fn_glGetPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetPixelMapusv"), def_glGetPixelMapusv); - fn_glGetPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetPolygonStipple"), def_glGetPolygonStipple); - fn_glGetTexEnvfv = new Deno.UnsafeFnPointer(proc("glGetTexEnvfv"), def_glGetTexEnvfv); - fn_glGetTexEnviv = new Deno.UnsafeFnPointer(proc("glGetTexEnviv"), def_glGetTexEnviv); - fn_glGetTexGendv = new Deno.UnsafeFnPointer(proc("glGetTexGendv"), def_glGetTexGendv); - fn_glGetTexGenfv = new Deno.UnsafeFnPointer(proc("glGetTexGenfv"), def_glGetTexGenfv); - fn_glGetTexGeniv = new Deno.UnsafeFnPointer(proc("glGetTexGeniv"), def_glGetTexGeniv); + fn_glGetMaterialfv = new Deno.UnsafeFnPointer( + proc("glGetMaterialfv"), + def_glGetMaterialfv, + ); + fn_glGetMaterialiv = new Deno.UnsafeFnPointer( + proc("glGetMaterialiv"), + def_glGetMaterialiv, + ); + fn_glGetPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapfv"), + def_glGetPixelMapfv, + ); + fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapuiv"), + def_glGetPixelMapuiv, + ); + fn_glGetPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapusv"), + def_glGetPixelMapusv, + ); + fn_glGetPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetPolygonStipple"), + def_glGetPolygonStipple, + ); + fn_glGetTexEnvfv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvfv"), + def_glGetTexEnvfv, + ); + fn_glGetTexEnviv = new Deno.UnsafeFnPointer( + proc("glGetTexEnviv"), + def_glGetTexEnviv, + ); + fn_glGetTexGendv = new Deno.UnsafeFnPointer( + proc("glGetTexGendv"), + def_glGetTexGendv, + ); + fn_glGetTexGenfv = new Deno.UnsafeFnPointer( + proc("glGetTexGenfv"), + def_glGetTexGenfv, + ); + fn_glGetTexGeniv = new Deno.UnsafeFnPointer( + proc("glGetTexGeniv"), + def_glGetTexGeniv, + ); fn_glIsList = new Deno.UnsafeFnPointer(proc("glIsList"), def_glIsList); fn_glFrustum = new Deno.UnsafeFnPointer(proc("glFrustum"), def_glFrustum); - fn_glLoadIdentity = new Deno.UnsafeFnPointer(proc("glLoadIdentity"), def_glLoadIdentity); - fn_glLoadMatrixf = new Deno.UnsafeFnPointer(proc("glLoadMatrixf"), def_glLoadMatrixf); - fn_glLoadMatrixd = new Deno.UnsafeFnPointer(proc("glLoadMatrixd"), def_glLoadMatrixd); - fn_glMatrixMode = new Deno.UnsafeFnPointer(proc("glMatrixMode"), def_glMatrixMode); - fn_glMultMatrixf = new Deno.UnsafeFnPointer(proc("glMultMatrixf"), def_glMultMatrixf); - fn_glMultMatrixd = new Deno.UnsafeFnPointer(proc("glMultMatrixd"), def_glMultMatrixd); + fn_glLoadIdentity = new Deno.UnsafeFnPointer( + proc("glLoadIdentity"), + def_glLoadIdentity, + ); + fn_glLoadMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadMatrixf"), + def_glLoadMatrixf, + ); + fn_glLoadMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadMatrixd"), + def_glLoadMatrixd, + ); + fn_glMatrixMode = new Deno.UnsafeFnPointer( + proc("glMatrixMode"), + def_glMatrixMode, + ); + fn_glMultMatrixf = new Deno.UnsafeFnPointer( + proc("glMultMatrixf"), + def_glMultMatrixf, + ); + fn_glMultMatrixd = new Deno.UnsafeFnPointer( + proc("glMultMatrixd"), + def_glMultMatrixd, + ); fn_glOrtho = new Deno.UnsafeFnPointer(proc("glOrtho"), def_glOrtho); - fn_glPopMatrix = new Deno.UnsafeFnPointer(proc("glPopMatrix"), def_glPopMatrix); - fn_glPushMatrix = new Deno.UnsafeFnPointer(proc("glPushMatrix"), def_glPushMatrix); + fn_glPopMatrix = new Deno.UnsafeFnPointer( + proc("glPopMatrix"), + def_glPopMatrix, + ); + fn_glPushMatrix = new Deno.UnsafeFnPointer( + proc("glPushMatrix"), + def_glPushMatrix, + ); fn_glRotated = new Deno.UnsafeFnPointer(proc("glRotated"), def_glRotated); fn_glRotatef = new Deno.UnsafeFnPointer(proc("glRotatef"), def_glRotatef); fn_glScaled = new Deno.UnsafeFnPointer(proc("glScaled"), def_glScaled); fn_glScalef = new Deno.UnsafeFnPointer(proc("glScalef"), def_glScalef); - fn_glTranslated = new Deno.UnsafeFnPointer(proc("glTranslated"), def_glTranslated); - fn_glTranslatef = new Deno.UnsafeFnPointer(proc("glTranslatef"), def_glTranslatef); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glArrayElement = new Deno.UnsafeFnPointer(proc("glArrayElement"), def_glArrayElement); - fn_glColorPointer = new Deno.UnsafeFnPointer(proc("glColorPointer"), def_glColorPointer); - fn_glDisableClientState = new Deno.UnsafeFnPointer(proc("glDisableClientState"), def_glDisableClientState); - fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer(proc("glEdgeFlagPointer"), def_glEdgeFlagPointer); - fn_glEnableClientState = new Deno.UnsafeFnPointer(proc("glEnableClientState"), def_glEnableClientState); - fn_glIndexPointer = new Deno.UnsafeFnPointer(proc("glIndexPointer"), def_glIndexPointer); - fn_glInterleavedArrays = new Deno.UnsafeFnPointer(proc("glInterleavedArrays"), def_glInterleavedArrays); - fn_glNormalPointer = new Deno.UnsafeFnPointer(proc("glNormalPointer"), def_glNormalPointer); - fn_glTexCoordPointer = new Deno.UnsafeFnPointer(proc("glTexCoordPointer"), def_glTexCoordPointer); - fn_glVertexPointer = new Deno.UnsafeFnPointer(proc("glVertexPointer"), def_glVertexPointer); - fn_glAreTexturesResident = new Deno.UnsafeFnPointer(proc("glAreTexturesResident"), def_glAreTexturesResident); - fn_glPrioritizeTextures = new Deno.UnsafeFnPointer(proc("glPrioritizeTextures"), def_glPrioritizeTextures); + fn_glTranslated = new Deno.UnsafeFnPointer( + proc("glTranslated"), + def_glTranslated, + ); + fn_glTranslatef = new Deno.UnsafeFnPointer( + proc("glTranslatef"), + def_glTranslatef, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glArrayElement = new Deno.UnsafeFnPointer( + proc("glArrayElement"), + def_glArrayElement, + ); + fn_glColorPointer = new Deno.UnsafeFnPointer( + proc("glColorPointer"), + def_glColorPointer, + ); + fn_glDisableClientState = new Deno.UnsafeFnPointer( + proc("glDisableClientState"), + def_glDisableClientState, + ); + fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer( + proc("glEdgeFlagPointer"), + def_glEdgeFlagPointer, + ); + fn_glEnableClientState = new Deno.UnsafeFnPointer( + proc("glEnableClientState"), + def_glEnableClientState, + ); + fn_glIndexPointer = new Deno.UnsafeFnPointer( + proc("glIndexPointer"), + def_glIndexPointer, + ); + fn_glInterleavedArrays = new Deno.UnsafeFnPointer( + proc("glInterleavedArrays"), + def_glInterleavedArrays, + ); + fn_glNormalPointer = new Deno.UnsafeFnPointer( + proc("glNormalPointer"), + def_glNormalPointer, + ); + fn_glTexCoordPointer = new Deno.UnsafeFnPointer( + proc("glTexCoordPointer"), + def_glTexCoordPointer, + ); + fn_glVertexPointer = new Deno.UnsafeFnPointer( + proc("glVertexPointer"), + def_glVertexPointer, + ); + fn_glAreTexturesResident = new Deno.UnsafeFnPointer( + proc("glAreTexturesResident"), + def_glAreTexturesResident, + ); + fn_glPrioritizeTextures = new Deno.UnsafeFnPointer( + proc("glPrioritizeTextures"), + def_glPrioritizeTextures, + ); fn_glIndexub = new Deno.UnsafeFnPointer(proc("glIndexub"), def_glIndexub); fn_glIndexubv = new Deno.UnsafeFnPointer(proc("glIndexubv"), def_glIndexubv); - fn_glPopClientAttrib = new Deno.UnsafeFnPointer(proc("glPopClientAttrib"), def_glPopClientAttrib); - fn_glPushClientAttrib = new Deno.UnsafeFnPointer(proc("glPushClientAttrib"), def_glPushClientAttrib); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glClientActiveTexture = new Deno.UnsafeFnPointer(proc("glClientActiveTexture"), def_glClientActiveTexture); - fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1d"), def_glMultiTexCoord1d); - fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1dv"), def_glMultiTexCoord1dv); - fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1f"), def_glMultiTexCoord1f); - fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1fv"), def_glMultiTexCoord1fv); - fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1i"), def_glMultiTexCoord1i); - fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1iv"), def_glMultiTexCoord1iv); - fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1s"), def_glMultiTexCoord1s); - fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1sv"), def_glMultiTexCoord1sv); - fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2d"), def_glMultiTexCoord2d); - fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2dv"), def_glMultiTexCoord2dv); - fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2f"), def_glMultiTexCoord2f); - fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2fv"), def_glMultiTexCoord2fv); - fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2i"), def_glMultiTexCoord2i); - fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2iv"), def_glMultiTexCoord2iv); - fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2s"), def_glMultiTexCoord2s); - fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2sv"), def_glMultiTexCoord2sv); - fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3d"), def_glMultiTexCoord3d); - fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3dv"), def_glMultiTexCoord3dv); - fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3f"), def_glMultiTexCoord3f); - fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3fv"), def_glMultiTexCoord3fv); - fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3i"), def_glMultiTexCoord3i); - fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3iv"), def_glMultiTexCoord3iv); - fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3s"), def_glMultiTexCoord3s); - fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3sv"), def_glMultiTexCoord3sv); - fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4d"), def_glMultiTexCoord4d); - fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4dv"), def_glMultiTexCoord4dv); - fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4f"), def_glMultiTexCoord4f); - fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4fv"), def_glMultiTexCoord4fv); - fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4i"), def_glMultiTexCoord4i); - fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4iv"), def_glMultiTexCoord4iv); - fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4s"), def_glMultiTexCoord4s); - fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4sv"), def_glMultiTexCoord4sv); - fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixf"), def_glLoadTransposeMatrixf); - fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixd"), def_glLoadTransposeMatrixd); - fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixf"), def_glMultTransposeMatrixf); - fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixd"), def_glMultTransposeMatrixd); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glFogCoordf = new Deno.UnsafeFnPointer(proc("glFogCoordf"), def_glFogCoordf); - fn_glFogCoordfv = new Deno.UnsafeFnPointer(proc("glFogCoordfv"), def_glFogCoordfv); - fn_glFogCoordd = new Deno.UnsafeFnPointer(proc("glFogCoordd"), def_glFogCoordd); - fn_glFogCoorddv = new Deno.UnsafeFnPointer(proc("glFogCoorddv"), def_glFogCoorddv); - fn_glFogCoordPointer = new Deno.UnsafeFnPointer(proc("glFogCoordPointer"), def_glFogCoordPointer); - fn_glSecondaryColor3b = new Deno.UnsafeFnPointer(proc("glSecondaryColor3b"), def_glSecondaryColor3b); - fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3bv"), def_glSecondaryColor3bv); - fn_glSecondaryColor3d = new Deno.UnsafeFnPointer(proc("glSecondaryColor3d"), def_glSecondaryColor3d); - fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3dv"), def_glSecondaryColor3dv); - fn_glSecondaryColor3f = new Deno.UnsafeFnPointer(proc("glSecondaryColor3f"), def_glSecondaryColor3f); - fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3fv"), def_glSecondaryColor3fv); - fn_glSecondaryColor3i = new Deno.UnsafeFnPointer(proc("glSecondaryColor3i"), def_glSecondaryColor3i); - fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3iv"), def_glSecondaryColor3iv); - fn_glSecondaryColor3s = new Deno.UnsafeFnPointer(proc("glSecondaryColor3s"), def_glSecondaryColor3s); - fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3sv"), def_glSecondaryColor3sv); - fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ub"), def_glSecondaryColor3ub); - fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ubv"), def_glSecondaryColor3ubv); - fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ui"), def_glSecondaryColor3ui); - fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3uiv"), def_glSecondaryColor3uiv); - fn_glSecondaryColor3us = new Deno.UnsafeFnPointer(proc("glSecondaryColor3us"), def_glSecondaryColor3us); - fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3usv"), def_glSecondaryColor3usv); - fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer(proc("glSecondaryColorPointer"), def_glSecondaryColorPointer); - fn_glWindowPos2d = new Deno.UnsafeFnPointer(proc("glWindowPos2d"), def_glWindowPos2d); - fn_glWindowPos2dv = new Deno.UnsafeFnPointer(proc("glWindowPos2dv"), def_glWindowPos2dv); - fn_glWindowPos2f = new Deno.UnsafeFnPointer(proc("glWindowPos2f"), def_glWindowPos2f); - fn_glWindowPos2fv = new Deno.UnsafeFnPointer(proc("glWindowPos2fv"), def_glWindowPos2fv); - fn_glWindowPos2i = new Deno.UnsafeFnPointer(proc("glWindowPos2i"), def_glWindowPos2i); - fn_glWindowPos2iv = new Deno.UnsafeFnPointer(proc("glWindowPos2iv"), def_glWindowPos2iv); - fn_glWindowPos2s = new Deno.UnsafeFnPointer(proc("glWindowPos2s"), def_glWindowPos2s); - fn_glWindowPos2sv = new Deno.UnsafeFnPointer(proc("glWindowPos2sv"), def_glWindowPos2sv); - fn_glWindowPos3d = new Deno.UnsafeFnPointer(proc("glWindowPos3d"), def_glWindowPos3d); - fn_glWindowPos3dv = new Deno.UnsafeFnPointer(proc("glWindowPos3dv"), def_glWindowPos3dv); - fn_glWindowPos3f = new Deno.UnsafeFnPointer(proc("glWindowPos3f"), def_glWindowPos3f); - fn_glWindowPos3fv = new Deno.UnsafeFnPointer(proc("glWindowPos3fv"), def_glWindowPos3fv); - fn_glWindowPos3i = new Deno.UnsafeFnPointer(proc("glWindowPos3i"), def_glWindowPos3i); - fn_glWindowPos3iv = new Deno.UnsafeFnPointer(proc("glWindowPos3iv"), def_glWindowPos3iv); - fn_glWindowPos3s = new Deno.UnsafeFnPointer(proc("glWindowPos3s"), def_glWindowPos3s); - fn_glWindowPos3sv = new Deno.UnsafeFnPointer(proc("glWindowPos3sv"), def_glWindowPos3sv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); + fn_glPopClientAttrib = new Deno.UnsafeFnPointer( + proc("glPopClientAttrib"), + def_glPopClientAttrib, + ); + fn_glPushClientAttrib = new Deno.UnsafeFnPointer( + proc("glPushClientAttrib"), + def_glPushClientAttrib, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glClientActiveTexture = new Deno.UnsafeFnPointer( + proc("glClientActiveTexture"), + def_glClientActiveTexture, + ); + fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1d"), + def_glMultiTexCoord1d, + ); + fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1dv"), + def_glMultiTexCoord1dv, + ); + fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1f"), + def_glMultiTexCoord1f, + ); + fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1fv"), + def_glMultiTexCoord1fv, + ); + fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1i"), + def_glMultiTexCoord1i, + ); + fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1iv"), + def_glMultiTexCoord1iv, + ); + fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1s"), + def_glMultiTexCoord1s, + ); + fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1sv"), + def_glMultiTexCoord1sv, + ); + fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2d"), + def_glMultiTexCoord2d, + ); + fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2dv"), + def_glMultiTexCoord2dv, + ); + fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2f"), + def_glMultiTexCoord2f, + ); + fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2fv"), + def_glMultiTexCoord2fv, + ); + fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2i"), + def_glMultiTexCoord2i, + ); + fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2iv"), + def_glMultiTexCoord2iv, + ); + fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2s"), + def_glMultiTexCoord2s, + ); + fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2sv"), + def_glMultiTexCoord2sv, + ); + fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3d"), + def_glMultiTexCoord3d, + ); + fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3dv"), + def_glMultiTexCoord3dv, + ); + fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3f"), + def_glMultiTexCoord3f, + ); + fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3fv"), + def_glMultiTexCoord3fv, + ); + fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3i"), + def_glMultiTexCoord3i, + ); + fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3iv"), + def_glMultiTexCoord3iv, + ); + fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3s"), + def_glMultiTexCoord3s, + ); + fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3sv"), + def_glMultiTexCoord3sv, + ); + fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4d"), + def_glMultiTexCoord4d, + ); + fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4dv"), + def_glMultiTexCoord4dv, + ); + fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4f"), + def_glMultiTexCoord4f, + ); + fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4fv"), + def_glMultiTexCoord4fv, + ); + fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4i"), + def_glMultiTexCoord4i, + ); + fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4iv"), + def_glMultiTexCoord4iv, + ); + fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4s"), + def_glMultiTexCoord4s, + ); + fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4sv"), + def_glMultiTexCoord4sv, + ); + fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixf"), + def_glLoadTransposeMatrixf, + ); + fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixd"), + def_glLoadTransposeMatrixd, + ); + fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixf"), + def_glMultTransposeMatrixf, + ); + fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixd"), + def_glMultTransposeMatrixd, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glFogCoordf = new Deno.UnsafeFnPointer( + proc("glFogCoordf"), + def_glFogCoordf, + ); + fn_glFogCoordfv = new Deno.UnsafeFnPointer( + proc("glFogCoordfv"), + def_glFogCoordfv, + ); + fn_glFogCoordd = new Deno.UnsafeFnPointer( + proc("glFogCoordd"), + def_glFogCoordd, + ); + fn_glFogCoorddv = new Deno.UnsafeFnPointer( + proc("glFogCoorddv"), + def_glFogCoorddv, + ); + fn_glFogCoordPointer = new Deno.UnsafeFnPointer( + proc("glFogCoordPointer"), + def_glFogCoordPointer, + ); + fn_glSecondaryColor3b = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3b"), + def_glSecondaryColor3b, + ); + fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3bv"), + def_glSecondaryColor3bv, + ); + fn_glSecondaryColor3d = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3d"), + def_glSecondaryColor3d, + ); + fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3dv"), + def_glSecondaryColor3dv, + ); + fn_glSecondaryColor3f = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3f"), + def_glSecondaryColor3f, + ); + fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3fv"), + def_glSecondaryColor3fv, + ); + fn_glSecondaryColor3i = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3i"), + def_glSecondaryColor3i, + ); + fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3iv"), + def_glSecondaryColor3iv, + ); + fn_glSecondaryColor3s = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3s"), + def_glSecondaryColor3s, + ); + fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3sv"), + def_glSecondaryColor3sv, + ); + fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ub"), + def_glSecondaryColor3ub, + ); + fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ubv"), + def_glSecondaryColor3ubv, + ); + fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ui"), + def_glSecondaryColor3ui, + ); + fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3uiv"), + def_glSecondaryColor3uiv, + ); + fn_glSecondaryColor3us = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3us"), + def_glSecondaryColor3us, + ); + fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3usv"), + def_glSecondaryColor3usv, + ); + fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer( + proc("glSecondaryColorPointer"), + def_glSecondaryColorPointer, + ); + fn_glWindowPos2d = new Deno.UnsafeFnPointer( + proc("glWindowPos2d"), + def_glWindowPos2d, + ); + fn_glWindowPos2dv = new Deno.UnsafeFnPointer( + proc("glWindowPos2dv"), + def_glWindowPos2dv, + ); + fn_glWindowPos2f = new Deno.UnsafeFnPointer( + proc("glWindowPos2f"), + def_glWindowPos2f, + ); + fn_glWindowPos2fv = new Deno.UnsafeFnPointer( + proc("glWindowPos2fv"), + def_glWindowPos2fv, + ); + fn_glWindowPos2i = new Deno.UnsafeFnPointer( + proc("glWindowPos2i"), + def_glWindowPos2i, + ); + fn_glWindowPos2iv = new Deno.UnsafeFnPointer( + proc("glWindowPos2iv"), + def_glWindowPos2iv, + ); + fn_glWindowPos2s = new Deno.UnsafeFnPointer( + proc("glWindowPos2s"), + def_glWindowPos2s, + ); + fn_glWindowPos2sv = new Deno.UnsafeFnPointer( + proc("glWindowPos2sv"), + def_glWindowPos2sv, + ); + fn_glWindowPos3d = new Deno.UnsafeFnPointer( + proc("glWindowPos3d"), + def_glWindowPos3d, + ); + fn_glWindowPos3dv = new Deno.UnsafeFnPointer( + proc("glWindowPos3dv"), + def_glWindowPos3dv, + ); + fn_glWindowPos3f = new Deno.UnsafeFnPointer( + proc("glWindowPos3f"), + def_glWindowPos3f, + ); + fn_glWindowPos3fv = new Deno.UnsafeFnPointer( + proc("glWindowPos3fv"), + def_glWindowPos3fv, + ); + fn_glWindowPos3i = new Deno.UnsafeFnPointer( + proc("glWindowPos3i"), + def_glWindowPos3i, + ); + fn_glWindowPos3iv = new Deno.UnsafeFnPointer( + proc("glWindowPos3iv"), + def_glWindowPos3iv, + ); + fn_glWindowPos3s = new Deno.UnsafeFnPointer( + proc("glWindowPos3s"), + def_glWindowPos3s, + ); + fn_glWindowPos3sv = new Deno.UnsafeFnPointer( + proc("glWindowPos3sv"), + def_glWindowPos3sv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); } diff --git a/api/gl1.5.ts b/api/gl1.5.ts index 2e0ebfa..7d899ce 100644 --- a/api/gl1.5.ts +++ b/api/gl1.5.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1049,7 +1057,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1546,7 +1564,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1565,7 +1585,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1584,7 +1606,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1605,7 +1629,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -5034,7 +5060,18 @@ export function Map1f( } export const def_glMap2d = { - parameters: ["u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5067,7 +5104,18 @@ export function Map2d( } export const def_glMap2f = { - parameters: ["u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5762,7 +5810,9 @@ export const def_glGetPolygonStipple = { result: "void", } as const; -let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetPolygonStipple +>; export function GetPolygonStipple( mask: Buffer, @@ -6293,7 +6343,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -6318,7 +6370,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -6370,7 +6424,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6507,7 +6571,9 @@ export const def_glDisableClientState = { result: "void", } as const; -let fn_glDisableClientState!: Deno.UnsafeFnPointer; +let fn_glDisableClientState!: Deno.UnsafeFnPointer< + typeof def_glDisableClientState +>; export function DisableClientState( array: GLenum, @@ -6539,7 +6605,9 @@ export const def_glEnableClientState = { result: "void", } as const; -let fn_glEnableClientState!: Deno.UnsafeFnPointer; +let fn_glEnableClientState!: Deno.UnsafeFnPointer< + typeof def_glEnableClientState +>; export function EnableClientState( array: GLenum, @@ -6573,7 +6641,9 @@ export const def_glInterleavedArrays = { result: "void", } as const; -let fn_glInterleavedArrays!: Deno.UnsafeFnPointer; +let fn_glInterleavedArrays!: Deno.UnsafeFnPointer< + typeof def_glInterleavedArrays +>; export function InterleavedArrays( format: GLenum, @@ -6653,7 +6723,9 @@ export const def_glAreTexturesResident = { result: "u8", } as const; -let fn_glAreTexturesResident!: Deno.UnsafeFnPointer; +let fn_glAreTexturesResident!: Deno.UnsafeFnPointer< + typeof def_glAreTexturesResident +>; export function AreTexturesResident( n: GLsizei, @@ -6672,7 +6744,9 @@ export const def_glPrioritizeTextures = { result: "void", } as const; -let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer; +let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer< + typeof def_glPrioritizeTextures +>; export function PrioritizeTextures( n: GLsizei, @@ -6747,7 +6821,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -6768,7 +6844,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6801,7 +6888,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6840,7 +6939,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -6899,11 +7000,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -6934,7 +7047,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -6963,7 +7078,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -6986,11 +7103,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -7021,11 +7152,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -7056,7 +7199,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -7083,7 +7228,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -7102,7 +7249,9 @@ export const def_glClientActiveTexture = { result: "void", } as const; -let fn_glClientActiveTexture!: Deno.UnsafeFnPointer; +let fn_glClientActiveTexture!: Deno.UnsafeFnPointer< + typeof def_glClientActiveTexture +>; export function ClientActiveTexture( texture: GLenum, @@ -7709,7 +7858,9 @@ export const def_glLoadTransposeMatrixf = { result: "void", } as const; -let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixf +>; export function LoadTransposeMatrixf( m: Buffer, @@ -7724,7 +7875,9 @@ export const def_glLoadTransposeMatrixd = { result: "void", } as const; -let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixd +>; export function LoadTransposeMatrixd( m: Buffer, @@ -7739,7 +7892,9 @@ export const def_glMultTransposeMatrixf = { result: "void", } as const; -let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixf +>; export function MultTransposeMatrixf( m: Buffer, @@ -7754,7 +7909,9 @@ export const def_glMultTransposeMatrixd = { result: "void", } as const; -let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixd +>; export function MultTransposeMatrixd( m: Buffer, @@ -7769,7 +7926,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -7811,7 +7970,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -8000,7 +8161,9 @@ export const def_glSecondaryColor3bv = { result: "void", } as const; -let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3bv +>; export function SecondaryColor3bv( v: Buffer, @@ -8034,7 +8197,9 @@ export const def_glSecondaryColor3dv = { result: "void", } as const; -let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3dv +>; export function SecondaryColor3dv( v: Buffer, @@ -8068,7 +8233,9 @@ export const def_glSecondaryColor3fv = { result: "void", } as const; -let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3fv +>; export function SecondaryColor3fv( v: Buffer, @@ -8102,7 +8269,9 @@ export const def_glSecondaryColor3iv = { result: "void", } as const; -let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3iv +>; export function SecondaryColor3iv( v: Buffer, @@ -8136,7 +8305,9 @@ export const def_glSecondaryColor3sv = { result: "void", } as const; -let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3sv +>; export function SecondaryColor3sv( v: Buffer, @@ -8151,7 +8322,9 @@ export const def_glSecondaryColor3ub = { result: "void", } as const; -let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ub +>; export function SecondaryColor3ub( red: GLubyte, @@ -8170,7 +8343,9 @@ export const def_glSecondaryColor3ubv = { result: "void", } as const; -let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ubv +>; export function SecondaryColor3ubv( v: Buffer, @@ -8185,7 +8360,9 @@ export const def_glSecondaryColor3ui = { result: "void", } as const; -let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ui +>; export function SecondaryColor3ui( red: GLuint, @@ -8204,7 +8381,9 @@ export const def_glSecondaryColor3uiv = { result: "void", } as const; -let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3uiv +>; export function SecondaryColor3uiv( v: Buffer, @@ -8219,7 +8398,9 @@ export const def_glSecondaryColor3us = { result: "void", } as const; -let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3us +>; export function SecondaryColor3us( red: GLushort, @@ -8238,7 +8419,9 @@ export const def_glSecondaryColor3usv = { result: "void", } as const; -let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3usv +>; export function SecondaryColor3usv( v: Buffer, @@ -8253,7 +8436,9 @@ export const def_glSecondaryColorPointer = { result: "void", } as const; -let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorPointer +>; export function SecondaryColorPointer( size: GLint, @@ -8693,7 +8878,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -8873,7 +9060,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -8892,7 +9081,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -8909,58 +9100,175 @@ export function GetBufferPointerv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); fn_glNewList = new Deno.UnsafeFnPointer(proc("glNewList"), def_glNewList); fn_glEndList = new Deno.UnsafeFnPointer(proc("glEndList"), def_glEndList); fn_glCallList = new Deno.UnsafeFnPointer(proc("glCallList"), def_glCallList); - fn_glCallLists = new Deno.UnsafeFnPointer(proc("glCallLists"), def_glCallLists); - fn_glDeleteLists = new Deno.UnsafeFnPointer(proc("glDeleteLists"), def_glDeleteLists); + fn_glCallLists = new Deno.UnsafeFnPointer( + proc("glCallLists"), + def_glCallLists, + ); + fn_glDeleteLists = new Deno.UnsafeFnPointer( + proc("glDeleteLists"), + def_glDeleteLists, + ); fn_glGenLists = new Deno.UnsafeFnPointer(proc("glGenLists"), def_glGenLists); fn_glListBase = new Deno.UnsafeFnPointer(proc("glListBase"), def_glListBase); fn_glBegin = new Deno.UnsafeFnPointer(proc("glBegin"), def_glBegin); @@ -8976,11 +9284,20 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor3s = new Deno.UnsafeFnPointer(proc("glColor3s"), def_glColor3s); fn_glColor3sv = new Deno.UnsafeFnPointer(proc("glColor3sv"), def_glColor3sv); fn_glColor3ub = new Deno.UnsafeFnPointer(proc("glColor3ub"), def_glColor3ub); - fn_glColor3ubv = new Deno.UnsafeFnPointer(proc("glColor3ubv"), def_glColor3ubv); + fn_glColor3ubv = new Deno.UnsafeFnPointer( + proc("glColor3ubv"), + def_glColor3ubv, + ); fn_glColor3ui = new Deno.UnsafeFnPointer(proc("glColor3ui"), def_glColor3ui); - fn_glColor3uiv = new Deno.UnsafeFnPointer(proc("glColor3uiv"), def_glColor3uiv); + fn_glColor3uiv = new Deno.UnsafeFnPointer( + proc("glColor3uiv"), + def_glColor3uiv, + ); fn_glColor3us = new Deno.UnsafeFnPointer(proc("glColor3us"), def_glColor3us); - fn_glColor3usv = new Deno.UnsafeFnPointer(proc("glColor3usv"), def_glColor3usv); + fn_glColor3usv = new Deno.UnsafeFnPointer( + proc("glColor3usv"), + def_glColor3usv, + ); fn_glColor4b = new Deno.UnsafeFnPointer(proc("glColor4b"), def_glColor4b); fn_glColor4bv = new Deno.UnsafeFnPointer(proc("glColor4bv"), def_glColor4bv); fn_glColor4d = new Deno.UnsafeFnPointer(proc("glColor4d"), def_glColor4d); @@ -8992,13 +9309,25 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor4s = new Deno.UnsafeFnPointer(proc("glColor4s"), def_glColor4s); fn_glColor4sv = new Deno.UnsafeFnPointer(proc("glColor4sv"), def_glColor4sv); fn_glColor4ub = new Deno.UnsafeFnPointer(proc("glColor4ub"), def_glColor4ub); - fn_glColor4ubv = new Deno.UnsafeFnPointer(proc("glColor4ubv"), def_glColor4ubv); + fn_glColor4ubv = new Deno.UnsafeFnPointer( + proc("glColor4ubv"), + def_glColor4ubv, + ); fn_glColor4ui = new Deno.UnsafeFnPointer(proc("glColor4ui"), def_glColor4ui); - fn_glColor4uiv = new Deno.UnsafeFnPointer(proc("glColor4uiv"), def_glColor4uiv); + fn_glColor4uiv = new Deno.UnsafeFnPointer( + proc("glColor4uiv"), + def_glColor4uiv, + ); fn_glColor4us = new Deno.UnsafeFnPointer(proc("glColor4us"), def_glColor4us); - fn_glColor4usv = new Deno.UnsafeFnPointer(proc("glColor4usv"), def_glColor4usv); + fn_glColor4usv = new Deno.UnsafeFnPointer( + proc("glColor4usv"), + def_glColor4usv, + ); fn_glEdgeFlag = new Deno.UnsafeFnPointer(proc("glEdgeFlag"), def_glEdgeFlag); - fn_glEdgeFlagv = new Deno.UnsafeFnPointer(proc("glEdgeFlagv"), def_glEdgeFlagv); + fn_glEdgeFlagv = new Deno.UnsafeFnPointer( + proc("glEdgeFlagv"), + def_glEdgeFlagv, + ); fn_glEnd = new Deno.UnsafeFnPointer(proc("glEnd"), def_glEnd); fn_glIndexd = new Deno.UnsafeFnPointer(proc("glIndexd"), def_glIndexd); fn_glIndexdv = new Deno.UnsafeFnPointer(proc("glIndexdv"), def_glIndexdv); @@ -9009,39 +9338,126 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glIndexs = new Deno.UnsafeFnPointer(proc("glIndexs"), def_glIndexs); fn_glIndexsv = new Deno.UnsafeFnPointer(proc("glIndexsv"), def_glIndexsv); fn_glNormal3b = new Deno.UnsafeFnPointer(proc("glNormal3b"), def_glNormal3b); - fn_glNormal3bv = new Deno.UnsafeFnPointer(proc("glNormal3bv"), def_glNormal3bv); + fn_glNormal3bv = new Deno.UnsafeFnPointer( + proc("glNormal3bv"), + def_glNormal3bv, + ); fn_glNormal3d = new Deno.UnsafeFnPointer(proc("glNormal3d"), def_glNormal3d); - fn_glNormal3dv = new Deno.UnsafeFnPointer(proc("glNormal3dv"), def_glNormal3dv); + fn_glNormal3dv = new Deno.UnsafeFnPointer( + proc("glNormal3dv"), + def_glNormal3dv, + ); fn_glNormal3f = new Deno.UnsafeFnPointer(proc("glNormal3f"), def_glNormal3f); - fn_glNormal3fv = new Deno.UnsafeFnPointer(proc("glNormal3fv"), def_glNormal3fv); + fn_glNormal3fv = new Deno.UnsafeFnPointer( + proc("glNormal3fv"), + def_glNormal3fv, + ); fn_glNormal3i = new Deno.UnsafeFnPointer(proc("glNormal3i"), def_glNormal3i); - fn_glNormal3iv = new Deno.UnsafeFnPointer(proc("glNormal3iv"), def_glNormal3iv); + fn_glNormal3iv = new Deno.UnsafeFnPointer( + proc("glNormal3iv"), + def_glNormal3iv, + ); fn_glNormal3s = new Deno.UnsafeFnPointer(proc("glNormal3s"), def_glNormal3s); - fn_glNormal3sv = new Deno.UnsafeFnPointer(proc("glNormal3sv"), def_glNormal3sv); - fn_glRasterPos2d = new Deno.UnsafeFnPointer(proc("glRasterPos2d"), def_glRasterPos2d); - fn_glRasterPos2dv = new Deno.UnsafeFnPointer(proc("glRasterPos2dv"), def_glRasterPos2dv); - fn_glRasterPos2f = new Deno.UnsafeFnPointer(proc("glRasterPos2f"), def_glRasterPos2f); - fn_glRasterPos2fv = new Deno.UnsafeFnPointer(proc("glRasterPos2fv"), def_glRasterPos2fv); - fn_glRasterPos2i = new Deno.UnsafeFnPointer(proc("glRasterPos2i"), def_glRasterPos2i); - fn_glRasterPos2iv = new Deno.UnsafeFnPointer(proc("glRasterPos2iv"), def_glRasterPos2iv); - fn_glRasterPos2s = new Deno.UnsafeFnPointer(proc("glRasterPos2s"), def_glRasterPos2s); - fn_glRasterPos2sv = new Deno.UnsafeFnPointer(proc("glRasterPos2sv"), def_glRasterPos2sv); - fn_glRasterPos3d = new Deno.UnsafeFnPointer(proc("glRasterPos3d"), def_glRasterPos3d); - fn_glRasterPos3dv = new Deno.UnsafeFnPointer(proc("glRasterPos3dv"), def_glRasterPos3dv); - fn_glRasterPos3f = new Deno.UnsafeFnPointer(proc("glRasterPos3f"), def_glRasterPos3f); - fn_glRasterPos3fv = new Deno.UnsafeFnPointer(proc("glRasterPos3fv"), def_glRasterPos3fv); - fn_glRasterPos3i = new Deno.UnsafeFnPointer(proc("glRasterPos3i"), def_glRasterPos3i); - fn_glRasterPos3iv = new Deno.UnsafeFnPointer(proc("glRasterPos3iv"), def_glRasterPos3iv); - fn_glRasterPos3s = new Deno.UnsafeFnPointer(proc("glRasterPos3s"), def_glRasterPos3s); - fn_glRasterPos3sv = new Deno.UnsafeFnPointer(proc("glRasterPos3sv"), def_glRasterPos3sv); - fn_glRasterPos4d = new Deno.UnsafeFnPointer(proc("glRasterPos4d"), def_glRasterPos4d); - fn_glRasterPos4dv = new Deno.UnsafeFnPointer(proc("glRasterPos4dv"), def_glRasterPos4dv); - fn_glRasterPos4f = new Deno.UnsafeFnPointer(proc("glRasterPos4f"), def_glRasterPos4f); - fn_glRasterPos4fv = new Deno.UnsafeFnPointer(proc("glRasterPos4fv"), def_glRasterPos4fv); - fn_glRasterPos4i = new Deno.UnsafeFnPointer(proc("glRasterPos4i"), def_glRasterPos4i); - fn_glRasterPos4iv = new Deno.UnsafeFnPointer(proc("glRasterPos4iv"), def_glRasterPos4iv); - fn_glRasterPos4s = new Deno.UnsafeFnPointer(proc("glRasterPos4s"), def_glRasterPos4s); - fn_glRasterPos4sv = new Deno.UnsafeFnPointer(proc("glRasterPos4sv"), def_glRasterPos4sv); + fn_glNormal3sv = new Deno.UnsafeFnPointer( + proc("glNormal3sv"), + def_glNormal3sv, + ); + fn_glRasterPos2d = new Deno.UnsafeFnPointer( + proc("glRasterPos2d"), + def_glRasterPos2d, + ); + fn_glRasterPos2dv = new Deno.UnsafeFnPointer( + proc("glRasterPos2dv"), + def_glRasterPos2dv, + ); + fn_glRasterPos2f = new Deno.UnsafeFnPointer( + proc("glRasterPos2f"), + def_glRasterPos2f, + ); + fn_glRasterPos2fv = new Deno.UnsafeFnPointer( + proc("glRasterPos2fv"), + def_glRasterPos2fv, + ); + fn_glRasterPos2i = new Deno.UnsafeFnPointer( + proc("glRasterPos2i"), + def_glRasterPos2i, + ); + fn_glRasterPos2iv = new Deno.UnsafeFnPointer( + proc("glRasterPos2iv"), + def_glRasterPos2iv, + ); + fn_glRasterPos2s = new Deno.UnsafeFnPointer( + proc("glRasterPos2s"), + def_glRasterPos2s, + ); + fn_glRasterPos2sv = new Deno.UnsafeFnPointer( + proc("glRasterPos2sv"), + def_glRasterPos2sv, + ); + fn_glRasterPos3d = new Deno.UnsafeFnPointer( + proc("glRasterPos3d"), + def_glRasterPos3d, + ); + fn_glRasterPos3dv = new Deno.UnsafeFnPointer( + proc("glRasterPos3dv"), + def_glRasterPos3dv, + ); + fn_glRasterPos3f = new Deno.UnsafeFnPointer( + proc("glRasterPos3f"), + def_glRasterPos3f, + ); + fn_glRasterPos3fv = new Deno.UnsafeFnPointer( + proc("glRasterPos3fv"), + def_glRasterPos3fv, + ); + fn_glRasterPos3i = new Deno.UnsafeFnPointer( + proc("glRasterPos3i"), + def_glRasterPos3i, + ); + fn_glRasterPos3iv = new Deno.UnsafeFnPointer( + proc("glRasterPos3iv"), + def_glRasterPos3iv, + ); + fn_glRasterPos3s = new Deno.UnsafeFnPointer( + proc("glRasterPos3s"), + def_glRasterPos3s, + ); + fn_glRasterPos3sv = new Deno.UnsafeFnPointer( + proc("glRasterPos3sv"), + def_glRasterPos3sv, + ); + fn_glRasterPos4d = new Deno.UnsafeFnPointer( + proc("glRasterPos4d"), + def_glRasterPos4d, + ); + fn_glRasterPos4dv = new Deno.UnsafeFnPointer( + proc("glRasterPos4dv"), + def_glRasterPos4dv, + ); + fn_glRasterPos4f = new Deno.UnsafeFnPointer( + proc("glRasterPos4f"), + def_glRasterPos4f, + ); + fn_glRasterPos4fv = new Deno.UnsafeFnPointer( + proc("glRasterPos4fv"), + def_glRasterPos4fv, + ); + fn_glRasterPos4i = new Deno.UnsafeFnPointer( + proc("glRasterPos4i"), + def_glRasterPos4i, + ); + fn_glRasterPos4iv = new Deno.UnsafeFnPointer( + proc("glRasterPos4iv"), + def_glRasterPos4iv, + ); + fn_glRasterPos4s = new Deno.UnsafeFnPointer( + proc("glRasterPos4s"), + def_glRasterPos4s, + ); + fn_glRasterPos4sv = new Deno.UnsafeFnPointer( + proc("glRasterPos4sv"), + def_glRasterPos4sv, + ); fn_glRectd = new Deno.UnsafeFnPointer(proc("glRectd"), def_glRectd); fn_glRectdv = new Deno.UnsafeFnPointer(proc("glRectdv"), def_glRectdv); fn_glRectf = new Deno.UnsafeFnPointer(proc("glRectf"), def_glRectf); @@ -9050,64 +9466,202 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glRectiv = new Deno.UnsafeFnPointer(proc("glRectiv"), def_glRectiv); fn_glRects = new Deno.UnsafeFnPointer(proc("glRects"), def_glRects); fn_glRectsv = new Deno.UnsafeFnPointer(proc("glRectsv"), def_glRectsv); - fn_glTexCoord1d = new Deno.UnsafeFnPointer(proc("glTexCoord1d"), def_glTexCoord1d); - fn_glTexCoord1dv = new Deno.UnsafeFnPointer(proc("glTexCoord1dv"), def_glTexCoord1dv); - fn_glTexCoord1f = new Deno.UnsafeFnPointer(proc("glTexCoord1f"), def_glTexCoord1f); - fn_glTexCoord1fv = new Deno.UnsafeFnPointer(proc("glTexCoord1fv"), def_glTexCoord1fv); - fn_glTexCoord1i = new Deno.UnsafeFnPointer(proc("glTexCoord1i"), def_glTexCoord1i); - fn_glTexCoord1iv = new Deno.UnsafeFnPointer(proc("glTexCoord1iv"), def_glTexCoord1iv); - fn_glTexCoord1s = new Deno.UnsafeFnPointer(proc("glTexCoord1s"), def_glTexCoord1s); - fn_glTexCoord1sv = new Deno.UnsafeFnPointer(proc("glTexCoord1sv"), def_glTexCoord1sv); - fn_glTexCoord2d = new Deno.UnsafeFnPointer(proc("glTexCoord2d"), def_glTexCoord2d); - fn_glTexCoord2dv = new Deno.UnsafeFnPointer(proc("glTexCoord2dv"), def_glTexCoord2dv); - fn_glTexCoord2f = new Deno.UnsafeFnPointer(proc("glTexCoord2f"), def_glTexCoord2f); - fn_glTexCoord2fv = new Deno.UnsafeFnPointer(proc("glTexCoord2fv"), def_glTexCoord2fv); - fn_glTexCoord2i = new Deno.UnsafeFnPointer(proc("glTexCoord2i"), def_glTexCoord2i); - fn_glTexCoord2iv = new Deno.UnsafeFnPointer(proc("glTexCoord2iv"), def_glTexCoord2iv); - fn_glTexCoord2s = new Deno.UnsafeFnPointer(proc("glTexCoord2s"), def_glTexCoord2s); - fn_glTexCoord2sv = new Deno.UnsafeFnPointer(proc("glTexCoord2sv"), def_glTexCoord2sv); - fn_glTexCoord3d = new Deno.UnsafeFnPointer(proc("glTexCoord3d"), def_glTexCoord3d); - fn_glTexCoord3dv = new Deno.UnsafeFnPointer(proc("glTexCoord3dv"), def_glTexCoord3dv); - fn_glTexCoord3f = new Deno.UnsafeFnPointer(proc("glTexCoord3f"), def_glTexCoord3f); - fn_glTexCoord3fv = new Deno.UnsafeFnPointer(proc("glTexCoord3fv"), def_glTexCoord3fv); - fn_glTexCoord3i = new Deno.UnsafeFnPointer(proc("glTexCoord3i"), def_glTexCoord3i); - fn_glTexCoord3iv = new Deno.UnsafeFnPointer(proc("glTexCoord3iv"), def_glTexCoord3iv); - fn_glTexCoord3s = new Deno.UnsafeFnPointer(proc("glTexCoord3s"), def_glTexCoord3s); - fn_glTexCoord3sv = new Deno.UnsafeFnPointer(proc("glTexCoord3sv"), def_glTexCoord3sv); - fn_glTexCoord4d = new Deno.UnsafeFnPointer(proc("glTexCoord4d"), def_glTexCoord4d); - fn_glTexCoord4dv = new Deno.UnsafeFnPointer(proc("glTexCoord4dv"), def_glTexCoord4dv); - fn_glTexCoord4f = new Deno.UnsafeFnPointer(proc("glTexCoord4f"), def_glTexCoord4f); - fn_glTexCoord4fv = new Deno.UnsafeFnPointer(proc("glTexCoord4fv"), def_glTexCoord4fv); - fn_glTexCoord4i = new Deno.UnsafeFnPointer(proc("glTexCoord4i"), def_glTexCoord4i); - fn_glTexCoord4iv = new Deno.UnsafeFnPointer(proc("glTexCoord4iv"), def_glTexCoord4iv); - fn_glTexCoord4s = new Deno.UnsafeFnPointer(proc("glTexCoord4s"), def_glTexCoord4s); - fn_glTexCoord4sv = new Deno.UnsafeFnPointer(proc("glTexCoord4sv"), def_glTexCoord4sv); + fn_glTexCoord1d = new Deno.UnsafeFnPointer( + proc("glTexCoord1d"), + def_glTexCoord1d, + ); + fn_glTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glTexCoord1dv"), + def_glTexCoord1dv, + ); + fn_glTexCoord1f = new Deno.UnsafeFnPointer( + proc("glTexCoord1f"), + def_glTexCoord1f, + ); + fn_glTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glTexCoord1fv"), + def_glTexCoord1fv, + ); + fn_glTexCoord1i = new Deno.UnsafeFnPointer( + proc("glTexCoord1i"), + def_glTexCoord1i, + ); + fn_glTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glTexCoord1iv"), + def_glTexCoord1iv, + ); + fn_glTexCoord1s = new Deno.UnsafeFnPointer( + proc("glTexCoord1s"), + def_glTexCoord1s, + ); + fn_glTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glTexCoord1sv"), + def_glTexCoord1sv, + ); + fn_glTexCoord2d = new Deno.UnsafeFnPointer( + proc("glTexCoord2d"), + def_glTexCoord2d, + ); + fn_glTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glTexCoord2dv"), + def_glTexCoord2dv, + ); + fn_glTexCoord2f = new Deno.UnsafeFnPointer( + proc("glTexCoord2f"), + def_glTexCoord2f, + ); + fn_glTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glTexCoord2fv"), + def_glTexCoord2fv, + ); + fn_glTexCoord2i = new Deno.UnsafeFnPointer( + proc("glTexCoord2i"), + def_glTexCoord2i, + ); + fn_glTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glTexCoord2iv"), + def_glTexCoord2iv, + ); + fn_glTexCoord2s = new Deno.UnsafeFnPointer( + proc("glTexCoord2s"), + def_glTexCoord2s, + ); + fn_glTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glTexCoord2sv"), + def_glTexCoord2sv, + ); + fn_glTexCoord3d = new Deno.UnsafeFnPointer( + proc("glTexCoord3d"), + def_glTexCoord3d, + ); + fn_glTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glTexCoord3dv"), + def_glTexCoord3dv, + ); + fn_glTexCoord3f = new Deno.UnsafeFnPointer( + proc("glTexCoord3f"), + def_glTexCoord3f, + ); + fn_glTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glTexCoord3fv"), + def_glTexCoord3fv, + ); + fn_glTexCoord3i = new Deno.UnsafeFnPointer( + proc("glTexCoord3i"), + def_glTexCoord3i, + ); + fn_glTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glTexCoord3iv"), + def_glTexCoord3iv, + ); + fn_glTexCoord3s = new Deno.UnsafeFnPointer( + proc("glTexCoord3s"), + def_glTexCoord3s, + ); + fn_glTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glTexCoord3sv"), + def_glTexCoord3sv, + ); + fn_glTexCoord4d = new Deno.UnsafeFnPointer( + proc("glTexCoord4d"), + def_glTexCoord4d, + ); + fn_glTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glTexCoord4dv"), + def_glTexCoord4dv, + ); + fn_glTexCoord4f = new Deno.UnsafeFnPointer( + proc("glTexCoord4f"), + def_glTexCoord4f, + ); + fn_glTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glTexCoord4fv"), + def_glTexCoord4fv, + ); + fn_glTexCoord4i = new Deno.UnsafeFnPointer( + proc("glTexCoord4i"), + def_glTexCoord4i, + ); + fn_glTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glTexCoord4iv"), + def_glTexCoord4iv, + ); + fn_glTexCoord4s = new Deno.UnsafeFnPointer( + proc("glTexCoord4s"), + def_glTexCoord4s, + ); + fn_glTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glTexCoord4sv"), + def_glTexCoord4sv, + ); fn_glVertex2d = new Deno.UnsafeFnPointer(proc("glVertex2d"), def_glVertex2d); - fn_glVertex2dv = new Deno.UnsafeFnPointer(proc("glVertex2dv"), def_glVertex2dv); + fn_glVertex2dv = new Deno.UnsafeFnPointer( + proc("glVertex2dv"), + def_glVertex2dv, + ); fn_glVertex2f = new Deno.UnsafeFnPointer(proc("glVertex2f"), def_glVertex2f); - fn_glVertex2fv = new Deno.UnsafeFnPointer(proc("glVertex2fv"), def_glVertex2fv); + fn_glVertex2fv = new Deno.UnsafeFnPointer( + proc("glVertex2fv"), + def_glVertex2fv, + ); fn_glVertex2i = new Deno.UnsafeFnPointer(proc("glVertex2i"), def_glVertex2i); - fn_glVertex2iv = new Deno.UnsafeFnPointer(proc("glVertex2iv"), def_glVertex2iv); + fn_glVertex2iv = new Deno.UnsafeFnPointer( + proc("glVertex2iv"), + def_glVertex2iv, + ); fn_glVertex2s = new Deno.UnsafeFnPointer(proc("glVertex2s"), def_glVertex2s); - fn_glVertex2sv = new Deno.UnsafeFnPointer(proc("glVertex2sv"), def_glVertex2sv); + fn_glVertex2sv = new Deno.UnsafeFnPointer( + proc("glVertex2sv"), + def_glVertex2sv, + ); fn_glVertex3d = new Deno.UnsafeFnPointer(proc("glVertex3d"), def_glVertex3d); - fn_glVertex3dv = new Deno.UnsafeFnPointer(proc("glVertex3dv"), def_glVertex3dv); + fn_glVertex3dv = new Deno.UnsafeFnPointer( + proc("glVertex3dv"), + def_glVertex3dv, + ); fn_glVertex3f = new Deno.UnsafeFnPointer(proc("glVertex3f"), def_glVertex3f); - fn_glVertex3fv = new Deno.UnsafeFnPointer(proc("glVertex3fv"), def_glVertex3fv); + fn_glVertex3fv = new Deno.UnsafeFnPointer( + proc("glVertex3fv"), + def_glVertex3fv, + ); fn_glVertex3i = new Deno.UnsafeFnPointer(proc("glVertex3i"), def_glVertex3i); - fn_glVertex3iv = new Deno.UnsafeFnPointer(proc("glVertex3iv"), def_glVertex3iv); + fn_glVertex3iv = new Deno.UnsafeFnPointer( + proc("glVertex3iv"), + def_glVertex3iv, + ); fn_glVertex3s = new Deno.UnsafeFnPointer(proc("glVertex3s"), def_glVertex3s); - fn_glVertex3sv = new Deno.UnsafeFnPointer(proc("glVertex3sv"), def_glVertex3sv); + fn_glVertex3sv = new Deno.UnsafeFnPointer( + proc("glVertex3sv"), + def_glVertex3sv, + ); fn_glVertex4d = new Deno.UnsafeFnPointer(proc("glVertex4d"), def_glVertex4d); - fn_glVertex4dv = new Deno.UnsafeFnPointer(proc("glVertex4dv"), def_glVertex4dv); + fn_glVertex4dv = new Deno.UnsafeFnPointer( + proc("glVertex4dv"), + def_glVertex4dv, + ); fn_glVertex4f = new Deno.UnsafeFnPointer(proc("glVertex4f"), def_glVertex4f); - fn_glVertex4fv = new Deno.UnsafeFnPointer(proc("glVertex4fv"), def_glVertex4fv); + fn_glVertex4fv = new Deno.UnsafeFnPointer( + proc("glVertex4fv"), + def_glVertex4fv, + ); fn_glVertex4i = new Deno.UnsafeFnPointer(proc("glVertex4i"), def_glVertex4i); - fn_glVertex4iv = new Deno.UnsafeFnPointer(proc("glVertex4iv"), def_glVertex4iv); + fn_glVertex4iv = new Deno.UnsafeFnPointer( + proc("glVertex4iv"), + def_glVertex4iv, + ); fn_glVertex4s = new Deno.UnsafeFnPointer(proc("glVertex4s"), def_glVertex4s); - fn_glVertex4sv = new Deno.UnsafeFnPointer(proc("glVertex4sv"), def_glVertex4sv); - fn_glClipPlane = new Deno.UnsafeFnPointer(proc("glClipPlane"), def_glClipPlane); - fn_glColorMaterial = new Deno.UnsafeFnPointer(proc("glColorMaterial"), def_glColorMaterial); + fn_glVertex4sv = new Deno.UnsafeFnPointer( + proc("glVertex4sv"), + def_glVertex4sv, + ); + fn_glClipPlane = new Deno.UnsafeFnPointer( + proc("glClipPlane"), + def_glClipPlane, + ); + fn_glColorMaterial = new Deno.UnsafeFnPointer( + proc("glColorMaterial"), + def_glColorMaterial, + ); fn_glFogf = new Deno.UnsafeFnPointer(proc("glFogf"), def_glFogf); fn_glFogfv = new Deno.UnsafeFnPointer(proc("glFogfv"), def_glFogfv); fn_glFogi = new Deno.UnsafeFnPointer(proc("glFogi"), def_glFogi); @@ -9116,17 +9670,50 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glLightfv = new Deno.UnsafeFnPointer(proc("glLightfv"), def_glLightfv); fn_glLighti = new Deno.UnsafeFnPointer(proc("glLighti"), def_glLighti); fn_glLightiv = new Deno.UnsafeFnPointer(proc("glLightiv"), def_glLightiv); - fn_glLightModelf = new Deno.UnsafeFnPointer(proc("glLightModelf"), def_glLightModelf); - fn_glLightModelfv = new Deno.UnsafeFnPointer(proc("glLightModelfv"), def_glLightModelfv); - fn_glLightModeli = new Deno.UnsafeFnPointer(proc("glLightModeli"), def_glLightModeli); - fn_glLightModeliv = new Deno.UnsafeFnPointer(proc("glLightModeliv"), def_glLightModeliv); - fn_glLineStipple = new Deno.UnsafeFnPointer(proc("glLineStipple"), def_glLineStipple); - fn_glMaterialf = new Deno.UnsafeFnPointer(proc("glMaterialf"), def_glMaterialf); - fn_glMaterialfv = new Deno.UnsafeFnPointer(proc("glMaterialfv"), def_glMaterialfv); - fn_glMateriali = new Deno.UnsafeFnPointer(proc("glMateriali"), def_glMateriali); - fn_glMaterialiv = new Deno.UnsafeFnPointer(proc("glMaterialiv"), def_glMaterialiv); - fn_glPolygonStipple = new Deno.UnsafeFnPointer(proc("glPolygonStipple"), def_glPolygonStipple); - fn_glShadeModel = new Deno.UnsafeFnPointer(proc("glShadeModel"), def_glShadeModel); + fn_glLightModelf = new Deno.UnsafeFnPointer( + proc("glLightModelf"), + def_glLightModelf, + ); + fn_glLightModelfv = new Deno.UnsafeFnPointer( + proc("glLightModelfv"), + def_glLightModelfv, + ); + fn_glLightModeli = new Deno.UnsafeFnPointer( + proc("glLightModeli"), + def_glLightModeli, + ); + fn_glLightModeliv = new Deno.UnsafeFnPointer( + proc("glLightModeliv"), + def_glLightModeliv, + ); + fn_glLineStipple = new Deno.UnsafeFnPointer( + proc("glLineStipple"), + def_glLineStipple, + ); + fn_glMaterialf = new Deno.UnsafeFnPointer( + proc("glMaterialf"), + def_glMaterialf, + ); + fn_glMaterialfv = new Deno.UnsafeFnPointer( + proc("glMaterialfv"), + def_glMaterialfv, + ); + fn_glMateriali = new Deno.UnsafeFnPointer( + proc("glMateriali"), + def_glMateriali, + ); + fn_glMaterialiv = new Deno.UnsafeFnPointer( + proc("glMaterialiv"), + def_glMaterialiv, + ); + fn_glPolygonStipple = new Deno.UnsafeFnPointer( + proc("glPolygonStipple"), + def_glPolygonStipple, + ); + fn_glShadeModel = new Deno.UnsafeFnPointer( + proc("glShadeModel"), + def_glShadeModel, + ); fn_glTexEnvf = new Deno.UnsafeFnPointer(proc("glTexEnvf"), def_glTexEnvf); fn_glTexEnvfv = new Deno.UnsafeFnPointer(proc("glTexEnvfv"), def_glTexEnvfv); fn_glTexEnvi = new Deno.UnsafeFnPointer(proc("glTexEnvi"), def_glTexEnvi); @@ -9137,227 +9724,827 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glTexGenfv = new Deno.UnsafeFnPointer(proc("glTexGenfv"), def_glTexGenfv); fn_glTexGeni = new Deno.UnsafeFnPointer(proc("glTexGeni"), def_glTexGeni); fn_glTexGeniv = new Deno.UnsafeFnPointer(proc("glTexGeniv"), def_glTexGeniv); - fn_glFeedbackBuffer = new Deno.UnsafeFnPointer(proc("glFeedbackBuffer"), def_glFeedbackBuffer); - fn_glSelectBuffer = new Deno.UnsafeFnPointer(proc("glSelectBuffer"), def_glSelectBuffer); - fn_glRenderMode = new Deno.UnsafeFnPointer(proc("glRenderMode"), def_glRenderMode); - fn_glInitNames = new Deno.UnsafeFnPointer(proc("glInitNames"), def_glInitNames); + fn_glFeedbackBuffer = new Deno.UnsafeFnPointer( + proc("glFeedbackBuffer"), + def_glFeedbackBuffer, + ); + fn_glSelectBuffer = new Deno.UnsafeFnPointer( + proc("glSelectBuffer"), + def_glSelectBuffer, + ); + fn_glRenderMode = new Deno.UnsafeFnPointer( + proc("glRenderMode"), + def_glRenderMode, + ); + fn_glInitNames = new Deno.UnsafeFnPointer( + proc("glInitNames"), + def_glInitNames, + ); fn_glLoadName = new Deno.UnsafeFnPointer(proc("glLoadName"), def_glLoadName); - fn_glPassThrough = new Deno.UnsafeFnPointer(proc("glPassThrough"), def_glPassThrough); + fn_glPassThrough = new Deno.UnsafeFnPointer( + proc("glPassThrough"), + def_glPassThrough, + ); fn_glPopName = new Deno.UnsafeFnPointer(proc("glPopName"), def_glPopName); fn_glPushName = new Deno.UnsafeFnPointer(proc("glPushName"), def_glPushName); - fn_glClearAccum = new Deno.UnsafeFnPointer(proc("glClearAccum"), def_glClearAccum); - fn_glClearIndex = new Deno.UnsafeFnPointer(proc("glClearIndex"), def_glClearIndex); - fn_glIndexMask = new Deno.UnsafeFnPointer(proc("glIndexMask"), def_glIndexMask); + fn_glClearAccum = new Deno.UnsafeFnPointer( + proc("glClearAccum"), + def_glClearAccum, + ); + fn_glClearIndex = new Deno.UnsafeFnPointer( + proc("glClearIndex"), + def_glClearIndex, + ); + fn_glIndexMask = new Deno.UnsafeFnPointer( + proc("glIndexMask"), + def_glIndexMask, + ); fn_glAccum = new Deno.UnsafeFnPointer(proc("glAccum"), def_glAccum); - fn_glPopAttrib = new Deno.UnsafeFnPointer(proc("glPopAttrib"), def_glPopAttrib); - fn_glPushAttrib = new Deno.UnsafeFnPointer(proc("glPushAttrib"), def_glPushAttrib); + fn_glPopAttrib = new Deno.UnsafeFnPointer( + proc("glPopAttrib"), + def_glPopAttrib, + ); + fn_glPushAttrib = new Deno.UnsafeFnPointer( + proc("glPushAttrib"), + def_glPushAttrib, + ); fn_glMap1d = new Deno.UnsafeFnPointer(proc("glMap1d"), def_glMap1d); fn_glMap1f = new Deno.UnsafeFnPointer(proc("glMap1f"), def_glMap1f); fn_glMap2d = new Deno.UnsafeFnPointer(proc("glMap2d"), def_glMap2d); fn_glMap2f = new Deno.UnsafeFnPointer(proc("glMap2f"), def_glMap2f); - fn_glMapGrid1d = new Deno.UnsafeFnPointer(proc("glMapGrid1d"), def_glMapGrid1d); - fn_glMapGrid1f = new Deno.UnsafeFnPointer(proc("glMapGrid1f"), def_glMapGrid1f); - fn_glMapGrid2d = new Deno.UnsafeFnPointer(proc("glMapGrid2d"), def_glMapGrid2d); - fn_glMapGrid2f = new Deno.UnsafeFnPointer(proc("glMapGrid2f"), def_glMapGrid2f); - fn_glEvalCoord1d = new Deno.UnsafeFnPointer(proc("glEvalCoord1d"), def_glEvalCoord1d); - fn_glEvalCoord1dv = new Deno.UnsafeFnPointer(proc("glEvalCoord1dv"), def_glEvalCoord1dv); - fn_glEvalCoord1f = new Deno.UnsafeFnPointer(proc("glEvalCoord1f"), def_glEvalCoord1f); - fn_glEvalCoord1fv = new Deno.UnsafeFnPointer(proc("glEvalCoord1fv"), def_glEvalCoord1fv); - fn_glEvalCoord2d = new Deno.UnsafeFnPointer(proc("glEvalCoord2d"), def_glEvalCoord2d); - fn_glEvalCoord2dv = new Deno.UnsafeFnPointer(proc("glEvalCoord2dv"), def_glEvalCoord2dv); - fn_glEvalCoord2f = new Deno.UnsafeFnPointer(proc("glEvalCoord2f"), def_glEvalCoord2f); - fn_glEvalCoord2fv = new Deno.UnsafeFnPointer(proc("glEvalCoord2fv"), def_glEvalCoord2fv); - fn_glEvalMesh1 = new Deno.UnsafeFnPointer(proc("glEvalMesh1"), def_glEvalMesh1); - fn_glEvalPoint1 = new Deno.UnsafeFnPointer(proc("glEvalPoint1"), def_glEvalPoint1); - fn_glEvalMesh2 = new Deno.UnsafeFnPointer(proc("glEvalMesh2"), def_glEvalMesh2); - fn_glEvalPoint2 = new Deno.UnsafeFnPointer(proc("glEvalPoint2"), def_glEvalPoint2); - fn_glAlphaFunc = new Deno.UnsafeFnPointer(proc("glAlphaFunc"), def_glAlphaFunc); - fn_glPixelZoom = new Deno.UnsafeFnPointer(proc("glPixelZoom"), def_glPixelZoom); - fn_glPixelTransferf = new Deno.UnsafeFnPointer(proc("glPixelTransferf"), def_glPixelTransferf); - fn_glPixelTransferi = new Deno.UnsafeFnPointer(proc("glPixelTransferi"), def_glPixelTransferi); - fn_glPixelMapfv = new Deno.UnsafeFnPointer(proc("glPixelMapfv"), def_glPixelMapfv); - fn_glPixelMapuiv = new Deno.UnsafeFnPointer(proc("glPixelMapuiv"), def_glPixelMapuiv); - fn_glPixelMapusv = new Deno.UnsafeFnPointer(proc("glPixelMapusv"), def_glPixelMapusv); - fn_glCopyPixels = new Deno.UnsafeFnPointer(proc("glCopyPixels"), def_glCopyPixels); - fn_glDrawPixels = new Deno.UnsafeFnPointer(proc("glDrawPixels"), def_glDrawPixels); - fn_glGetClipPlane = new Deno.UnsafeFnPointer(proc("glGetClipPlane"), def_glGetClipPlane); - fn_glGetLightfv = new Deno.UnsafeFnPointer(proc("glGetLightfv"), def_glGetLightfv); - fn_glGetLightiv = new Deno.UnsafeFnPointer(proc("glGetLightiv"), def_glGetLightiv); + fn_glMapGrid1d = new Deno.UnsafeFnPointer( + proc("glMapGrid1d"), + def_glMapGrid1d, + ); + fn_glMapGrid1f = new Deno.UnsafeFnPointer( + proc("glMapGrid1f"), + def_glMapGrid1f, + ); + fn_glMapGrid2d = new Deno.UnsafeFnPointer( + proc("glMapGrid2d"), + def_glMapGrid2d, + ); + fn_glMapGrid2f = new Deno.UnsafeFnPointer( + proc("glMapGrid2f"), + def_glMapGrid2f, + ); + fn_glEvalCoord1d = new Deno.UnsafeFnPointer( + proc("glEvalCoord1d"), + def_glEvalCoord1d, + ); + fn_glEvalCoord1dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1dv"), + def_glEvalCoord1dv, + ); + fn_glEvalCoord1f = new Deno.UnsafeFnPointer( + proc("glEvalCoord1f"), + def_glEvalCoord1f, + ); + fn_glEvalCoord1fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1fv"), + def_glEvalCoord1fv, + ); + fn_glEvalCoord2d = new Deno.UnsafeFnPointer( + proc("glEvalCoord2d"), + def_glEvalCoord2d, + ); + fn_glEvalCoord2dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2dv"), + def_glEvalCoord2dv, + ); + fn_glEvalCoord2f = new Deno.UnsafeFnPointer( + proc("glEvalCoord2f"), + def_glEvalCoord2f, + ); + fn_glEvalCoord2fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2fv"), + def_glEvalCoord2fv, + ); + fn_glEvalMesh1 = new Deno.UnsafeFnPointer( + proc("glEvalMesh1"), + def_glEvalMesh1, + ); + fn_glEvalPoint1 = new Deno.UnsafeFnPointer( + proc("glEvalPoint1"), + def_glEvalPoint1, + ); + fn_glEvalMesh2 = new Deno.UnsafeFnPointer( + proc("glEvalMesh2"), + def_glEvalMesh2, + ); + fn_glEvalPoint2 = new Deno.UnsafeFnPointer( + proc("glEvalPoint2"), + def_glEvalPoint2, + ); + fn_glAlphaFunc = new Deno.UnsafeFnPointer( + proc("glAlphaFunc"), + def_glAlphaFunc, + ); + fn_glPixelZoom = new Deno.UnsafeFnPointer( + proc("glPixelZoom"), + def_glPixelZoom, + ); + fn_glPixelTransferf = new Deno.UnsafeFnPointer( + proc("glPixelTransferf"), + def_glPixelTransferf, + ); + fn_glPixelTransferi = new Deno.UnsafeFnPointer( + proc("glPixelTransferi"), + def_glPixelTransferi, + ); + fn_glPixelMapfv = new Deno.UnsafeFnPointer( + proc("glPixelMapfv"), + def_glPixelMapfv, + ); + fn_glPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glPixelMapuiv"), + def_glPixelMapuiv, + ); + fn_glPixelMapusv = new Deno.UnsafeFnPointer( + proc("glPixelMapusv"), + def_glPixelMapusv, + ); + fn_glCopyPixels = new Deno.UnsafeFnPointer( + proc("glCopyPixels"), + def_glCopyPixels, + ); + fn_glDrawPixels = new Deno.UnsafeFnPointer( + proc("glDrawPixels"), + def_glDrawPixels, + ); + fn_glGetClipPlane = new Deno.UnsafeFnPointer( + proc("glGetClipPlane"), + def_glGetClipPlane, + ); + fn_glGetLightfv = new Deno.UnsafeFnPointer( + proc("glGetLightfv"), + def_glGetLightfv, + ); + fn_glGetLightiv = new Deno.UnsafeFnPointer( + proc("glGetLightiv"), + def_glGetLightiv, + ); fn_glGetMapdv = new Deno.UnsafeFnPointer(proc("glGetMapdv"), def_glGetMapdv); fn_glGetMapfv = new Deno.UnsafeFnPointer(proc("glGetMapfv"), def_glGetMapfv); fn_glGetMapiv = new Deno.UnsafeFnPointer(proc("glGetMapiv"), def_glGetMapiv); - fn_glGetMaterialfv = new Deno.UnsafeFnPointer(proc("glGetMaterialfv"), def_glGetMaterialfv); - fn_glGetMaterialiv = new Deno.UnsafeFnPointer(proc("glGetMaterialiv"), def_glGetMaterialiv); - fn_glGetPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetPixelMapfv"), def_glGetPixelMapfv); - fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetPixelMapuiv"), def_glGetPixelMapuiv); - fn_glGetPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetPixelMapusv"), def_glGetPixelMapusv); - fn_glGetPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetPolygonStipple"), def_glGetPolygonStipple); - fn_glGetTexEnvfv = new Deno.UnsafeFnPointer(proc("glGetTexEnvfv"), def_glGetTexEnvfv); - fn_glGetTexEnviv = new Deno.UnsafeFnPointer(proc("glGetTexEnviv"), def_glGetTexEnviv); - fn_glGetTexGendv = new Deno.UnsafeFnPointer(proc("glGetTexGendv"), def_glGetTexGendv); - fn_glGetTexGenfv = new Deno.UnsafeFnPointer(proc("glGetTexGenfv"), def_glGetTexGenfv); - fn_glGetTexGeniv = new Deno.UnsafeFnPointer(proc("glGetTexGeniv"), def_glGetTexGeniv); + fn_glGetMaterialfv = new Deno.UnsafeFnPointer( + proc("glGetMaterialfv"), + def_glGetMaterialfv, + ); + fn_glGetMaterialiv = new Deno.UnsafeFnPointer( + proc("glGetMaterialiv"), + def_glGetMaterialiv, + ); + fn_glGetPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapfv"), + def_glGetPixelMapfv, + ); + fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapuiv"), + def_glGetPixelMapuiv, + ); + fn_glGetPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapusv"), + def_glGetPixelMapusv, + ); + fn_glGetPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetPolygonStipple"), + def_glGetPolygonStipple, + ); + fn_glGetTexEnvfv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvfv"), + def_glGetTexEnvfv, + ); + fn_glGetTexEnviv = new Deno.UnsafeFnPointer( + proc("glGetTexEnviv"), + def_glGetTexEnviv, + ); + fn_glGetTexGendv = new Deno.UnsafeFnPointer( + proc("glGetTexGendv"), + def_glGetTexGendv, + ); + fn_glGetTexGenfv = new Deno.UnsafeFnPointer( + proc("glGetTexGenfv"), + def_glGetTexGenfv, + ); + fn_glGetTexGeniv = new Deno.UnsafeFnPointer( + proc("glGetTexGeniv"), + def_glGetTexGeniv, + ); fn_glIsList = new Deno.UnsafeFnPointer(proc("glIsList"), def_glIsList); fn_glFrustum = new Deno.UnsafeFnPointer(proc("glFrustum"), def_glFrustum); - fn_glLoadIdentity = new Deno.UnsafeFnPointer(proc("glLoadIdentity"), def_glLoadIdentity); - fn_glLoadMatrixf = new Deno.UnsafeFnPointer(proc("glLoadMatrixf"), def_glLoadMatrixf); - fn_glLoadMatrixd = new Deno.UnsafeFnPointer(proc("glLoadMatrixd"), def_glLoadMatrixd); - fn_glMatrixMode = new Deno.UnsafeFnPointer(proc("glMatrixMode"), def_glMatrixMode); - fn_glMultMatrixf = new Deno.UnsafeFnPointer(proc("glMultMatrixf"), def_glMultMatrixf); - fn_glMultMatrixd = new Deno.UnsafeFnPointer(proc("glMultMatrixd"), def_glMultMatrixd); + fn_glLoadIdentity = new Deno.UnsafeFnPointer( + proc("glLoadIdentity"), + def_glLoadIdentity, + ); + fn_glLoadMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadMatrixf"), + def_glLoadMatrixf, + ); + fn_glLoadMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadMatrixd"), + def_glLoadMatrixd, + ); + fn_glMatrixMode = new Deno.UnsafeFnPointer( + proc("glMatrixMode"), + def_glMatrixMode, + ); + fn_glMultMatrixf = new Deno.UnsafeFnPointer( + proc("glMultMatrixf"), + def_glMultMatrixf, + ); + fn_glMultMatrixd = new Deno.UnsafeFnPointer( + proc("glMultMatrixd"), + def_glMultMatrixd, + ); fn_glOrtho = new Deno.UnsafeFnPointer(proc("glOrtho"), def_glOrtho); - fn_glPopMatrix = new Deno.UnsafeFnPointer(proc("glPopMatrix"), def_glPopMatrix); - fn_glPushMatrix = new Deno.UnsafeFnPointer(proc("glPushMatrix"), def_glPushMatrix); + fn_glPopMatrix = new Deno.UnsafeFnPointer( + proc("glPopMatrix"), + def_glPopMatrix, + ); + fn_glPushMatrix = new Deno.UnsafeFnPointer( + proc("glPushMatrix"), + def_glPushMatrix, + ); fn_glRotated = new Deno.UnsafeFnPointer(proc("glRotated"), def_glRotated); fn_glRotatef = new Deno.UnsafeFnPointer(proc("glRotatef"), def_glRotatef); fn_glScaled = new Deno.UnsafeFnPointer(proc("glScaled"), def_glScaled); fn_glScalef = new Deno.UnsafeFnPointer(proc("glScalef"), def_glScalef); - fn_glTranslated = new Deno.UnsafeFnPointer(proc("glTranslated"), def_glTranslated); - fn_glTranslatef = new Deno.UnsafeFnPointer(proc("glTranslatef"), def_glTranslatef); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glArrayElement = new Deno.UnsafeFnPointer(proc("glArrayElement"), def_glArrayElement); - fn_glColorPointer = new Deno.UnsafeFnPointer(proc("glColorPointer"), def_glColorPointer); - fn_glDisableClientState = new Deno.UnsafeFnPointer(proc("glDisableClientState"), def_glDisableClientState); - fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer(proc("glEdgeFlagPointer"), def_glEdgeFlagPointer); - fn_glEnableClientState = new Deno.UnsafeFnPointer(proc("glEnableClientState"), def_glEnableClientState); - fn_glIndexPointer = new Deno.UnsafeFnPointer(proc("glIndexPointer"), def_glIndexPointer); - fn_glInterleavedArrays = new Deno.UnsafeFnPointer(proc("glInterleavedArrays"), def_glInterleavedArrays); - fn_glNormalPointer = new Deno.UnsafeFnPointer(proc("glNormalPointer"), def_glNormalPointer); - fn_glTexCoordPointer = new Deno.UnsafeFnPointer(proc("glTexCoordPointer"), def_glTexCoordPointer); - fn_glVertexPointer = new Deno.UnsafeFnPointer(proc("glVertexPointer"), def_glVertexPointer); - fn_glAreTexturesResident = new Deno.UnsafeFnPointer(proc("glAreTexturesResident"), def_glAreTexturesResident); - fn_glPrioritizeTextures = new Deno.UnsafeFnPointer(proc("glPrioritizeTextures"), def_glPrioritizeTextures); + fn_glTranslated = new Deno.UnsafeFnPointer( + proc("glTranslated"), + def_glTranslated, + ); + fn_glTranslatef = new Deno.UnsafeFnPointer( + proc("glTranslatef"), + def_glTranslatef, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glArrayElement = new Deno.UnsafeFnPointer( + proc("glArrayElement"), + def_glArrayElement, + ); + fn_glColorPointer = new Deno.UnsafeFnPointer( + proc("glColorPointer"), + def_glColorPointer, + ); + fn_glDisableClientState = new Deno.UnsafeFnPointer( + proc("glDisableClientState"), + def_glDisableClientState, + ); + fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer( + proc("glEdgeFlagPointer"), + def_glEdgeFlagPointer, + ); + fn_glEnableClientState = new Deno.UnsafeFnPointer( + proc("glEnableClientState"), + def_glEnableClientState, + ); + fn_glIndexPointer = new Deno.UnsafeFnPointer( + proc("glIndexPointer"), + def_glIndexPointer, + ); + fn_glInterleavedArrays = new Deno.UnsafeFnPointer( + proc("glInterleavedArrays"), + def_glInterleavedArrays, + ); + fn_glNormalPointer = new Deno.UnsafeFnPointer( + proc("glNormalPointer"), + def_glNormalPointer, + ); + fn_glTexCoordPointer = new Deno.UnsafeFnPointer( + proc("glTexCoordPointer"), + def_glTexCoordPointer, + ); + fn_glVertexPointer = new Deno.UnsafeFnPointer( + proc("glVertexPointer"), + def_glVertexPointer, + ); + fn_glAreTexturesResident = new Deno.UnsafeFnPointer( + proc("glAreTexturesResident"), + def_glAreTexturesResident, + ); + fn_glPrioritizeTextures = new Deno.UnsafeFnPointer( + proc("glPrioritizeTextures"), + def_glPrioritizeTextures, + ); fn_glIndexub = new Deno.UnsafeFnPointer(proc("glIndexub"), def_glIndexub); fn_glIndexubv = new Deno.UnsafeFnPointer(proc("glIndexubv"), def_glIndexubv); - fn_glPopClientAttrib = new Deno.UnsafeFnPointer(proc("glPopClientAttrib"), def_glPopClientAttrib); - fn_glPushClientAttrib = new Deno.UnsafeFnPointer(proc("glPushClientAttrib"), def_glPushClientAttrib); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glClientActiveTexture = new Deno.UnsafeFnPointer(proc("glClientActiveTexture"), def_glClientActiveTexture); - fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1d"), def_glMultiTexCoord1d); - fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1dv"), def_glMultiTexCoord1dv); - fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1f"), def_glMultiTexCoord1f); - fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1fv"), def_glMultiTexCoord1fv); - fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1i"), def_glMultiTexCoord1i); - fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1iv"), def_glMultiTexCoord1iv); - fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1s"), def_glMultiTexCoord1s); - fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1sv"), def_glMultiTexCoord1sv); - fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2d"), def_glMultiTexCoord2d); - fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2dv"), def_glMultiTexCoord2dv); - fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2f"), def_glMultiTexCoord2f); - fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2fv"), def_glMultiTexCoord2fv); - fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2i"), def_glMultiTexCoord2i); - fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2iv"), def_glMultiTexCoord2iv); - fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2s"), def_glMultiTexCoord2s); - fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2sv"), def_glMultiTexCoord2sv); - fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3d"), def_glMultiTexCoord3d); - fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3dv"), def_glMultiTexCoord3dv); - fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3f"), def_glMultiTexCoord3f); - fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3fv"), def_glMultiTexCoord3fv); - fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3i"), def_glMultiTexCoord3i); - fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3iv"), def_glMultiTexCoord3iv); - fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3s"), def_glMultiTexCoord3s); - fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3sv"), def_glMultiTexCoord3sv); - fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4d"), def_glMultiTexCoord4d); - fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4dv"), def_glMultiTexCoord4dv); - fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4f"), def_glMultiTexCoord4f); - fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4fv"), def_glMultiTexCoord4fv); - fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4i"), def_glMultiTexCoord4i); - fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4iv"), def_glMultiTexCoord4iv); - fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4s"), def_glMultiTexCoord4s); - fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4sv"), def_glMultiTexCoord4sv); - fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixf"), def_glLoadTransposeMatrixf); - fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixd"), def_glLoadTransposeMatrixd); - fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixf"), def_glMultTransposeMatrixf); - fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixd"), def_glMultTransposeMatrixd); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glFogCoordf = new Deno.UnsafeFnPointer(proc("glFogCoordf"), def_glFogCoordf); - fn_glFogCoordfv = new Deno.UnsafeFnPointer(proc("glFogCoordfv"), def_glFogCoordfv); - fn_glFogCoordd = new Deno.UnsafeFnPointer(proc("glFogCoordd"), def_glFogCoordd); - fn_glFogCoorddv = new Deno.UnsafeFnPointer(proc("glFogCoorddv"), def_glFogCoorddv); - fn_glFogCoordPointer = new Deno.UnsafeFnPointer(proc("glFogCoordPointer"), def_glFogCoordPointer); - fn_glSecondaryColor3b = new Deno.UnsafeFnPointer(proc("glSecondaryColor3b"), def_glSecondaryColor3b); - fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3bv"), def_glSecondaryColor3bv); - fn_glSecondaryColor3d = new Deno.UnsafeFnPointer(proc("glSecondaryColor3d"), def_glSecondaryColor3d); - fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3dv"), def_glSecondaryColor3dv); - fn_glSecondaryColor3f = new Deno.UnsafeFnPointer(proc("glSecondaryColor3f"), def_glSecondaryColor3f); - fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3fv"), def_glSecondaryColor3fv); - fn_glSecondaryColor3i = new Deno.UnsafeFnPointer(proc("glSecondaryColor3i"), def_glSecondaryColor3i); - fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3iv"), def_glSecondaryColor3iv); - fn_glSecondaryColor3s = new Deno.UnsafeFnPointer(proc("glSecondaryColor3s"), def_glSecondaryColor3s); - fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3sv"), def_glSecondaryColor3sv); - fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ub"), def_glSecondaryColor3ub); - fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ubv"), def_glSecondaryColor3ubv); - fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ui"), def_glSecondaryColor3ui); - fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3uiv"), def_glSecondaryColor3uiv); - fn_glSecondaryColor3us = new Deno.UnsafeFnPointer(proc("glSecondaryColor3us"), def_glSecondaryColor3us); - fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3usv"), def_glSecondaryColor3usv); - fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer(proc("glSecondaryColorPointer"), def_glSecondaryColorPointer); - fn_glWindowPos2d = new Deno.UnsafeFnPointer(proc("glWindowPos2d"), def_glWindowPos2d); - fn_glWindowPos2dv = new Deno.UnsafeFnPointer(proc("glWindowPos2dv"), def_glWindowPos2dv); - fn_glWindowPos2f = new Deno.UnsafeFnPointer(proc("glWindowPos2f"), def_glWindowPos2f); - fn_glWindowPos2fv = new Deno.UnsafeFnPointer(proc("glWindowPos2fv"), def_glWindowPos2fv); - fn_glWindowPos2i = new Deno.UnsafeFnPointer(proc("glWindowPos2i"), def_glWindowPos2i); - fn_glWindowPos2iv = new Deno.UnsafeFnPointer(proc("glWindowPos2iv"), def_glWindowPos2iv); - fn_glWindowPos2s = new Deno.UnsafeFnPointer(proc("glWindowPos2s"), def_glWindowPos2s); - fn_glWindowPos2sv = new Deno.UnsafeFnPointer(proc("glWindowPos2sv"), def_glWindowPos2sv); - fn_glWindowPos3d = new Deno.UnsafeFnPointer(proc("glWindowPos3d"), def_glWindowPos3d); - fn_glWindowPos3dv = new Deno.UnsafeFnPointer(proc("glWindowPos3dv"), def_glWindowPos3dv); - fn_glWindowPos3f = new Deno.UnsafeFnPointer(proc("glWindowPos3f"), def_glWindowPos3f); - fn_glWindowPos3fv = new Deno.UnsafeFnPointer(proc("glWindowPos3fv"), def_glWindowPos3fv); - fn_glWindowPos3i = new Deno.UnsafeFnPointer(proc("glWindowPos3i"), def_glWindowPos3i); - fn_glWindowPos3iv = new Deno.UnsafeFnPointer(proc("glWindowPos3iv"), def_glWindowPos3iv); - fn_glWindowPos3s = new Deno.UnsafeFnPointer(proc("glWindowPos3s"), def_glWindowPos3s); - fn_glWindowPos3sv = new Deno.UnsafeFnPointer(proc("glWindowPos3sv"), def_glWindowPos3sv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glPopClientAttrib = new Deno.UnsafeFnPointer( + proc("glPopClientAttrib"), + def_glPopClientAttrib, + ); + fn_glPushClientAttrib = new Deno.UnsafeFnPointer( + proc("glPushClientAttrib"), + def_glPushClientAttrib, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glClientActiveTexture = new Deno.UnsafeFnPointer( + proc("glClientActiveTexture"), + def_glClientActiveTexture, + ); + fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1d"), + def_glMultiTexCoord1d, + ); + fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1dv"), + def_glMultiTexCoord1dv, + ); + fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1f"), + def_glMultiTexCoord1f, + ); + fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1fv"), + def_glMultiTexCoord1fv, + ); + fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1i"), + def_glMultiTexCoord1i, + ); + fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1iv"), + def_glMultiTexCoord1iv, + ); + fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1s"), + def_glMultiTexCoord1s, + ); + fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1sv"), + def_glMultiTexCoord1sv, + ); + fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2d"), + def_glMultiTexCoord2d, + ); + fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2dv"), + def_glMultiTexCoord2dv, + ); + fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2f"), + def_glMultiTexCoord2f, + ); + fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2fv"), + def_glMultiTexCoord2fv, + ); + fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2i"), + def_glMultiTexCoord2i, + ); + fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2iv"), + def_glMultiTexCoord2iv, + ); + fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2s"), + def_glMultiTexCoord2s, + ); + fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2sv"), + def_glMultiTexCoord2sv, + ); + fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3d"), + def_glMultiTexCoord3d, + ); + fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3dv"), + def_glMultiTexCoord3dv, + ); + fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3f"), + def_glMultiTexCoord3f, + ); + fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3fv"), + def_glMultiTexCoord3fv, + ); + fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3i"), + def_glMultiTexCoord3i, + ); + fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3iv"), + def_glMultiTexCoord3iv, + ); + fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3s"), + def_glMultiTexCoord3s, + ); + fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3sv"), + def_glMultiTexCoord3sv, + ); + fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4d"), + def_glMultiTexCoord4d, + ); + fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4dv"), + def_glMultiTexCoord4dv, + ); + fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4f"), + def_glMultiTexCoord4f, + ); + fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4fv"), + def_glMultiTexCoord4fv, + ); + fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4i"), + def_glMultiTexCoord4i, + ); + fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4iv"), + def_glMultiTexCoord4iv, + ); + fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4s"), + def_glMultiTexCoord4s, + ); + fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4sv"), + def_glMultiTexCoord4sv, + ); + fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixf"), + def_glLoadTransposeMatrixf, + ); + fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixd"), + def_glLoadTransposeMatrixd, + ); + fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixf"), + def_glMultTransposeMatrixf, + ); + fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixd"), + def_glMultTransposeMatrixd, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glFogCoordf = new Deno.UnsafeFnPointer( + proc("glFogCoordf"), + def_glFogCoordf, + ); + fn_glFogCoordfv = new Deno.UnsafeFnPointer( + proc("glFogCoordfv"), + def_glFogCoordfv, + ); + fn_glFogCoordd = new Deno.UnsafeFnPointer( + proc("glFogCoordd"), + def_glFogCoordd, + ); + fn_glFogCoorddv = new Deno.UnsafeFnPointer( + proc("glFogCoorddv"), + def_glFogCoorddv, + ); + fn_glFogCoordPointer = new Deno.UnsafeFnPointer( + proc("glFogCoordPointer"), + def_glFogCoordPointer, + ); + fn_glSecondaryColor3b = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3b"), + def_glSecondaryColor3b, + ); + fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3bv"), + def_glSecondaryColor3bv, + ); + fn_glSecondaryColor3d = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3d"), + def_glSecondaryColor3d, + ); + fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3dv"), + def_glSecondaryColor3dv, + ); + fn_glSecondaryColor3f = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3f"), + def_glSecondaryColor3f, + ); + fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3fv"), + def_glSecondaryColor3fv, + ); + fn_glSecondaryColor3i = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3i"), + def_glSecondaryColor3i, + ); + fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3iv"), + def_glSecondaryColor3iv, + ); + fn_glSecondaryColor3s = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3s"), + def_glSecondaryColor3s, + ); + fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3sv"), + def_glSecondaryColor3sv, + ); + fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ub"), + def_glSecondaryColor3ub, + ); + fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ubv"), + def_glSecondaryColor3ubv, + ); + fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ui"), + def_glSecondaryColor3ui, + ); + fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3uiv"), + def_glSecondaryColor3uiv, + ); + fn_glSecondaryColor3us = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3us"), + def_glSecondaryColor3us, + ); + fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3usv"), + def_glSecondaryColor3usv, + ); + fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer( + proc("glSecondaryColorPointer"), + def_glSecondaryColorPointer, + ); + fn_glWindowPos2d = new Deno.UnsafeFnPointer( + proc("glWindowPos2d"), + def_glWindowPos2d, + ); + fn_glWindowPos2dv = new Deno.UnsafeFnPointer( + proc("glWindowPos2dv"), + def_glWindowPos2dv, + ); + fn_glWindowPos2f = new Deno.UnsafeFnPointer( + proc("glWindowPos2f"), + def_glWindowPos2f, + ); + fn_glWindowPos2fv = new Deno.UnsafeFnPointer( + proc("glWindowPos2fv"), + def_glWindowPos2fv, + ); + fn_glWindowPos2i = new Deno.UnsafeFnPointer( + proc("glWindowPos2i"), + def_glWindowPos2i, + ); + fn_glWindowPos2iv = new Deno.UnsafeFnPointer( + proc("glWindowPos2iv"), + def_glWindowPos2iv, + ); + fn_glWindowPos2s = new Deno.UnsafeFnPointer( + proc("glWindowPos2s"), + def_glWindowPos2s, + ); + fn_glWindowPos2sv = new Deno.UnsafeFnPointer( + proc("glWindowPos2sv"), + def_glWindowPos2sv, + ); + fn_glWindowPos3d = new Deno.UnsafeFnPointer( + proc("glWindowPos3d"), + def_glWindowPos3d, + ); + fn_glWindowPos3dv = new Deno.UnsafeFnPointer( + proc("glWindowPos3dv"), + def_glWindowPos3dv, + ); + fn_glWindowPos3f = new Deno.UnsafeFnPointer( + proc("glWindowPos3f"), + def_glWindowPos3f, + ); + fn_glWindowPos3fv = new Deno.UnsafeFnPointer( + proc("glWindowPos3fv"), + def_glWindowPos3fv, + ); + fn_glWindowPos3i = new Deno.UnsafeFnPointer( + proc("glWindowPos3i"), + def_glWindowPos3i, + ); + fn_glWindowPos3iv = new Deno.UnsafeFnPointer( + proc("glWindowPos3iv"), + def_glWindowPos3iv, + ); + fn_glWindowPos3s = new Deno.UnsafeFnPointer( + proc("glWindowPos3s"), + def_glWindowPos3s, + ); + fn_glWindowPos3sv = new Deno.UnsafeFnPointer( + proc("glWindowPos3sv"), + def_glWindowPos3sv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); } diff --git a/api/gl1.ts b/api/gl1.ts index e6a3173..aaaadbf 100644 --- a/api/gl1.ts +++ b/api/gl1.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -708,7 +716,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1205,7 +1223,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1224,7 +1244,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1243,7 +1265,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1264,7 +1288,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -4693,7 +4719,18 @@ export function Map1f( } export const def_glMap2d = { - parameters: ["u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -4726,7 +4763,18 @@ export function Map2d( } export const def_glMap2f = { - parameters: ["u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5421,7 +5469,9 @@ export const def_glGetPolygonStipple = { result: "void", } as const; -let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetPolygonStipple +>; export function GetPolygonStipple( mask: Buffer, @@ -5820,58 +5870,175 @@ export function Translatef( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); fn_glNewList = new Deno.UnsafeFnPointer(proc("glNewList"), def_glNewList); fn_glEndList = new Deno.UnsafeFnPointer(proc("glEndList"), def_glEndList); fn_glCallList = new Deno.UnsafeFnPointer(proc("glCallList"), def_glCallList); - fn_glCallLists = new Deno.UnsafeFnPointer(proc("glCallLists"), def_glCallLists); - fn_glDeleteLists = new Deno.UnsafeFnPointer(proc("glDeleteLists"), def_glDeleteLists); + fn_glCallLists = new Deno.UnsafeFnPointer( + proc("glCallLists"), + def_glCallLists, + ); + fn_glDeleteLists = new Deno.UnsafeFnPointer( + proc("glDeleteLists"), + def_glDeleteLists, + ); fn_glGenLists = new Deno.UnsafeFnPointer(proc("glGenLists"), def_glGenLists); fn_glListBase = new Deno.UnsafeFnPointer(proc("glListBase"), def_glListBase); fn_glBegin = new Deno.UnsafeFnPointer(proc("glBegin"), def_glBegin); @@ -5887,11 +6054,20 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor3s = new Deno.UnsafeFnPointer(proc("glColor3s"), def_glColor3s); fn_glColor3sv = new Deno.UnsafeFnPointer(proc("glColor3sv"), def_glColor3sv); fn_glColor3ub = new Deno.UnsafeFnPointer(proc("glColor3ub"), def_glColor3ub); - fn_glColor3ubv = new Deno.UnsafeFnPointer(proc("glColor3ubv"), def_glColor3ubv); + fn_glColor3ubv = new Deno.UnsafeFnPointer( + proc("glColor3ubv"), + def_glColor3ubv, + ); fn_glColor3ui = new Deno.UnsafeFnPointer(proc("glColor3ui"), def_glColor3ui); - fn_glColor3uiv = new Deno.UnsafeFnPointer(proc("glColor3uiv"), def_glColor3uiv); + fn_glColor3uiv = new Deno.UnsafeFnPointer( + proc("glColor3uiv"), + def_glColor3uiv, + ); fn_glColor3us = new Deno.UnsafeFnPointer(proc("glColor3us"), def_glColor3us); - fn_glColor3usv = new Deno.UnsafeFnPointer(proc("glColor3usv"), def_glColor3usv); + fn_glColor3usv = new Deno.UnsafeFnPointer( + proc("glColor3usv"), + def_glColor3usv, + ); fn_glColor4b = new Deno.UnsafeFnPointer(proc("glColor4b"), def_glColor4b); fn_glColor4bv = new Deno.UnsafeFnPointer(proc("glColor4bv"), def_glColor4bv); fn_glColor4d = new Deno.UnsafeFnPointer(proc("glColor4d"), def_glColor4d); @@ -5903,13 +6079,25 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor4s = new Deno.UnsafeFnPointer(proc("glColor4s"), def_glColor4s); fn_glColor4sv = new Deno.UnsafeFnPointer(proc("glColor4sv"), def_glColor4sv); fn_glColor4ub = new Deno.UnsafeFnPointer(proc("glColor4ub"), def_glColor4ub); - fn_glColor4ubv = new Deno.UnsafeFnPointer(proc("glColor4ubv"), def_glColor4ubv); + fn_glColor4ubv = new Deno.UnsafeFnPointer( + proc("glColor4ubv"), + def_glColor4ubv, + ); fn_glColor4ui = new Deno.UnsafeFnPointer(proc("glColor4ui"), def_glColor4ui); - fn_glColor4uiv = new Deno.UnsafeFnPointer(proc("glColor4uiv"), def_glColor4uiv); + fn_glColor4uiv = new Deno.UnsafeFnPointer( + proc("glColor4uiv"), + def_glColor4uiv, + ); fn_glColor4us = new Deno.UnsafeFnPointer(proc("glColor4us"), def_glColor4us); - fn_glColor4usv = new Deno.UnsafeFnPointer(proc("glColor4usv"), def_glColor4usv); + fn_glColor4usv = new Deno.UnsafeFnPointer( + proc("glColor4usv"), + def_glColor4usv, + ); fn_glEdgeFlag = new Deno.UnsafeFnPointer(proc("glEdgeFlag"), def_glEdgeFlag); - fn_glEdgeFlagv = new Deno.UnsafeFnPointer(proc("glEdgeFlagv"), def_glEdgeFlagv); + fn_glEdgeFlagv = new Deno.UnsafeFnPointer( + proc("glEdgeFlagv"), + def_glEdgeFlagv, + ); fn_glEnd = new Deno.UnsafeFnPointer(proc("glEnd"), def_glEnd); fn_glIndexd = new Deno.UnsafeFnPointer(proc("glIndexd"), def_glIndexd); fn_glIndexdv = new Deno.UnsafeFnPointer(proc("glIndexdv"), def_glIndexdv); @@ -5920,39 +6108,126 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glIndexs = new Deno.UnsafeFnPointer(proc("glIndexs"), def_glIndexs); fn_glIndexsv = new Deno.UnsafeFnPointer(proc("glIndexsv"), def_glIndexsv); fn_glNormal3b = new Deno.UnsafeFnPointer(proc("glNormal3b"), def_glNormal3b); - fn_glNormal3bv = new Deno.UnsafeFnPointer(proc("glNormal3bv"), def_glNormal3bv); + fn_glNormal3bv = new Deno.UnsafeFnPointer( + proc("glNormal3bv"), + def_glNormal3bv, + ); fn_glNormal3d = new Deno.UnsafeFnPointer(proc("glNormal3d"), def_glNormal3d); - fn_glNormal3dv = new Deno.UnsafeFnPointer(proc("glNormal3dv"), def_glNormal3dv); + fn_glNormal3dv = new Deno.UnsafeFnPointer( + proc("glNormal3dv"), + def_glNormal3dv, + ); fn_glNormal3f = new Deno.UnsafeFnPointer(proc("glNormal3f"), def_glNormal3f); - fn_glNormal3fv = new Deno.UnsafeFnPointer(proc("glNormal3fv"), def_glNormal3fv); + fn_glNormal3fv = new Deno.UnsafeFnPointer( + proc("glNormal3fv"), + def_glNormal3fv, + ); fn_glNormal3i = new Deno.UnsafeFnPointer(proc("glNormal3i"), def_glNormal3i); - fn_glNormal3iv = new Deno.UnsafeFnPointer(proc("glNormal3iv"), def_glNormal3iv); + fn_glNormal3iv = new Deno.UnsafeFnPointer( + proc("glNormal3iv"), + def_glNormal3iv, + ); fn_glNormal3s = new Deno.UnsafeFnPointer(proc("glNormal3s"), def_glNormal3s); - fn_glNormal3sv = new Deno.UnsafeFnPointer(proc("glNormal3sv"), def_glNormal3sv); - fn_glRasterPos2d = new Deno.UnsafeFnPointer(proc("glRasterPos2d"), def_glRasterPos2d); - fn_glRasterPos2dv = new Deno.UnsafeFnPointer(proc("glRasterPos2dv"), def_glRasterPos2dv); - fn_glRasterPos2f = new Deno.UnsafeFnPointer(proc("glRasterPos2f"), def_glRasterPos2f); - fn_glRasterPos2fv = new Deno.UnsafeFnPointer(proc("glRasterPos2fv"), def_glRasterPos2fv); - fn_glRasterPos2i = new Deno.UnsafeFnPointer(proc("glRasterPos2i"), def_glRasterPos2i); - fn_glRasterPos2iv = new Deno.UnsafeFnPointer(proc("glRasterPos2iv"), def_glRasterPos2iv); - fn_glRasterPos2s = new Deno.UnsafeFnPointer(proc("glRasterPos2s"), def_glRasterPos2s); - fn_glRasterPos2sv = new Deno.UnsafeFnPointer(proc("glRasterPos2sv"), def_glRasterPos2sv); - fn_glRasterPos3d = new Deno.UnsafeFnPointer(proc("glRasterPos3d"), def_glRasterPos3d); - fn_glRasterPos3dv = new Deno.UnsafeFnPointer(proc("glRasterPos3dv"), def_glRasterPos3dv); - fn_glRasterPos3f = new Deno.UnsafeFnPointer(proc("glRasterPos3f"), def_glRasterPos3f); - fn_glRasterPos3fv = new Deno.UnsafeFnPointer(proc("glRasterPos3fv"), def_glRasterPos3fv); - fn_glRasterPos3i = new Deno.UnsafeFnPointer(proc("glRasterPos3i"), def_glRasterPos3i); - fn_glRasterPos3iv = new Deno.UnsafeFnPointer(proc("glRasterPos3iv"), def_glRasterPos3iv); - fn_glRasterPos3s = new Deno.UnsafeFnPointer(proc("glRasterPos3s"), def_glRasterPos3s); - fn_glRasterPos3sv = new Deno.UnsafeFnPointer(proc("glRasterPos3sv"), def_glRasterPos3sv); - fn_glRasterPos4d = new Deno.UnsafeFnPointer(proc("glRasterPos4d"), def_glRasterPos4d); - fn_glRasterPos4dv = new Deno.UnsafeFnPointer(proc("glRasterPos4dv"), def_glRasterPos4dv); - fn_glRasterPos4f = new Deno.UnsafeFnPointer(proc("glRasterPos4f"), def_glRasterPos4f); - fn_glRasterPos4fv = new Deno.UnsafeFnPointer(proc("glRasterPos4fv"), def_glRasterPos4fv); - fn_glRasterPos4i = new Deno.UnsafeFnPointer(proc("glRasterPos4i"), def_glRasterPos4i); - fn_glRasterPos4iv = new Deno.UnsafeFnPointer(proc("glRasterPos4iv"), def_glRasterPos4iv); - fn_glRasterPos4s = new Deno.UnsafeFnPointer(proc("glRasterPos4s"), def_glRasterPos4s); - fn_glRasterPos4sv = new Deno.UnsafeFnPointer(proc("glRasterPos4sv"), def_glRasterPos4sv); + fn_glNormal3sv = new Deno.UnsafeFnPointer( + proc("glNormal3sv"), + def_glNormal3sv, + ); + fn_glRasterPos2d = new Deno.UnsafeFnPointer( + proc("glRasterPos2d"), + def_glRasterPos2d, + ); + fn_glRasterPos2dv = new Deno.UnsafeFnPointer( + proc("glRasterPos2dv"), + def_glRasterPos2dv, + ); + fn_glRasterPos2f = new Deno.UnsafeFnPointer( + proc("glRasterPos2f"), + def_glRasterPos2f, + ); + fn_glRasterPos2fv = new Deno.UnsafeFnPointer( + proc("glRasterPos2fv"), + def_glRasterPos2fv, + ); + fn_glRasterPos2i = new Deno.UnsafeFnPointer( + proc("glRasterPos2i"), + def_glRasterPos2i, + ); + fn_glRasterPos2iv = new Deno.UnsafeFnPointer( + proc("glRasterPos2iv"), + def_glRasterPos2iv, + ); + fn_glRasterPos2s = new Deno.UnsafeFnPointer( + proc("glRasterPos2s"), + def_glRasterPos2s, + ); + fn_glRasterPos2sv = new Deno.UnsafeFnPointer( + proc("glRasterPos2sv"), + def_glRasterPos2sv, + ); + fn_glRasterPos3d = new Deno.UnsafeFnPointer( + proc("glRasterPos3d"), + def_glRasterPos3d, + ); + fn_glRasterPos3dv = new Deno.UnsafeFnPointer( + proc("glRasterPos3dv"), + def_glRasterPos3dv, + ); + fn_glRasterPos3f = new Deno.UnsafeFnPointer( + proc("glRasterPos3f"), + def_glRasterPos3f, + ); + fn_glRasterPos3fv = new Deno.UnsafeFnPointer( + proc("glRasterPos3fv"), + def_glRasterPos3fv, + ); + fn_glRasterPos3i = new Deno.UnsafeFnPointer( + proc("glRasterPos3i"), + def_glRasterPos3i, + ); + fn_glRasterPos3iv = new Deno.UnsafeFnPointer( + proc("glRasterPos3iv"), + def_glRasterPos3iv, + ); + fn_glRasterPos3s = new Deno.UnsafeFnPointer( + proc("glRasterPos3s"), + def_glRasterPos3s, + ); + fn_glRasterPos3sv = new Deno.UnsafeFnPointer( + proc("glRasterPos3sv"), + def_glRasterPos3sv, + ); + fn_glRasterPos4d = new Deno.UnsafeFnPointer( + proc("glRasterPos4d"), + def_glRasterPos4d, + ); + fn_glRasterPos4dv = new Deno.UnsafeFnPointer( + proc("glRasterPos4dv"), + def_glRasterPos4dv, + ); + fn_glRasterPos4f = new Deno.UnsafeFnPointer( + proc("glRasterPos4f"), + def_glRasterPos4f, + ); + fn_glRasterPos4fv = new Deno.UnsafeFnPointer( + proc("glRasterPos4fv"), + def_glRasterPos4fv, + ); + fn_glRasterPos4i = new Deno.UnsafeFnPointer( + proc("glRasterPos4i"), + def_glRasterPos4i, + ); + fn_glRasterPos4iv = new Deno.UnsafeFnPointer( + proc("glRasterPos4iv"), + def_glRasterPos4iv, + ); + fn_glRasterPos4s = new Deno.UnsafeFnPointer( + proc("glRasterPos4s"), + def_glRasterPos4s, + ); + fn_glRasterPos4sv = new Deno.UnsafeFnPointer( + proc("glRasterPos4sv"), + def_glRasterPos4sv, + ); fn_glRectd = new Deno.UnsafeFnPointer(proc("glRectd"), def_glRectd); fn_glRectdv = new Deno.UnsafeFnPointer(proc("glRectdv"), def_glRectdv); fn_glRectf = new Deno.UnsafeFnPointer(proc("glRectf"), def_glRectf); @@ -5961,64 +6236,202 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glRectiv = new Deno.UnsafeFnPointer(proc("glRectiv"), def_glRectiv); fn_glRects = new Deno.UnsafeFnPointer(proc("glRects"), def_glRects); fn_glRectsv = new Deno.UnsafeFnPointer(proc("glRectsv"), def_glRectsv); - fn_glTexCoord1d = new Deno.UnsafeFnPointer(proc("glTexCoord1d"), def_glTexCoord1d); - fn_glTexCoord1dv = new Deno.UnsafeFnPointer(proc("glTexCoord1dv"), def_glTexCoord1dv); - fn_glTexCoord1f = new Deno.UnsafeFnPointer(proc("glTexCoord1f"), def_glTexCoord1f); - fn_glTexCoord1fv = new Deno.UnsafeFnPointer(proc("glTexCoord1fv"), def_glTexCoord1fv); - fn_glTexCoord1i = new Deno.UnsafeFnPointer(proc("glTexCoord1i"), def_glTexCoord1i); - fn_glTexCoord1iv = new Deno.UnsafeFnPointer(proc("glTexCoord1iv"), def_glTexCoord1iv); - fn_glTexCoord1s = new Deno.UnsafeFnPointer(proc("glTexCoord1s"), def_glTexCoord1s); - fn_glTexCoord1sv = new Deno.UnsafeFnPointer(proc("glTexCoord1sv"), def_glTexCoord1sv); - fn_glTexCoord2d = new Deno.UnsafeFnPointer(proc("glTexCoord2d"), def_glTexCoord2d); - fn_glTexCoord2dv = new Deno.UnsafeFnPointer(proc("glTexCoord2dv"), def_glTexCoord2dv); - fn_glTexCoord2f = new Deno.UnsafeFnPointer(proc("glTexCoord2f"), def_glTexCoord2f); - fn_glTexCoord2fv = new Deno.UnsafeFnPointer(proc("glTexCoord2fv"), def_glTexCoord2fv); - fn_glTexCoord2i = new Deno.UnsafeFnPointer(proc("glTexCoord2i"), def_glTexCoord2i); - fn_glTexCoord2iv = new Deno.UnsafeFnPointer(proc("glTexCoord2iv"), def_glTexCoord2iv); - fn_glTexCoord2s = new Deno.UnsafeFnPointer(proc("glTexCoord2s"), def_glTexCoord2s); - fn_glTexCoord2sv = new Deno.UnsafeFnPointer(proc("glTexCoord2sv"), def_glTexCoord2sv); - fn_glTexCoord3d = new Deno.UnsafeFnPointer(proc("glTexCoord3d"), def_glTexCoord3d); - fn_glTexCoord3dv = new Deno.UnsafeFnPointer(proc("glTexCoord3dv"), def_glTexCoord3dv); - fn_glTexCoord3f = new Deno.UnsafeFnPointer(proc("glTexCoord3f"), def_glTexCoord3f); - fn_glTexCoord3fv = new Deno.UnsafeFnPointer(proc("glTexCoord3fv"), def_glTexCoord3fv); - fn_glTexCoord3i = new Deno.UnsafeFnPointer(proc("glTexCoord3i"), def_glTexCoord3i); - fn_glTexCoord3iv = new Deno.UnsafeFnPointer(proc("glTexCoord3iv"), def_glTexCoord3iv); - fn_glTexCoord3s = new Deno.UnsafeFnPointer(proc("glTexCoord3s"), def_glTexCoord3s); - fn_glTexCoord3sv = new Deno.UnsafeFnPointer(proc("glTexCoord3sv"), def_glTexCoord3sv); - fn_glTexCoord4d = new Deno.UnsafeFnPointer(proc("glTexCoord4d"), def_glTexCoord4d); - fn_glTexCoord4dv = new Deno.UnsafeFnPointer(proc("glTexCoord4dv"), def_glTexCoord4dv); - fn_glTexCoord4f = new Deno.UnsafeFnPointer(proc("glTexCoord4f"), def_glTexCoord4f); - fn_glTexCoord4fv = new Deno.UnsafeFnPointer(proc("glTexCoord4fv"), def_glTexCoord4fv); - fn_glTexCoord4i = new Deno.UnsafeFnPointer(proc("glTexCoord4i"), def_glTexCoord4i); - fn_glTexCoord4iv = new Deno.UnsafeFnPointer(proc("glTexCoord4iv"), def_glTexCoord4iv); - fn_glTexCoord4s = new Deno.UnsafeFnPointer(proc("glTexCoord4s"), def_glTexCoord4s); - fn_glTexCoord4sv = new Deno.UnsafeFnPointer(proc("glTexCoord4sv"), def_glTexCoord4sv); + fn_glTexCoord1d = new Deno.UnsafeFnPointer( + proc("glTexCoord1d"), + def_glTexCoord1d, + ); + fn_glTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glTexCoord1dv"), + def_glTexCoord1dv, + ); + fn_glTexCoord1f = new Deno.UnsafeFnPointer( + proc("glTexCoord1f"), + def_glTexCoord1f, + ); + fn_glTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glTexCoord1fv"), + def_glTexCoord1fv, + ); + fn_glTexCoord1i = new Deno.UnsafeFnPointer( + proc("glTexCoord1i"), + def_glTexCoord1i, + ); + fn_glTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glTexCoord1iv"), + def_glTexCoord1iv, + ); + fn_glTexCoord1s = new Deno.UnsafeFnPointer( + proc("glTexCoord1s"), + def_glTexCoord1s, + ); + fn_glTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glTexCoord1sv"), + def_glTexCoord1sv, + ); + fn_glTexCoord2d = new Deno.UnsafeFnPointer( + proc("glTexCoord2d"), + def_glTexCoord2d, + ); + fn_glTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glTexCoord2dv"), + def_glTexCoord2dv, + ); + fn_glTexCoord2f = new Deno.UnsafeFnPointer( + proc("glTexCoord2f"), + def_glTexCoord2f, + ); + fn_glTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glTexCoord2fv"), + def_glTexCoord2fv, + ); + fn_glTexCoord2i = new Deno.UnsafeFnPointer( + proc("glTexCoord2i"), + def_glTexCoord2i, + ); + fn_glTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glTexCoord2iv"), + def_glTexCoord2iv, + ); + fn_glTexCoord2s = new Deno.UnsafeFnPointer( + proc("glTexCoord2s"), + def_glTexCoord2s, + ); + fn_glTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glTexCoord2sv"), + def_glTexCoord2sv, + ); + fn_glTexCoord3d = new Deno.UnsafeFnPointer( + proc("glTexCoord3d"), + def_glTexCoord3d, + ); + fn_glTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glTexCoord3dv"), + def_glTexCoord3dv, + ); + fn_glTexCoord3f = new Deno.UnsafeFnPointer( + proc("glTexCoord3f"), + def_glTexCoord3f, + ); + fn_glTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glTexCoord3fv"), + def_glTexCoord3fv, + ); + fn_glTexCoord3i = new Deno.UnsafeFnPointer( + proc("glTexCoord3i"), + def_glTexCoord3i, + ); + fn_glTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glTexCoord3iv"), + def_glTexCoord3iv, + ); + fn_glTexCoord3s = new Deno.UnsafeFnPointer( + proc("glTexCoord3s"), + def_glTexCoord3s, + ); + fn_glTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glTexCoord3sv"), + def_glTexCoord3sv, + ); + fn_glTexCoord4d = new Deno.UnsafeFnPointer( + proc("glTexCoord4d"), + def_glTexCoord4d, + ); + fn_glTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glTexCoord4dv"), + def_glTexCoord4dv, + ); + fn_glTexCoord4f = new Deno.UnsafeFnPointer( + proc("glTexCoord4f"), + def_glTexCoord4f, + ); + fn_glTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glTexCoord4fv"), + def_glTexCoord4fv, + ); + fn_glTexCoord4i = new Deno.UnsafeFnPointer( + proc("glTexCoord4i"), + def_glTexCoord4i, + ); + fn_glTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glTexCoord4iv"), + def_glTexCoord4iv, + ); + fn_glTexCoord4s = new Deno.UnsafeFnPointer( + proc("glTexCoord4s"), + def_glTexCoord4s, + ); + fn_glTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glTexCoord4sv"), + def_glTexCoord4sv, + ); fn_glVertex2d = new Deno.UnsafeFnPointer(proc("glVertex2d"), def_glVertex2d); - fn_glVertex2dv = new Deno.UnsafeFnPointer(proc("glVertex2dv"), def_glVertex2dv); + fn_glVertex2dv = new Deno.UnsafeFnPointer( + proc("glVertex2dv"), + def_glVertex2dv, + ); fn_glVertex2f = new Deno.UnsafeFnPointer(proc("glVertex2f"), def_glVertex2f); - fn_glVertex2fv = new Deno.UnsafeFnPointer(proc("glVertex2fv"), def_glVertex2fv); + fn_glVertex2fv = new Deno.UnsafeFnPointer( + proc("glVertex2fv"), + def_glVertex2fv, + ); fn_glVertex2i = new Deno.UnsafeFnPointer(proc("glVertex2i"), def_glVertex2i); - fn_glVertex2iv = new Deno.UnsafeFnPointer(proc("glVertex2iv"), def_glVertex2iv); + fn_glVertex2iv = new Deno.UnsafeFnPointer( + proc("glVertex2iv"), + def_glVertex2iv, + ); fn_glVertex2s = new Deno.UnsafeFnPointer(proc("glVertex2s"), def_glVertex2s); - fn_glVertex2sv = new Deno.UnsafeFnPointer(proc("glVertex2sv"), def_glVertex2sv); + fn_glVertex2sv = new Deno.UnsafeFnPointer( + proc("glVertex2sv"), + def_glVertex2sv, + ); fn_glVertex3d = new Deno.UnsafeFnPointer(proc("glVertex3d"), def_glVertex3d); - fn_glVertex3dv = new Deno.UnsafeFnPointer(proc("glVertex3dv"), def_glVertex3dv); + fn_glVertex3dv = new Deno.UnsafeFnPointer( + proc("glVertex3dv"), + def_glVertex3dv, + ); fn_glVertex3f = new Deno.UnsafeFnPointer(proc("glVertex3f"), def_glVertex3f); - fn_glVertex3fv = new Deno.UnsafeFnPointer(proc("glVertex3fv"), def_glVertex3fv); + fn_glVertex3fv = new Deno.UnsafeFnPointer( + proc("glVertex3fv"), + def_glVertex3fv, + ); fn_glVertex3i = new Deno.UnsafeFnPointer(proc("glVertex3i"), def_glVertex3i); - fn_glVertex3iv = new Deno.UnsafeFnPointer(proc("glVertex3iv"), def_glVertex3iv); + fn_glVertex3iv = new Deno.UnsafeFnPointer( + proc("glVertex3iv"), + def_glVertex3iv, + ); fn_glVertex3s = new Deno.UnsafeFnPointer(proc("glVertex3s"), def_glVertex3s); - fn_glVertex3sv = new Deno.UnsafeFnPointer(proc("glVertex3sv"), def_glVertex3sv); + fn_glVertex3sv = new Deno.UnsafeFnPointer( + proc("glVertex3sv"), + def_glVertex3sv, + ); fn_glVertex4d = new Deno.UnsafeFnPointer(proc("glVertex4d"), def_glVertex4d); - fn_glVertex4dv = new Deno.UnsafeFnPointer(proc("glVertex4dv"), def_glVertex4dv); + fn_glVertex4dv = new Deno.UnsafeFnPointer( + proc("glVertex4dv"), + def_glVertex4dv, + ); fn_glVertex4f = new Deno.UnsafeFnPointer(proc("glVertex4f"), def_glVertex4f); - fn_glVertex4fv = new Deno.UnsafeFnPointer(proc("glVertex4fv"), def_glVertex4fv); + fn_glVertex4fv = new Deno.UnsafeFnPointer( + proc("glVertex4fv"), + def_glVertex4fv, + ); fn_glVertex4i = new Deno.UnsafeFnPointer(proc("glVertex4i"), def_glVertex4i); - fn_glVertex4iv = new Deno.UnsafeFnPointer(proc("glVertex4iv"), def_glVertex4iv); + fn_glVertex4iv = new Deno.UnsafeFnPointer( + proc("glVertex4iv"), + def_glVertex4iv, + ); fn_glVertex4s = new Deno.UnsafeFnPointer(proc("glVertex4s"), def_glVertex4s); - fn_glVertex4sv = new Deno.UnsafeFnPointer(proc("glVertex4sv"), def_glVertex4sv); - fn_glClipPlane = new Deno.UnsafeFnPointer(proc("glClipPlane"), def_glClipPlane); - fn_glColorMaterial = new Deno.UnsafeFnPointer(proc("glColorMaterial"), def_glColorMaterial); + fn_glVertex4sv = new Deno.UnsafeFnPointer( + proc("glVertex4sv"), + def_glVertex4sv, + ); + fn_glClipPlane = new Deno.UnsafeFnPointer( + proc("glClipPlane"), + def_glClipPlane, + ); + fn_glColorMaterial = new Deno.UnsafeFnPointer( + proc("glColorMaterial"), + def_glColorMaterial, + ); fn_glFogf = new Deno.UnsafeFnPointer(proc("glFogf"), def_glFogf); fn_glFogfv = new Deno.UnsafeFnPointer(proc("glFogfv"), def_glFogfv); fn_glFogi = new Deno.UnsafeFnPointer(proc("glFogi"), def_glFogi); @@ -6027,17 +6440,50 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glLightfv = new Deno.UnsafeFnPointer(proc("glLightfv"), def_glLightfv); fn_glLighti = new Deno.UnsafeFnPointer(proc("glLighti"), def_glLighti); fn_glLightiv = new Deno.UnsafeFnPointer(proc("glLightiv"), def_glLightiv); - fn_glLightModelf = new Deno.UnsafeFnPointer(proc("glLightModelf"), def_glLightModelf); - fn_glLightModelfv = new Deno.UnsafeFnPointer(proc("glLightModelfv"), def_glLightModelfv); - fn_glLightModeli = new Deno.UnsafeFnPointer(proc("glLightModeli"), def_glLightModeli); - fn_glLightModeliv = new Deno.UnsafeFnPointer(proc("glLightModeliv"), def_glLightModeliv); - fn_glLineStipple = new Deno.UnsafeFnPointer(proc("glLineStipple"), def_glLineStipple); - fn_glMaterialf = new Deno.UnsafeFnPointer(proc("glMaterialf"), def_glMaterialf); - fn_glMaterialfv = new Deno.UnsafeFnPointer(proc("glMaterialfv"), def_glMaterialfv); - fn_glMateriali = new Deno.UnsafeFnPointer(proc("glMateriali"), def_glMateriali); - fn_glMaterialiv = new Deno.UnsafeFnPointer(proc("glMaterialiv"), def_glMaterialiv); - fn_glPolygonStipple = new Deno.UnsafeFnPointer(proc("glPolygonStipple"), def_glPolygonStipple); - fn_glShadeModel = new Deno.UnsafeFnPointer(proc("glShadeModel"), def_glShadeModel); + fn_glLightModelf = new Deno.UnsafeFnPointer( + proc("glLightModelf"), + def_glLightModelf, + ); + fn_glLightModelfv = new Deno.UnsafeFnPointer( + proc("glLightModelfv"), + def_glLightModelfv, + ); + fn_glLightModeli = new Deno.UnsafeFnPointer( + proc("glLightModeli"), + def_glLightModeli, + ); + fn_glLightModeliv = new Deno.UnsafeFnPointer( + proc("glLightModeliv"), + def_glLightModeliv, + ); + fn_glLineStipple = new Deno.UnsafeFnPointer( + proc("glLineStipple"), + def_glLineStipple, + ); + fn_glMaterialf = new Deno.UnsafeFnPointer( + proc("glMaterialf"), + def_glMaterialf, + ); + fn_glMaterialfv = new Deno.UnsafeFnPointer( + proc("glMaterialfv"), + def_glMaterialfv, + ); + fn_glMateriali = new Deno.UnsafeFnPointer( + proc("glMateriali"), + def_glMateriali, + ); + fn_glMaterialiv = new Deno.UnsafeFnPointer( + proc("glMaterialiv"), + def_glMaterialiv, + ); + fn_glPolygonStipple = new Deno.UnsafeFnPointer( + proc("glPolygonStipple"), + def_glPolygonStipple, + ); + fn_glShadeModel = new Deno.UnsafeFnPointer( + proc("glShadeModel"), + def_glShadeModel, + ); fn_glTexEnvf = new Deno.UnsafeFnPointer(proc("glTexEnvf"), def_glTexEnvf); fn_glTexEnvfv = new Deno.UnsafeFnPointer(proc("glTexEnvfv"), def_glTexEnvfv); fn_glTexEnvi = new Deno.UnsafeFnPointer(proc("glTexEnvi"), def_glTexEnvi); @@ -6048,81 +6494,258 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glTexGenfv = new Deno.UnsafeFnPointer(proc("glTexGenfv"), def_glTexGenfv); fn_glTexGeni = new Deno.UnsafeFnPointer(proc("glTexGeni"), def_glTexGeni); fn_glTexGeniv = new Deno.UnsafeFnPointer(proc("glTexGeniv"), def_glTexGeniv); - fn_glFeedbackBuffer = new Deno.UnsafeFnPointer(proc("glFeedbackBuffer"), def_glFeedbackBuffer); - fn_glSelectBuffer = new Deno.UnsafeFnPointer(proc("glSelectBuffer"), def_glSelectBuffer); - fn_glRenderMode = new Deno.UnsafeFnPointer(proc("glRenderMode"), def_glRenderMode); - fn_glInitNames = new Deno.UnsafeFnPointer(proc("glInitNames"), def_glInitNames); + fn_glFeedbackBuffer = new Deno.UnsafeFnPointer( + proc("glFeedbackBuffer"), + def_glFeedbackBuffer, + ); + fn_glSelectBuffer = new Deno.UnsafeFnPointer( + proc("glSelectBuffer"), + def_glSelectBuffer, + ); + fn_glRenderMode = new Deno.UnsafeFnPointer( + proc("glRenderMode"), + def_glRenderMode, + ); + fn_glInitNames = new Deno.UnsafeFnPointer( + proc("glInitNames"), + def_glInitNames, + ); fn_glLoadName = new Deno.UnsafeFnPointer(proc("glLoadName"), def_glLoadName); - fn_glPassThrough = new Deno.UnsafeFnPointer(proc("glPassThrough"), def_glPassThrough); + fn_glPassThrough = new Deno.UnsafeFnPointer( + proc("glPassThrough"), + def_glPassThrough, + ); fn_glPopName = new Deno.UnsafeFnPointer(proc("glPopName"), def_glPopName); fn_glPushName = new Deno.UnsafeFnPointer(proc("glPushName"), def_glPushName); - fn_glClearAccum = new Deno.UnsafeFnPointer(proc("glClearAccum"), def_glClearAccum); - fn_glClearIndex = new Deno.UnsafeFnPointer(proc("glClearIndex"), def_glClearIndex); - fn_glIndexMask = new Deno.UnsafeFnPointer(proc("glIndexMask"), def_glIndexMask); + fn_glClearAccum = new Deno.UnsafeFnPointer( + proc("glClearAccum"), + def_glClearAccum, + ); + fn_glClearIndex = new Deno.UnsafeFnPointer( + proc("glClearIndex"), + def_glClearIndex, + ); + fn_glIndexMask = new Deno.UnsafeFnPointer( + proc("glIndexMask"), + def_glIndexMask, + ); fn_glAccum = new Deno.UnsafeFnPointer(proc("glAccum"), def_glAccum); - fn_glPopAttrib = new Deno.UnsafeFnPointer(proc("glPopAttrib"), def_glPopAttrib); - fn_glPushAttrib = new Deno.UnsafeFnPointer(proc("glPushAttrib"), def_glPushAttrib); + fn_glPopAttrib = new Deno.UnsafeFnPointer( + proc("glPopAttrib"), + def_glPopAttrib, + ); + fn_glPushAttrib = new Deno.UnsafeFnPointer( + proc("glPushAttrib"), + def_glPushAttrib, + ); fn_glMap1d = new Deno.UnsafeFnPointer(proc("glMap1d"), def_glMap1d); fn_glMap1f = new Deno.UnsafeFnPointer(proc("glMap1f"), def_glMap1f); fn_glMap2d = new Deno.UnsafeFnPointer(proc("glMap2d"), def_glMap2d); fn_glMap2f = new Deno.UnsafeFnPointer(proc("glMap2f"), def_glMap2f); - fn_glMapGrid1d = new Deno.UnsafeFnPointer(proc("glMapGrid1d"), def_glMapGrid1d); - fn_glMapGrid1f = new Deno.UnsafeFnPointer(proc("glMapGrid1f"), def_glMapGrid1f); - fn_glMapGrid2d = new Deno.UnsafeFnPointer(proc("glMapGrid2d"), def_glMapGrid2d); - fn_glMapGrid2f = new Deno.UnsafeFnPointer(proc("glMapGrid2f"), def_glMapGrid2f); - fn_glEvalCoord1d = new Deno.UnsafeFnPointer(proc("glEvalCoord1d"), def_glEvalCoord1d); - fn_glEvalCoord1dv = new Deno.UnsafeFnPointer(proc("glEvalCoord1dv"), def_glEvalCoord1dv); - fn_glEvalCoord1f = new Deno.UnsafeFnPointer(proc("glEvalCoord1f"), def_glEvalCoord1f); - fn_glEvalCoord1fv = new Deno.UnsafeFnPointer(proc("glEvalCoord1fv"), def_glEvalCoord1fv); - fn_glEvalCoord2d = new Deno.UnsafeFnPointer(proc("glEvalCoord2d"), def_glEvalCoord2d); - fn_glEvalCoord2dv = new Deno.UnsafeFnPointer(proc("glEvalCoord2dv"), def_glEvalCoord2dv); - fn_glEvalCoord2f = new Deno.UnsafeFnPointer(proc("glEvalCoord2f"), def_glEvalCoord2f); - fn_glEvalCoord2fv = new Deno.UnsafeFnPointer(proc("glEvalCoord2fv"), def_glEvalCoord2fv); - fn_glEvalMesh1 = new Deno.UnsafeFnPointer(proc("glEvalMesh1"), def_glEvalMesh1); - fn_glEvalPoint1 = new Deno.UnsafeFnPointer(proc("glEvalPoint1"), def_glEvalPoint1); - fn_glEvalMesh2 = new Deno.UnsafeFnPointer(proc("glEvalMesh2"), def_glEvalMesh2); - fn_glEvalPoint2 = new Deno.UnsafeFnPointer(proc("glEvalPoint2"), def_glEvalPoint2); - fn_glAlphaFunc = new Deno.UnsafeFnPointer(proc("glAlphaFunc"), def_glAlphaFunc); - fn_glPixelZoom = new Deno.UnsafeFnPointer(proc("glPixelZoom"), def_glPixelZoom); - fn_glPixelTransferf = new Deno.UnsafeFnPointer(proc("glPixelTransferf"), def_glPixelTransferf); - fn_glPixelTransferi = new Deno.UnsafeFnPointer(proc("glPixelTransferi"), def_glPixelTransferi); - fn_glPixelMapfv = new Deno.UnsafeFnPointer(proc("glPixelMapfv"), def_glPixelMapfv); - fn_glPixelMapuiv = new Deno.UnsafeFnPointer(proc("glPixelMapuiv"), def_glPixelMapuiv); - fn_glPixelMapusv = new Deno.UnsafeFnPointer(proc("glPixelMapusv"), def_glPixelMapusv); - fn_glCopyPixels = new Deno.UnsafeFnPointer(proc("glCopyPixels"), def_glCopyPixels); - fn_glDrawPixels = new Deno.UnsafeFnPointer(proc("glDrawPixels"), def_glDrawPixels); - fn_glGetClipPlane = new Deno.UnsafeFnPointer(proc("glGetClipPlane"), def_glGetClipPlane); - fn_glGetLightfv = new Deno.UnsafeFnPointer(proc("glGetLightfv"), def_glGetLightfv); - fn_glGetLightiv = new Deno.UnsafeFnPointer(proc("glGetLightiv"), def_glGetLightiv); + fn_glMapGrid1d = new Deno.UnsafeFnPointer( + proc("glMapGrid1d"), + def_glMapGrid1d, + ); + fn_glMapGrid1f = new Deno.UnsafeFnPointer( + proc("glMapGrid1f"), + def_glMapGrid1f, + ); + fn_glMapGrid2d = new Deno.UnsafeFnPointer( + proc("glMapGrid2d"), + def_glMapGrid2d, + ); + fn_glMapGrid2f = new Deno.UnsafeFnPointer( + proc("glMapGrid2f"), + def_glMapGrid2f, + ); + fn_glEvalCoord1d = new Deno.UnsafeFnPointer( + proc("glEvalCoord1d"), + def_glEvalCoord1d, + ); + fn_glEvalCoord1dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1dv"), + def_glEvalCoord1dv, + ); + fn_glEvalCoord1f = new Deno.UnsafeFnPointer( + proc("glEvalCoord1f"), + def_glEvalCoord1f, + ); + fn_glEvalCoord1fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1fv"), + def_glEvalCoord1fv, + ); + fn_glEvalCoord2d = new Deno.UnsafeFnPointer( + proc("glEvalCoord2d"), + def_glEvalCoord2d, + ); + fn_glEvalCoord2dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2dv"), + def_glEvalCoord2dv, + ); + fn_glEvalCoord2f = new Deno.UnsafeFnPointer( + proc("glEvalCoord2f"), + def_glEvalCoord2f, + ); + fn_glEvalCoord2fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2fv"), + def_glEvalCoord2fv, + ); + fn_glEvalMesh1 = new Deno.UnsafeFnPointer( + proc("glEvalMesh1"), + def_glEvalMesh1, + ); + fn_glEvalPoint1 = new Deno.UnsafeFnPointer( + proc("glEvalPoint1"), + def_glEvalPoint1, + ); + fn_glEvalMesh2 = new Deno.UnsafeFnPointer( + proc("glEvalMesh2"), + def_glEvalMesh2, + ); + fn_glEvalPoint2 = new Deno.UnsafeFnPointer( + proc("glEvalPoint2"), + def_glEvalPoint2, + ); + fn_glAlphaFunc = new Deno.UnsafeFnPointer( + proc("glAlphaFunc"), + def_glAlphaFunc, + ); + fn_glPixelZoom = new Deno.UnsafeFnPointer( + proc("glPixelZoom"), + def_glPixelZoom, + ); + fn_glPixelTransferf = new Deno.UnsafeFnPointer( + proc("glPixelTransferf"), + def_glPixelTransferf, + ); + fn_glPixelTransferi = new Deno.UnsafeFnPointer( + proc("glPixelTransferi"), + def_glPixelTransferi, + ); + fn_glPixelMapfv = new Deno.UnsafeFnPointer( + proc("glPixelMapfv"), + def_glPixelMapfv, + ); + fn_glPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glPixelMapuiv"), + def_glPixelMapuiv, + ); + fn_glPixelMapusv = new Deno.UnsafeFnPointer( + proc("glPixelMapusv"), + def_glPixelMapusv, + ); + fn_glCopyPixels = new Deno.UnsafeFnPointer( + proc("glCopyPixels"), + def_glCopyPixels, + ); + fn_glDrawPixels = new Deno.UnsafeFnPointer( + proc("glDrawPixels"), + def_glDrawPixels, + ); + fn_glGetClipPlane = new Deno.UnsafeFnPointer( + proc("glGetClipPlane"), + def_glGetClipPlane, + ); + fn_glGetLightfv = new Deno.UnsafeFnPointer( + proc("glGetLightfv"), + def_glGetLightfv, + ); + fn_glGetLightiv = new Deno.UnsafeFnPointer( + proc("glGetLightiv"), + def_glGetLightiv, + ); fn_glGetMapdv = new Deno.UnsafeFnPointer(proc("glGetMapdv"), def_glGetMapdv); fn_glGetMapfv = new Deno.UnsafeFnPointer(proc("glGetMapfv"), def_glGetMapfv); fn_glGetMapiv = new Deno.UnsafeFnPointer(proc("glGetMapiv"), def_glGetMapiv); - fn_glGetMaterialfv = new Deno.UnsafeFnPointer(proc("glGetMaterialfv"), def_glGetMaterialfv); - fn_glGetMaterialiv = new Deno.UnsafeFnPointer(proc("glGetMaterialiv"), def_glGetMaterialiv); - fn_glGetPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetPixelMapfv"), def_glGetPixelMapfv); - fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetPixelMapuiv"), def_glGetPixelMapuiv); - fn_glGetPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetPixelMapusv"), def_glGetPixelMapusv); - fn_glGetPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetPolygonStipple"), def_glGetPolygonStipple); - fn_glGetTexEnvfv = new Deno.UnsafeFnPointer(proc("glGetTexEnvfv"), def_glGetTexEnvfv); - fn_glGetTexEnviv = new Deno.UnsafeFnPointer(proc("glGetTexEnviv"), def_glGetTexEnviv); - fn_glGetTexGendv = new Deno.UnsafeFnPointer(proc("glGetTexGendv"), def_glGetTexGendv); - fn_glGetTexGenfv = new Deno.UnsafeFnPointer(proc("glGetTexGenfv"), def_glGetTexGenfv); - fn_glGetTexGeniv = new Deno.UnsafeFnPointer(proc("glGetTexGeniv"), def_glGetTexGeniv); + fn_glGetMaterialfv = new Deno.UnsafeFnPointer( + proc("glGetMaterialfv"), + def_glGetMaterialfv, + ); + fn_glGetMaterialiv = new Deno.UnsafeFnPointer( + proc("glGetMaterialiv"), + def_glGetMaterialiv, + ); + fn_glGetPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapfv"), + def_glGetPixelMapfv, + ); + fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapuiv"), + def_glGetPixelMapuiv, + ); + fn_glGetPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapusv"), + def_glGetPixelMapusv, + ); + fn_glGetPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetPolygonStipple"), + def_glGetPolygonStipple, + ); + fn_glGetTexEnvfv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvfv"), + def_glGetTexEnvfv, + ); + fn_glGetTexEnviv = new Deno.UnsafeFnPointer( + proc("glGetTexEnviv"), + def_glGetTexEnviv, + ); + fn_glGetTexGendv = new Deno.UnsafeFnPointer( + proc("glGetTexGendv"), + def_glGetTexGendv, + ); + fn_glGetTexGenfv = new Deno.UnsafeFnPointer( + proc("glGetTexGenfv"), + def_glGetTexGenfv, + ); + fn_glGetTexGeniv = new Deno.UnsafeFnPointer( + proc("glGetTexGeniv"), + def_glGetTexGeniv, + ); fn_glIsList = new Deno.UnsafeFnPointer(proc("glIsList"), def_glIsList); fn_glFrustum = new Deno.UnsafeFnPointer(proc("glFrustum"), def_glFrustum); - fn_glLoadIdentity = new Deno.UnsafeFnPointer(proc("glLoadIdentity"), def_glLoadIdentity); - fn_glLoadMatrixf = new Deno.UnsafeFnPointer(proc("glLoadMatrixf"), def_glLoadMatrixf); - fn_glLoadMatrixd = new Deno.UnsafeFnPointer(proc("glLoadMatrixd"), def_glLoadMatrixd); - fn_glMatrixMode = new Deno.UnsafeFnPointer(proc("glMatrixMode"), def_glMatrixMode); - fn_glMultMatrixf = new Deno.UnsafeFnPointer(proc("glMultMatrixf"), def_glMultMatrixf); - fn_glMultMatrixd = new Deno.UnsafeFnPointer(proc("glMultMatrixd"), def_glMultMatrixd); + fn_glLoadIdentity = new Deno.UnsafeFnPointer( + proc("glLoadIdentity"), + def_glLoadIdentity, + ); + fn_glLoadMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadMatrixf"), + def_glLoadMatrixf, + ); + fn_glLoadMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadMatrixd"), + def_glLoadMatrixd, + ); + fn_glMatrixMode = new Deno.UnsafeFnPointer( + proc("glMatrixMode"), + def_glMatrixMode, + ); + fn_glMultMatrixf = new Deno.UnsafeFnPointer( + proc("glMultMatrixf"), + def_glMultMatrixf, + ); + fn_glMultMatrixd = new Deno.UnsafeFnPointer( + proc("glMultMatrixd"), + def_glMultMatrixd, + ); fn_glOrtho = new Deno.UnsafeFnPointer(proc("glOrtho"), def_glOrtho); - fn_glPopMatrix = new Deno.UnsafeFnPointer(proc("glPopMatrix"), def_glPopMatrix); - fn_glPushMatrix = new Deno.UnsafeFnPointer(proc("glPushMatrix"), def_glPushMatrix); + fn_glPopMatrix = new Deno.UnsafeFnPointer( + proc("glPopMatrix"), + def_glPopMatrix, + ); + fn_glPushMatrix = new Deno.UnsafeFnPointer( + proc("glPushMatrix"), + def_glPushMatrix, + ); fn_glRotated = new Deno.UnsafeFnPointer(proc("glRotated"), def_glRotated); fn_glRotatef = new Deno.UnsafeFnPointer(proc("glRotatef"), def_glRotatef); fn_glScaled = new Deno.UnsafeFnPointer(proc("glScaled"), def_glScaled); fn_glScalef = new Deno.UnsafeFnPointer(proc("glScalef"), def_glScalef); - fn_glTranslated = new Deno.UnsafeFnPointer(proc("glTranslated"), def_glTranslated); - fn_glTranslatef = new Deno.UnsafeFnPointer(proc("glTranslatef"), def_glTranslatef); + fn_glTranslated = new Deno.UnsafeFnPointer( + proc("glTranslated"), + def_glTranslated, + ); + fn_glTranslatef = new Deno.UnsafeFnPointer( + proc("glTranslatef"), + def_glTranslatef, + ); } diff --git a/api/gl2.1.ts b/api/gl2.1.ts index baebd9a..7496b08 100644 --- a/api/gl2.1.ts +++ b/api/gl2.1.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1156,7 +1164,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1653,7 +1671,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1672,7 +1692,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1691,7 +1713,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1712,7 +1736,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -5141,7 +5167,18 @@ export function Map1f( } export const def_glMap2d = { - parameters: ["u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5174,7 +5211,18 @@ export function Map2d( } export const def_glMap2f = { - parameters: ["u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5869,7 +5917,9 @@ export const def_glGetPolygonStipple = { result: "void", } as const; -let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetPolygonStipple +>; export function GetPolygonStipple( mask: Buffer, @@ -6400,7 +6450,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -6425,7 +6477,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -6477,7 +6531,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6614,7 +6678,9 @@ export const def_glDisableClientState = { result: "void", } as const; -let fn_glDisableClientState!: Deno.UnsafeFnPointer; +let fn_glDisableClientState!: Deno.UnsafeFnPointer< + typeof def_glDisableClientState +>; export function DisableClientState( array: GLenum, @@ -6646,7 +6712,9 @@ export const def_glEnableClientState = { result: "void", } as const; -let fn_glEnableClientState!: Deno.UnsafeFnPointer; +let fn_glEnableClientState!: Deno.UnsafeFnPointer< + typeof def_glEnableClientState +>; export function EnableClientState( array: GLenum, @@ -6680,7 +6748,9 @@ export const def_glInterleavedArrays = { result: "void", } as const; -let fn_glInterleavedArrays!: Deno.UnsafeFnPointer; +let fn_glInterleavedArrays!: Deno.UnsafeFnPointer< + typeof def_glInterleavedArrays +>; export function InterleavedArrays( format: GLenum, @@ -6760,7 +6830,9 @@ export const def_glAreTexturesResident = { result: "u8", } as const; -let fn_glAreTexturesResident!: Deno.UnsafeFnPointer; +let fn_glAreTexturesResident!: Deno.UnsafeFnPointer< + typeof def_glAreTexturesResident +>; export function AreTexturesResident( n: GLsizei, @@ -6779,7 +6851,9 @@ export const def_glPrioritizeTextures = { result: "void", } as const; -let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer; +let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer< + typeof def_glPrioritizeTextures +>; export function PrioritizeTextures( n: GLsizei, @@ -6854,7 +6928,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -6875,7 +6951,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6908,7 +6995,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6947,7 +7046,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -7006,11 +7107,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -7041,7 +7154,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -7070,7 +7185,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -7093,11 +7210,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -7128,11 +7259,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -7163,7 +7306,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -7190,7 +7335,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -7209,7 +7356,9 @@ export const def_glClientActiveTexture = { result: "void", } as const; -let fn_glClientActiveTexture!: Deno.UnsafeFnPointer; +let fn_glClientActiveTexture!: Deno.UnsafeFnPointer< + typeof def_glClientActiveTexture +>; export function ClientActiveTexture( texture: GLenum, @@ -7816,7 +7965,9 @@ export const def_glLoadTransposeMatrixf = { result: "void", } as const; -let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixf +>; export function LoadTransposeMatrixf( m: Buffer, @@ -7831,7 +7982,9 @@ export const def_glLoadTransposeMatrixd = { result: "void", } as const; -let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixd +>; export function LoadTransposeMatrixd( m: Buffer, @@ -7846,7 +7999,9 @@ export const def_glMultTransposeMatrixf = { result: "void", } as const; -let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixf +>; export function MultTransposeMatrixf( m: Buffer, @@ -7861,7 +8016,9 @@ export const def_glMultTransposeMatrixd = { result: "void", } as const; -let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixd +>; export function MultTransposeMatrixd( m: Buffer, @@ -7876,7 +8033,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -7918,7 +8077,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -8107,7 +8268,9 @@ export const def_glSecondaryColor3bv = { result: "void", } as const; -let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3bv +>; export function SecondaryColor3bv( v: Buffer, @@ -8141,7 +8304,9 @@ export const def_glSecondaryColor3dv = { result: "void", } as const; -let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3dv +>; export function SecondaryColor3dv( v: Buffer, @@ -8175,7 +8340,9 @@ export const def_glSecondaryColor3fv = { result: "void", } as const; -let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3fv +>; export function SecondaryColor3fv( v: Buffer, @@ -8209,7 +8376,9 @@ export const def_glSecondaryColor3iv = { result: "void", } as const; -let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3iv +>; export function SecondaryColor3iv( v: Buffer, @@ -8243,7 +8412,9 @@ export const def_glSecondaryColor3sv = { result: "void", } as const; -let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3sv +>; export function SecondaryColor3sv( v: Buffer, @@ -8258,7 +8429,9 @@ export const def_glSecondaryColor3ub = { result: "void", } as const; -let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ub +>; export function SecondaryColor3ub( red: GLubyte, @@ -8277,7 +8450,9 @@ export const def_glSecondaryColor3ubv = { result: "void", } as const; -let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ubv +>; export function SecondaryColor3ubv( v: Buffer, @@ -8292,7 +8467,9 @@ export const def_glSecondaryColor3ui = { result: "void", } as const; -let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ui +>; export function SecondaryColor3ui( red: GLuint, @@ -8311,7 +8488,9 @@ export const def_glSecondaryColor3uiv = { result: "void", } as const; -let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3uiv +>; export function SecondaryColor3uiv( v: Buffer, @@ -8326,7 +8505,9 @@ export const def_glSecondaryColor3us = { result: "void", } as const; -let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3us +>; export function SecondaryColor3us( red: GLushort, @@ -8345,7 +8526,9 @@ export const def_glSecondaryColor3usv = { result: "void", } as const; -let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3usv +>; export function SecondaryColor3usv( v: Buffer, @@ -8360,7 +8543,9 @@ export const def_glSecondaryColorPointer = { result: "void", } as const; -let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorPointer +>; export function SecondaryColorPointer( size: GLint, @@ -8800,7 +8985,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -8980,7 +9167,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -8999,7 +9188,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -9018,7 +9209,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -9052,7 +9245,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -9073,7 +9268,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -9094,7 +9291,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -9128,7 +9327,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -9235,7 +9436,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -9250,7 +9453,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -9319,7 +9524,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -9340,7 +9547,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -9376,7 +9585,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -9458,7 +9669,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -9513,7 +9726,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -9532,7 +9747,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -9551,7 +9768,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -9570,7 +9789,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -10458,7 +10679,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -10475,7 +10698,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -10492,7 +10717,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -10714,7 +10941,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -10739,7 +10968,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -10760,7 +10991,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -10781,7 +11014,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -10802,7 +11037,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -10823,7 +11060,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -10844,7 +11083,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -10863,58 +11104,175 @@ export function UniformMatrix4x3fv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); fn_glNewList = new Deno.UnsafeFnPointer(proc("glNewList"), def_glNewList); fn_glEndList = new Deno.UnsafeFnPointer(proc("glEndList"), def_glEndList); fn_glCallList = new Deno.UnsafeFnPointer(proc("glCallList"), def_glCallList); - fn_glCallLists = new Deno.UnsafeFnPointer(proc("glCallLists"), def_glCallLists); - fn_glDeleteLists = new Deno.UnsafeFnPointer(proc("glDeleteLists"), def_glDeleteLists); + fn_glCallLists = new Deno.UnsafeFnPointer( + proc("glCallLists"), + def_glCallLists, + ); + fn_glDeleteLists = new Deno.UnsafeFnPointer( + proc("glDeleteLists"), + def_glDeleteLists, + ); fn_glGenLists = new Deno.UnsafeFnPointer(proc("glGenLists"), def_glGenLists); fn_glListBase = new Deno.UnsafeFnPointer(proc("glListBase"), def_glListBase); fn_glBegin = new Deno.UnsafeFnPointer(proc("glBegin"), def_glBegin); @@ -10930,11 +11288,20 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor3s = new Deno.UnsafeFnPointer(proc("glColor3s"), def_glColor3s); fn_glColor3sv = new Deno.UnsafeFnPointer(proc("glColor3sv"), def_glColor3sv); fn_glColor3ub = new Deno.UnsafeFnPointer(proc("glColor3ub"), def_glColor3ub); - fn_glColor3ubv = new Deno.UnsafeFnPointer(proc("glColor3ubv"), def_glColor3ubv); + fn_glColor3ubv = new Deno.UnsafeFnPointer( + proc("glColor3ubv"), + def_glColor3ubv, + ); fn_glColor3ui = new Deno.UnsafeFnPointer(proc("glColor3ui"), def_glColor3ui); - fn_glColor3uiv = new Deno.UnsafeFnPointer(proc("glColor3uiv"), def_glColor3uiv); + fn_glColor3uiv = new Deno.UnsafeFnPointer( + proc("glColor3uiv"), + def_glColor3uiv, + ); fn_glColor3us = new Deno.UnsafeFnPointer(proc("glColor3us"), def_glColor3us); - fn_glColor3usv = new Deno.UnsafeFnPointer(proc("glColor3usv"), def_glColor3usv); + fn_glColor3usv = new Deno.UnsafeFnPointer( + proc("glColor3usv"), + def_glColor3usv, + ); fn_glColor4b = new Deno.UnsafeFnPointer(proc("glColor4b"), def_glColor4b); fn_glColor4bv = new Deno.UnsafeFnPointer(proc("glColor4bv"), def_glColor4bv); fn_glColor4d = new Deno.UnsafeFnPointer(proc("glColor4d"), def_glColor4d); @@ -10946,13 +11313,25 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor4s = new Deno.UnsafeFnPointer(proc("glColor4s"), def_glColor4s); fn_glColor4sv = new Deno.UnsafeFnPointer(proc("glColor4sv"), def_glColor4sv); fn_glColor4ub = new Deno.UnsafeFnPointer(proc("glColor4ub"), def_glColor4ub); - fn_glColor4ubv = new Deno.UnsafeFnPointer(proc("glColor4ubv"), def_glColor4ubv); + fn_glColor4ubv = new Deno.UnsafeFnPointer( + proc("glColor4ubv"), + def_glColor4ubv, + ); fn_glColor4ui = new Deno.UnsafeFnPointer(proc("glColor4ui"), def_glColor4ui); - fn_glColor4uiv = new Deno.UnsafeFnPointer(proc("glColor4uiv"), def_glColor4uiv); + fn_glColor4uiv = new Deno.UnsafeFnPointer( + proc("glColor4uiv"), + def_glColor4uiv, + ); fn_glColor4us = new Deno.UnsafeFnPointer(proc("glColor4us"), def_glColor4us); - fn_glColor4usv = new Deno.UnsafeFnPointer(proc("glColor4usv"), def_glColor4usv); + fn_glColor4usv = new Deno.UnsafeFnPointer( + proc("glColor4usv"), + def_glColor4usv, + ); fn_glEdgeFlag = new Deno.UnsafeFnPointer(proc("glEdgeFlag"), def_glEdgeFlag); - fn_glEdgeFlagv = new Deno.UnsafeFnPointer(proc("glEdgeFlagv"), def_glEdgeFlagv); + fn_glEdgeFlagv = new Deno.UnsafeFnPointer( + proc("glEdgeFlagv"), + def_glEdgeFlagv, + ); fn_glEnd = new Deno.UnsafeFnPointer(proc("glEnd"), def_glEnd); fn_glIndexd = new Deno.UnsafeFnPointer(proc("glIndexd"), def_glIndexd); fn_glIndexdv = new Deno.UnsafeFnPointer(proc("glIndexdv"), def_glIndexdv); @@ -10963,39 +11342,126 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glIndexs = new Deno.UnsafeFnPointer(proc("glIndexs"), def_glIndexs); fn_glIndexsv = new Deno.UnsafeFnPointer(proc("glIndexsv"), def_glIndexsv); fn_glNormal3b = new Deno.UnsafeFnPointer(proc("glNormal3b"), def_glNormal3b); - fn_glNormal3bv = new Deno.UnsafeFnPointer(proc("glNormal3bv"), def_glNormal3bv); + fn_glNormal3bv = new Deno.UnsafeFnPointer( + proc("glNormal3bv"), + def_glNormal3bv, + ); fn_glNormal3d = new Deno.UnsafeFnPointer(proc("glNormal3d"), def_glNormal3d); - fn_glNormal3dv = new Deno.UnsafeFnPointer(proc("glNormal3dv"), def_glNormal3dv); + fn_glNormal3dv = new Deno.UnsafeFnPointer( + proc("glNormal3dv"), + def_glNormal3dv, + ); fn_glNormal3f = new Deno.UnsafeFnPointer(proc("glNormal3f"), def_glNormal3f); - fn_glNormal3fv = new Deno.UnsafeFnPointer(proc("glNormal3fv"), def_glNormal3fv); + fn_glNormal3fv = new Deno.UnsafeFnPointer( + proc("glNormal3fv"), + def_glNormal3fv, + ); fn_glNormal3i = new Deno.UnsafeFnPointer(proc("glNormal3i"), def_glNormal3i); - fn_glNormal3iv = new Deno.UnsafeFnPointer(proc("glNormal3iv"), def_glNormal3iv); + fn_glNormal3iv = new Deno.UnsafeFnPointer( + proc("glNormal3iv"), + def_glNormal3iv, + ); fn_glNormal3s = new Deno.UnsafeFnPointer(proc("glNormal3s"), def_glNormal3s); - fn_glNormal3sv = new Deno.UnsafeFnPointer(proc("glNormal3sv"), def_glNormal3sv); - fn_glRasterPos2d = new Deno.UnsafeFnPointer(proc("glRasterPos2d"), def_glRasterPos2d); - fn_glRasterPos2dv = new Deno.UnsafeFnPointer(proc("glRasterPos2dv"), def_glRasterPos2dv); - fn_glRasterPos2f = new Deno.UnsafeFnPointer(proc("glRasterPos2f"), def_glRasterPos2f); - fn_glRasterPos2fv = new Deno.UnsafeFnPointer(proc("glRasterPos2fv"), def_glRasterPos2fv); - fn_glRasterPos2i = new Deno.UnsafeFnPointer(proc("glRasterPos2i"), def_glRasterPos2i); - fn_glRasterPos2iv = new Deno.UnsafeFnPointer(proc("glRasterPos2iv"), def_glRasterPos2iv); - fn_glRasterPos2s = new Deno.UnsafeFnPointer(proc("glRasterPos2s"), def_glRasterPos2s); - fn_glRasterPos2sv = new Deno.UnsafeFnPointer(proc("glRasterPos2sv"), def_glRasterPos2sv); - fn_glRasterPos3d = new Deno.UnsafeFnPointer(proc("glRasterPos3d"), def_glRasterPos3d); - fn_glRasterPos3dv = new Deno.UnsafeFnPointer(proc("glRasterPos3dv"), def_glRasterPos3dv); - fn_glRasterPos3f = new Deno.UnsafeFnPointer(proc("glRasterPos3f"), def_glRasterPos3f); - fn_glRasterPos3fv = new Deno.UnsafeFnPointer(proc("glRasterPos3fv"), def_glRasterPos3fv); - fn_glRasterPos3i = new Deno.UnsafeFnPointer(proc("glRasterPos3i"), def_glRasterPos3i); - fn_glRasterPos3iv = new Deno.UnsafeFnPointer(proc("glRasterPos3iv"), def_glRasterPos3iv); - fn_glRasterPos3s = new Deno.UnsafeFnPointer(proc("glRasterPos3s"), def_glRasterPos3s); - fn_glRasterPos3sv = new Deno.UnsafeFnPointer(proc("glRasterPos3sv"), def_glRasterPos3sv); - fn_glRasterPos4d = new Deno.UnsafeFnPointer(proc("glRasterPos4d"), def_glRasterPos4d); - fn_glRasterPos4dv = new Deno.UnsafeFnPointer(proc("glRasterPos4dv"), def_glRasterPos4dv); - fn_glRasterPos4f = new Deno.UnsafeFnPointer(proc("glRasterPos4f"), def_glRasterPos4f); - fn_glRasterPos4fv = new Deno.UnsafeFnPointer(proc("glRasterPos4fv"), def_glRasterPos4fv); - fn_glRasterPos4i = new Deno.UnsafeFnPointer(proc("glRasterPos4i"), def_glRasterPos4i); - fn_glRasterPos4iv = new Deno.UnsafeFnPointer(proc("glRasterPos4iv"), def_glRasterPos4iv); - fn_glRasterPos4s = new Deno.UnsafeFnPointer(proc("glRasterPos4s"), def_glRasterPos4s); - fn_glRasterPos4sv = new Deno.UnsafeFnPointer(proc("glRasterPos4sv"), def_glRasterPos4sv); + fn_glNormal3sv = new Deno.UnsafeFnPointer( + proc("glNormal3sv"), + def_glNormal3sv, + ); + fn_glRasterPos2d = new Deno.UnsafeFnPointer( + proc("glRasterPos2d"), + def_glRasterPos2d, + ); + fn_glRasterPos2dv = new Deno.UnsafeFnPointer( + proc("glRasterPos2dv"), + def_glRasterPos2dv, + ); + fn_glRasterPos2f = new Deno.UnsafeFnPointer( + proc("glRasterPos2f"), + def_glRasterPos2f, + ); + fn_glRasterPos2fv = new Deno.UnsafeFnPointer( + proc("glRasterPos2fv"), + def_glRasterPos2fv, + ); + fn_glRasterPos2i = new Deno.UnsafeFnPointer( + proc("glRasterPos2i"), + def_glRasterPos2i, + ); + fn_glRasterPos2iv = new Deno.UnsafeFnPointer( + proc("glRasterPos2iv"), + def_glRasterPos2iv, + ); + fn_glRasterPos2s = new Deno.UnsafeFnPointer( + proc("glRasterPos2s"), + def_glRasterPos2s, + ); + fn_glRasterPos2sv = new Deno.UnsafeFnPointer( + proc("glRasterPos2sv"), + def_glRasterPos2sv, + ); + fn_glRasterPos3d = new Deno.UnsafeFnPointer( + proc("glRasterPos3d"), + def_glRasterPos3d, + ); + fn_glRasterPos3dv = new Deno.UnsafeFnPointer( + proc("glRasterPos3dv"), + def_glRasterPos3dv, + ); + fn_glRasterPos3f = new Deno.UnsafeFnPointer( + proc("glRasterPos3f"), + def_glRasterPos3f, + ); + fn_glRasterPos3fv = new Deno.UnsafeFnPointer( + proc("glRasterPos3fv"), + def_glRasterPos3fv, + ); + fn_glRasterPos3i = new Deno.UnsafeFnPointer( + proc("glRasterPos3i"), + def_glRasterPos3i, + ); + fn_glRasterPos3iv = new Deno.UnsafeFnPointer( + proc("glRasterPos3iv"), + def_glRasterPos3iv, + ); + fn_glRasterPos3s = new Deno.UnsafeFnPointer( + proc("glRasterPos3s"), + def_glRasterPos3s, + ); + fn_glRasterPos3sv = new Deno.UnsafeFnPointer( + proc("glRasterPos3sv"), + def_glRasterPos3sv, + ); + fn_glRasterPos4d = new Deno.UnsafeFnPointer( + proc("glRasterPos4d"), + def_glRasterPos4d, + ); + fn_glRasterPos4dv = new Deno.UnsafeFnPointer( + proc("glRasterPos4dv"), + def_glRasterPos4dv, + ); + fn_glRasterPos4f = new Deno.UnsafeFnPointer( + proc("glRasterPos4f"), + def_glRasterPos4f, + ); + fn_glRasterPos4fv = new Deno.UnsafeFnPointer( + proc("glRasterPos4fv"), + def_glRasterPos4fv, + ); + fn_glRasterPos4i = new Deno.UnsafeFnPointer( + proc("glRasterPos4i"), + def_glRasterPos4i, + ); + fn_glRasterPos4iv = new Deno.UnsafeFnPointer( + proc("glRasterPos4iv"), + def_glRasterPos4iv, + ); + fn_glRasterPos4s = new Deno.UnsafeFnPointer( + proc("glRasterPos4s"), + def_glRasterPos4s, + ); + fn_glRasterPos4sv = new Deno.UnsafeFnPointer( + proc("glRasterPos4sv"), + def_glRasterPos4sv, + ); fn_glRectd = new Deno.UnsafeFnPointer(proc("glRectd"), def_glRectd); fn_glRectdv = new Deno.UnsafeFnPointer(proc("glRectdv"), def_glRectdv); fn_glRectf = new Deno.UnsafeFnPointer(proc("glRectf"), def_glRectf); @@ -11004,64 +11470,202 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glRectiv = new Deno.UnsafeFnPointer(proc("glRectiv"), def_glRectiv); fn_glRects = new Deno.UnsafeFnPointer(proc("glRects"), def_glRects); fn_glRectsv = new Deno.UnsafeFnPointer(proc("glRectsv"), def_glRectsv); - fn_glTexCoord1d = new Deno.UnsafeFnPointer(proc("glTexCoord1d"), def_glTexCoord1d); - fn_glTexCoord1dv = new Deno.UnsafeFnPointer(proc("glTexCoord1dv"), def_glTexCoord1dv); - fn_glTexCoord1f = new Deno.UnsafeFnPointer(proc("glTexCoord1f"), def_glTexCoord1f); - fn_glTexCoord1fv = new Deno.UnsafeFnPointer(proc("glTexCoord1fv"), def_glTexCoord1fv); - fn_glTexCoord1i = new Deno.UnsafeFnPointer(proc("glTexCoord1i"), def_glTexCoord1i); - fn_glTexCoord1iv = new Deno.UnsafeFnPointer(proc("glTexCoord1iv"), def_glTexCoord1iv); - fn_glTexCoord1s = new Deno.UnsafeFnPointer(proc("glTexCoord1s"), def_glTexCoord1s); - fn_glTexCoord1sv = new Deno.UnsafeFnPointer(proc("glTexCoord1sv"), def_glTexCoord1sv); - fn_glTexCoord2d = new Deno.UnsafeFnPointer(proc("glTexCoord2d"), def_glTexCoord2d); - fn_glTexCoord2dv = new Deno.UnsafeFnPointer(proc("glTexCoord2dv"), def_glTexCoord2dv); - fn_glTexCoord2f = new Deno.UnsafeFnPointer(proc("glTexCoord2f"), def_glTexCoord2f); - fn_glTexCoord2fv = new Deno.UnsafeFnPointer(proc("glTexCoord2fv"), def_glTexCoord2fv); - fn_glTexCoord2i = new Deno.UnsafeFnPointer(proc("glTexCoord2i"), def_glTexCoord2i); - fn_glTexCoord2iv = new Deno.UnsafeFnPointer(proc("glTexCoord2iv"), def_glTexCoord2iv); - fn_glTexCoord2s = new Deno.UnsafeFnPointer(proc("glTexCoord2s"), def_glTexCoord2s); - fn_glTexCoord2sv = new Deno.UnsafeFnPointer(proc("glTexCoord2sv"), def_glTexCoord2sv); - fn_glTexCoord3d = new Deno.UnsafeFnPointer(proc("glTexCoord3d"), def_glTexCoord3d); - fn_glTexCoord3dv = new Deno.UnsafeFnPointer(proc("glTexCoord3dv"), def_glTexCoord3dv); - fn_glTexCoord3f = new Deno.UnsafeFnPointer(proc("glTexCoord3f"), def_glTexCoord3f); - fn_glTexCoord3fv = new Deno.UnsafeFnPointer(proc("glTexCoord3fv"), def_glTexCoord3fv); - fn_glTexCoord3i = new Deno.UnsafeFnPointer(proc("glTexCoord3i"), def_glTexCoord3i); - fn_glTexCoord3iv = new Deno.UnsafeFnPointer(proc("glTexCoord3iv"), def_glTexCoord3iv); - fn_glTexCoord3s = new Deno.UnsafeFnPointer(proc("glTexCoord3s"), def_glTexCoord3s); - fn_glTexCoord3sv = new Deno.UnsafeFnPointer(proc("glTexCoord3sv"), def_glTexCoord3sv); - fn_glTexCoord4d = new Deno.UnsafeFnPointer(proc("glTexCoord4d"), def_glTexCoord4d); - fn_glTexCoord4dv = new Deno.UnsafeFnPointer(proc("glTexCoord4dv"), def_glTexCoord4dv); - fn_glTexCoord4f = new Deno.UnsafeFnPointer(proc("glTexCoord4f"), def_glTexCoord4f); - fn_glTexCoord4fv = new Deno.UnsafeFnPointer(proc("glTexCoord4fv"), def_glTexCoord4fv); - fn_glTexCoord4i = new Deno.UnsafeFnPointer(proc("glTexCoord4i"), def_glTexCoord4i); - fn_glTexCoord4iv = new Deno.UnsafeFnPointer(proc("glTexCoord4iv"), def_glTexCoord4iv); - fn_glTexCoord4s = new Deno.UnsafeFnPointer(proc("glTexCoord4s"), def_glTexCoord4s); - fn_glTexCoord4sv = new Deno.UnsafeFnPointer(proc("glTexCoord4sv"), def_glTexCoord4sv); + fn_glTexCoord1d = new Deno.UnsafeFnPointer( + proc("glTexCoord1d"), + def_glTexCoord1d, + ); + fn_glTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glTexCoord1dv"), + def_glTexCoord1dv, + ); + fn_glTexCoord1f = new Deno.UnsafeFnPointer( + proc("glTexCoord1f"), + def_glTexCoord1f, + ); + fn_glTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glTexCoord1fv"), + def_glTexCoord1fv, + ); + fn_glTexCoord1i = new Deno.UnsafeFnPointer( + proc("glTexCoord1i"), + def_glTexCoord1i, + ); + fn_glTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glTexCoord1iv"), + def_glTexCoord1iv, + ); + fn_glTexCoord1s = new Deno.UnsafeFnPointer( + proc("glTexCoord1s"), + def_glTexCoord1s, + ); + fn_glTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glTexCoord1sv"), + def_glTexCoord1sv, + ); + fn_glTexCoord2d = new Deno.UnsafeFnPointer( + proc("glTexCoord2d"), + def_glTexCoord2d, + ); + fn_glTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glTexCoord2dv"), + def_glTexCoord2dv, + ); + fn_glTexCoord2f = new Deno.UnsafeFnPointer( + proc("glTexCoord2f"), + def_glTexCoord2f, + ); + fn_glTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glTexCoord2fv"), + def_glTexCoord2fv, + ); + fn_glTexCoord2i = new Deno.UnsafeFnPointer( + proc("glTexCoord2i"), + def_glTexCoord2i, + ); + fn_glTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glTexCoord2iv"), + def_glTexCoord2iv, + ); + fn_glTexCoord2s = new Deno.UnsafeFnPointer( + proc("glTexCoord2s"), + def_glTexCoord2s, + ); + fn_glTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glTexCoord2sv"), + def_glTexCoord2sv, + ); + fn_glTexCoord3d = new Deno.UnsafeFnPointer( + proc("glTexCoord3d"), + def_glTexCoord3d, + ); + fn_glTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glTexCoord3dv"), + def_glTexCoord3dv, + ); + fn_glTexCoord3f = new Deno.UnsafeFnPointer( + proc("glTexCoord3f"), + def_glTexCoord3f, + ); + fn_glTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glTexCoord3fv"), + def_glTexCoord3fv, + ); + fn_glTexCoord3i = new Deno.UnsafeFnPointer( + proc("glTexCoord3i"), + def_glTexCoord3i, + ); + fn_glTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glTexCoord3iv"), + def_glTexCoord3iv, + ); + fn_glTexCoord3s = new Deno.UnsafeFnPointer( + proc("glTexCoord3s"), + def_glTexCoord3s, + ); + fn_glTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glTexCoord3sv"), + def_glTexCoord3sv, + ); + fn_glTexCoord4d = new Deno.UnsafeFnPointer( + proc("glTexCoord4d"), + def_glTexCoord4d, + ); + fn_glTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glTexCoord4dv"), + def_glTexCoord4dv, + ); + fn_glTexCoord4f = new Deno.UnsafeFnPointer( + proc("glTexCoord4f"), + def_glTexCoord4f, + ); + fn_glTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glTexCoord4fv"), + def_glTexCoord4fv, + ); + fn_glTexCoord4i = new Deno.UnsafeFnPointer( + proc("glTexCoord4i"), + def_glTexCoord4i, + ); + fn_glTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glTexCoord4iv"), + def_glTexCoord4iv, + ); + fn_glTexCoord4s = new Deno.UnsafeFnPointer( + proc("glTexCoord4s"), + def_glTexCoord4s, + ); + fn_glTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glTexCoord4sv"), + def_glTexCoord4sv, + ); fn_glVertex2d = new Deno.UnsafeFnPointer(proc("glVertex2d"), def_glVertex2d); - fn_glVertex2dv = new Deno.UnsafeFnPointer(proc("glVertex2dv"), def_glVertex2dv); + fn_glVertex2dv = new Deno.UnsafeFnPointer( + proc("glVertex2dv"), + def_glVertex2dv, + ); fn_glVertex2f = new Deno.UnsafeFnPointer(proc("glVertex2f"), def_glVertex2f); - fn_glVertex2fv = new Deno.UnsafeFnPointer(proc("glVertex2fv"), def_glVertex2fv); + fn_glVertex2fv = new Deno.UnsafeFnPointer( + proc("glVertex2fv"), + def_glVertex2fv, + ); fn_glVertex2i = new Deno.UnsafeFnPointer(proc("glVertex2i"), def_glVertex2i); - fn_glVertex2iv = new Deno.UnsafeFnPointer(proc("glVertex2iv"), def_glVertex2iv); + fn_glVertex2iv = new Deno.UnsafeFnPointer( + proc("glVertex2iv"), + def_glVertex2iv, + ); fn_glVertex2s = new Deno.UnsafeFnPointer(proc("glVertex2s"), def_glVertex2s); - fn_glVertex2sv = new Deno.UnsafeFnPointer(proc("glVertex2sv"), def_glVertex2sv); + fn_glVertex2sv = new Deno.UnsafeFnPointer( + proc("glVertex2sv"), + def_glVertex2sv, + ); fn_glVertex3d = new Deno.UnsafeFnPointer(proc("glVertex3d"), def_glVertex3d); - fn_glVertex3dv = new Deno.UnsafeFnPointer(proc("glVertex3dv"), def_glVertex3dv); + fn_glVertex3dv = new Deno.UnsafeFnPointer( + proc("glVertex3dv"), + def_glVertex3dv, + ); fn_glVertex3f = new Deno.UnsafeFnPointer(proc("glVertex3f"), def_glVertex3f); - fn_glVertex3fv = new Deno.UnsafeFnPointer(proc("glVertex3fv"), def_glVertex3fv); + fn_glVertex3fv = new Deno.UnsafeFnPointer( + proc("glVertex3fv"), + def_glVertex3fv, + ); fn_glVertex3i = new Deno.UnsafeFnPointer(proc("glVertex3i"), def_glVertex3i); - fn_glVertex3iv = new Deno.UnsafeFnPointer(proc("glVertex3iv"), def_glVertex3iv); + fn_glVertex3iv = new Deno.UnsafeFnPointer( + proc("glVertex3iv"), + def_glVertex3iv, + ); fn_glVertex3s = new Deno.UnsafeFnPointer(proc("glVertex3s"), def_glVertex3s); - fn_glVertex3sv = new Deno.UnsafeFnPointer(proc("glVertex3sv"), def_glVertex3sv); + fn_glVertex3sv = new Deno.UnsafeFnPointer( + proc("glVertex3sv"), + def_glVertex3sv, + ); fn_glVertex4d = new Deno.UnsafeFnPointer(proc("glVertex4d"), def_glVertex4d); - fn_glVertex4dv = new Deno.UnsafeFnPointer(proc("glVertex4dv"), def_glVertex4dv); + fn_glVertex4dv = new Deno.UnsafeFnPointer( + proc("glVertex4dv"), + def_glVertex4dv, + ); fn_glVertex4f = new Deno.UnsafeFnPointer(proc("glVertex4f"), def_glVertex4f); - fn_glVertex4fv = new Deno.UnsafeFnPointer(proc("glVertex4fv"), def_glVertex4fv); + fn_glVertex4fv = new Deno.UnsafeFnPointer( + proc("glVertex4fv"), + def_glVertex4fv, + ); fn_glVertex4i = new Deno.UnsafeFnPointer(proc("glVertex4i"), def_glVertex4i); - fn_glVertex4iv = new Deno.UnsafeFnPointer(proc("glVertex4iv"), def_glVertex4iv); + fn_glVertex4iv = new Deno.UnsafeFnPointer( + proc("glVertex4iv"), + def_glVertex4iv, + ); fn_glVertex4s = new Deno.UnsafeFnPointer(proc("glVertex4s"), def_glVertex4s); - fn_glVertex4sv = new Deno.UnsafeFnPointer(proc("glVertex4sv"), def_glVertex4sv); - fn_glClipPlane = new Deno.UnsafeFnPointer(proc("glClipPlane"), def_glClipPlane); - fn_glColorMaterial = new Deno.UnsafeFnPointer(proc("glColorMaterial"), def_glColorMaterial); + fn_glVertex4sv = new Deno.UnsafeFnPointer( + proc("glVertex4sv"), + def_glVertex4sv, + ); + fn_glClipPlane = new Deno.UnsafeFnPointer( + proc("glClipPlane"), + def_glClipPlane, + ); + fn_glColorMaterial = new Deno.UnsafeFnPointer( + proc("glColorMaterial"), + def_glColorMaterial, + ); fn_glFogf = new Deno.UnsafeFnPointer(proc("glFogf"), def_glFogf); fn_glFogfv = new Deno.UnsafeFnPointer(proc("glFogfv"), def_glFogfv); fn_glFogi = new Deno.UnsafeFnPointer(proc("glFogi"), def_glFogi); @@ -11070,17 +11674,50 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glLightfv = new Deno.UnsafeFnPointer(proc("glLightfv"), def_glLightfv); fn_glLighti = new Deno.UnsafeFnPointer(proc("glLighti"), def_glLighti); fn_glLightiv = new Deno.UnsafeFnPointer(proc("glLightiv"), def_glLightiv); - fn_glLightModelf = new Deno.UnsafeFnPointer(proc("glLightModelf"), def_glLightModelf); - fn_glLightModelfv = new Deno.UnsafeFnPointer(proc("glLightModelfv"), def_glLightModelfv); - fn_glLightModeli = new Deno.UnsafeFnPointer(proc("glLightModeli"), def_glLightModeli); - fn_glLightModeliv = new Deno.UnsafeFnPointer(proc("glLightModeliv"), def_glLightModeliv); - fn_glLineStipple = new Deno.UnsafeFnPointer(proc("glLineStipple"), def_glLineStipple); - fn_glMaterialf = new Deno.UnsafeFnPointer(proc("glMaterialf"), def_glMaterialf); - fn_glMaterialfv = new Deno.UnsafeFnPointer(proc("glMaterialfv"), def_glMaterialfv); - fn_glMateriali = new Deno.UnsafeFnPointer(proc("glMateriali"), def_glMateriali); - fn_glMaterialiv = new Deno.UnsafeFnPointer(proc("glMaterialiv"), def_glMaterialiv); - fn_glPolygonStipple = new Deno.UnsafeFnPointer(proc("glPolygonStipple"), def_glPolygonStipple); - fn_glShadeModel = new Deno.UnsafeFnPointer(proc("glShadeModel"), def_glShadeModel); + fn_glLightModelf = new Deno.UnsafeFnPointer( + proc("glLightModelf"), + def_glLightModelf, + ); + fn_glLightModelfv = new Deno.UnsafeFnPointer( + proc("glLightModelfv"), + def_glLightModelfv, + ); + fn_glLightModeli = new Deno.UnsafeFnPointer( + proc("glLightModeli"), + def_glLightModeli, + ); + fn_glLightModeliv = new Deno.UnsafeFnPointer( + proc("glLightModeliv"), + def_glLightModeliv, + ); + fn_glLineStipple = new Deno.UnsafeFnPointer( + proc("glLineStipple"), + def_glLineStipple, + ); + fn_glMaterialf = new Deno.UnsafeFnPointer( + proc("glMaterialf"), + def_glMaterialf, + ); + fn_glMaterialfv = new Deno.UnsafeFnPointer( + proc("glMaterialfv"), + def_glMaterialfv, + ); + fn_glMateriali = new Deno.UnsafeFnPointer( + proc("glMateriali"), + def_glMateriali, + ); + fn_glMaterialiv = new Deno.UnsafeFnPointer( + proc("glMaterialiv"), + def_glMaterialiv, + ); + fn_glPolygonStipple = new Deno.UnsafeFnPointer( + proc("glPolygonStipple"), + def_glPolygonStipple, + ); + fn_glShadeModel = new Deno.UnsafeFnPointer( + proc("glShadeModel"), + def_glShadeModel, + ); fn_glTexEnvf = new Deno.UnsafeFnPointer(proc("glTexEnvf"), def_glTexEnvf); fn_glTexEnvfv = new Deno.UnsafeFnPointer(proc("glTexEnvfv"), def_glTexEnvfv); fn_glTexEnvi = new Deno.UnsafeFnPointer(proc("glTexEnvi"), def_glTexEnvi); @@ -11091,326 +11728,1220 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glTexGenfv = new Deno.UnsafeFnPointer(proc("glTexGenfv"), def_glTexGenfv); fn_glTexGeni = new Deno.UnsafeFnPointer(proc("glTexGeni"), def_glTexGeni); fn_glTexGeniv = new Deno.UnsafeFnPointer(proc("glTexGeniv"), def_glTexGeniv); - fn_glFeedbackBuffer = new Deno.UnsafeFnPointer(proc("glFeedbackBuffer"), def_glFeedbackBuffer); - fn_glSelectBuffer = new Deno.UnsafeFnPointer(proc("glSelectBuffer"), def_glSelectBuffer); - fn_glRenderMode = new Deno.UnsafeFnPointer(proc("glRenderMode"), def_glRenderMode); - fn_glInitNames = new Deno.UnsafeFnPointer(proc("glInitNames"), def_glInitNames); + fn_glFeedbackBuffer = new Deno.UnsafeFnPointer( + proc("glFeedbackBuffer"), + def_glFeedbackBuffer, + ); + fn_glSelectBuffer = new Deno.UnsafeFnPointer( + proc("glSelectBuffer"), + def_glSelectBuffer, + ); + fn_glRenderMode = new Deno.UnsafeFnPointer( + proc("glRenderMode"), + def_glRenderMode, + ); + fn_glInitNames = new Deno.UnsafeFnPointer( + proc("glInitNames"), + def_glInitNames, + ); fn_glLoadName = new Deno.UnsafeFnPointer(proc("glLoadName"), def_glLoadName); - fn_glPassThrough = new Deno.UnsafeFnPointer(proc("glPassThrough"), def_glPassThrough); + fn_glPassThrough = new Deno.UnsafeFnPointer( + proc("glPassThrough"), + def_glPassThrough, + ); fn_glPopName = new Deno.UnsafeFnPointer(proc("glPopName"), def_glPopName); fn_glPushName = new Deno.UnsafeFnPointer(proc("glPushName"), def_glPushName); - fn_glClearAccum = new Deno.UnsafeFnPointer(proc("glClearAccum"), def_glClearAccum); - fn_glClearIndex = new Deno.UnsafeFnPointer(proc("glClearIndex"), def_glClearIndex); - fn_glIndexMask = new Deno.UnsafeFnPointer(proc("glIndexMask"), def_glIndexMask); + fn_glClearAccum = new Deno.UnsafeFnPointer( + proc("glClearAccum"), + def_glClearAccum, + ); + fn_glClearIndex = new Deno.UnsafeFnPointer( + proc("glClearIndex"), + def_glClearIndex, + ); + fn_glIndexMask = new Deno.UnsafeFnPointer( + proc("glIndexMask"), + def_glIndexMask, + ); fn_glAccum = new Deno.UnsafeFnPointer(proc("glAccum"), def_glAccum); - fn_glPopAttrib = new Deno.UnsafeFnPointer(proc("glPopAttrib"), def_glPopAttrib); - fn_glPushAttrib = new Deno.UnsafeFnPointer(proc("glPushAttrib"), def_glPushAttrib); + fn_glPopAttrib = new Deno.UnsafeFnPointer( + proc("glPopAttrib"), + def_glPopAttrib, + ); + fn_glPushAttrib = new Deno.UnsafeFnPointer( + proc("glPushAttrib"), + def_glPushAttrib, + ); fn_glMap1d = new Deno.UnsafeFnPointer(proc("glMap1d"), def_glMap1d); fn_glMap1f = new Deno.UnsafeFnPointer(proc("glMap1f"), def_glMap1f); fn_glMap2d = new Deno.UnsafeFnPointer(proc("glMap2d"), def_glMap2d); fn_glMap2f = new Deno.UnsafeFnPointer(proc("glMap2f"), def_glMap2f); - fn_glMapGrid1d = new Deno.UnsafeFnPointer(proc("glMapGrid1d"), def_glMapGrid1d); - fn_glMapGrid1f = new Deno.UnsafeFnPointer(proc("glMapGrid1f"), def_glMapGrid1f); - fn_glMapGrid2d = new Deno.UnsafeFnPointer(proc("glMapGrid2d"), def_glMapGrid2d); - fn_glMapGrid2f = new Deno.UnsafeFnPointer(proc("glMapGrid2f"), def_glMapGrid2f); - fn_glEvalCoord1d = new Deno.UnsafeFnPointer(proc("glEvalCoord1d"), def_glEvalCoord1d); - fn_glEvalCoord1dv = new Deno.UnsafeFnPointer(proc("glEvalCoord1dv"), def_glEvalCoord1dv); - fn_glEvalCoord1f = new Deno.UnsafeFnPointer(proc("glEvalCoord1f"), def_glEvalCoord1f); - fn_glEvalCoord1fv = new Deno.UnsafeFnPointer(proc("glEvalCoord1fv"), def_glEvalCoord1fv); - fn_glEvalCoord2d = new Deno.UnsafeFnPointer(proc("glEvalCoord2d"), def_glEvalCoord2d); - fn_glEvalCoord2dv = new Deno.UnsafeFnPointer(proc("glEvalCoord2dv"), def_glEvalCoord2dv); - fn_glEvalCoord2f = new Deno.UnsafeFnPointer(proc("glEvalCoord2f"), def_glEvalCoord2f); - fn_glEvalCoord2fv = new Deno.UnsafeFnPointer(proc("glEvalCoord2fv"), def_glEvalCoord2fv); - fn_glEvalMesh1 = new Deno.UnsafeFnPointer(proc("glEvalMesh1"), def_glEvalMesh1); - fn_glEvalPoint1 = new Deno.UnsafeFnPointer(proc("glEvalPoint1"), def_glEvalPoint1); - fn_glEvalMesh2 = new Deno.UnsafeFnPointer(proc("glEvalMesh2"), def_glEvalMesh2); - fn_glEvalPoint2 = new Deno.UnsafeFnPointer(proc("glEvalPoint2"), def_glEvalPoint2); - fn_glAlphaFunc = new Deno.UnsafeFnPointer(proc("glAlphaFunc"), def_glAlphaFunc); - fn_glPixelZoom = new Deno.UnsafeFnPointer(proc("glPixelZoom"), def_glPixelZoom); - fn_glPixelTransferf = new Deno.UnsafeFnPointer(proc("glPixelTransferf"), def_glPixelTransferf); - fn_glPixelTransferi = new Deno.UnsafeFnPointer(proc("glPixelTransferi"), def_glPixelTransferi); - fn_glPixelMapfv = new Deno.UnsafeFnPointer(proc("glPixelMapfv"), def_glPixelMapfv); - fn_glPixelMapuiv = new Deno.UnsafeFnPointer(proc("glPixelMapuiv"), def_glPixelMapuiv); - fn_glPixelMapusv = new Deno.UnsafeFnPointer(proc("glPixelMapusv"), def_glPixelMapusv); - fn_glCopyPixels = new Deno.UnsafeFnPointer(proc("glCopyPixels"), def_glCopyPixels); - fn_glDrawPixels = new Deno.UnsafeFnPointer(proc("glDrawPixels"), def_glDrawPixels); - fn_glGetClipPlane = new Deno.UnsafeFnPointer(proc("glGetClipPlane"), def_glGetClipPlane); - fn_glGetLightfv = new Deno.UnsafeFnPointer(proc("glGetLightfv"), def_glGetLightfv); - fn_glGetLightiv = new Deno.UnsafeFnPointer(proc("glGetLightiv"), def_glGetLightiv); + fn_glMapGrid1d = new Deno.UnsafeFnPointer( + proc("glMapGrid1d"), + def_glMapGrid1d, + ); + fn_glMapGrid1f = new Deno.UnsafeFnPointer( + proc("glMapGrid1f"), + def_glMapGrid1f, + ); + fn_glMapGrid2d = new Deno.UnsafeFnPointer( + proc("glMapGrid2d"), + def_glMapGrid2d, + ); + fn_glMapGrid2f = new Deno.UnsafeFnPointer( + proc("glMapGrid2f"), + def_glMapGrid2f, + ); + fn_glEvalCoord1d = new Deno.UnsafeFnPointer( + proc("glEvalCoord1d"), + def_glEvalCoord1d, + ); + fn_glEvalCoord1dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1dv"), + def_glEvalCoord1dv, + ); + fn_glEvalCoord1f = new Deno.UnsafeFnPointer( + proc("glEvalCoord1f"), + def_glEvalCoord1f, + ); + fn_glEvalCoord1fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1fv"), + def_glEvalCoord1fv, + ); + fn_glEvalCoord2d = new Deno.UnsafeFnPointer( + proc("glEvalCoord2d"), + def_glEvalCoord2d, + ); + fn_glEvalCoord2dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2dv"), + def_glEvalCoord2dv, + ); + fn_glEvalCoord2f = new Deno.UnsafeFnPointer( + proc("glEvalCoord2f"), + def_glEvalCoord2f, + ); + fn_glEvalCoord2fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2fv"), + def_glEvalCoord2fv, + ); + fn_glEvalMesh1 = new Deno.UnsafeFnPointer( + proc("glEvalMesh1"), + def_glEvalMesh1, + ); + fn_glEvalPoint1 = new Deno.UnsafeFnPointer( + proc("glEvalPoint1"), + def_glEvalPoint1, + ); + fn_glEvalMesh2 = new Deno.UnsafeFnPointer( + proc("glEvalMesh2"), + def_glEvalMesh2, + ); + fn_glEvalPoint2 = new Deno.UnsafeFnPointer( + proc("glEvalPoint2"), + def_glEvalPoint2, + ); + fn_glAlphaFunc = new Deno.UnsafeFnPointer( + proc("glAlphaFunc"), + def_glAlphaFunc, + ); + fn_glPixelZoom = new Deno.UnsafeFnPointer( + proc("glPixelZoom"), + def_glPixelZoom, + ); + fn_glPixelTransferf = new Deno.UnsafeFnPointer( + proc("glPixelTransferf"), + def_glPixelTransferf, + ); + fn_glPixelTransferi = new Deno.UnsafeFnPointer( + proc("glPixelTransferi"), + def_glPixelTransferi, + ); + fn_glPixelMapfv = new Deno.UnsafeFnPointer( + proc("glPixelMapfv"), + def_glPixelMapfv, + ); + fn_glPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glPixelMapuiv"), + def_glPixelMapuiv, + ); + fn_glPixelMapusv = new Deno.UnsafeFnPointer( + proc("glPixelMapusv"), + def_glPixelMapusv, + ); + fn_glCopyPixels = new Deno.UnsafeFnPointer( + proc("glCopyPixels"), + def_glCopyPixels, + ); + fn_glDrawPixels = new Deno.UnsafeFnPointer( + proc("glDrawPixels"), + def_glDrawPixels, + ); + fn_glGetClipPlane = new Deno.UnsafeFnPointer( + proc("glGetClipPlane"), + def_glGetClipPlane, + ); + fn_glGetLightfv = new Deno.UnsafeFnPointer( + proc("glGetLightfv"), + def_glGetLightfv, + ); + fn_glGetLightiv = new Deno.UnsafeFnPointer( + proc("glGetLightiv"), + def_glGetLightiv, + ); fn_glGetMapdv = new Deno.UnsafeFnPointer(proc("glGetMapdv"), def_glGetMapdv); fn_glGetMapfv = new Deno.UnsafeFnPointer(proc("glGetMapfv"), def_glGetMapfv); fn_glGetMapiv = new Deno.UnsafeFnPointer(proc("glGetMapiv"), def_glGetMapiv); - fn_glGetMaterialfv = new Deno.UnsafeFnPointer(proc("glGetMaterialfv"), def_glGetMaterialfv); - fn_glGetMaterialiv = new Deno.UnsafeFnPointer(proc("glGetMaterialiv"), def_glGetMaterialiv); - fn_glGetPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetPixelMapfv"), def_glGetPixelMapfv); - fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetPixelMapuiv"), def_glGetPixelMapuiv); - fn_glGetPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetPixelMapusv"), def_glGetPixelMapusv); - fn_glGetPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetPolygonStipple"), def_glGetPolygonStipple); - fn_glGetTexEnvfv = new Deno.UnsafeFnPointer(proc("glGetTexEnvfv"), def_glGetTexEnvfv); - fn_glGetTexEnviv = new Deno.UnsafeFnPointer(proc("glGetTexEnviv"), def_glGetTexEnviv); - fn_glGetTexGendv = new Deno.UnsafeFnPointer(proc("glGetTexGendv"), def_glGetTexGendv); - fn_glGetTexGenfv = new Deno.UnsafeFnPointer(proc("glGetTexGenfv"), def_glGetTexGenfv); - fn_glGetTexGeniv = new Deno.UnsafeFnPointer(proc("glGetTexGeniv"), def_glGetTexGeniv); + fn_glGetMaterialfv = new Deno.UnsafeFnPointer( + proc("glGetMaterialfv"), + def_glGetMaterialfv, + ); + fn_glGetMaterialiv = new Deno.UnsafeFnPointer( + proc("glGetMaterialiv"), + def_glGetMaterialiv, + ); + fn_glGetPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapfv"), + def_glGetPixelMapfv, + ); + fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapuiv"), + def_glGetPixelMapuiv, + ); + fn_glGetPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapusv"), + def_glGetPixelMapusv, + ); + fn_glGetPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetPolygonStipple"), + def_glGetPolygonStipple, + ); + fn_glGetTexEnvfv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvfv"), + def_glGetTexEnvfv, + ); + fn_glGetTexEnviv = new Deno.UnsafeFnPointer( + proc("glGetTexEnviv"), + def_glGetTexEnviv, + ); + fn_glGetTexGendv = new Deno.UnsafeFnPointer( + proc("glGetTexGendv"), + def_glGetTexGendv, + ); + fn_glGetTexGenfv = new Deno.UnsafeFnPointer( + proc("glGetTexGenfv"), + def_glGetTexGenfv, + ); + fn_glGetTexGeniv = new Deno.UnsafeFnPointer( + proc("glGetTexGeniv"), + def_glGetTexGeniv, + ); fn_glIsList = new Deno.UnsafeFnPointer(proc("glIsList"), def_glIsList); fn_glFrustum = new Deno.UnsafeFnPointer(proc("glFrustum"), def_glFrustum); - fn_glLoadIdentity = new Deno.UnsafeFnPointer(proc("glLoadIdentity"), def_glLoadIdentity); - fn_glLoadMatrixf = new Deno.UnsafeFnPointer(proc("glLoadMatrixf"), def_glLoadMatrixf); - fn_glLoadMatrixd = new Deno.UnsafeFnPointer(proc("glLoadMatrixd"), def_glLoadMatrixd); - fn_glMatrixMode = new Deno.UnsafeFnPointer(proc("glMatrixMode"), def_glMatrixMode); - fn_glMultMatrixf = new Deno.UnsafeFnPointer(proc("glMultMatrixf"), def_glMultMatrixf); - fn_glMultMatrixd = new Deno.UnsafeFnPointer(proc("glMultMatrixd"), def_glMultMatrixd); + fn_glLoadIdentity = new Deno.UnsafeFnPointer( + proc("glLoadIdentity"), + def_glLoadIdentity, + ); + fn_glLoadMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadMatrixf"), + def_glLoadMatrixf, + ); + fn_glLoadMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadMatrixd"), + def_glLoadMatrixd, + ); + fn_glMatrixMode = new Deno.UnsafeFnPointer( + proc("glMatrixMode"), + def_glMatrixMode, + ); + fn_glMultMatrixf = new Deno.UnsafeFnPointer( + proc("glMultMatrixf"), + def_glMultMatrixf, + ); + fn_glMultMatrixd = new Deno.UnsafeFnPointer( + proc("glMultMatrixd"), + def_glMultMatrixd, + ); fn_glOrtho = new Deno.UnsafeFnPointer(proc("glOrtho"), def_glOrtho); - fn_glPopMatrix = new Deno.UnsafeFnPointer(proc("glPopMatrix"), def_glPopMatrix); - fn_glPushMatrix = new Deno.UnsafeFnPointer(proc("glPushMatrix"), def_glPushMatrix); + fn_glPopMatrix = new Deno.UnsafeFnPointer( + proc("glPopMatrix"), + def_glPopMatrix, + ); + fn_glPushMatrix = new Deno.UnsafeFnPointer( + proc("glPushMatrix"), + def_glPushMatrix, + ); fn_glRotated = new Deno.UnsafeFnPointer(proc("glRotated"), def_glRotated); fn_glRotatef = new Deno.UnsafeFnPointer(proc("glRotatef"), def_glRotatef); fn_glScaled = new Deno.UnsafeFnPointer(proc("glScaled"), def_glScaled); fn_glScalef = new Deno.UnsafeFnPointer(proc("glScalef"), def_glScalef); - fn_glTranslated = new Deno.UnsafeFnPointer(proc("glTranslated"), def_glTranslated); - fn_glTranslatef = new Deno.UnsafeFnPointer(proc("glTranslatef"), def_glTranslatef); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glArrayElement = new Deno.UnsafeFnPointer(proc("glArrayElement"), def_glArrayElement); - fn_glColorPointer = new Deno.UnsafeFnPointer(proc("glColorPointer"), def_glColorPointer); - fn_glDisableClientState = new Deno.UnsafeFnPointer(proc("glDisableClientState"), def_glDisableClientState); - fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer(proc("glEdgeFlagPointer"), def_glEdgeFlagPointer); - fn_glEnableClientState = new Deno.UnsafeFnPointer(proc("glEnableClientState"), def_glEnableClientState); - fn_glIndexPointer = new Deno.UnsafeFnPointer(proc("glIndexPointer"), def_glIndexPointer); - fn_glInterleavedArrays = new Deno.UnsafeFnPointer(proc("glInterleavedArrays"), def_glInterleavedArrays); - fn_glNormalPointer = new Deno.UnsafeFnPointer(proc("glNormalPointer"), def_glNormalPointer); - fn_glTexCoordPointer = new Deno.UnsafeFnPointer(proc("glTexCoordPointer"), def_glTexCoordPointer); - fn_glVertexPointer = new Deno.UnsafeFnPointer(proc("glVertexPointer"), def_glVertexPointer); - fn_glAreTexturesResident = new Deno.UnsafeFnPointer(proc("glAreTexturesResident"), def_glAreTexturesResident); - fn_glPrioritizeTextures = new Deno.UnsafeFnPointer(proc("glPrioritizeTextures"), def_glPrioritizeTextures); + fn_glTranslated = new Deno.UnsafeFnPointer( + proc("glTranslated"), + def_glTranslated, + ); + fn_glTranslatef = new Deno.UnsafeFnPointer( + proc("glTranslatef"), + def_glTranslatef, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glArrayElement = new Deno.UnsafeFnPointer( + proc("glArrayElement"), + def_glArrayElement, + ); + fn_glColorPointer = new Deno.UnsafeFnPointer( + proc("glColorPointer"), + def_glColorPointer, + ); + fn_glDisableClientState = new Deno.UnsafeFnPointer( + proc("glDisableClientState"), + def_glDisableClientState, + ); + fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer( + proc("glEdgeFlagPointer"), + def_glEdgeFlagPointer, + ); + fn_glEnableClientState = new Deno.UnsafeFnPointer( + proc("glEnableClientState"), + def_glEnableClientState, + ); + fn_glIndexPointer = new Deno.UnsafeFnPointer( + proc("glIndexPointer"), + def_glIndexPointer, + ); + fn_glInterleavedArrays = new Deno.UnsafeFnPointer( + proc("glInterleavedArrays"), + def_glInterleavedArrays, + ); + fn_glNormalPointer = new Deno.UnsafeFnPointer( + proc("glNormalPointer"), + def_glNormalPointer, + ); + fn_glTexCoordPointer = new Deno.UnsafeFnPointer( + proc("glTexCoordPointer"), + def_glTexCoordPointer, + ); + fn_glVertexPointer = new Deno.UnsafeFnPointer( + proc("glVertexPointer"), + def_glVertexPointer, + ); + fn_glAreTexturesResident = new Deno.UnsafeFnPointer( + proc("glAreTexturesResident"), + def_glAreTexturesResident, + ); + fn_glPrioritizeTextures = new Deno.UnsafeFnPointer( + proc("glPrioritizeTextures"), + def_glPrioritizeTextures, + ); fn_glIndexub = new Deno.UnsafeFnPointer(proc("glIndexub"), def_glIndexub); fn_glIndexubv = new Deno.UnsafeFnPointer(proc("glIndexubv"), def_glIndexubv); - fn_glPopClientAttrib = new Deno.UnsafeFnPointer(proc("glPopClientAttrib"), def_glPopClientAttrib); - fn_glPushClientAttrib = new Deno.UnsafeFnPointer(proc("glPushClientAttrib"), def_glPushClientAttrib); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glClientActiveTexture = new Deno.UnsafeFnPointer(proc("glClientActiveTexture"), def_glClientActiveTexture); - fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1d"), def_glMultiTexCoord1d); - fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1dv"), def_glMultiTexCoord1dv); - fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1f"), def_glMultiTexCoord1f); - fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1fv"), def_glMultiTexCoord1fv); - fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1i"), def_glMultiTexCoord1i); - fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1iv"), def_glMultiTexCoord1iv); - fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1s"), def_glMultiTexCoord1s); - fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1sv"), def_glMultiTexCoord1sv); - fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2d"), def_glMultiTexCoord2d); - fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2dv"), def_glMultiTexCoord2dv); - fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2f"), def_glMultiTexCoord2f); - fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2fv"), def_glMultiTexCoord2fv); - fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2i"), def_glMultiTexCoord2i); - fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2iv"), def_glMultiTexCoord2iv); - fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2s"), def_glMultiTexCoord2s); - fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2sv"), def_glMultiTexCoord2sv); - fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3d"), def_glMultiTexCoord3d); - fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3dv"), def_glMultiTexCoord3dv); - fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3f"), def_glMultiTexCoord3f); - fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3fv"), def_glMultiTexCoord3fv); - fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3i"), def_glMultiTexCoord3i); - fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3iv"), def_glMultiTexCoord3iv); - fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3s"), def_glMultiTexCoord3s); - fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3sv"), def_glMultiTexCoord3sv); - fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4d"), def_glMultiTexCoord4d); - fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4dv"), def_glMultiTexCoord4dv); - fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4f"), def_glMultiTexCoord4f); - fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4fv"), def_glMultiTexCoord4fv); - fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4i"), def_glMultiTexCoord4i); - fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4iv"), def_glMultiTexCoord4iv); - fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4s"), def_glMultiTexCoord4s); - fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4sv"), def_glMultiTexCoord4sv); - fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixf"), def_glLoadTransposeMatrixf); - fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixd"), def_glLoadTransposeMatrixd); - fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixf"), def_glMultTransposeMatrixf); - fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixd"), def_glMultTransposeMatrixd); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glFogCoordf = new Deno.UnsafeFnPointer(proc("glFogCoordf"), def_glFogCoordf); - fn_glFogCoordfv = new Deno.UnsafeFnPointer(proc("glFogCoordfv"), def_glFogCoordfv); - fn_glFogCoordd = new Deno.UnsafeFnPointer(proc("glFogCoordd"), def_glFogCoordd); - fn_glFogCoorddv = new Deno.UnsafeFnPointer(proc("glFogCoorddv"), def_glFogCoorddv); - fn_glFogCoordPointer = new Deno.UnsafeFnPointer(proc("glFogCoordPointer"), def_glFogCoordPointer); - fn_glSecondaryColor3b = new Deno.UnsafeFnPointer(proc("glSecondaryColor3b"), def_glSecondaryColor3b); - fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3bv"), def_glSecondaryColor3bv); - fn_glSecondaryColor3d = new Deno.UnsafeFnPointer(proc("glSecondaryColor3d"), def_glSecondaryColor3d); - fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3dv"), def_glSecondaryColor3dv); - fn_glSecondaryColor3f = new Deno.UnsafeFnPointer(proc("glSecondaryColor3f"), def_glSecondaryColor3f); - fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3fv"), def_glSecondaryColor3fv); - fn_glSecondaryColor3i = new Deno.UnsafeFnPointer(proc("glSecondaryColor3i"), def_glSecondaryColor3i); - fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3iv"), def_glSecondaryColor3iv); - fn_glSecondaryColor3s = new Deno.UnsafeFnPointer(proc("glSecondaryColor3s"), def_glSecondaryColor3s); - fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3sv"), def_glSecondaryColor3sv); - fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ub"), def_glSecondaryColor3ub); - fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ubv"), def_glSecondaryColor3ubv); - fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ui"), def_glSecondaryColor3ui); - fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3uiv"), def_glSecondaryColor3uiv); - fn_glSecondaryColor3us = new Deno.UnsafeFnPointer(proc("glSecondaryColor3us"), def_glSecondaryColor3us); - fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3usv"), def_glSecondaryColor3usv); - fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer(proc("glSecondaryColorPointer"), def_glSecondaryColorPointer); - fn_glWindowPos2d = new Deno.UnsafeFnPointer(proc("glWindowPos2d"), def_glWindowPos2d); - fn_glWindowPos2dv = new Deno.UnsafeFnPointer(proc("glWindowPos2dv"), def_glWindowPos2dv); - fn_glWindowPos2f = new Deno.UnsafeFnPointer(proc("glWindowPos2f"), def_glWindowPos2f); - fn_glWindowPos2fv = new Deno.UnsafeFnPointer(proc("glWindowPos2fv"), def_glWindowPos2fv); - fn_glWindowPos2i = new Deno.UnsafeFnPointer(proc("glWindowPos2i"), def_glWindowPos2i); - fn_glWindowPos2iv = new Deno.UnsafeFnPointer(proc("glWindowPos2iv"), def_glWindowPos2iv); - fn_glWindowPos2s = new Deno.UnsafeFnPointer(proc("glWindowPos2s"), def_glWindowPos2s); - fn_glWindowPos2sv = new Deno.UnsafeFnPointer(proc("glWindowPos2sv"), def_glWindowPos2sv); - fn_glWindowPos3d = new Deno.UnsafeFnPointer(proc("glWindowPos3d"), def_glWindowPos3d); - fn_glWindowPos3dv = new Deno.UnsafeFnPointer(proc("glWindowPos3dv"), def_glWindowPos3dv); - fn_glWindowPos3f = new Deno.UnsafeFnPointer(proc("glWindowPos3f"), def_glWindowPos3f); - fn_glWindowPos3fv = new Deno.UnsafeFnPointer(proc("glWindowPos3fv"), def_glWindowPos3fv); - fn_glWindowPos3i = new Deno.UnsafeFnPointer(proc("glWindowPos3i"), def_glWindowPos3i); - fn_glWindowPos3iv = new Deno.UnsafeFnPointer(proc("glWindowPos3iv"), def_glWindowPos3iv); - fn_glWindowPos3s = new Deno.UnsafeFnPointer(proc("glWindowPos3s"), def_glWindowPos3s); - fn_glWindowPos3sv = new Deno.UnsafeFnPointer(proc("glWindowPos3sv"), def_glWindowPos3sv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glPopClientAttrib = new Deno.UnsafeFnPointer( + proc("glPopClientAttrib"), + def_glPopClientAttrib, + ); + fn_glPushClientAttrib = new Deno.UnsafeFnPointer( + proc("glPushClientAttrib"), + def_glPushClientAttrib, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glClientActiveTexture = new Deno.UnsafeFnPointer( + proc("glClientActiveTexture"), + def_glClientActiveTexture, + ); + fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1d"), + def_glMultiTexCoord1d, + ); + fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1dv"), + def_glMultiTexCoord1dv, + ); + fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1f"), + def_glMultiTexCoord1f, + ); + fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1fv"), + def_glMultiTexCoord1fv, + ); + fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1i"), + def_glMultiTexCoord1i, + ); + fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1iv"), + def_glMultiTexCoord1iv, + ); + fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1s"), + def_glMultiTexCoord1s, + ); + fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1sv"), + def_glMultiTexCoord1sv, + ); + fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2d"), + def_glMultiTexCoord2d, + ); + fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2dv"), + def_glMultiTexCoord2dv, + ); + fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2f"), + def_glMultiTexCoord2f, + ); + fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2fv"), + def_glMultiTexCoord2fv, + ); + fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2i"), + def_glMultiTexCoord2i, + ); + fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2iv"), + def_glMultiTexCoord2iv, + ); + fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2s"), + def_glMultiTexCoord2s, + ); + fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2sv"), + def_glMultiTexCoord2sv, + ); + fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3d"), + def_glMultiTexCoord3d, + ); + fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3dv"), + def_glMultiTexCoord3dv, + ); + fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3f"), + def_glMultiTexCoord3f, + ); + fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3fv"), + def_glMultiTexCoord3fv, + ); + fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3i"), + def_glMultiTexCoord3i, + ); + fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3iv"), + def_glMultiTexCoord3iv, + ); + fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3s"), + def_glMultiTexCoord3s, + ); + fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3sv"), + def_glMultiTexCoord3sv, + ); + fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4d"), + def_glMultiTexCoord4d, + ); + fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4dv"), + def_glMultiTexCoord4dv, + ); + fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4f"), + def_glMultiTexCoord4f, + ); + fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4fv"), + def_glMultiTexCoord4fv, + ); + fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4i"), + def_glMultiTexCoord4i, + ); + fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4iv"), + def_glMultiTexCoord4iv, + ); + fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4s"), + def_glMultiTexCoord4s, + ); + fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4sv"), + def_glMultiTexCoord4sv, + ); + fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixf"), + def_glLoadTransposeMatrixf, + ); + fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixd"), + def_glLoadTransposeMatrixd, + ); + fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixf"), + def_glMultTransposeMatrixf, + ); + fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixd"), + def_glMultTransposeMatrixd, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glFogCoordf = new Deno.UnsafeFnPointer( + proc("glFogCoordf"), + def_glFogCoordf, + ); + fn_glFogCoordfv = new Deno.UnsafeFnPointer( + proc("glFogCoordfv"), + def_glFogCoordfv, + ); + fn_glFogCoordd = new Deno.UnsafeFnPointer( + proc("glFogCoordd"), + def_glFogCoordd, + ); + fn_glFogCoorddv = new Deno.UnsafeFnPointer( + proc("glFogCoorddv"), + def_glFogCoorddv, + ); + fn_glFogCoordPointer = new Deno.UnsafeFnPointer( + proc("glFogCoordPointer"), + def_glFogCoordPointer, + ); + fn_glSecondaryColor3b = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3b"), + def_glSecondaryColor3b, + ); + fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3bv"), + def_glSecondaryColor3bv, + ); + fn_glSecondaryColor3d = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3d"), + def_glSecondaryColor3d, + ); + fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3dv"), + def_glSecondaryColor3dv, + ); + fn_glSecondaryColor3f = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3f"), + def_glSecondaryColor3f, + ); + fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3fv"), + def_glSecondaryColor3fv, + ); + fn_glSecondaryColor3i = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3i"), + def_glSecondaryColor3i, + ); + fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3iv"), + def_glSecondaryColor3iv, + ); + fn_glSecondaryColor3s = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3s"), + def_glSecondaryColor3s, + ); + fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3sv"), + def_glSecondaryColor3sv, + ); + fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ub"), + def_glSecondaryColor3ub, + ); + fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ubv"), + def_glSecondaryColor3ubv, + ); + fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ui"), + def_glSecondaryColor3ui, + ); + fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3uiv"), + def_glSecondaryColor3uiv, + ); + fn_glSecondaryColor3us = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3us"), + def_glSecondaryColor3us, + ); + fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3usv"), + def_glSecondaryColor3usv, + ); + fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer( + proc("glSecondaryColorPointer"), + def_glSecondaryColorPointer, + ); + fn_glWindowPos2d = new Deno.UnsafeFnPointer( + proc("glWindowPos2d"), + def_glWindowPos2d, + ); + fn_glWindowPos2dv = new Deno.UnsafeFnPointer( + proc("glWindowPos2dv"), + def_glWindowPos2dv, + ); + fn_glWindowPos2f = new Deno.UnsafeFnPointer( + proc("glWindowPos2f"), + def_glWindowPos2f, + ); + fn_glWindowPos2fv = new Deno.UnsafeFnPointer( + proc("glWindowPos2fv"), + def_glWindowPos2fv, + ); + fn_glWindowPos2i = new Deno.UnsafeFnPointer( + proc("glWindowPos2i"), + def_glWindowPos2i, + ); + fn_glWindowPos2iv = new Deno.UnsafeFnPointer( + proc("glWindowPos2iv"), + def_glWindowPos2iv, + ); + fn_glWindowPos2s = new Deno.UnsafeFnPointer( + proc("glWindowPos2s"), + def_glWindowPos2s, + ); + fn_glWindowPos2sv = new Deno.UnsafeFnPointer( + proc("glWindowPos2sv"), + def_glWindowPos2sv, + ); + fn_glWindowPos3d = new Deno.UnsafeFnPointer( + proc("glWindowPos3d"), + def_glWindowPos3d, + ); + fn_glWindowPos3dv = new Deno.UnsafeFnPointer( + proc("glWindowPos3dv"), + def_glWindowPos3dv, + ); + fn_glWindowPos3f = new Deno.UnsafeFnPointer( + proc("glWindowPos3f"), + def_glWindowPos3f, + ); + fn_glWindowPos3fv = new Deno.UnsafeFnPointer( + proc("glWindowPos3fv"), + def_glWindowPos3fv, + ); + fn_glWindowPos3i = new Deno.UnsafeFnPointer( + proc("glWindowPos3i"), + def_glWindowPos3i, + ); + fn_glWindowPos3iv = new Deno.UnsafeFnPointer( + proc("glWindowPos3iv"), + def_glWindowPos3iv, + ); + fn_glWindowPos3s = new Deno.UnsafeFnPointer( + proc("glWindowPos3s"), + def_glWindowPos3s, + ); + fn_glWindowPos3sv = new Deno.UnsafeFnPointer( + proc("glWindowPos3sv"), + def_glWindowPos3sv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); } diff --git a/api/gl2.ts b/api/gl2.ts index 340e64c..02a2ff4 100644 --- a/api/gl2.ts +++ b/api/gl2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1133,7 +1141,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1630,7 +1648,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1649,7 +1669,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1668,7 +1690,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1689,7 +1713,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -5118,7 +5144,18 @@ export function Map1f( } export const def_glMap2d = { - parameters: ["u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5151,7 +5188,18 @@ export function Map2d( } export const def_glMap2f = { - parameters: ["u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5846,7 +5894,9 @@ export const def_glGetPolygonStipple = { result: "void", } as const; -let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetPolygonStipple +>; export function GetPolygonStipple( mask: Buffer, @@ -6377,7 +6427,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -6402,7 +6454,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -6454,7 +6508,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6591,7 +6655,9 @@ export const def_glDisableClientState = { result: "void", } as const; -let fn_glDisableClientState!: Deno.UnsafeFnPointer; +let fn_glDisableClientState!: Deno.UnsafeFnPointer< + typeof def_glDisableClientState +>; export function DisableClientState( array: GLenum, @@ -6623,7 +6689,9 @@ export const def_glEnableClientState = { result: "void", } as const; -let fn_glEnableClientState!: Deno.UnsafeFnPointer; +let fn_glEnableClientState!: Deno.UnsafeFnPointer< + typeof def_glEnableClientState +>; export function EnableClientState( array: GLenum, @@ -6657,7 +6725,9 @@ export const def_glInterleavedArrays = { result: "void", } as const; -let fn_glInterleavedArrays!: Deno.UnsafeFnPointer; +let fn_glInterleavedArrays!: Deno.UnsafeFnPointer< + typeof def_glInterleavedArrays +>; export function InterleavedArrays( format: GLenum, @@ -6737,7 +6807,9 @@ export const def_glAreTexturesResident = { result: "u8", } as const; -let fn_glAreTexturesResident!: Deno.UnsafeFnPointer; +let fn_glAreTexturesResident!: Deno.UnsafeFnPointer< + typeof def_glAreTexturesResident +>; export function AreTexturesResident( n: GLsizei, @@ -6756,7 +6828,9 @@ export const def_glPrioritizeTextures = { result: "void", } as const; -let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer; +let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer< + typeof def_glPrioritizeTextures +>; export function PrioritizeTextures( n: GLsizei, @@ -6831,7 +6905,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -6852,7 +6928,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6885,7 +6972,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6924,7 +7023,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -6983,11 +7084,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -7018,7 +7131,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -7047,7 +7162,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -7070,11 +7187,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -7105,11 +7236,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -7140,7 +7283,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -7167,7 +7312,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -7186,7 +7333,9 @@ export const def_glClientActiveTexture = { result: "void", } as const; -let fn_glClientActiveTexture!: Deno.UnsafeFnPointer; +let fn_glClientActiveTexture!: Deno.UnsafeFnPointer< + typeof def_glClientActiveTexture +>; export function ClientActiveTexture( texture: GLenum, @@ -7793,7 +7942,9 @@ export const def_glLoadTransposeMatrixf = { result: "void", } as const; -let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixf +>; export function LoadTransposeMatrixf( m: Buffer, @@ -7808,7 +7959,9 @@ export const def_glLoadTransposeMatrixd = { result: "void", } as const; -let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixd +>; export function LoadTransposeMatrixd( m: Buffer, @@ -7823,7 +7976,9 @@ export const def_glMultTransposeMatrixf = { result: "void", } as const; -let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixf +>; export function MultTransposeMatrixf( m: Buffer, @@ -7838,7 +7993,9 @@ export const def_glMultTransposeMatrixd = { result: "void", } as const; -let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixd +>; export function MultTransposeMatrixd( m: Buffer, @@ -7853,7 +8010,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -7895,7 +8054,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -8084,7 +8245,9 @@ export const def_glSecondaryColor3bv = { result: "void", } as const; -let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3bv +>; export function SecondaryColor3bv( v: Buffer, @@ -8118,7 +8281,9 @@ export const def_glSecondaryColor3dv = { result: "void", } as const; -let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3dv +>; export function SecondaryColor3dv( v: Buffer, @@ -8152,7 +8317,9 @@ export const def_glSecondaryColor3fv = { result: "void", } as const; -let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3fv +>; export function SecondaryColor3fv( v: Buffer, @@ -8186,7 +8353,9 @@ export const def_glSecondaryColor3iv = { result: "void", } as const; -let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3iv +>; export function SecondaryColor3iv( v: Buffer, @@ -8220,7 +8389,9 @@ export const def_glSecondaryColor3sv = { result: "void", } as const; -let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3sv +>; export function SecondaryColor3sv( v: Buffer, @@ -8235,7 +8406,9 @@ export const def_glSecondaryColor3ub = { result: "void", } as const; -let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ub +>; export function SecondaryColor3ub( red: GLubyte, @@ -8254,7 +8427,9 @@ export const def_glSecondaryColor3ubv = { result: "void", } as const; -let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ubv +>; export function SecondaryColor3ubv( v: Buffer, @@ -8269,7 +8444,9 @@ export const def_glSecondaryColor3ui = { result: "void", } as const; -let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ui +>; export function SecondaryColor3ui( red: GLuint, @@ -8288,7 +8465,9 @@ export const def_glSecondaryColor3uiv = { result: "void", } as const; -let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3uiv +>; export function SecondaryColor3uiv( v: Buffer, @@ -8303,7 +8482,9 @@ export const def_glSecondaryColor3us = { result: "void", } as const; -let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3us +>; export function SecondaryColor3us( red: GLushort, @@ -8322,7 +8503,9 @@ export const def_glSecondaryColor3usv = { result: "void", } as const; -let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3usv +>; export function SecondaryColor3usv( v: Buffer, @@ -8337,7 +8520,9 @@ export const def_glSecondaryColorPointer = { result: "void", } as const; -let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorPointer +>; export function SecondaryColorPointer( size: GLint, @@ -8777,7 +8962,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -8957,7 +9144,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -8976,7 +9165,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -8995,7 +9186,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -9029,7 +9222,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -9050,7 +9245,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -9071,7 +9268,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -9105,7 +9304,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -9212,7 +9413,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -9227,7 +9430,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -9296,7 +9501,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -9317,7 +9524,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -9353,7 +9562,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -9435,7 +9646,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -9490,7 +9703,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -9509,7 +9724,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -9528,7 +9745,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -9547,7 +9766,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -10435,7 +10656,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -10452,7 +10675,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -10469,7 +10694,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -10691,7 +10918,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -10714,58 +10943,175 @@ export function VertexAttribPointer( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); fn_glNewList = new Deno.UnsafeFnPointer(proc("glNewList"), def_glNewList); fn_glEndList = new Deno.UnsafeFnPointer(proc("glEndList"), def_glEndList); fn_glCallList = new Deno.UnsafeFnPointer(proc("glCallList"), def_glCallList); - fn_glCallLists = new Deno.UnsafeFnPointer(proc("glCallLists"), def_glCallLists); - fn_glDeleteLists = new Deno.UnsafeFnPointer(proc("glDeleteLists"), def_glDeleteLists); + fn_glCallLists = new Deno.UnsafeFnPointer( + proc("glCallLists"), + def_glCallLists, + ); + fn_glDeleteLists = new Deno.UnsafeFnPointer( + proc("glDeleteLists"), + def_glDeleteLists, + ); fn_glGenLists = new Deno.UnsafeFnPointer(proc("glGenLists"), def_glGenLists); fn_glListBase = new Deno.UnsafeFnPointer(proc("glListBase"), def_glListBase); fn_glBegin = new Deno.UnsafeFnPointer(proc("glBegin"), def_glBegin); @@ -10781,11 +11127,20 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor3s = new Deno.UnsafeFnPointer(proc("glColor3s"), def_glColor3s); fn_glColor3sv = new Deno.UnsafeFnPointer(proc("glColor3sv"), def_glColor3sv); fn_glColor3ub = new Deno.UnsafeFnPointer(proc("glColor3ub"), def_glColor3ub); - fn_glColor3ubv = new Deno.UnsafeFnPointer(proc("glColor3ubv"), def_glColor3ubv); + fn_glColor3ubv = new Deno.UnsafeFnPointer( + proc("glColor3ubv"), + def_glColor3ubv, + ); fn_glColor3ui = new Deno.UnsafeFnPointer(proc("glColor3ui"), def_glColor3ui); - fn_glColor3uiv = new Deno.UnsafeFnPointer(proc("glColor3uiv"), def_glColor3uiv); + fn_glColor3uiv = new Deno.UnsafeFnPointer( + proc("glColor3uiv"), + def_glColor3uiv, + ); fn_glColor3us = new Deno.UnsafeFnPointer(proc("glColor3us"), def_glColor3us); - fn_glColor3usv = new Deno.UnsafeFnPointer(proc("glColor3usv"), def_glColor3usv); + fn_glColor3usv = new Deno.UnsafeFnPointer( + proc("glColor3usv"), + def_glColor3usv, + ); fn_glColor4b = new Deno.UnsafeFnPointer(proc("glColor4b"), def_glColor4b); fn_glColor4bv = new Deno.UnsafeFnPointer(proc("glColor4bv"), def_glColor4bv); fn_glColor4d = new Deno.UnsafeFnPointer(proc("glColor4d"), def_glColor4d); @@ -10797,13 +11152,25 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor4s = new Deno.UnsafeFnPointer(proc("glColor4s"), def_glColor4s); fn_glColor4sv = new Deno.UnsafeFnPointer(proc("glColor4sv"), def_glColor4sv); fn_glColor4ub = new Deno.UnsafeFnPointer(proc("glColor4ub"), def_glColor4ub); - fn_glColor4ubv = new Deno.UnsafeFnPointer(proc("glColor4ubv"), def_glColor4ubv); + fn_glColor4ubv = new Deno.UnsafeFnPointer( + proc("glColor4ubv"), + def_glColor4ubv, + ); fn_glColor4ui = new Deno.UnsafeFnPointer(proc("glColor4ui"), def_glColor4ui); - fn_glColor4uiv = new Deno.UnsafeFnPointer(proc("glColor4uiv"), def_glColor4uiv); + fn_glColor4uiv = new Deno.UnsafeFnPointer( + proc("glColor4uiv"), + def_glColor4uiv, + ); fn_glColor4us = new Deno.UnsafeFnPointer(proc("glColor4us"), def_glColor4us); - fn_glColor4usv = new Deno.UnsafeFnPointer(proc("glColor4usv"), def_glColor4usv); + fn_glColor4usv = new Deno.UnsafeFnPointer( + proc("glColor4usv"), + def_glColor4usv, + ); fn_glEdgeFlag = new Deno.UnsafeFnPointer(proc("glEdgeFlag"), def_glEdgeFlag); - fn_glEdgeFlagv = new Deno.UnsafeFnPointer(proc("glEdgeFlagv"), def_glEdgeFlagv); + fn_glEdgeFlagv = new Deno.UnsafeFnPointer( + proc("glEdgeFlagv"), + def_glEdgeFlagv, + ); fn_glEnd = new Deno.UnsafeFnPointer(proc("glEnd"), def_glEnd); fn_glIndexd = new Deno.UnsafeFnPointer(proc("glIndexd"), def_glIndexd); fn_glIndexdv = new Deno.UnsafeFnPointer(proc("glIndexdv"), def_glIndexdv); @@ -10814,39 +11181,126 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glIndexs = new Deno.UnsafeFnPointer(proc("glIndexs"), def_glIndexs); fn_glIndexsv = new Deno.UnsafeFnPointer(proc("glIndexsv"), def_glIndexsv); fn_glNormal3b = new Deno.UnsafeFnPointer(proc("glNormal3b"), def_glNormal3b); - fn_glNormal3bv = new Deno.UnsafeFnPointer(proc("glNormal3bv"), def_glNormal3bv); + fn_glNormal3bv = new Deno.UnsafeFnPointer( + proc("glNormal3bv"), + def_glNormal3bv, + ); fn_glNormal3d = new Deno.UnsafeFnPointer(proc("glNormal3d"), def_glNormal3d); - fn_glNormal3dv = new Deno.UnsafeFnPointer(proc("glNormal3dv"), def_glNormal3dv); + fn_glNormal3dv = new Deno.UnsafeFnPointer( + proc("glNormal3dv"), + def_glNormal3dv, + ); fn_glNormal3f = new Deno.UnsafeFnPointer(proc("glNormal3f"), def_glNormal3f); - fn_glNormal3fv = new Deno.UnsafeFnPointer(proc("glNormal3fv"), def_glNormal3fv); + fn_glNormal3fv = new Deno.UnsafeFnPointer( + proc("glNormal3fv"), + def_glNormal3fv, + ); fn_glNormal3i = new Deno.UnsafeFnPointer(proc("glNormal3i"), def_glNormal3i); - fn_glNormal3iv = new Deno.UnsafeFnPointer(proc("glNormal3iv"), def_glNormal3iv); + fn_glNormal3iv = new Deno.UnsafeFnPointer( + proc("glNormal3iv"), + def_glNormal3iv, + ); fn_glNormal3s = new Deno.UnsafeFnPointer(proc("glNormal3s"), def_glNormal3s); - fn_glNormal3sv = new Deno.UnsafeFnPointer(proc("glNormal3sv"), def_glNormal3sv); - fn_glRasterPos2d = new Deno.UnsafeFnPointer(proc("glRasterPos2d"), def_glRasterPos2d); - fn_glRasterPos2dv = new Deno.UnsafeFnPointer(proc("glRasterPos2dv"), def_glRasterPos2dv); - fn_glRasterPos2f = new Deno.UnsafeFnPointer(proc("glRasterPos2f"), def_glRasterPos2f); - fn_glRasterPos2fv = new Deno.UnsafeFnPointer(proc("glRasterPos2fv"), def_glRasterPos2fv); - fn_glRasterPos2i = new Deno.UnsafeFnPointer(proc("glRasterPos2i"), def_glRasterPos2i); - fn_glRasterPos2iv = new Deno.UnsafeFnPointer(proc("glRasterPos2iv"), def_glRasterPos2iv); - fn_glRasterPos2s = new Deno.UnsafeFnPointer(proc("glRasterPos2s"), def_glRasterPos2s); - fn_glRasterPos2sv = new Deno.UnsafeFnPointer(proc("glRasterPos2sv"), def_glRasterPos2sv); - fn_glRasterPos3d = new Deno.UnsafeFnPointer(proc("glRasterPos3d"), def_glRasterPos3d); - fn_glRasterPos3dv = new Deno.UnsafeFnPointer(proc("glRasterPos3dv"), def_glRasterPos3dv); - fn_glRasterPos3f = new Deno.UnsafeFnPointer(proc("glRasterPos3f"), def_glRasterPos3f); - fn_glRasterPos3fv = new Deno.UnsafeFnPointer(proc("glRasterPos3fv"), def_glRasterPos3fv); - fn_glRasterPos3i = new Deno.UnsafeFnPointer(proc("glRasterPos3i"), def_glRasterPos3i); - fn_glRasterPos3iv = new Deno.UnsafeFnPointer(proc("glRasterPos3iv"), def_glRasterPos3iv); - fn_glRasterPos3s = new Deno.UnsafeFnPointer(proc("glRasterPos3s"), def_glRasterPos3s); - fn_glRasterPos3sv = new Deno.UnsafeFnPointer(proc("glRasterPos3sv"), def_glRasterPos3sv); - fn_glRasterPos4d = new Deno.UnsafeFnPointer(proc("glRasterPos4d"), def_glRasterPos4d); - fn_glRasterPos4dv = new Deno.UnsafeFnPointer(proc("glRasterPos4dv"), def_glRasterPos4dv); - fn_glRasterPos4f = new Deno.UnsafeFnPointer(proc("glRasterPos4f"), def_glRasterPos4f); - fn_glRasterPos4fv = new Deno.UnsafeFnPointer(proc("glRasterPos4fv"), def_glRasterPos4fv); - fn_glRasterPos4i = new Deno.UnsafeFnPointer(proc("glRasterPos4i"), def_glRasterPos4i); - fn_glRasterPos4iv = new Deno.UnsafeFnPointer(proc("glRasterPos4iv"), def_glRasterPos4iv); - fn_glRasterPos4s = new Deno.UnsafeFnPointer(proc("glRasterPos4s"), def_glRasterPos4s); - fn_glRasterPos4sv = new Deno.UnsafeFnPointer(proc("glRasterPos4sv"), def_glRasterPos4sv); + fn_glNormal3sv = new Deno.UnsafeFnPointer( + proc("glNormal3sv"), + def_glNormal3sv, + ); + fn_glRasterPos2d = new Deno.UnsafeFnPointer( + proc("glRasterPos2d"), + def_glRasterPos2d, + ); + fn_glRasterPos2dv = new Deno.UnsafeFnPointer( + proc("glRasterPos2dv"), + def_glRasterPos2dv, + ); + fn_glRasterPos2f = new Deno.UnsafeFnPointer( + proc("glRasterPos2f"), + def_glRasterPos2f, + ); + fn_glRasterPos2fv = new Deno.UnsafeFnPointer( + proc("glRasterPos2fv"), + def_glRasterPos2fv, + ); + fn_glRasterPos2i = new Deno.UnsafeFnPointer( + proc("glRasterPos2i"), + def_glRasterPos2i, + ); + fn_glRasterPos2iv = new Deno.UnsafeFnPointer( + proc("glRasterPos2iv"), + def_glRasterPos2iv, + ); + fn_glRasterPos2s = new Deno.UnsafeFnPointer( + proc("glRasterPos2s"), + def_glRasterPos2s, + ); + fn_glRasterPos2sv = new Deno.UnsafeFnPointer( + proc("glRasterPos2sv"), + def_glRasterPos2sv, + ); + fn_glRasterPos3d = new Deno.UnsafeFnPointer( + proc("glRasterPos3d"), + def_glRasterPos3d, + ); + fn_glRasterPos3dv = new Deno.UnsafeFnPointer( + proc("glRasterPos3dv"), + def_glRasterPos3dv, + ); + fn_glRasterPos3f = new Deno.UnsafeFnPointer( + proc("glRasterPos3f"), + def_glRasterPos3f, + ); + fn_glRasterPos3fv = new Deno.UnsafeFnPointer( + proc("glRasterPos3fv"), + def_glRasterPos3fv, + ); + fn_glRasterPos3i = new Deno.UnsafeFnPointer( + proc("glRasterPos3i"), + def_glRasterPos3i, + ); + fn_glRasterPos3iv = new Deno.UnsafeFnPointer( + proc("glRasterPos3iv"), + def_glRasterPos3iv, + ); + fn_glRasterPos3s = new Deno.UnsafeFnPointer( + proc("glRasterPos3s"), + def_glRasterPos3s, + ); + fn_glRasterPos3sv = new Deno.UnsafeFnPointer( + proc("glRasterPos3sv"), + def_glRasterPos3sv, + ); + fn_glRasterPos4d = new Deno.UnsafeFnPointer( + proc("glRasterPos4d"), + def_glRasterPos4d, + ); + fn_glRasterPos4dv = new Deno.UnsafeFnPointer( + proc("glRasterPos4dv"), + def_glRasterPos4dv, + ); + fn_glRasterPos4f = new Deno.UnsafeFnPointer( + proc("glRasterPos4f"), + def_glRasterPos4f, + ); + fn_glRasterPos4fv = new Deno.UnsafeFnPointer( + proc("glRasterPos4fv"), + def_glRasterPos4fv, + ); + fn_glRasterPos4i = new Deno.UnsafeFnPointer( + proc("glRasterPos4i"), + def_glRasterPos4i, + ); + fn_glRasterPos4iv = new Deno.UnsafeFnPointer( + proc("glRasterPos4iv"), + def_glRasterPos4iv, + ); + fn_glRasterPos4s = new Deno.UnsafeFnPointer( + proc("glRasterPos4s"), + def_glRasterPos4s, + ); + fn_glRasterPos4sv = new Deno.UnsafeFnPointer( + proc("glRasterPos4sv"), + def_glRasterPos4sv, + ); fn_glRectd = new Deno.UnsafeFnPointer(proc("glRectd"), def_glRectd); fn_glRectdv = new Deno.UnsafeFnPointer(proc("glRectdv"), def_glRectdv); fn_glRectf = new Deno.UnsafeFnPointer(proc("glRectf"), def_glRectf); @@ -10855,64 +11309,202 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glRectiv = new Deno.UnsafeFnPointer(proc("glRectiv"), def_glRectiv); fn_glRects = new Deno.UnsafeFnPointer(proc("glRects"), def_glRects); fn_glRectsv = new Deno.UnsafeFnPointer(proc("glRectsv"), def_glRectsv); - fn_glTexCoord1d = new Deno.UnsafeFnPointer(proc("glTexCoord1d"), def_glTexCoord1d); - fn_glTexCoord1dv = new Deno.UnsafeFnPointer(proc("glTexCoord1dv"), def_glTexCoord1dv); - fn_glTexCoord1f = new Deno.UnsafeFnPointer(proc("glTexCoord1f"), def_glTexCoord1f); - fn_glTexCoord1fv = new Deno.UnsafeFnPointer(proc("glTexCoord1fv"), def_glTexCoord1fv); - fn_glTexCoord1i = new Deno.UnsafeFnPointer(proc("glTexCoord1i"), def_glTexCoord1i); - fn_glTexCoord1iv = new Deno.UnsafeFnPointer(proc("glTexCoord1iv"), def_glTexCoord1iv); - fn_glTexCoord1s = new Deno.UnsafeFnPointer(proc("glTexCoord1s"), def_glTexCoord1s); - fn_glTexCoord1sv = new Deno.UnsafeFnPointer(proc("glTexCoord1sv"), def_glTexCoord1sv); - fn_glTexCoord2d = new Deno.UnsafeFnPointer(proc("glTexCoord2d"), def_glTexCoord2d); - fn_glTexCoord2dv = new Deno.UnsafeFnPointer(proc("glTexCoord2dv"), def_glTexCoord2dv); - fn_glTexCoord2f = new Deno.UnsafeFnPointer(proc("glTexCoord2f"), def_glTexCoord2f); - fn_glTexCoord2fv = new Deno.UnsafeFnPointer(proc("glTexCoord2fv"), def_glTexCoord2fv); - fn_glTexCoord2i = new Deno.UnsafeFnPointer(proc("glTexCoord2i"), def_glTexCoord2i); - fn_glTexCoord2iv = new Deno.UnsafeFnPointer(proc("glTexCoord2iv"), def_glTexCoord2iv); - fn_glTexCoord2s = new Deno.UnsafeFnPointer(proc("glTexCoord2s"), def_glTexCoord2s); - fn_glTexCoord2sv = new Deno.UnsafeFnPointer(proc("glTexCoord2sv"), def_glTexCoord2sv); - fn_glTexCoord3d = new Deno.UnsafeFnPointer(proc("glTexCoord3d"), def_glTexCoord3d); - fn_glTexCoord3dv = new Deno.UnsafeFnPointer(proc("glTexCoord3dv"), def_glTexCoord3dv); - fn_glTexCoord3f = new Deno.UnsafeFnPointer(proc("glTexCoord3f"), def_glTexCoord3f); - fn_glTexCoord3fv = new Deno.UnsafeFnPointer(proc("glTexCoord3fv"), def_glTexCoord3fv); - fn_glTexCoord3i = new Deno.UnsafeFnPointer(proc("glTexCoord3i"), def_glTexCoord3i); - fn_glTexCoord3iv = new Deno.UnsafeFnPointer(proc("glTexCoord3iv"), def_glTexCoord3iv); - fn_glTexCoord3s = new Deno.UnsafeFnPointer(proc("glTexCoord3s"), def_glTexCoord3s); - fn_glTexCoord3sv = new Deno.UnsafeFnPointer(proc("glTexCoord3sv"), def_glTexCoord3sv); - fn_glTexCoord4d = new Deno.UnsafeFnPointer(proc("glTexCoord4d"), def_glTexCoord4d); - fn_glTexCoord4dv = new Deno.UnsafeFnPointer(proc("glTexCoord4dv"), def_glTexCoord4dv); - fn_glTexCoord4f = new Deno.UnsafeFnPointer(proc("glTexCoord4f"), def_glTexCoord4f); - fn_glTexCoord4fv = new Deno.UnsafeFnPointer(proc("glTexCoord4fv"), def_glTexCoord4fv); - fn_glTexCoord4i = new Deno.UnsafeFnPointer(proc("glTexCoord4i"), def_glTexCoord4i); - fn_glTexCoord4iv = new Deno.UnsafeFnPointer(proc("glTexCoord4iv"), def_glTexCoord4iv); - fn_glTexCoord4s = new Deno.UnsafeFnPointer(proc("glTexCoord4s"), def_glTexCoord4s); - fn_glTexCoord4sv = new Deno.UnsafeFnPointer(proc("glTexCoord4sv"), def_glTexCoord4sv); + fn_glTexCoord1d = new Deno.UnsafeFnPointer( + proc("glTexCoord1d"), + def_glTexCoord1d, + ); + fn_glTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glTexCoord1dv"), + def_glTexCoord1dv, + ); + fn_glTexCoord1f = new Deno.UnsafeFnPointer( + proc("glTexCoord1f"), + def_glTexCoord1f, + ); + fn_glTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glTexCoord1fv"), + def_glTexCoord1fv, + ); + fn_glTexCoord1i = new Deno.UnsafeFnPointer( + proc("glTexCoord1i"), + def_glTexCoord1i, + ); + fn_glTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glTexCoord1iv"), + def_glTexCoord1iv, + ); + fn_glTexCoord1s = new Deno.UnsafeFnPointer( + proc("glTexCoord1s"), + def_glTexCoord1s, + ); + fn_glTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glTexCoord1sv"), + def_glTexCoord1sv, + ); + fn_glTexCoord2d = new Deno.UnsafeFnPointer( + proc("glTexCoord2d"), + def_glTexCoord2d, + ); + fn_glTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glTexCoord2dv"), + def_glTexCoord2dv, + ); + fn_glTexCoord2f = new Deno.UnsafeFnPointer( + proc("glTexCoord2f"), + def_glTexCoord2f, + ); + fn_glTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glTexCoord2fv"), + def_glTexCoord2fv, + ); + fn_glTexCoord2i = new Deno.UnsafeFnPointer( + proc("glTexCoord2i"), + def_glTexCoord2i, + ); + fn_glTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glTexCoord2iv"), + def_glTexCoord2iv, + ); + fn_glTexCoord2s = new Deno.UnsafeFnPointer( + proc("glTexCoord2s"), + def_glTexCoord2s, + ); + fn_glTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glTexCoord2sv"), + def_glTexCoord2sv, + ); + fn_glTexCoord3d = new Deno.UnsafeFnPointer( + proc("glTexCoord3d"), + def_glTexCoord3d, + ); + fn_glTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glTexCoord3dv"), + def_glTexCoord3dv, + ); + fn_glTexCoord3f = new Deno.UnsafeFnPointer( + proc("glTexCoord3f"), + def_glTexCoord3f, + ); + fn_glTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glTexCoord3fv"), + def_glTexCoord3fv, + ); + fn_glTexCoord3i = new Deno.UnsafeFnPointer( + proc("glTexCoord3i"), + def_glTexCoord3i, + ); + fn_glTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glTexCoord3iv"), + def_glTexCoord3iv, + ); + fn_glTexCoord3s = new Deno.UnsafeFnPointer( + proc("glTexCoord3s"), + def_glTexCoord3s, + ); + fn_glTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glTexCoord3sv"), + def_glTexCoord3sv, + ); + fn_glTexCoord4d = new Deno.UnsafeFnPointer( + proc("glTexCoord4d"), + def_glTexCoord4d, + ); + fn_glTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glTexCoord4dv"), + def_glTexCoord4dv, + ); + fn_glTexCoord4f = new Deno.UnsafeFnPointer( + proc("glTexCoord4f"), + def_glTexCoord4f, + ); + fn_glTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glTexCoord4fv"), + def_glTexCoord4fv, + ); + fn_glTexCoord4i = new Deno.UnsafeFnPointer( + proc("glTexCoord4i"), + def_glTexCoord4i, + ); + fn_glTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glTexCoord4iv"), + def_glTexCoord4iv, + ); + fn_glTexCoord4s = new Deno.UnsafeFnPointer( + proc("glTexCoord4s"), + def_glTexCoord4s, + ); + fn_glTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glTexCoord4sv"), + def_glTexCoord4sv, + ); fn_glVertex2d = new Deno.UnsafeFnPointer(proc("glVertex2d"), def_glVertex2d); - fn_glVertex2dv = new Deno.UnsafeFnPointer(proc("glVertex2dv"), def_glVertex2dv); + fn_glVertex2dv = new Deno.UnsafeFnPointer( + proc("glVertex2dv"), + def_glVertex2dv, + ); fn_glVertex2f = new Deno.UnsafeFnPointer(proc("glVertex2f"), def_glVertex2f); - fn_glVertex2fv = new Deno.UnsafeFnPointer(proc("glVertex2fv"), def_glVertex2fv); + fn_glVertex2fv = new Deno.UnsafeFnPointer( + proc("glVertex2fv"), + def_glVertex2fv, + ); fn_glVertex2i = new Deno.UnsafeFnPointer(proc("glVertex2i"), def_glVertex2i); - fn_glVertex2iv = new Deno.UnsafeFnPointer(proc("glVertex2iv"), def_glVertex2iv); + fn_glVertex2iv = new Deno.UnsafeFnPointer( + proc("glVertex2iv"), + def_glVertex2iv, + ); fn_glVertex2s = new Deno.UnsafeFnPointer(proc("glVertex2s"), def_glVertex2s); - fn_glVertex2sv = new Deno.UnsafeFnPointer(proc("glVertex2sv"), def_glVertex2sv); + fn_glVertex2sv = new Deno.UnsafeFnPointer( + proc("glVertex2sv"), + def_glVertex2sv, + ); fn_glVertex3d = new Deno.UnsafeFnPointer(proc("glVertex3d"), def_glVertex3d); - fn_glVertex3dv = new Deno.UnsafeFnPointer(proc("glVertex3dv"), def_glVertex3dv); + fn_glVertex3dv = new Deno.UnsafeFnPointer( + proc("glVertex3dv"), + def_glVertex3dv, + ); fn_glVertex3f = new Deno.UnsafeFnPointer(proc("glVertex3f"), def_glVertex3f); - fn_glVertex3fv = new Deno.UnsafeFnPointer(proc("glVertex3fv"), def_glVertex3fv); + fn_glVertex3fv = new Deno.UnsafeFnPointer( + proc("glVertex3fv"), + def_glVertex3fv, + ); fn_glVertex3i = new Deno.UnsafeFnPointer(proc("glVertex3i"), def_glVertex3i); - fn_glVertex3iv = new Deno.UnsafeFnPointer(proc("glVertex3iv"), def_glVertex3iv); + fn_glVertex3iv = new Deno.UnsafeFnPointer( + proc("glVertex3iv"), + def_glVertex3iv, + ); fn_glVertex3s = new Deno.UnsafeFnPointer(proc("glVertex3s"), def_glVertex3s); - fn_glVertex3sv = new Deno.UnsafeFnPointer(proc("glVertex3sv"), def_glVertex3sv); + fn_glVertex3sv = new Deno.UnsafeFnPointer( + proc("glVertex3sv"), + def_glVertex3sv, + ); fn_glVertex4d = new Deno.UnsafeFnPointer(proc("glVertex4d"), def_glVertex4d); - fn_glVertex4dv = new Deno.UnsafeFnPointer(proc("glVertex4dv"), def_glVertex4dv); + fn_glVertex4dv = new Deno.UnsafeFnPointer( + proc("glVertex4dv"), + def_glVertex4dv, + ); fn_glVertex4f = new Deno.UnsafeFnPointer(proc("glVertex4f"), def_glVertex4f); - fn_glVertex4fv = new Deno.UnsafeFnPointer(proc("glVertex4fv"), def_glVertex4fv); + fn_glVertex4fv = new Deno.UnsafeFnPointer( + proc("glVertex4fv"), + def_glVertex4fv, + ); fn_glVertex4i = new Deno.UnsafeFnPointer(proc("glVertex4i"), def_glVertex4i); - fn_glVertex4iv = new Deno.UnsafeFnPointer(proc("glVertex4iv"), def_glVertex4iv); + fn_glVertex4iv = new Deno.UnsafeFnPointer( + proc("glVertex4iv"), + def_glVertex4iv, + ); fn_glVertex4s = new Deno.UnsafeFnPointer(proc("glVertex4s"), def_glVertex4s); - fn_glVertex4sv = new Deno.UnsafeFnPointer(proc("glVertex4sv"), def_glVertex4sv); - fn_glClipPlane = new Deno.UnsafeFnPointer(proc("glClipPlane"), def_glClipPlane); - fn_glColorMaterial = new Deno.UnsafeFnPointer(proc("glColorMaterial"), def_glColorMaterial); + fn_glVertex4sv = new Deno.UnsafeFnPointer( + proc("glVertex4sv"), + def_glVertex4sv, + ); + fn_glClipPlane = new Deno.UnsafeFnPointer( + proc("glClipPlane"), + def_glClipPlane, + ); + fn_glColorMaterial = new Deno.UnsafeFnPointer( + proc("glColorMaterial"), + def_glColorMaterial, + ); fn_glFogf = new Deno.UnsafeFnPointer(proc("glFogf"), def_glFogf); fn_glFogfv = new Deno.UnsafeFnPointer(proc("glFogfv"), def_glFogfv); fn_glFogi = new Deno.UnsafeFnPointer(proc("glFogi"), def_glFogi); @@ -10921,17 +11513,50 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glLightfv = new Deno.UnsafeFnPointer(proc("glLightfv"), def_glLightfv); fn_glLighti = new Deno.UnsafeFnPointer(proc("glLighti"), def_glLighti); fn_glLightiv = new Deno.UnsafeFnPointer(proc("glLightiv"), def_glLightiv); - fn_glLightModelf = new Deno.UnsafeFnPointer(proc("glLightModelf"), def_glLightModelf); - fn_glLightModelfv = new Deno.UnsafeFnPointer(proc("glLightModelfv"), def_glLightModelfv); - fn_glLightModeli = new Deno.UnsafeFnPointer(proc("glLightModeli"), def_glLightModeli); - fn_glLightModeliv = new Deno.UnsafeFnPointer(proc("glLightModeliv"), def_glLightModeliv); - fn_glLineStipple = new Deno.UnsafeFnPointer(proc("glLineStipple"), def_glLineStipple); - fn_glMaterialf = new Deno.UnsafeFnPointer(proc("glMaterialf"), def_glMaterialf); - fn_glMaterialfv = new Deno.UnsafeFnPointer(proc("glMaterialfv"), def_glMaterialfv); - fn_glMateriali = new Deno.UnsafeFnPointer(proc("glMateriali"), def_glMateriali); - fn_glMaterialiv = new Deno.UnsafeFnPointer(proc("glMaterialiv"), def_glMaterialiv); - fn_glPolygonStipple = new Deno.UnsafeFnPointer(proc("glPolygonStipple"), def_glPolygonStipple); - fn_glShadeModel = new Deno.UnsafeFnPointer(proc("glShadeModel"), def_glShadeModel); + fn_glLightModelf = new Deno.UnsafeFnPointer( + proc("glLightModelf"), + def_glLightModelf, + ); + fn_glLightModelfv = new Deno.UnsafeFnPointer( + proc("glLightModelfv"), + def_glLightModelfv, + ); + fn_glLightModeli = new Deno.UnsafeFnPointer( + proc("glLightModeli"), + def_glLightModeli, + ); + fn_glLightModeliv = new Deno.UnsafeFnPointer( + proc("glLightModeliv"), + def_glLightModeliv, + ); + fn_glLineStipple = new Deno.UnsafeFnPointer( + proc("glLineStipple"), + def_glLineStipple, + ); + fn_glMaterialf = new Deno.UnsafeFnPointer( + proc("glMaterialf"), + def_glMaterialf, + ); + fn_glMaterialfv = new Deno.UnsafeFnPointer( + proc("glMaterialfv"), + def_glMaterialfv, + ); + fn_glMateriali = new Deno.UnsafeFnPointer( + proc("glMateriali"), + def_glMateriali, + ); + fn_glMaterialiv = new Deno.UnsafeFnPointer( + proc("glMaterialiv"), + def_glMaterialiv, + ); + fn_glPolygonStipple = new Deno.UnsafeFnPointer( + proc("glPolygonStipple"), + def_glPolygonStipple, + ); + fn_glShadeModel = new Deno.UnsafeFnPointer( + proc("glShadeModel"), + def_glShadeModel, + ); fn_glTexEnvf = new Deno.UnsafeFnPointer(proc("glTexEnvf"), def_glTexEnvf); fn_glTexEnvfv = new Deno.UnsafeFnPointer(proc("glTexEnvfv"), def_glTexEnvfv); fn_glTexEnvi = new Deno.UnsafeFnPointer(proc("glTexEnvi"), def_glTexEnvi); @@ -10942,320 +11567,1196 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glTexGenfv = new Deno.UnsafeFnPointer(proc("glTexGenfv"), def_glTexGenfv); fn_glTexGeni = new Deno.UnsafeFnPointer(proc("glTexGeni"), def_glTexGeni); fn_glTexGeniv = new Deno.UnsafeFnPointer(proc("glTexGeniv"), def_glTexGeniv); - fn_glFeedbackBuffer = new Deno.UnsafeFnPointer(proc("glFeedbackBuffer"), def_glFeedbackBuffer); - fn_glSelectBuffer = new Deno.UnsafeFnPointer(proc("glSelectBuffer"), def_glSelectBuffer); - fn_glRenderMode = new Deno.UnsafeFnPointer(proc("glRenderMode"), def_glRenderMode); - fn_glInitNames = new Deno.UnsafeFnPointer(proc("glInitNames"), def_glInitNames); + fn_glFeedbackBuffer = new Deno.UnsafeFnPointer( + proc("glFeedbackBuffer"), + def_glFeedbackBuffer, + ); + fn_glSelectBuffer = new Deno.UnsafeFnPointer( + proc("glSelectBuffer"), + def_glSelectBuffer, + ); + fn_glRenderMode = new Deno.UnsafeFnPointer( + proc("glRenderMode"), + def_glRenderMode, + ); + fn_glInitNames = new Deno.UnsafeFnPointer( + proc("glInitNames"), + def_glInitNames, + ); fn_glLoadName = new Deno.UnsafeFnPointer(proc("glLoadName"), def_glLoadName); - fn_glPassThrough = new Deno.UnsafeFnPointer(proc("glPassThrough"), def_glPassThrough); + fn_glPassThrough = new Deno.UnsafeFnPointer( + proc("glPassThrough"), + def_glPassThrough, + ); fn_glPopName = new Deno.UnsafeFnPointer(proc("glPopName"), def_glPopName); fn_glPushName = new Deno.UnsafeFnPointer(proc("glPushName"), def_glPushName); - fn_glClearAccum = new Deno.UnsafeFnPointer(proc("glClearAccum"), def_glClearAccum); - fn_glClearIndex = new Deno.UnsafeFnPointer(proc("glClearIndex"), def_glClearIndex); - fn_glIndexMask = new Deno.UnsafeFnPointer(proc("glIndexMask"), def_glIndexMask); + fn_glClearAccum = new Deno.UnsafeFnPointer( + proc("glClearAccum"), + def_glClearAccum, + ); + fn_glClearIndex = new Deno.UnsafeFnPointer( + proc("glClearIndex"), + def_glClearIndex, + ); + fn_glIndexMask = new Deno.UnsafeFnPointer( + proc("glIndexMask"), + def_glIndexMask, + ); fn_glAccum = new Deno.UnsafeFnPointer(proc("glAccum"), def_glAccum); - fn_glPopAttrib = new Deno.UnsafeFnPointer(proc("glPopAttrib"), def_glPopAttrib); - fn_glPushAttrib = new Deno.UnsafeFnPointer(proc("glPushAttrib"), def_glPushAttrib); + fn_glPopAttrib = new Deno.UnsafeFnPointer( + proc("glPopAttrib"), + def_glPopAttrib, + ); + fn_glPushAttrib = new Deno.UnsafeFnPointer( + proc("glPushAttrib"), + def_glPushAttrib, + ); fn_glMap1d = new Deno.UnsafeFnPointer(proc("glMap1d"), def_glMap1d); fn_glMap1f = new Deno.UnsafeFnPointer(proc("glMap1f"), def_glMap1f); fn_glMap2d = new Deno.UnsafeFnPointer(proc("glMap2d"), def_glMap2d); fn_glMap2f = new Deno.UnsafeFnPointer(proc("glMap2f"), def_glMap2f); - fn_glMapGrid1d = new Deno.UnsafeFnPointer(proc("glMapGrid1d"), def_glMapGrid1d); - fn_glMapGrid1f = new Deno.UnsafeFnPointer(proc("glMapGrid1f"), def_glMapGrid1f); - fn_glMapGrid2d = new Deno.UnsafeFnPointer(proc("glMapGrid2d"), def_glMapGrid2d); - fn_glMapGrid2f = new Deno.UnsafeFnPointer(proc("glMapGrid2f"), def_glMapGrid2f); - fn_glEvalCoord1d = new Deno.UnsafeFnPointer(proc("glEvalCoord1d"), def_glEvalCoord1d); - fn_glEvalCoord1dv = new Deno.UnsafeFnPointer(proc("glEvalCoord1dv"), def_glEvalCoord1dv); - fn_glEvalCoord1f = new Deno.UnsafeFnPointer(proc("glEvalCoord1f"), def_glEvalCoord1f); - fn_glEvalCoord1fv = new Deno.UnsafeFnPointer(proc("glEvalCoord1fv"), def_glEvalCoord1fv); - fn_glEvalCoord2d = new Deno.UnsafeFnPointer(proc("glEvalCoord2d"), def_glEvalCoord2d); - fn_glEvalCoord2dv = new Deno.UnsafeFnPointer(proc("glEvalCoord2dv"), def_glEvalCoord2dv); - fn_glEvalCoord2f = new Deno.UnsafeFnPointer(proc("glEvalCoord2f"), def_glEvalCoord2f); - fn_glEvalCoord2fv = new Deno.UnsafeFnPointer(proc("glEvalCoord2fv"), def_glEvalCoord2fv); - fn_glEvalMesh1 = new Deno.UnsafeFnPointer(proc("glEvalMesh1"), def_glEvalMesh1); - fn_glEvalPoint1 = new Deno.UnsafeFnPointer(proc("glEvalPoint1"), def_glEvalPoint1); - fn_glEvalMesh2 = new Deno.UnsafeFnPointer(proc("glEvalMesh2"), def_glEvalMesh2); - fn_glEvalPoint2 = new Deno.UnsafeFnPointer(proc("glEvalPoint2"), def_glEvalPoint2); - fn_glAlphaFunc = new Deno.UnsafeFnPointer(proc("glAlphaFunc"), def_glAlphaFunc); - fn_glPixelZoom = new Deno.UnsafeFnPointer(proc("glPixelZoom"), def_glPixelZoom); - fn_glPixelTransferf = new Deno.UnsafeFnPointer(proc("glPixelTransferf"), def_glPixelTransferf); - fn_glPixelTransferi = new Deno.UnsafeFnPointer(proc("glPixelTransferi"), def_glPixelTransferi); - fn_glPixelMapfv = new Deno.UnsafeFnPointer(proc("glPixelMapfv"), def_glPixelMapfv); - fn_glPixelMapuiv = new Deno.UnsafeFnPointer(proc("glPixelMapuiv"), def_glPixelMapuiv); - fn_glPixelMapusv = new Deno.UnsafeFnPointer(proc("glPixelMapusv"), def_glPixelMapusv); - fn_glCopyPixels = new Deno.UnsafeFnPointer(proc("glCopyPixels"), def_glCopyPixels); - fn_glDrawPixels = new Deno.UnsafeFnPointer(proc("glDrawPixels"), def_glDrawPixels); - fn_glGetClipPlane = new Deno.UnsafeFnPointer(proc("glGetClipPlane"), def_glGetClipPlane); - fn_glGetLightfv = new Deno.UnsafeFnPointer(proc("glGetLightfv"), def_glGetLightfv); - fn_glGetLightiv = new Deno.UnsafeFnPointer(proc("glGetLightiv"), def_glGetLightiv); + fn_glMapGrid1d = new Deno.UnsafeFnPointer( + proc("glMapGrid1d"), + def_glMapGrid1d, + ); + fn_glMapGrid1f = new Deno.UnsafeFnPointer( + proc("glMapGrid1f"), + def_glMapGrid1f, + ); + fn_glMapGrid2d = new Deno.UnsafeFnPointer( + proc("glMapGrid2d"), + def_glMapGrid2d, + ); + fn_glMapGrid2f = new Deno.UnsafeFnPointer( + proc("glMapGrid2f"), + def_glMapGrid2f, + ); + fn_glEvalCoord1d = new Deno.UnsafeFnPointer( + proc("glEvalCoord1d"), + def_glEvalCoord1d, + ); + fn_glEvalCoord1dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1dv"), + def_glEvalCoord1dv, + ); + fn_glEvalCoord1f = new Deno.UnsafeFnPointer( + proc("glEvalCoord1f"), + def_glEvalCoord1f, + ); + fn_glEvalCoord1fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1fv"), + def_glEvalCoord1fv, + ); + fn_glEvalCoord2d = new Deno.UnsafeFnPointer( + proc("glEvalCoord2d"), + def_glEvalCoord2d, + ); + fn_glEvalCoord2dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2dv"), + def_glEvalCoord2dv, + ); + fn_glEvalCoord2f = new Deno.UnsafeFnPointer( + proc("glEvalCoord2f"), + def_glEvalCoord2f, + ); + fn_glEvalCoord2fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2fv"), + def_glEvalCoord2fv, + ); + fn_glEvalMesh1 = new Deno.UnsafeFnPointer( + proc("glEvalMesh1"), + def_glEvalMesh1, + ); + fn_glEvalPoint1 = new Deno.UnsafeFnPointer( + proc("glEvalPoint1"), + def_glEvalPoint1, + ); + fn_glEvalMesh2 = new Deno.UnsafeFnPointer( + proc("glEvalMesh2"), + def_glEvalMesh2, + ); + fn_glEvalPoint2 = new Deno.UnsafeFnPointer( + proc("glEvalPoint2"), + def_glEvalPoint2, + ); + fn_glAlphaFunc = new Deno.UnsafeFnPointer( + proc("glAlphaFunc"), + def_glAlphaFunc, + ); + fn_glPixelZoom = new Deno.UnsafeFnPointer( + proc("glPixelZoom"), + def_glPixelZoom, + ); + fn_glPixelTransferf = new Deno.UnsafeFnPointer( + proc("glPixelTransferf"), + def_glPixelTransferf, + ); + fn_glPixelTransferi = new Deno.UnsafeFnPointer( + proc("glPixelTransferi"), + def_glPixelTransferi, + ); + fn_glPixelMapfv = new Deno.UnsafeFnPointer( + proc("glPixelMapfv"), + def_glPixelMapfv, + ); + fn_glPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glPixelMapuiv"), + def_glPixelMapuiv, + ); + fn_glPixelMapusv = new Deno.UnsafeFnPointer( + proc("glPixelMapusv"), + def_glPixelMapusv, + ); + fn_glCopyPixels = new Deno.UnsafeFnPointer( + proc("glCopyPixels"), + def_glCopyPixels, + ); + fn_glDrawPixels = new Deno.UnsafeFnPointer( + proc("glDrawPixels"), + def_glDrawPixels, + ); + fn_glGetClipPlane = new Deno.UnsafeFnPointer( + proc("glGetClipPlane"), + def_glGetClipPlane, + ); + fn_glGetLightfv = new Deno.UnsafeFnPointer( + proc("glGetLightfv"), + def_glGetLightfv, + ); + fn_glGetLightiv = new Deno.UnsafeFnPointer( + proc("glGetLightiv"), + def_glGetLightiv, + ); fn_glGetMapdv = new Deno.UnsafeFnPointer(proc("glGetMapdv"), def_glGetMapdv); fn_glGetMapfv = new Deno.UnsafeFnPointer(proc("glGetMapfv"), def_glGetMapfv); fn_glGetMapiv = new Deno.UnsafeFnPointer(proc("glGetMapiv"), def_glGetMapiv); - fn_glGetMaterialfv = new Deno.UnsafeFnPointer(proc("glGetMaterialfv"), def_glGetMaterialfv); - fn_glGetMaterialiv = new Deno.UnsafeFnPointer(proc("glGetMaterialiv"), def_glGetMaterialiv); - fn_glGetPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetPixelMapfv"), def_glGetPixelMapfv); - fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetPixelMapuiv"), def_glGetPixelMapuiv); - fn_glGetPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetPixelMapusv"), def_glGetPixelMapusv); - fn_glGetPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetPolygonStipple"), def_glGetPolygonStipple); - fn_glGetTexEnvfv = new Deno.UnsafeFnPointer(proc("glGetTexEnvfv"), def_glGetTexEnvfv); - fn_glGetTexEnviv = new Deno.UnsafeFnPointer(proc("glGetTexEnviv"), def_glGetTexEnviv); - fn_glGetTexGendv = new Deno.UnsafeFnPointer(proc("glGetTexGendv"), def_glGetTexGendv); - fn_glGetTexGenfv = new Deno.UnsafeFnPointer(proc("glGetTexGenfv"), def_glGetTexGenfv); - fn_glGetTexGeniv = new Deno.UnsafeFnPointer(proc("glGetTexGeniv"), def_glGetTexGeniv); + fn_glGetMaterialfv = new Deno.UnsafeFnPointer( + proc("glGetMaterialfv"), + def_glGetMaterialfv, + ); + fn_glGetMaterialiv = new Deno.UnsafeFnPointer( + proc("glGetMaterialiv"), + def_glGetMaterialiv, + ); + fn_glGetPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapfv"), + def_glGetPixelMapfv, + ); + fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapuiv"), + def_glGetPixelMapuiv, + ); + fn_glGetPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapusv"), + def_glGetPixelMapusv, + ); + fn_glGetPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetPolygonStipple"), + def_glGetPolygonStipple, + ); + fn_glGetTexEnvfv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvfv"), + def_glGetTexEnvfv, + ); + fn_glGetTexEnviv = new Deno.UnsafeFnPointer( + proc("glGetTexEnviv"), + def_glGetTexEnviv, + ); + fn_glGetTexGendv = new Deno.UnsafeFnPointer( + proc("glGetTexGendv"), + def_glGetTexGendv, + ); + fn_glGetTexGenfv = new Deno.UnsafeFnPointer( + proc("glGetTexGenfv"), + def_glGetTexGenfv, + ); + fn_glGetTexGeniv = new Deno.UnsafeFnPointer( + proc("glGetTexGeniv"), + def_glGetTexGeniv, + ); fn_glIsList = new Deno.UnsafeFnPointer(proc("glIsList"), def_glIsList); fn_glFrustum = new Deno.UnsafeFnPointer(proc("glFrustum"), def_glFrustum); - fn_glLoadIdentity = new Deno.UnsafeFnPointer(proc("glLoadIdentity"), def_glLoadIdentity); - fn_glLoadMatrixf = new Deno.UnsafeFnPointer(proc("glLoadMatrixf"), def_glLoadMatrixf); - fn_glLoadMatrixd = new Deno.UnsafeFnPointer(proc("glLoadMatrixd"), def_glLoadMatrixd); - fn_glMatrixMode = new Deno.UnsafeFnPointer(proc("glMatrixMode"), def_glMatrixMode); - fn_glMultMatrixf = new Deno.UnsafeFnPointer(proc("glMultMatrixf"), def_glMultMatrixf); - fn_glMultMatrixd = new Deno.UnsafeFnPointer(proc("glMultMatrixd"), def_glMultMatrixd); + fn_glLoadIdentity = new Deno.UnsafeFnPointer( + proc("glLoadIdentity"), + def_glLoadIdentity, + ); + fn_glLoadMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadMatrixf"), + def_glLoadMatrixf, + ); + fn_glLoadMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadMatrixd"), + def_glLoadMatrixd, + ); + fn_glMatrixMode = new Deno.UnsafeFnPointer( + proc("glMatrixMode"), + def_glMatrixMode, + ); + fn_glMultMatrixf = new Deno.UnsafeFnPointer( + proc("glMultMatrixf"), + def_glMultMatrixf, + ); + fn_glMultMatrixd = new Deno.UnsafeFnPointer( + proc("glMultMatrixd"), + def_glMultMatrixd, + ); fn_glOrtho = new Deno.UnsafeFnPointer(proc("glOrtho"), def_glOrtho); - fn_glPopMatrix = new Deno.UnsafeFnPointer(proc("glPopMatrix"), def_glPopMatrix); - fn_glPushMatrix = new Deno.UnsafeFnPointer(proc("glPushMatrix"), def_glPushMatrix); + fn_glPopMatrix = new Deno.UnsafeFnPointer( + proc("glPopMatrix"), + def_glPopMatrix, + ); + fn_glPushMatrix = new Deno.UnsafeFnPointer( + proc("glPushMatrix"), + def_glPushMatrix, + ); fn_glRotated = new Deno.UnsafeFnPointer(proc("glRotated"), def_glRotated); fn_glRotatef = new Deno.UnsafeFnPointer(proc("glRotatef"), def_glRotatef); fn_glScaled = new Deno.UnsafeFnPointer(proc("glScaled"), def_glScaled); fn_glScalef = new Deno.UnsafeFnPointer(proc("glScalef"), def_glScalef); - fn_glTranslated = new Deno.UnsafeFnPointer(proc("glTranslated"), def_glTranslated); - fn_glTranslatef = new Deno.UnsafeFnPointer(proc("glTranslatef"), def_glTranslatef); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glArrayElement = new Deno.UnsafeFnPointer(proc("glArrayElement"), def_glArrayElement); - fn_glColorPointer = new Deno.UnsafeFnPointer(proc("glColorPointer"), def_glColorPointer); - fn_glDisableClientState = new Deno.UnsafeFnPointer(proc("glDisableClientState"), def_glDisableClientState); - fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer(proc("glEdgeFlagPointer"), def_glEdgeFlagPointer); - fn_glEnableClientState = new Deno.UnsafeFnPointer(proc("glEnableClientState"), def_glEnableClientState); - fn_glIndexPointer = new Deno.UnsafeFnPointer(proc("glIndexPointer"), def_glIndexPointer); - fn_glInterleavedArrays = new Deno.UnsafeFnPointer(proc("glInterleavedArrays"), def_glInterleavedArrays); - fn_glNormalPointer = new Deno.UnsafeFnPointer(proc("glNormalPointer"), def_glNormalPointer); - fn_glTexCoordPointer = new Deno.UnsafeFnPointer(proc("glTexCoordPointer"), def_glTexCoordPointer); - fn_glVertexPointer = new Deno.UnsafeFnPointer(proc("glVertexPointer"), def_glVertexPointer); - fn_glAreTexturesResident = new Deno.UnsafeFnPointer(proc("glAreTexturesResident"), def_glAreTexturesResident); - fn_glPrioritizeTextures = new Deno.UnsafeFnPointer(proc("glPrioritizeTextures"), def_glPrioritizeTextures); + fn_glTranslated = new Deno.UnsafeFnPointer( + proc("glTranslated"), + def_glTranslated, + ); + fn_glTranslatef = new Deno.UnsafeFnPointer( + proc("glTranslatef"), + def_glTranslatef, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glArrayElement = new Deno.UnsafeFnPointer( + proc("glArrayElement"), + def_glArrayElement, + ); + fn_glColorPointer = new Deno.UnsafeFnPointer( + proc("glColorPointer"), + def_glColorPointer, + ); + fn_glDisableClientState = new Deno.UnsafeFnPointer( + proc("glDisableClientState"), + def_glDisableClientState, + ); + fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer( + proc("glEdgeFlagPointer"), + def_glEdgeFlagPointer, + ); + fn_glEnableClientState = new Deno.UnsafeFnPointer( + proc("glEnableClientState"), + def_glEnableClientState, + ); + fn_glIndexPointer = new Deno.UnsafeFnPointer( + proc("glIndexPointer"), + def_glIndexPointer, + ); + fn_glInterleavedArrays = new Deno.UnsafeFnPointer( + proc("glInterleavedArrays"), + def_glInterleavedArrays, + ); + fn_glNormalPointer = new Deno.UnsafeFnPointer( + proc("glNormalPointer"), + def_glNormalPointer, + ); + fn_glTexCoordPointer = new Deno.UnsafeFnPointer( + proc("glTexCoordPointer"), + def_glTexCoordPointer, + ); + fn_glVertexPointer = new Deno.UnsafeFnPointer( + proc("glVertexPointer"), + def_glVertexPointer, + ); + fn_glAreTexturesResident = new Deno.UnsafeFnPointer( + proc("glAreTexturesResident"), + def_glAreTexturesResident, + ); + fn_glPrioritizeTextures = new Deno.UnsafeFnPointer( + proc("glPrioritizeTextures"), + def_glPrioritizeTextures, + ); fn_glIndexub = new Deno.UnsafeFnPointer(proc("glIndexub"), def_glIndexub); fn_glIndexubv = new Deno.UnsafeFnPointer(proc("glIndexubv"), def_glIndexubv); - fn_glPopClientAttrib = new Deno.UnsafeFnPointer(proc("glPopClientAttrib"), def_glPopClientAttrib); - fn_glPushClientAttrib = new Deno.UnsafeFnPointer(proc("glPushClientAttrib"), def_glPushClientAttrib); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glClientActiveTexture = new Deno.UnsafeFnPointer(proc("glClientActiveTexture"), def_glClientActiveTexture); - fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1d"), def_glMultiTexCoord1d); - fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1dv"), def_glMultiTexCoord1dv); - fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1f"), def_glMultiTexCoord1f); - fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1fv"), def_glMultiTexCoord1fv); - fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1i"), def_glMultiTexCoord1i); - fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1iv"), def_glMultiTexCoord1iv); - fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1s"), def_glMultiTexCoord1s); - fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1sv"), def_glMultiTexCoord1sv); - fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2d"), def_glMultiTexCoord2d); - fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2dv"), def_glMultiTexCoord2dv); - fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2f"), def_glMultiTexCoord2f); - fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2fv"), def_glMultiTexCoord2fv); - fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2i"), def_glMultiTexCoord2i); - fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2iv"), def_glMultiTexCoord2iv); - fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2s"), def_glMultiTexCoord2s); - fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2sv"), def_glMultiTexCoord2sv); - fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3d"), def_glMultiTexCoord3d); - fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3dv"), def_glMultiTexCoord3dv); - fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3f"), def_glMultiTexCoord3f); - fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3fv"), def_glMultiTexCoord3fv); - fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3i"), def_glMultiTexCoord3i); - fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3iv"), def_glMultiTexCoord3iv); - fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3s"), def_glMultiTexCoord3s); - fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3sv"), def_glMultiTexCoord3sv); - fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4d"), def_glMultiTexCoord4d); - fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4dv"), def_glMultiTexCoord4dv); - fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4f"), def_glMultiTexCoord4f); - fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4fv"), def_glMultiTexCoord4fv); - fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4i"), def_glMultiTexCoord4i); - fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4iv"), def_glMultiTexCoord4iv); - fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4s"), def_glMultiTexCoord4s); - fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4sv"), def_glMultiTexCoord4sv); - fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixf"), def_glLoadTransposeMatrixf); - fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixd"), def_glLoadTransposeMatrixd); - fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixf"), def_glMultTransposeMatrixf); - fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixd"), def_glMultTransposeMatrixd); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glFogCoordf = new Deno.UnsafeFnPointer(proc("glFogCoordf"), def_glFogCoordf); - fn_glFogCoordfv = new Deno.UnsafeFnPointer(proc("glFogCoordfv"), def_glFogCoordfv); - fn_glFogCoordd = new Deno.UnsafeFnPointer(proc("glFogCoordd"), def_glFogCoordd); - fn_glFogCoorddv = new Deno.UnsafeFnPointer(proc("glFogCoorddv"), def_glFogCoorddv); - fn_glFogCoordPointer = new Deno.UnsafeFnPointer(proc("glFogCoordPointer"), def_glFogCoordPointer); - fn_glSecondaryColor3b = new Deno.UnsafeFnPointer(proc("glSecondaryColor3b"), def_glSecondaryColor3b); - fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3bv"), def_glSecondaryColor3bv); - fn_glSecondaryColor3d = new Deno.UnsafeFnPointer(proc("glSecondaryColor3d"), def_glSecondaryColor3d); - fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3dv"), def_glSecondaryColor3dv); - fn_glSecondaryColor3f = new Deno.UnsafeFnPointer(proc("glSecondaryColor3f"), def_glSecondaryColor3f); - fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3fv"), def_glSecondaryColor3fv); - fn_glSecondaryColor3i = new Deno.UnsafeFnPointer(proc("glSecondaryColor3i"), def_glSecondaryColor3i); - fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3iv"), def_glSecondaryColor3iv); - fn_glSecondaryColor3s = new Deno.UnsafeFnPointer(proc("glSecondaryColor3s"), def_glSecondaryColor3s); - fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3sv"), def_glSecondaryColor3sv); - fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ub"), def_glSecondaryColor3ub); - fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ubv"), def_glSecondaryColor3ubv); - fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ui"), def_glSecondaryColor3ui); - fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3uiv"), def_glSecondaryColor3uiv); - fn_glSecondaryColor3us = new Deno.UnsafeFnPointer(proc("glSecondaryColor3us"), def_glSecondaryColor3us); - fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3usv"), def_glSecondaryColor3usv); - fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer(proc("glSecondaryColorPointer"), def_glSecondaryColorPointer); - fn_glWindowPos2d = new Deno.UnsafeFnPointer(proc("glWindowPos2d"), def_glWindowPos2d); - fn_glWindowPos2dv = new Deno.UnsafeFnPointer(proc("glWindowPos2dv"), def_glWindowPos2dv); - fn_glWindowPos2f = new Deno.UnsafeFnPointer(proc("glWindowPos2f"), def_glWindowPos2f); - fn_glWindowPos2fv = new Deno.UnsafeFnPointer(proc("glWindowPos2fv"), def_glWindowPos2fv); - fn_glWindowPos2i = new Deno.UnsafeFnPointer(proc("glWindowPos2i"), def_glWindowPos2i); - fn_glWindowPos2iv = new Deno.UnsafeFnPointer(proc("glWindowPos2iv"), def_glWindowPos2iv); - fn_glWindowPos2s = new Deno.UnsafeFnPointer(proc("glWindowPos2s"), def_glWindowPos2s); - fn_glWindowPos2sv = new Deno.UnsafeFnPointer(proc("glWindowPos2sv"), def_glWindowPos2sv); - fn_glWindowPos3d = new Deno.UnsafeFnPointer(proc("glWindowPos3d"), def_glWindowPos3d); - fn_glWindowPos3dv = new Deno.UnsafeFnPointer(proc("glWindowPos3dv"), def_glWindowPos3dv); - fn_glWindowPos3f = new Deno.UnsafeFnPointer(proc("glWindowPos3f"), def_glWindowPos3f); - fn_glWindowPos3fv = new Deno.UnsafeFnPointer(proc("glWindowPos3fv"), def_glWindowPos3fv); - fn_glWindowPos3i = new Deno.UnsafeFnPointer(proc("glWindowPos3i"), def_glWindowPos3i); - fn_glWindowPos3iv = new Deno.UnsafeFnPointer(proc("glWindowPos3iv"), def_glWindowPos3iv); - fn_glWindowPos3s = new Deno.UnsafeFnPointer(proc("glWindowPos3s"), def_glWindowPos3s); - fn_glWindowPos3sv = new Deno.UnsafeFnPointer(proc("glWindowPos3sv"), def_glWindowPos3sv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glPopClientAttrib = new Deno.UnsafeFnPointer( + proc("glPopClientAttrib"), + def_glPopClientAttrib, + ); + fn_glPushClientAttrib = new Deno.UnsafeFnPointer( + proc("glPushClientAttrib"), + def_glPushClientAttrib, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glClientActiveTexture = new Deno.UnsafeFnPointer( + proc("glClientActiveTexture"), + def_glClientActiveTexture, + ); + fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1d"), + def_glMultiTexCoord1d, + ); + fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1dv"), + def_glMultiTexCoord1dv, + ); + fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1f"), + def_glMultiTexCoord1f, + ); + fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1fv"), + def_glMultiTexCoord1fv, + ); + fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1i"), + def_glMultiTexCoord1i, + ); + fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1iv"), + def_glMultiTexCoord1iv, + ); + fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1s"), + def_glMultiTexCoord1s, + ); + fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1sv"), + def_glMultiTexCoord1sv, + ); + fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2d"), + def_glMultiTexCoord2d, + ); + fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2dv"), + def_glMultiTexCoord2dv, + ); + fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2f"), + def_glMultiTexCoord2f, + ); + fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2fv"), + def_glMultiTexCoord2fv, + ); + fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2i"), + def_glMultiTexCoord2i, + ); + fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2iv"), + def_glMultiTexCoord2iv, + ); + fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2s"), + def_glMultiTexCoord2s, + ); + fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2sv"), + def_glMultiTexCoord2sv, + ); + fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3d"), + def_glMultiTexCoord3d, + ); + fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3dv"), + def_glMultiTexCoord3dv, + ); + fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3f"), + def_glMultiTexCoord3f, + ); + fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3fv"), + def_glMultiTexCoord3fv, + ); + fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3i"), + def_glMultiTexCoord3i, + ); + fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3iv"), + def_glMultiTexCoord3iv, + ); + fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3s"), + def_glMultiTexCoord3s, + ); + fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3sv"), + def_glMultiTexCoord3sv, + ); + fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4d"), + def_glMultiTexCoord4d, + ); + fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4dv"), + def_glMultiTexCoord4dv, + ); + fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4f"), + def_glMultiTexCoord4f, + ); + fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4fv"), + def_glMultiTexCoord4fv, + ); + fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4i"), + def_glMultiTexCoord4i, + ); + fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4iv"), + def_glMultiTexCoord4iv, + ); + fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4s"), + def_glMultiTexCoord4s, + ); + fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4sv"), + def_glMultiTexCoord4sv, + ); + fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixf"), + def_glLoadTransposeMatrixf, + ); + fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixd"), + def_glLoadTransposeMatrixd, + ); + fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixf"), + def_glMultTransposeMatrixf, + ); + fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixd"), + def_glMultTransposeMatrixd, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glFogCoordf = new Deno.UnsafeFnPointer( + proc("glFogCoordf"), + def_glFogCoordf, + ); + fn_glFogCoordfv = new Deno.UnsafeFnPointer( + proc("glFogCoordfv"), + def_glFogCoordfv, + ); + fn_glFogCoordd = new Deno.UnsafeFnPointer( + proc("glFogCoordd"), + def_glFogCoordd, + ); + fn_glFogCoorddv = new Deno.UnsafeFnPointer( + proc("glFogCoorddv"), + def_glFogCoorddv, + ); + fn_glFogCoordPointer = new Deno.UnsafeFnPointer( + proc("glFogCoordPointer"), + def_glFogCoordPointer, + ); + fn_glSecondaryColor3b = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3b"), + def_glSecondaryColor3b, + ); + fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3bv"), + def_glSecondaryColor3bv, + ); + fn_glSecondaryColor3d = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3d"), + def_glSecondaryColor3d, + ); + fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3dv"), + def_glSecondaryColor3dv, + ); + fn_glSecondaryColor3f = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3f"), + def_glSecondaryColor3f, + ); + fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3fv"), + def_glSecondaryColor3fv, + ); + fn_glSecondaryColor3i = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3i"), + def_glSecondaryColor3i, + ); + fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3iv"), + def_glSecondaryColor3iv, + ); + fn_glSecondaryColor3s = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3s"), + def_glSecondaryColor3s, + ); + fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3sv"), + def_glSecondaryColor3sv, + ); + fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ub"), + def_glSecondaryColor3ub, + ); + fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ubv"), + def_glSecondaryColor3ubv, + ); + fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ui"), + def_glSecondaryColor3ui, + ); + fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3uiv"), + def_glSecondaryColor3uiv, + ); + fn_glSecondaryColor3us = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3us"), + def_glSecondaryColor3us, + ); + fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3usv"), + def_glSecondaryColor3usv, + ); + fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer( + proc("glSecondaryColorPointer"), + def_glSecondaryColorPointer, + ); + fn_glWindowPos2d = new Deno.UnsafeFnPointer( + proc("glWindowPos2d"), + def_glWindowPos2d, + ); + fn_glWindowPos2dv = new Deno.UnsafeFnPointer( + proc("glWindowPos2dv"), + def_glWindowPos2dv, + ); + fn_glWindowPos2f = new Deno.UnsafeFnPointer( + proc("glWindowPos2f"), + def_glWindowPos2f, + ); + fn_glWindowPos2fv = new Deno.UnsafeFnPointer( + proc("glWindowPos2fv"), + def_glWindowPos2fv, + ); + fn_glWindowPos2i = new Deno.UnsafeFnPointer( + proc("glWindowPos2i"), + def_glWindowPos2i, + ); + fn_glWindowPos2iv = new Deno.UnsafeFnPointer( + proc("glWindowPos2iv"), + def_glWindowPos2iv, + ); + fn_glWindowPos2s = new Deno.UnsafeFnPointer( + proc("glWindowPos2s"), + def_glWindowPos2s, + ); + fn_glWindowPos2sv = new Deno.UnsafeFnPointer( + proc("glWindowPos2sv"), + def_glWindowPos2sv, + ); + fn_glWindowPos3d = new Deno.UnsafeFnPointer( + proc("glWindowPos3d"), + def_glWindowPos3d, + ); + fn_glWindowPos3dv = new Deno.UnsafeFnPointer( + proc("glWindowPos3dv"), + def_glWindowPos3dv, + ); + fn_glWindowPos3f = new Deno.UnsafeFnPointer( + proc("glWindowPos3f"), + def_glWindowPos3f, + ); + fn_glWindowPos3fv = new Deno.UnsafeFnPointer( + proc("glWindowPos3fv"), + def_glWindowPos3fv, + ); + fn_glWindowPos3i = new Deno.UnsafeFnPointer( + proc("glWindowPos3i"), + def_glWindowPos3i, + ); + fn_glWindowPos3iv = new Deno.UnsafeFnPointer( + proc("glWindowPos3iv"), + def_glWindowPos3iv, + ); + fn_glWindowPos3s = new Deno.UnsafeFnPointer( + proc("glWindowPos3s"), + def_glWindowPos3s, + ); + fn_glWindowPos3sv = new Deno.UnsafeFnPointer( + proc("glWindowPos3sv"), + def_glWindowPos3sv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); } diff --git a/api/gl3.1.ts b/api/gl3.1.ts index 4012647..155071b 100644 --- a/api/gl3.1.ts +++ b/api/gl3.1.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1454,7 +1462,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1951,7 +1969,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1970,7 +1990,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1989,7 +2011,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -2010,7 +2034,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -5439,7 +5465,18 @@ export function Map1f( } export const def_glMap2d = { - parameters: ["u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5472,7 +5509,18 @@ export function Map2d( } export const def_glMap2f = { - parameters: ["u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -6167,7 +6215,9 @@ export const def_glGetPolygonStipple = { result: "void", } as const; -let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetPolygonStipple +>; export function GetPolygonStipple( mask: Buffer, @@ -6698,7 +6748,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -6723,7 +6775,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -6775,7 +6829,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6912,7 +6976,9 @@ export const def_glDisableClientState = { result: "void", } as const; -let fn_glDisableClientState!: Deno.UnsafeFnPointer; +let fn_glDisableClientState!: Deno.UnsafeFnPointer< + typeof def_glDisableClientState +>; export function DisableClientState( array: GLenum, @@ -6944,7 +7010,9 @@ export const def_glEnableClientState = { result: "void", } as const; -let fn_glEnableClientState!: Deno.UnsafeFnPointer; +let fn_glEnableClientState!: Deno.UnsafeFnPointer< + typeof def_glEnableClientState +>; export function EnableClientState( array: GLenum, @@ -6978,7 +7046,9 @@ export const def_glInterleavedArrays = { result: "void", } as const; -let fn_glInterleavedArrays!: Deno.UnsafeFnPointer; +let fn_glInterleavedArrays!: Deno.UnsafeFnPointer< + typeof def_glInterleavedArrays +>; export function InterleavedArrays( format: GLenum, @@ -7058,7 +7128,9 @@ export const def_glAreTexturesResident = { result: "u8", } as const; -let fn_glAreTexturesResident!: Deno.UnsafeFnPointer; +let fn_glAreTexturesResident!: Deno.UnsafeFnPointer< + typeof def_glAreTexturesResident +>; export function AreTexturesResident( n: GLsizei, @@ -7077,7 +7149,9 @@ export const def_glPrioritizeTextures = { result: "void", } as const; -let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer; +let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer< + typeof def_glPrioritizeTextures +>; export function PrioritizeTextures( n: GLsizei, @@ -7152,7 +7226,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -7173,7 +7249,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -7206,7 +7293,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -7245,7 +7344,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -7304,11 +7405,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -7339,7 +7452,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -7368,7 +7483,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -7391,11 +7508,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -7426,11 +7557,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -7461,7 +7604,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -7488,7 +7633,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -7507,7 +7654,9 @@ export const def_glClientActiveTexture = { result: "void", } as const; -let fn_glClientActiveTexture!: Deno.UnsafeFnPointer; +let fn_glClientActiveTexture!: Deno.UnsafeFnPointer< + typeof def_glClientActiveTexture +>; export function ClientActiveTexture( texture: GLenum, @@ -8114,7 +8263,9 @@ export const def_glLoadTransposeMatrixf = { result: "void", } as const; -let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixf +>; export function LoadTransposeMatrixf( m: Buffer, @@ -8129,7 +8280,9 @@ export const def_glLoadTransposeMatrixd = { result: "void", } as const; -let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixd +>; export function LoadTransposeMatrixd( m: Buffer, @@ -8144,7 +8297,9 @@ export const def_glMultTransposeMatrixf = { result: "void", } as const; -let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixf +>; export function MultTransposeMatrixf( m: Buffer, @@ -8159,7 +8314,9 @@ export const def_glMultTransposeMatrixd = { result: "void", } as const; -let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixd +>; export function MultTransposeMatrixd( m: Buffer, @@ -8174,7 +8331,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -8216,7 +8375,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -8405,7 +8566,9 @@ export const def_glSecondaryColor3bv = { result: "void", } as const; -let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3bv +>; export function SecondaryColor3bv( v: Buffer, @@ -8439,7 +8602,9 @@ export const def_glSecondaryColor3dv = { result: "void", } as const; -let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3dv +>; export function SecondaryColor3dv( v: Buffer, @@ -8473,7 +8638,9 @@ export const def_glSecondaryColor3fv = { result: "void", } as const; -let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3fv +>; export function SecondaryColor3fv( v: Buffer, @@ -8507,7 +8674,9 @@ export const def_glSecondaryColor3iv = { result: "void", } as const; -let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3iv +>; export function SecondaryColor3iv( v: Buffer, @@ -8541,7 +8710,9 @@ export const def_glSecondaryColor3sv = { result: "void", } as const; -let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3sv +>; export function SecondaryColor3sv( v: Buffer, @@ -8556,7 +8727,9 @@ export const def_glSecondaryColor3ub = { result: "void", } as const; -let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ub +>; export function SecondaryColor3ub( red: GLubyte, @@ -8575,7 +8748,9 @@ export const def_glSecondaryColor3ubv = { result: "void", } as const; -let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ubv +>; export function SecondaryColor3ubv( v: Buffer, @@ -8590,7 +8765,9 @@ export const def_glSecondaryColor3ui = { result: "void", } as const; -let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ui +>; export function SecondaryColor3ui( red: GLuint, @@ -8609,7 +8786,9 @@ export const def_glSecondaryColor3uiv = { result: "void", } as const; -let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3uiv +>; export function SecondaryColor3uiv( v: Buffer, @@ -8624,7 +8803,9 @@ export const def_glSecondaryColor3us = { result: "void", } as const; -let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3us +>; export function SecondaryColor3us( red: GLushort, @@ -8643,7 +8824,9 @@ export const def_glSecondaryColor3usv = { result: "void", } as const; -let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3usv +>; export function SecondaryColor3usv( v: Buffer, @@ -8658,7 +8841,9 @@ export const def_glSecondaryColorPointer = { result: "void", } as const; -let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorPointer +>; export function SecondaryColorPointer( size: GLint, @@ -9098,7 +9283,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -9278,7 +9465,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -9297,7 +9486,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -9316,7 +9507,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -9350,7 +9543,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -9371,7 +9566,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -9392,7 +9589,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -9426,7 +9625,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -9533,7 +9734,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -9548,7 +9751,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -9617,7 +9822,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -9638,7 +9845,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -9674,7 +9883,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -9756,7 +9967,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -9811,7 +10024,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -9830,7 +10045,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -9849,7 +10066,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -9868,7 +10087,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -10756,7 +10977,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -10773,7 +10996,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -10790,7 +11015,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -11012,7 +11239,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -11037,7 +11266,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -11058,7 +11289,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -11079,7 +11312,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -11100,7 +11335,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -11121,7 +11358,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -11142,7 +11381,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -11275,7 +11516,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -11290,7 +11533,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -11343,7 +11588,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -11364,7 +11611,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -11408,7 +11657,9 @@ export const def_glBeginConditionalRender = { result: "void", } as const; -let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRender +>; export function BeginConditionalRender( id: GLuint, @@ -11425,7 +11676,9 @@ export const def_glEndConditionalRender = { result: "void", } as const; -let fn_glEndConditionalRender!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRender +>; export function EndConditionalRender(): void { fn_glEndConditionalRender.call(); @@ -11436,7 +11689,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -11459,7 +11714,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -11478,7 +11735,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -11725,7 +11984,9 @@ export const def_glVertexAttribI1uiv = { result: "void", } as const; -let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiv +>; export function VertexAttribI1uiv( index: GLuint, @@ -11742,7 +12003,9 @@ export const def_glVertexAttribI2uiv = { result: "void", } as const; -let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiv +>; export function VertexAttribI2uiv( index: GLuint, @@ -11759,7 +12022,9 @@ export const def_glVertexAttribI3uiv = { result: "void", } as const; -let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiv +>; export function VertexAttribI3uiv( index: GLuint, @@ -11776,7 +12041,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -11827,7 +12094,9 @@ export const def_glVertexAttribI4ubv = { result: "void", } as const; -let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubv +>; export function VertexAttribI4ubv( index: GLuint, @@ -11844,7 +12113,9 @@ export const def_glVertexAttribI4usv = { result: "void", } as const; -let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usv +>; export function VertexAttribI4usv( index: GLuint, @@ -11880,7 +12151,9 @@ export const def_glBindFragDataLocation = { result: "void", } as const; -let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocation +>; export function BindFragDataLocation( program: GLuint, @@ -11899,7 +12172,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -12110,7 +12385,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -12129,7 +12406,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -12275,7 +12554,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -12309,7 +12590,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -12330,7 +12613,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -12381,7 +12666,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -12415,7 +12702,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -12430,7 +12719,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -12453,7 +12744,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -12476,7 +12769,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -12501,7 +12796,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -12522,7 +12819,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -12554,7 +12853,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -12591,7 +12901,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -12614,7 +12926,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -12658,7 +12972,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -12692,7 +13008,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -12741,7 +13059,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -12762,7 +13082,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -12804,7 +13126,9 @@ export const def_glPrimitiveRestartIndex = { result: "void", } as const; -let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartIndex +>; export function PrimitiveRestartIndex( index: GLuint, @@ -12819,7 +13143,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -12842,7 +13168,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -12863,7 +13191,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -12886,7 +13216,9 @@ export const def_glGetActiveUniformName = { result: "void", } as const; -let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformName +>; export function GetActiveUniformName( program: GLuint, @@ -12909,7 +13241,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -12926,7 +13260,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -12947,7 +13283,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -12970,7 +13308,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -12987,58 +13327,175 @@ export function UniformBlockBinding( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); fn_glNewList = new Deno.UnsafeFnPointer(proc("glNewList"), def_glNewList); fn_glEndList = new Deno.UnsafeFnPointer(proc("glEndList"), def_glEndList); fn_glCallList = new Deno.UnsafeFnPointer(proc("glCallList"), def_glCallList); - fn_glCallLists = new Deno.UnsafeFnPointer(proc("glCallLists"), def_glCallLists); - fn_glDeleteLists = new Deno.UnsafeFnPointer(proc("glDeleteLists"), def_glDeleteLists); + fn_glCallLists = new Deno.UnsafeFnPointer( + proc("glCallLists"), + def_glCallLists, + ); + fn_glDeleteLists = new Deno.UnsafeFnPointer( + proc("glDeleteLists"), + def_glDeleteLists, + ); fn_glGenLists = new Deno.UnsafeFnPointer(proc("glGenLists"), def_glGenLists); fn_glListBase = new Deno.UnsafeFnPointer(proc("glListBase"), def_glListBase); fn_glBegin = new Deno.UnsafeFnPointer(proc("glBegin"), def_glBegin); @@ -13054,11 +13511,20 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor3s = new Deno.UnsafeFnPointer(proc("glColor3s"), def_glColor3s); fn_glColor3sv = new Deno.UnsafeFnPointer(proc("glColor3sv"), def_glColor3sv); fn_glColor3ub = new Deno.UnsafeFnPointer(proc("glColor3ub"), def_glColor3ub); - fn_glColor3ubv = new Deno.UnsafeFnPointer(proc("glColor3ubv"), def_glColor3ubv); + fn_glColor3ubv = new Deno.UnsafeFnPointer( + proc("glColor3ubv"), + def_glColor3ubv, + ); fn_glColor3ui = new Deno.UnsafeFnPointer(proc("glColor3ui"), def_glColor3ui); - fn_glColor3uiv = new Deno.UnsafeFnPointer(proc("glColor3uiv"), def_glColor3uiv); + fn_glColor3uiv = new Deno.UnsafeFnPointer( + proc("glColor3uiv"), + def_glColor3uiv, + ); fn_glColor3us = new Deno.UnsafeFnPointer(proc("glColor3us"), def_glColor3us); - fn_glColor3usv = new Deno.UnsafeFnPointer(proc("glColor3usv"), def_glColor3usv); + fn_glColor3usv = new Deno.UnsafeFnPointer( + proc("glColor3usv"), + def_glColor3usv, + ); fn_glColor4b = new Deno.UnsafeFnPointer(proc("glColor4b"), def_glColor4b); fn_glColor4bv = new Deno.UnsafeFnPointer(proc("glColor4bv"), def_glColor4bv); fn_glColor4d = new Deno.UnsafeFnPointer(proc("glColor4d"), def_glColor4d); @@ -13070,13 +13536,25 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor4s = new Deno.UnsafeFnPointer(proc("glColor4s"), def_glColor4s); fn_glColor4sv = new Deno.UnsafeFnPointer(proc("glColor4sv"), def_glColor4sv); fn_glColor4ub = new Deno.UnsafeFnPointer(proc("glColor4ub"), def_glColor4ub); - fn_glColor4ubv = new Deno.UnsafeFnPointer(proc("glColor4ubv"), def_glColor4ubv); + fn_glColor4ubv = new Deno.UnsafeFnPointer( + proc("glColor4ubv"), + def_glColor4ubv, + ); fn_glColor4ui = new Deno.UnsafeFnPointer(proc("glColor4ui"), def_glColor4ui); - fn_glColor4uiv = new Deno.UnsafeFnPointer(proc("glColor4uiv"), def_glColor4uiv); + fn_glColor4uiv = new Deno.UnsafeFnPointer( + proc("glColor4uiv"), + def_glColor4uiv, + ); fn_glColor4us = new Deno.UnsafeFnPointer(proc("glColor4us"), def_glColor4us); - fn_glColor4usv = new Deno.UnsafeFnPointer(proc("glColor4usv"), def_glColor4usv); + fn_glColor4usv = new Deno.UnsafeFnPointer( + proc("glColor4usv"), + def_glColor4usv, + ); fn_glEdgeFlag = new Deno.UnsafeFnPointer(proc("glEdgeFlag"), def_glEdgeFlag); - fn_glEdgeFlagv = new Deno.UnsafeFnPointer(proc("glEdgeFlagv"), def_glEdgeFlagv); + fn_glEdgeFlagv = new Deno.UnsafeFnPointer( + proc("glEdgeFlagv"), + def_glEdgeFlagv, + ); fn_glEnd = new Deno.UnsafeFnPointer(proc("glEnd"), def_glEnd); fn_glIndexd = new Deno.UnsafeFnPointer(proc("glIndexd"), def_glIndexd); fn_glIndexdv = new Deno.UnsafeFnPointer(proc("glIndexdv"), def_glIndexdv); @@ -13087,39 +13565,126 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glIndexs = new Deno.UnsafeFnPointer(proc("glIndexs"), def_glIndexs); fn_glIndexsv = new Deno.UnsafeFnPointer(proc("glIndexsv"), def_glIndexsv); fn_glNormal3b = new Deno.UnsafeFnPointer(proc("glNormal3b"), def_glNormal3b); - fn_glNormal3bv = new Deno.UnsafeFnPointer(proc("glNormal3bv"), def_glNormal3bv); + fn_glNormal3bv = new Deno.UnsafeFnPointer( + proc("glNormal3bv"), + def_glNormal3bv, + ); fn_glNormal3d = new Deno.UnsafeFnPointer(proc("glNormal3d"), def_glNormal3d); - fn_glNormal3dv = new Deno.UnsafeFnPointer(proc("glNormal3dv"), def_glNormal3dv); + fn_glNormal3dv = new Deno.UnsafeFnPointer( + proc("glNormal3dv"), + def_glNormal3dv, + ); fn_glNormal3f = new Deno.UnsafeFnPointer(proc("glNormal3f"), def_glNormal3f); - fn_glNormal3fv = new Deno.UnsafeFnPointer(proc("glNormal3fv"), def_glNormal3fv); + fn_glNormal3fv = new Deno.UnsafeFnPointer( + proc("glNormal3fv"), + def_glNormal3fv, + ); fn_glNormal3i = new Deno.UnsafeFnPointer(proc("glNormal3i"), def_glNormal3i); - fn_glNormal3iv = new Deno.UnsafeFnPointer(proc("glNormal3iv"), def_glNormal3iv); + fn_glNormal3iv = new Deno.UnsafeFnPointer( + proc("glNormal3iv"), + def_glNormal3iv, + ); fn_glNormal3s = new Deno.UnsafeFnPointer(proc("glNormal3s"), def_glNormal3s); - fn_glNormal3sv = new Deno.UnsafeFnPointer(proc("glNormal3sv"), def_glNormal3sv); - fn_glRasterPos2d = new Deno.UnsafeFnPointer(proc("glRasterPos2d"), def_glRasterPos2d); - fn_glRasterPos2dv = new Deno.UnsafeFnPointer(proc("glRasterPos2dv"), def_glRasterPos2dv); - fn_glRasterPos2f = new Deno.UnsafeFnPointer(proc("glRasterPos2f"), def_glRasterPos2f); - fn_glRasterPos2fv = new Deno.UnsafeFnPointer(proc("glRasterPos2fv"), def_glRasterPos2fv); - fn_glRasterPos2i = new Deno.UnsafeFnPointer(proc("glRasterPos2i"), def_glRasterPos2i); - fn_glRasterPos2iv = new Deno.UnsafeFnPointer(proc("glRasterPos2iv"), def_glRasterPos2iv); - fn_glRasterPos2s = new Deno.UnsafeFnPointer(proc("glRasterPos2s"), def_glRasterPos2s); - fn_glRasterPos2sv = new Deno.UnsafeFnPointer(proc("glRasterPos2sv"), def_glRasterPos2sv); - fn_glRasterPos3d = new Deno.UnsafeFnPointer(proc("glRasterPos3d"), def_glRasterPos3d); - fn_glRasterPos3dv = new Deno.UnsafeFnPointer(proc("glRasterPos3dv"), def_glRasterPos3dv); - fn_glRasterPos3f = new Deno.UnsafeFnPointer(proc("glRasterPos3f"), def_glRasterPos3f); - fn_glRasterPos3fv = new Deno.UnsafeFnPointer(proc("glRasterPos3fv"), def_glRasterPos3fv); - fn_glRasterPos3i = new Deno.UnsafeFnPointer(proc("glRasterPos3i"), def_glRasterPos3i); - fn_glRasterPos3iv = new Deno.UnsafeFnPointer(proc("glRasterPos3iv"), def_glRasterPos3iv); - fn_glRasterPos3s = new Deno.UnsafeFnPointer(proc("glRasterPos3s"), def_glRasterPos3s); - fn_glRasterPos3sv = new Deno.UnsafeFnPointer(proc("glRasterPos3sv"), def_glRasterPos3sv); - fn_glRasterPos4d = new Deno.UnsafeFnPointer(proc("glRasterPos4d"), def_glRasterPos4d); - fn_glRasterPos4dv = new Deno.UnsafeFnPointer(proc("glRasterPos4dv"), def_glRasterPos4dv); - fn_glRasterPos4f = new Deno.UnsafeFnPointer(proc("glRasterPos4f"), def_glRasterPos4f); - fn_glRasterPos4fv = new Deno.UnsafeFnPointer(proc("glRasterPos4fv"), def_glRasterPos4fv); - fn_glRasterPos4i = new Deno.UnsafeFnPointer(proc("glRasterPos4i"), def_glRasterPos4i); - fn_glRasterPos4iv = new Deno.UnsafeFnPointer(proc("glRasterPos4iv"), def_glRasterPos4iv); - fn_glRasterPos4s = new Deno.UnsafeFnPointer(proc("glRasterPos4s"), def_glRasterPos4s); - fn_glRasterPos4sv = new Deno.UnsafeFnPointer(proc("glRasterPos4sv"), def_glRasterPos4sv); + fn_glNormal3sv = new Deno.UnsafeFnPointer( + proc("glNormal3sv"), + def_glNormal3sv, + ); + fn_glRasterPos2d = new Deno.UnsafeFnPointer( + proc("glRasterPos2d"), + def_glRasterPos2d, + ); + fn_glRasterPos2dv = new Deno.UnsafeFnPointer( + proc("glRasterPos2dv"), + def_glRasterPos2dv, + ); + fn_glRasterPos2f = new Deno.UnsafeFnPointer( + proc("glRasterPos2f"), + def_glRasterPos2f, + ); + fn_glRasterPos2fv = new Deno.UnsafeFnPointer( + proc("glRasterPos2fv"), + def_glRasterPos2fv, + ); + fn_glRasterPos2i = new Deno.UnsafeFnPointer( + proc("glRasterPos2i"), + def_glRasterPos2i, + ); + fn_glRasterPos2iv = new Deno.UnsafeFnPointer( + proc("glRasterPos2iv"), + def_glRasterPos2iv, + ); + fn_glRasterPos2s = new Deno.UnsafeFnPointer( + proc("glRasterPos2s"), + def_glRasterPos2s, + ); + fn_glRasterPos2sv = new Deno.UnsafeFnPointer( + proc("glRasterPos2sv"), + def_glRasterPos2sv, + ); + fn_glRasterPos3d = new Deno.UnsafeFnPointer( + proc("glRasterPos3d"), + def_glRasterPos3d, + ); + fn_glRasterPos3dv = new Deno.UnsafeFnPointer( + proc("glRasterPos3dv"), + def_glRasterPos3dv, + ); + fn_glRasterPos3f = new Deno.UnsafeFnPointer( + proc("glRasterPos3f"), + def_glRasterPos3f, + ); + fn_glRasterPos3fv = new Deno.UnsafeFnPointer( + proc("glRasterPos3fv"), + def_glRasterPos3fv, + ); + fn_glRasterPos3i = new Deno.UnsafeFnPointer( + proc("glRasterPos3i"), + def_glRasterPos3i, + ); + fn_glRasterPos3iv = new Deno.UnsafeFnPointer( + proc("glRasterPos3iv"), + def_glRasterPos3iv, + ); + fn_glRasterPos3s = new Deno.UnsafeFnPointer( + proc("glRasterPos3s"), + def_glRasterPos3s, + ); + fn_glRasterPos3sv = new Deno.UnsafeFnPointer( + proc("glRasterPos3sv"), + def_glRasterPos3sv, + ); + fn_glRasterPos4d = new Deno.UnsafeFnPointer( + proc("glRasterPos4d"), + def_glRasterPos4d, + ); + fn_glRasterPos4dv = new Deno.UnsafeFnPointer( + proc("glRasterPos4dv"), + def_glRasterPos4dv, + ); + fn_glRasterPos4f = new Deno.UnsafeFnPointer( + proc("glRasterPos4f"), + def_glRasterPos4f, + ); + fn_glRasterPos4fv = new Deno.UnsafeFnPointer( + proc("glRasterPos4fv"), + def_glRasterPos4fv, + ); + fn_glRasterPos4i = new Deno.UnsafeFnPointer( + proc("glRasterPos4i"), + def_glRasterPos4i, + ); + fn_glRasterPos4iv = new Deno.UnsafeFnPointer( + proc("glRasterPos4iv"), + def_glRasterPos4iv, + ); + fn_glRasterPos4s = new Deno.UnsafeFnPointer( + proc("glRasterPos4s"), + def_glRasterPos4s, + ); + fn_glRasterPos4sv = new Deno.UnsafeFnPointer( + proc("glRasterPos4sv"), + def_glRasterPos4sv, + ); fn_glRectd = new Deno.UnsafeFnPointer(proc("glRectd"), def_glRectd); fn_glRectdv = new Deno.UnsafeFnPointer(proc("glRectdv"), def_glRectdv); fn_glRectf = new Deno.UnsafeFnPointer(proc("glRectf"), def_glRectf); @@ -13128,64 +13693,202 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glRectiv = new Deno.UnsafeFnPointer(proc("glRectiv"), def_glRectiv); fn_glRects = new Deno.UnsafeFnPointer(proc("glRects"), def_glRects); fn_glRectsv = new Deno.UnsafeFnPointer(proc("glRectsv"), def_glRectsv); - fn_glTexCoord1d = new Deno.UnsafeFnPointer(proc("glTexCoord1d"), def_glTexCoord1d); - fn_glTexCoord1dv = new Deno.UnsafeFnPointer(proc("glTexCoord1dv"), def_glTexCoord1dv); - fn_glTexCoord1f = new Deno.UnsafeFnPointer(proc("glTexCoord1f"), def_glTexCoord1f); - fn_glTexCoord1fv = new Deno.UnsafeFnPointer(proc("glTexCoord1fv"), def_glTexCoord1fv); - fn_glTexCoord1i = new Deno.UnsafeFnPointer(proc("glTexCoord1i"), def_glTexCoord1i); - fn_glTexCoord1iv = new Deno.UnsafeFnPointer(proc("glTexCoord1iv"), def_glTexCoord1iv); - fn_glTexCoord1s = new Deno.UnsafeFnPointer(proc("glTexCoord1s"), def_glTexCoord1s); - fn_glTexCoord1sv = new Deno.UnsafeFnPointer(proc("glTexCoord1sv"), def_glTexCoord1sv); - fn_glTexCoord2d = new Deno.UnsafeFnPointer(proc("glTexCoord2d"), def_glTexCoord2d); - fn_glTexCoord2dv = new Deno.UnsafeFnPointer(proc("glTexCoord2dv"), def_glTexCoord2dv); - fn_glTexCoord2f = new Deno.UnsafeFnPointer(proc("glTexCoord2f"), def_glTexCoord2f); - fn_glTexCoord2fv = new Deno.UnsafeFnPointer(proc("glTexCoord2fv"), def_glTexCoord2fv); - fn_glTexCoord2i = new Deno.UnsafeFnPointer(proc("glTexCoord2i"), def_glTexCoord2i); - fn_glTexCoord2iv = new Deno.UnsafeFnPointer(proc("glTexCoord2iv"), def_glTexCoord2iv); - fn_glTexCoord2s = new Deno.UnsafeFnPointer(proc("glTexCoord2s"), def_glTexCoord2s); - fn_glTexCoord2sv = new Deno.UnsafeFnPointer(proc("glTexCoord2sv"), def_glTexCoord2sv); - fn_glTexCoord3d = new Deno.UnsafeFnPointer(proc("glTexCoord3d"), def_glTexCoord3d); - fn_glTexCoord3dv = new Deno.UnsafeFnPointer(proc("glTexCoord3dv"), def_glTexCoord3dv); - fn_glTexCoord3f = new Deno.UnsafeFnPointer(proc("glTexCoord3f"), def_glTexCoord3f); - fn_glTexCoord3fv = new Deno.UnsafeFnPointer(proc("glTexCoord3fv"), def_glTexCoord3fv); - fn_glTexCoord3i = new Deno.UnsafeFnPointer(proc("glTexCoord3i"), def_glTexCoord3i); - fn_glTexCoord3iv = new Deno.UnsafeFnPointer(proc("glTexCoord3iv"), def_glTexCoord3iv); - fn_glTexCoord3s = new Deno.UnsafeFnPointer(proc("glTexCoord3s"), def_glTexCoord3s); - fn_glTexCoord3sv = new Deno.UnsafeFnPointer(proc("glTexCoord3sv"), def_glTexCoord3sv); - fn_glTexCoord4d = new Deno.UnsafeFnPointer(proc("glTexCoord4d"), def_glTexCoord4d); - fn_glTexCoord4dv = new Deno.UnsafeFnPointer(proc("glTexCoord4dv"), def_glTexCoord4dv); - fn_glTexCoord4f = new Deno.UnsafeFnPointer(proc("glTexCoord4f"), def_glTexCoord4f); - fn_glTexCoord4fv = new Deno.UnsafeFnPointer(proc("glTexCoord4fv"), def_glTexCoord4fv); - fn_glTexCoord4i = new Deno.UnsafeFnPointer(proc("glTexCoord4i"), def_glTexCoord4i); - fn_glTexCoord4iv = new Deno.UnsafeFnPointer(proc("glTexCoord4iv"), def_glTexCoord4iv); - fn_glTexCoord4s = new Deno.UnsafeFnPointer(proc("glTexCoord4s"), def_glTexCoord4s); - fn_glTexCoord4sv = new Deno.UnsafeFnPointer(proc("glTexCoord4sv"), def_glTexCoord4sv); + fn_glTexCoord1d = new Deno.UnsafeFnPointer( + proc("glTexCoord1d"), + def_glTexCoord1d, + ); + fn_glTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glTexCoord1dv"), + def_glTexCoord1dv, + ); + fn_glTexCoord1f = new Deno.UnsafeFnPointer( + proc("glTexCoord1f"), + def_glTexCoord1f, + ); + fn_glTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glTexCoord1fv"), + def_glTexCoord1fv, + ); + fn_glTexCoord1i = new Deno.UnsafeFnPointer( + proc("glTexCoord1i"), + def_glTexCoord1i, + ); + fn_glTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glTexCoord1iv"), + def_glTexCoord1iv, + ); + fn_glTexCoord1s = new Deno.UnsafeFnPointer( + proc("glTexCoord1s"), + def_glTexCoord1s, + ); + fn_glTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glTexCoord1sv"), + def_glTexCoord1sv, + ); + fn_glTexCoord2d = new Deno.UnsafeFnPointer( + proc("glTexCoord2d"), + def_glTexCoord2d, + ); + fn_glTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glTexCoord2dv"), + def_glTexCoord2dv, + ); + fn_glTexCoord2f = new Deno.UnsafeFnPointer( + proc("glTexCoord2f"), + def_glTexCoord2f, + ); + fn_glTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glTexCoord2fv"), + def_glTexCoord2fv, + ); + fn_glTexCoord2i = new Deno.UnsafeFnPointer( + proc("glTexCoord2i"), + def_glTexCoord2i, + ); + fn_glTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glTexCoord2iv"), + def_glTexCoord2iv, + ); + fn_glTexCoord2s = new Deno.UnsafeFnPointer( + proc("glTexCoord2s"), + def_glTexCoord2s, + ); + fn_glTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glTexCoord2sv"), + def_glTexCoord2sv, + ); + fn_glTexCoord3d = new Deno.UnsafeFnPointer( + proc("glTexCoord3d"), + def_glTexCoord3d, + ); + fn_glTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glTexCoord3dv"), + def_glTexCoord3dv, + ); + fn_glTexCoord3f = new Deno.UnsafeFnPointer( + proc("glTexCoord3f"), + def_glTexCoord3f, + ); + fn_glTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glTexCoord3fv"), + def_glTexCoord3fv, + ); + fn_glTexCoord3i = new Deno.UnsafeFnPointer( + proc("glTexCoord3i"), + def_glTexCoord3i, + ); + fn_glTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glTexCoord3iv"), + def_glTexCoord3iv, + ); + fn_glTexCoord3s = new Deno.UnsafeFnPointer( + proc("glTexCoord3s"), + def_glTexCoord3s, + ); + fn_glTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glTexCoord3sv"), + def_glTexCoord3sv, + ); + fn_glTexCoord4d = new Deno.UnsafeFnPointer( + proc("glTexCoord4d"), + def_glTexCoord4d, + ); + fn_glTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glTexCoord4dv"), + def_glTexCoord4dv, + ); + fn_glTexCoord4f = new Deno.UnsafeFnPointer( + proc("glTexCoord4f"), + def_glTexCoord4f, + ); + fn_glTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glTexCoord4fv"), + def_glTexCoord4fv, + ); + fn_glTexCoord4i = new Deno.UnsafeFnPointer( + proc("glTexCoord4i"), + def_glTexCoord4i, + ); + fn_glTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glTexCoord4iv"), + def_glTexCoord4iv, + ); + fn_glTexCoord4s = new Deno.UnsafeFnPointer( + proc("glTexCoord4s"), + def_glTexCoord4s, + ); + fn_glTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glTexCoord4sv"), + def_glTexCoord4sv, + ); fn_glVertex2d = new Deno.UnsafeFnPointer(proc("glVertex2d"), def_glVertex2d); - fn_glVertex2dv = new Deno.UnsafeFnPointer(proc("glVertex2dv"), def_glVertex2dv); + fn_glVertex2dv = new Deno.UnsafeFnPointer( + proc("glVertex2dv"), + def_glVertex2dv, + ); fn_glVertex2f = new Deno.UnsafeFnPointer(proc("glVertex2f"), def_glVertex2f); - fn_glVertex2fv = new Deno.UnsafeFnPointer(proc("glVertex2fv"), def_glVertex2fv); + fn_glVertex2fv = new Deno.UnsafeFnPointer( + proc("glVertex2fv"), + def_glVertex2fv, + ); fn_glVertex2i = new Deno.UnsafeFnPointer(proc("glVertex2i"), def_glVertex2i); - fn_glVertex2iv = new Deno.UnsafeFnPointer(proc("glVertex2iv"), def_glVertex2iv); + fn_glVertex2iv = new Deno.UnsafeFnPointer( + proc("glVertex2iv"), + def_glVertex2iv, + ); fn_glVertex2s = new Deno.UnsafeFnPointer(proc("glVertex2s"), def_glVertex2s); - fn_glVertex2sv = new Deno.UnsafeFnPointer(proc("glVertex2sv"), def_glVertex2sv); + fn_glVertex2sv = new Deno.UnsafeFnPointer( + proc("glVertex2sv"), + def_glVertex2sv, + ); fn_glVertex3d = new Deno.UnsafeFnPointer(proc("glVertex3d"), def_glVertex3d); - fn_glVertex3dv = new Deno.UnsafeFnPointer(proc("glVertex3dv"), def_glVertex3dv); + fn_glVertex3dv = new Deno.UnsafeFnPointer( + proc("glVertex3dv"), + def_glVertex3dv, + ); fn_glVertex3f = new Deno.UnsafeFnPointer(proc("glVertex3f"), def_glVertex3f); - fn_glVertex3fv = new Deno.UnsafeFnPointer(proc("glVertex3fv"), def_glVertex3fv); + fn_glVertex3fv = new Deno.UnsafeFnPointer( + proc("glVertex3fv"), + def_glVertex3fv, + ); fn_glVertex3i = new Deno.UnsafeFnPointer(proc("glVertex3i"), def_glVertex3i); - fn_glVertex3iv = new Deno.UnsafeFnPointer(proc("glVertex3iv"), def_glVertex3iv); + fn_glVertex3iv = new Deno.UnsafeFnPointer( + proc("glVertex3iv"), + def_glVertex3iv, + ); fn_glVertex3s = new Deno.UnsafeFnPointer(proc("glVertex3s"), def_glVertex3s); - fn_glVertex3sv = new Deno.UnsafeFnPointer(proc("glVertex3sv"), def_glVertex3sv); + fn_glVertex3sv = new Deno.UnsafeFnPointer( + proc("glVertex3sv"), + def_glVertex3sv, + ); fn_glVertex4d = new Deno.UnsafeFnPointer(proc("glVertex4d"), def_glVertex4d); - fn_glVertex4dv = new Deno.UnsafeFnPointer(proc("glVertex4dv"), def_glVertex4dv); + fn_glVertex4dv = new Deno.UnsafeFnPointer( + proc("glVertex4dv"), + def_glVertex4dv, + ); fn_glVertex4f = new Deno.UnsafeFnPointer(proc("glVertex4f"), def_glVertex4f); - fn_glVertex4fv = new Deno.UnsafeFnPointer(proc("glVertex4fv"), def_glVertex4fv); + fn_glVertex4fv = new Deno.UnsafeFnPointer( + proc("glVertex4fv"), + def_glVertex4fv, + ); fn_glVertex4i = new Deno.UnsafeFnPointer(proc("glVertex4i"), def_glVertex4i); - fn_glVertex4iv = new Deno.UnsafeFnPointer(proc("glVertex4iv"), def_glVertex4iv); + fn_glVertex4iv = new Deno.UnsafeFnPointer( + proc("glVertex4iv"), + def_glVertex4iv, + ); fn_glVertex4s = new Deno.UnsafeFnPointer(proc("glVertex4s"), def_glVertex4s); - fn_glVertex4sv = new Deno.UnsafeFnPointer(proc("glVertex4sv"), def_glVertex4sv); - fn_glClipPlane = new Deno.UnsafeFnPointer(proc("glClipPlane"), def_glClipPlane); - fn_glColorMaterial = new Deno.UnsafeFnPointer(proc("glColorMaterial"), def_glColorMaterial); + fn_glVertex4sv = new Deno.UnsafeFnPointer( + proc("glVertex4sv"), + def_glVertex4sv, + ); + fn_glClipPlane = new Deno.UnsafeFnPointer( + proc("glClipPlane"), + def_glClipPlane, + ); + fn_glColorMaterial = new Deno.UnsafeFnPointer( + proc("glColorMaterial"), + def_glColorMaterial, + ); fn_glFogf = new Deno.UnsafeFnPointer(proc("glFogf"), def_glFogf); fn_glFogfv = new Deno.UnsafeFnPointer(proc("glFogfv"), def_glFogfv); fn_glFogi = new Deno.UnsafeFnPointer(proc("glFogi"), def_glFogi); @@ -13194,17 +13897,50 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glLightfv = new Deno.UnsafeFnPointer(proc("glLightfv"), def_glLightfv); fn_glLighti = new Deno.UnsafeFnPointer(proc("glLighti"), def_glLighti); fn_glLightiv = new Deno.UnsafeFnPointer(proc("glLightiv"), def_glLightiv); - fn_glLightModelf = new Deno.UnsafeFnPointer(proc("glLightModelf"), def_glLightModelf); - fn_glLightModelfv = new Deno.UnsafeFnPointer(proc("glLightModelfv"), def_glLightModelfv); - fn_glLightModeli = new Deno.UnsafeFnPointer(proc("glLightModeli"), def_glLightModeli); - fn_glLightModeliv = new Deno.UnsafeFnPointer(proc("glLightModeliv"), def_glLightModeliv); - fn_glLineStipple = new Deno.UnsafeFnPointer(proc("glLineStipple"), def_glLineStipple); - fn_glMaterialf = new Deno.UnsafeFnPointer(proc("glMaterialf"), def_glMaterialf); - fn_glMaterialfv = new Deno.UnsafeFnPointer(proc("glMaterialfv"), def_glMaterialfv); - fn_glMateriali = new Deno.UnsafeFnPointer(proc("glMateriali"), def_glMateriali); - fn_glMaterialiv = new Deno.UnsafeFnPointer(proc("glMaterialiv"), def_glMaterialiv); - fn_glPolygonStipple = new Deno.UnsafeFnPointer(proc("glPolygonStipple"), def_glPolygonStipple); - fn_glShadeModel = new Deno.UnsafeFnPointer(proc("glShadeModel"), def_glShadeModel); + fn_glLightModelf = new Deno.UnsafeFnPointer( + proc("glLightModelf"), + def_glLightModelf, + ); + fn_glLightModelfv = new Deno.UnsafeFnPointer( + proc("glLightModelfv"), + def_glLightModelfv, + ); + fn_glLightModeli = new Deno.UnsafeFnPointer( + proc("glLightModeli"), + def_glLightModeli, + ); + fn_glLightModeliv = new Deno.UnsafeFnPointer( + proc("glLightModeliv"), + def_glLightModeliv, + ); + fn_glLineStipple = new Deno.UnsafeFnPointer( + proc("glLineStipple"), + def_glLineStipple, + ); + fn_glMaterialf = new Deno.UnsafeFnPointer( + proc("glMaterialf"), + def_glMaterialf, + ); + fn_glMaterialfv = new Deno.UnsafeFnPointer( + proc("glMaterialfv"), + def_glMaterialfv, + ); + fn_glMateriali = new Deno.UnsafeFnPointer( + proc("glMateriali"), + def_glMateriali, + ); + fn_glMaterialiv = new Deno.UnsafeFnPointer( + proc("glMaterialiv"), + def_glMaterialiv, + ); + fn_glPolygonStipple = new Deno.UnsafeFnPointer( + proc("glPolygonStipple"), + def_glPolygonStipple, + ); + fn_glShadeModel = new Deno.UnsafeFnPointer( + proc("glShadeModel"), + def_glShadeModel, + ); fn_glTexEnvf = new Deno.UnsafeFnPointer(proc("glTexEnvf"), def_glTexEnvf); fn_glTexEnvfv = new Deno.UnsafeFnPointer(proc("glTexEnvfv"), def_glTexEnvfv); fn_glTexEnvi = new Deno.UnsafeFnPointer(proc("glTexEnvi"), def_glTexEnvi); @@ -13215,422 +13951,1598 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glTexGenfv = new Deno.UnsafeFnPointer(proc("glTexGenfv"), def_glTexGenfv); fn_glTexGeni = new Deno.UnsafeFnPointer(proc("glTexGeni"), def_glTexGeni); fn_glTexGeniv = new Deno.UnsafeFnPointer(proc("glTexGeniv"), def_glTexGeniv); - fn_glFeedbackBuffer = new Deno.UnsafeFnPointer(proc("glFeedbackBuffer"), def_glFeedbackBuffer); - fn_glSelectBuffer = new Deno.UnsafeFnPointer(proc("glSelectBuffer"), def_glSelectBuffer); - fn_glRenderMode = new Deno.UnsafeFnPointer(proc("glRenderMode"), def_glRenderMode); - fn_glInitNames = new Deno.UnsafeFnPointer(proc("glInitNames"), def_glInitNames); + fn_glFeedbackBuffer = new Deno.UnsafeFnPointer( + proc("glFeedbackBuffer"), + def_glFeedbackBuffer, + ); + fn_glSelectBuffer = new Deno.UnsafeFnPointer( + proc("glSelectBuffer"), + def_glSelectBuffer, + ); + fn_glRenderMode = new Deno.UnsafeFnPointer( + proc("glRenderMode"), + def_glRenderMode, + ); + fn_glInitNames = new Deno.UnsafeFnPointer( + proc("glInitNames"), + def_glInitNames, + ); fn_glLoadName = new Deno.UnsafeFnPointer(proc("glLoadName"), def_glLoadName); - fn_glPassThrough = new Deno.UnsafeFnPointer(proc("glPassThrough"), def_glPassThrough); + fn_glPassThrough = new Deno.UnsafeFnPointer( + proc("glPassThrough"), + def_glPassThrough, + ); fn_glPopName = new Deno.UnsafeFnPointer(proc("glPopName"), def_glPopName); fn_glPushName = new Deno.UnsafeFnPointer(proc("glPushName"), def_glPushName); - fn_glClearAccum = new Deno.UnsafeFnPointer(proc("glClearAccum"), def_glClearAccum); - fn_glClearIndex = new Deno.UnsafeFnPointer(proc("glClearIndex"), def_glClearIndex); - fn_glIndexMask = new Deno.UnsafeFnPointer(proc("glIndexMask"), def_glIndexMask); + fn_glClearAccum = new Deno.UnsafeFnPointer( + proc("glClearAccum"), + def_glClearAccum, + ); + fn_glClearIndex = new Deno.UnsafeFnPointer( + proc("glClearIndex"), + def_glClearIndex, + ); + fn_glIndexMask = new Deno.UnsafeFnPointer( + proc("glIndexMask"), + def_glIndexMask, + ); fn_glAccum = new Deno.UnsafeFnPointer(proc("glAccum"), def_glAccum); - fn_glPopAttrib = new Deno.UnsafeFnPointer(proc("glPopAttrib"), def_glPopAttrib); - fn_glPushAttrib = new Deno.UnsafeFnPointer(proc("glPushAttrib"), def_glPushAttrib); + fn_glPopAttrib = new Deno.UnsafeFnPointer( + proc("glPopAttrib"), + def_glPopAttrib, + ); + fn_glPushAttrib = new Deno.UnsafeFnPointer( + proc("glPushAttrib"), + def_glPushAttrib, + ); fn_glMap1d = new Deno.UnsafeFnPointer(proc("glMap1d"), def_glMap1d); fn_glMap1f = new Deno.UnsafeFnPointer(proc("glMap1f"), def_glMap1f); fn_glMap2d = new Deno.UnsafeFnPointer(proc("glMap2d"), def_glMap2d); fn_glMap2f = new Deno.UnsafeFnPointer(proc("glMap2f"), def_glMap2f); - fn_glMapGrid1d = new Deno.UnsafeFnPointer(proc("glMapGrid1d"), def_glMapGrid1d); - fn_glMapGrid1f = new Deno.UnsafeFnPointer(proc("glMapGrid1f"), def_glMapGrid1f); - fn_glMapGrid2d = new Deno.UnsafeFnPointer(proc("glMapGrid2d"), def_glMapGrid2d); - fn_glMapGrid2f = new Deno.UnsafeFnPointer(proc("glMapGrid2f"), def_glMapGrid2f); - fn_glEvalCoord1d = new Deno.UnsafeFnPointer(proc("glEvalCoord1d"), def_glEvalCoord1d); - fn_glEvalCoord1dv = new Deno.UnsafeFnPointer(proc("glEvalCoord1dv"), def_glEvalCoord1dv); - fn_glEvalCoord1f = new Deno.UnsafeFnPointer(proc("glEvalCoord1f"), def_glEvalCoord1f); - fn_glEvalCoord1fv = new Deno.UnsafeFnPointer(proc("glEvalCoord1fv"), def_glEvalCoord1fv); - fn_glEvalCoord2d = new Deno.UnsafeFnPointer(proc("glEvalCoord2d"), def_glEvalCoord2d); - fn_glEvalCoord2dv = new Deno.UnsafeFnPointer(proc("glEvalCoord2dv"), def_glEvalCoord2dv); - fn_glEvalCoord2f = new Deno.UnsafeFnPointer(proc("glEvalCoord2f"), def_glEvalCoord2f); - fn_glEvalCoord2fv = new Deno.UnsafeFnPointer(proc("glEvalCoord2fv"), def_glEvalCoord2fv); - fn_glEvalMesh1 = new Deno.UnsafeFnPointer(proc("glEvalMesh1"), def_glEvalMesh1); - fn_glEvalPoint1 = new Deno.UnsafeFnPointer(proc("glEvalPoint1"), def_glEvalPoint1); - fn_glEvalMesh2 = new Deno.UnsafeFnPointer(proc("glEvalMesh2"), def_glEvalMesh2); - fn_glEvalPoint2 = new Deno.UnsafeFnPointer(proc("glEvalPoint2"), def_glEvalPoint2); - fn_glAlphaFunc = new Deno.UnsafeFnPointer(proc("glAlphaFunc"), def_glAlphaFunc); - fn_glPixelZoom = new Deno.UnsafeFnPointer(proc("glPixelZoom"), def_glPixelZoom); - fn_glPixelTransferf = new Deno.UnsafeFnPointer(proc("glPixelTransferf"), def_glPixelTransferf); - fn_glPixelTransferi = new Deno.UnsafeFnPointer(proc("glPixelTransferi"), def_glPixelTransferi); - fn_glPixelMapfv = new Deno.UnsafeFnPointer(proc("glPixelMapfv"), def_glPixelMapfv); - fn_glPixelMapuiv = new Deno.UnsafeFnPointer(proc("glPixelMapuiv"), def_glPixelMapuiv); - fn_glPixelMapusv = new Deno.UnsafeFnPointer(proc("glPixelMapusv"), def_glPixelMapusv); - fn_glCopyPixels = new Deno.UnsafeFnPointer(proc("glCopyPixels"), def_glCopyPixels); - fn_glDrawPixels = new Deno.UnsafeFnPointer(proc("glDrawPixels"), def_glDrawPixels); - fn_glGetClipPlane = new Deno.UnsafeFnPointer(proc("glGetClipPlane"), def_glGetClipPlane); - fn_glGetLightfv = new Deno.UnsafeFnPointer(proc("glGetLightfv"), def_glGetLightfv); - fn_glGetLightiv = new Deno.UnsafeFnPointer(proc("glGetLightiv"), def_glGetLightiv); + fn_glMapGrid1d = new Deno.UnsafeFnPointer( + proc("glMapGrid1d"), + def_glMapGrid1d, + ); + fn_glMapGrid1f = new Deno.UnsafeFnPointer( + proc("glMapGrid1f"), + def_glMapGrid1f, + ); + fn_glMapGrid2d = new Deno.UnsafeFnPointer( + proc("glMapGrid2d"), + def_glMapGrid2d, + ); + fn_glMapGrid2f = new Deno.UnsafeFnPointer( + proc("glMapGrid2f"), + def_glMapGrid2f, + ); + fn_glEvalCoord1d = new Deno.UnsafeFnPointer( + proc("glEvalCoord1d"), + def_glEvalCoord1d, + ); + fn_glEvalCoord1dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1dv"), + def_glEvalCoord1dv, + ); + fn_glEvalCoord1f = new Deno.UnsafeFnPointer( + proc("glEvalCoord1f"), + def_glEvalCoord1f, + ); + fn_glEvalCoord1fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1fv"), + def_glEvalCoord1fv, + ); + fn_glEvalCoord2d = new Deno.UnsafeFnPointer( + proc("glEvalCoord2d"), + def_glEvalCoord2d, + ); + fn_glEvalCoord2dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2dv"), + def_glEvalCoord2dv, + ); + fn_glEvalCoord2f = new Deno.UnsafeFnPointer( + proc("glEvalCoord2f"), + def_glEvalCoord2f, + ); + fn_glEvalCoord2fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2fv"), + def_glEvalCoord2fv, + ); + fn_glEvalMesh1 = new Deno.UnsafeFnPointer( + proc("glEvalMesh1"), + def_glEvalMesh1, + ); + fn_glEvalPoint1 = new Deno.UnsafeFnPointer( + proc("glEvalPoint1"), + def_glEvalPoint1, + ); + fn_glEvalMesh2 = new Deno.UnsafeFnPointer( + proc("glEvalMesh2"), + def_glEvalMesh2, + ); + fn_glEvalPoint2 = new Deno.UnsafeFnPointer( + proc("glEvalPoint2"), + def_glEvalPoint2, + ); + fn_glAlphaFunc = new Deno.UnsafeFnPointer( + proc("glAlphaFunc"), + def_glAlphaFunc, + ); + fn_glPixelZoom = new Deno.UnsafeFnPointer( + proc("glPixelZoom"), + def_glPixelZoom, + ); + fn_glPixelTransferf = new Deno.UnsafeFnPointer( + proc("glPixelTransferf"), + def_glPixelTransferf, + ); + fn_glPixelTransferi = new Deno.UnsafeFnPointer( + proc("glPixelTransferi"), + def_glPixelTransferi, + ); + fn_glPixelMapfv = new Deno.UnsafeFnPointer( + proc("glPixelMapfv"), + def_glPixelMapfv, + ); + fn_glPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glPixelMapuiv"), + def_glPixelMapuiv, + ); + fn_glPixelMapusv = new Deno.UnsafeFnPointer( + proc("glPixelMapusv"), + def_glPixelMapusv, + ); + fn_glCopyPixels = new Deno.UnsafeFnPointer( + proc("glCopyPixels"), + def_glCopyPixels, + ); + fn_glDrawPixels = new Deno.UnsafeFnPointer( + proc("glDrawPixels"), + def_glDrawPixels, + ); + fn_glGetClipPlane = new Deno.UnsafeFnPointer( + proc("glGetClipPlane"), + def_glGetClipPlane, + ); + fn_glGetLightfv = new Deno.UnsafeFnPointer( + proc("glGetLightfv"), + def_glGetLightfv, + ); + fn_glGetLightiv = new Deno.UnsafeFnPointer( + proc("glGetLightiv"), + def_glGetLightiv, + ); fn_glGetMapdv = new Deno.UnsafeFnPointer(proc("glGetMapdv"), def_glGetMapdv); fn_glGetMapfv = new Deno.UnsafeFnPointer(proc("glGetMapfv"), def_glGetMapfv); fn_glGetMapiv = new Deno.UnsafeFnPointer(proc("glGetMapiv"), def_glGetMapiv); - fn_glGetMaterialfv = new Deno.UnsafeFnPointer(proc("glGetMaterialfv"), def_glGetMaterialfv); - fn_glGetMaterialiv = new Deno.UnsafeFnPointer(proc("glGetMaterialiv"), def_glGetMaterialiv); - fn_glGetPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetPixelMapfv"), def_glGetPixelMapfv); - fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetPixelMapuiv"), def_glGetPixelMapuiv); - fn_glGetPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetPixelMapusv"), def_glGetPixelMapusv); - fn_glGetPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetPolygonStipple"), def_glGetPolygonStipple); - fn_glGetTexEnvfv = new Deno.UnsafeFnPointer(proc("glGetTexEnvfv"), def_glGetTexEnvfv); - fn_glGetTexEnviv = new Deno.UnsafeFnPointer(proc("glGetTexEnviv"), def_glGetTexEnviv); - fn_glGetTexGendv = new Deno.UnsafeFnPointer(proc("glGetTexGendv"), def_glGetTexGendv); - fn_glGetTexGenfv = new Deno.UnsafeFnPointer(proc("glGetTexGenfv"), def_glGetTexGenfv); - fn_glGetTexGeniv = new Deno.UnsafeFnPointer(proc("glGetTexGeniv"), def_glGetTexGeniv); + fn_glGetMaterialfv = new Deno.UnsafeFnPointer( + proc("glGetMaterialfv"), + def_glGetMaterialfv, + ); + fn_glGetMaterialiv = new Deno.UnsafeFnPointer( + proc("glGetMaterialiv"), + def_glGetMaterialiv, + ); + fn_glGetPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapfv"), + def_glGetPixelMapfv, + ); + fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapuiv"), + def_glGetPixelMapuiv, + ); + fn_glGetPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapusv"), + def_glGetPixelMapusv, + ); + fn_glGetPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetPolygonStipple"), + def_glGetPolygonStipple, + ); + fn_glGetTexEnvfv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvfv"), + def_glGetTexEnvfv, + ); + fn_glGetTexEnviv = new Deno.UnsafeFnPointer( + proc("glGetTexEnviv"), + def_glGetTexEnviv, + ); + fn_glGetTexGendv = new Deno.UnsafeFnPointer( + proc("glGetTexGendv"), + def_glGetTexGendv, + ); + fn_glGetTexGenfv = new Deno.UnsafeFnPointer( + proc("glGetTexGenfv"), + def_glGetTexGenfv, + ); + fn_glGetTexGeniv = new Deno.UnsafeFnPointer( + proc("glGetTexGeniv"), + def_glGetTexGeniv, + ); fn_glIsList = new Deno.UnsafeFnPointer(proc("glIsList"), def_glIsList); fn_glFrustum = new Deno.UnsafeFnPointer(proc("glFrustum"), def_glFrustum); - fn_glLoadIdentity = new Deno.UnsafeFnPointer(proc("glLoadIdentity"), def_glLoadIdentity); - fn_glLoadMatrixf = new Deno.UnsafeFnPointer(proc("glLoadMatrixf"), def_glLoadMatrixf); - fn_glLoadMatrixd = new Deno.UnsafeFnPointer(proc("glLoadMatrixd"), def_glLoadMatrixd); - fn_glMatrixMode = new Deno.UnsafeFnPointer(proc("glMatrixMode"), def_glMatrixMode); - fn_glMultMatrixf = new Deno.UnsafeFnPointer(proc("glMultMatrixf"), def_glMultMatrixf); - fn_glMultMatrixd = new Deno.UnsafeFnPointer(proc("glMultMatrixd"), def_glMultMatrixd); + fn_glLoadIdentity = new Deno.UnsafeFnPointer( + proc("glLoadIdentity"), + def_glLoadIdentity, + ); + fn_glLoadMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadMatrixf"), + def_glLoadMatrixf, + ); + fn_glLoadMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadMatrixd"), + def_glLoadMatrixd, + ); + fn_glMatrixMode = new Deno.UnsafeFnPointer( + proc("glMatrixMode"), + def_glMatrixMode, + ); + fn_glMultMatrixf = new Deno.UnsafeFnPointer( + proc("glMultMatrixf"), + def_glMultMatrixf, + ); + fn_glMultMatrixd = new Deno.UnsafeFnPointer( + proc("glMultMatrixd"), + def_glMultMatrixd, + ); fn_glOrtho = new Deno.UnsafeFnPointer(proc("glOrtho"), def_glOrtho); - fn_glPopMatrix = new Deno.UnsafeFnPointer(proc("glPopMatrix"), def_glPopMatrix); - fn_glPushMatrix = new Deno.UnsafeFnPointer(proc("glPushMatrix"), def_glPushMatrix); + fn_glPopMatrix = new Deno.UnsafeFnPointer( + proc("glPopMatrix"), + def_glPopMatrix, + ); + fn_glPushMatrix = new Deno.UnsafeFnPointer( + proc("glPushMatrix"), + def_glPushMatrix, + ); fn_glRotated = new Deno.UnsafeFnPointer(proc("glRotated"), def_glRotated); fn_glRotatef = new Deno.UnsafeFnPointer(proc("glRotatef"), def_glRotatef); fn_glScaled = new Deno.UnsafeFnPointer(proc("glScaled"), def_glScaled); fn_glScalef = new Deno.UnsafeFnPointer(proc("glScalef"), def_glScalef); - fn_glTranslated = new Deno.UnsafeFnPointer(proc("glTranslated"), def_glTranslated); - fn_glTranslatef = new Deno.UnsafeFnPointer(proc("glTranslatef"), def_glTranslatef); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glArrayElement = new Deno.UnsafeFnPointer(proc("glArrayElement"), def_glArrayElement); - fn_glColorPointer = new Deno.UnsafeFnPointer(proc("glColorPointer"), def_glColorPointer); - fn_glDisableClientState = new Deno.UnsafeFnPointer(proc("glDisableClientState"), def_glDisableClientState); - fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer(proc("glEdgeFlagPointer"), def_glEdgeFlagPointer); - fn_glEnableClientState = new Deno.UnsafeFnPointer(proc("glEnableClientState"), def_glEnableClientState); - fn_glIndexPointer = new Deno.UnsafeFnPointer(proc("glIndexPointer"), def_glIndexPointer); - fn_glInterleavedArrays = new Deno.UnsafeFnPointer(proc("glInterleavedArrays"), def_glInterleavedArrays); - fn_glNormalPointer = new Deno.UnsafeFnPointer(proc("glNormalPointer"), def_glNormalPointer); - fn_glTexCoordPointer = new Deno.UnsafeFnPointer(proc("glTexCoordPointer"), def_glTexCoordPointer); - fn_glVertexPointer = new Deno.UnsafeFnPointer(proc("glVertexPointer"), def_glVertexPointer); - fn_glAreTexturesResident = new Deno.UnsafeFnPointer(proc("glAreTexturesResident"), def_glAreTexturesResident); - fn_glPrioritizeTextures = new Deno.UnsafeFnPointer(proc("glPrioritizeTextures"), def_glPrioritizeTextures); + fn_glTranslated = new Deno.UnsafeFnPointer( + proc("glTranslated"), + def_glTranslated, + ); + fn_glTranslatef = new Deno.UnsafeFnPointer( + proc("glTranslatef"), + def_glTranslatef, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glArrayElement = new Deno.UnsafeFnPointer( + proc("glArrayElement"), + def_glArrayElement, + ); + fn_glColorPointer = new Deno.UnsafeFnPointer( + proc("glColorPointer"), + def_glColorPointer, + ); + fn_glDisableClientState = new Deno.UnsafeFnPointer( + proc("glDisableClientState"), + def_glDisableClientState, + ); + fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer( + proc("glEdgeFlagPointer"), + def_glEdgeFlagPointer, + ); + fn_glEnableClientState = new Deno.UnsafeFnPointer( + proc("glEnableClientState"), + def_glEnableClientState, + ); + fn_glIndexPointer = new Deno.UnsafeFnPointer( + proc("glIndexPointer"), + def_glIndexPointer, + ); + fn_glInterleavedArrays = new Deno.UnsafeFnPointer( + proc("glInterleavedArrays"), + def_glInterleavedArrays, + ); + fn_glNormalPointer = new Deno.UnsafeFnPointer( + proc("glNormalPointer"), + def_glNormalPointer, + ); + fn_glTexCoordPointer = new Deno.UnsafeFnPointer( + proc("glTexCoordPointer"), + def_glTexCoordPointer, + ); + fn_glVertexPointer = new Deno.UnsafeFnPointer( + proc("glVertexPointer"), + def_glVertexPointer, + ); + fn_glAreTexturesResident = new Deno.UnsafeFnPointer( + proc("glAreTexturesResident"), + def_glAreTexturesResident, + ); + fn_glPrioritizeTextures = new Deno.UnsafeFnPointer( + proc("glPrioritizeTextures"), + def_glPrioritizeTextures, + ); fn_glIndexub = new Deno.UnsafeFnPointer(proc("glIndexub"), def_glIndexub); fn_glIndexubv = new Deno.UnsafeFnPointer(proc("glIndexubv"), def_glIndexubv); - fn_glPopClientAttrib = new Deno.UnsafeFnPointer(proc("glPopClientAttrib"), def_glPopClientAttrib); - fn_glPushClientAttrib = new Deno.UnsafeFnPointer(proc("glPushClientAttrib"), def_glPushClientAttrib); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glClientActiveTexture = new Deno.UnsafeFnPointer(proc("glClientActiveTexture"), def_glClientActiveTexture); - fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1d"), def_glMultiTexCoord1d); - fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1dv"), def_glMultiTexCoord1dv); - fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1f"), def_glMultiTexCoord1f); - fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1fv"), def_glMultiTexCoord1fv); - fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1i"), def_glMultiTexCoord1i); - fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1iv"), def_glMultiTexCoord1iv); - fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1s"), def_glMultiTexCoord1s); - fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1sv"), def_glMultiTexCoord1sv); - fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2d"), def_glMultiTexCoord2d); - fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2dv"), def_glMultiTexCoord2dv); - fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2f"), def_glMultiTexCoord2f); - fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2fv"), def_glMultiTexCoord2fv); - fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2i"), def_glMultiTexCoord2i); - fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2iv"), def_glMultiTexCoord2iv); - fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2s"), def_glMultiTexCoord2s); - fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2sv"), def_glMultiTexCoord2sv); - fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3d"), def_glMultiTexCoord3d); - fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3dv"), def_glMultiTexCoord3dv); - fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3f"), def_glMultiTexCoord3f); - fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3fv"), def_glMultiTexCoord3fv); - fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3i"), def_glMultiTexCoord3i); - fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3iv"), def_glMultiTexCoord3iv); - fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3s"), def_glMultiTexCoord3s); - fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3sv"), def_glMultiTexCoord3sv); - fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4d"), def_glMultiTexCoord4d); - fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4dv"), def_glMultiTexCoord4dv); - fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4f"), def_glMultiTexCoord4f); - fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4fv"), def_glMultiTexCoord4fv); - fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4i"), def_glMultiTexCoord4i); - fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4iv"), def_glMultiTexCoord4iv); - fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4s"), def_glMultiTexCoord4s); - fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4sv"), def_glMultiTexCoord4sv); - fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixf"), def_glLoadTransposeMatrixf); - fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixd"), def_glLoadTransposeMatrixd); - fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixf"), def_glMultTransposeMatrixf); - fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixd"), def_glMultTransposeMatrixd); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glFogCoordf = new Deno.UnsafeFnPointer(proc("glFogCoordf"), def_glFogCoordf); - fn_glFogCoordfv = new Deno.UnsafeFnPointer(proc("glFogCoordfv"), def_glFogCoordfv); - fn_glFogCoordd = new Deno.UnsafeFnPointer(proc("glFogCoordd"), def_glFogCoordd); - fn_glFogCoorddv = new Deno.UnsafeFnPointer(proc("glFogCoorddv"), def_glFogCoorddv); - fn_glFogCoordPointer = new Deno.UnsafeFnPointer(proc("glFogCoordPointer"), def_glFogCoordPointer); - fn_glSecondaryColor3b = new Deno.UnsafeFnPointer(proc("glSecondaryColor3b"), def_glSecondaryColor3b); - fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3bv"), def_glSecondaryColor3bv); - fn_glSecondaryColor3d = new Deno.UnsafeFnPointer(proc("glSecondaryColor3d"), def_glSecondaryColor3d); - fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3dv"), def_glSecondaryColor3dv); - fn_glSecondaryColor3f = new Deno.UnsafeFnPointer(proc("glSecondaryColor3f"), def_glSecondaryColor3f); - fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3fv"), def_glSecondaryColor3fv); - fn_glSecondaryColor3i = new Deno.UnsafeFnPointer(proc("glSecondaryColor3i"), def_glSecondaryColor3i); - fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3iv"), def_glSecondaryColor3iv); - fn_glSecondaryColor3s = new Deno.UnsafeFnPointer(proc("glSecondaryColor3s"), def_glSecondaryColor3s); - fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3sv"), def_glSecondaryColor3sv); - fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ub"), def_glSecondaryColor3ub); - fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ubv"), def_glSecondaryColor3ubv); - fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ui"), def_glSecondaryColor3ui); - fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3uiv"), def_glSecondaryColor3uiv); - fn_glSecondaryColor3us = new Deno.UnsafeFnPointer(proc("glSecondaryColor3us"), def_glSecondaryColor3us); - fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3usv"), def_glSecondaryColor3usv); - fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer(proc("glSecondaryColorPointer"), def_glSecondaryColorPointer); - fn_glWindowPos2d = new Deno.UnsafeFnPointer(proc("glWindowPos2d"), def_glWindowPos2d); - fn_glWindowPos2dv = new Deno.UnsafeFnPointer(proc("glWindowPos2dv"), def_glWindowPos2dv); - fn_glWindowPos2f = new Deno.UnsafeFnPointer(proc("glWindowPos2f"), def_glWindowPos2f); - fn_glWindowPos2fv = new Deno.UnsafeFnPointer(proc("glWindowPos2fv"), def_glWindowPos2fv); - fn_glWindowPos2i = new Deno.UnsafeFnPointer(proc("glWindowPos2i"), def_glWindowPos2i); - fn_glWindowPos2iv = new Deno.UnsafeFnPointer(proc("glWindowPos2iv"), def_glWindowPos2iv); - fn_glWindowPos2s = new Deno.UnsafeFnPointer(proc("glWindowPos2s"), def_glWindowPos2s); - fn_glWindowPos2sv = new Deno.UnsafeFnPointer(proc("glWindowPos2sv"), def_glWindowPos2sv); - fn_glWindowPos3d = new Deno.UnsafeFnPointer(proc("glWindowPos3d"), def_glWindowPos3d); - fn_glWindowPos3dv = new Deno.UnsafeFnPointer(proc("glWindowPos3dv"), def_glWindowPos3dv); - fn_glWindowPos3f = new Deno.UnsafeFnPointer(proc("glWindowPos3f"), def_glWindowPos3f); - fn_glWindowPos3fv = new Deno.UnsafeFnPointer(proc("glWindowPos3fv"), def_glWindowPos3fv); - fn_glWindowPos3i = new Deno.UnsafeFnPointer(proc("glWindowPos3i"), def_glWindowPos3i); - fn_glWindowPos3iv = new Deno.UnsafeFnPointer(proc("glWindowPos3iv"), def_glWindowPos3iv); - fn_glWindowPos3s = new Deno.UnsafeFnPointer(proc("glWindowPos3s"), def_glWindowPos3s); - fn_glWindowPos3sv = new Deno.UnsafeFnPointer(proc("glWindowPos3sv"), def_glWindowPos3sv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); - fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); - fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); - fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); - fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); - fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); - fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glClampColor = new Deno.UnsafeFnPointer(proc("glClampColor"), def_glClampColor); - fn_glBeginConditionalRender = new Deno.UnsafeFnPointer(proc("glBeginConditionalRender"), def_glBeginConditionalRender); - fn_glEndConditionalRender = new Deno.UnsafeFnPointer(proc("glEndConditionalRender"), def_glEndConditionalRender); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI1i = new Deno.UnsafeFnPointer(proc("glVertexAttribI1i"), def_glVertexAttribI1i); - fn_glVertexAttribI2i = new Deno.UnsafeFnPointer(proc("glVertexAttribI2i"), def_glVertexAttribI2i); - fn_glVertexAttribI3i = new Deno.UnsafeFnPointer(proc("glVertexAttribI3i"), def_glVertexAttribI3i); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ui"), def_glVertexAttribI1ui); - fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ui"), def_glVertexAttribI2ui); - fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ui"), def_glVertexAttribI3ui); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iv"), def_glVertexAttribI1iv); - fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iv"), def_glVertexAttribI2iv); - fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iv"), def_glVertexAttribI3iv); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiv"), def_glVertexAttribI1uiv); - fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiv"), def_glVertexAttribI2uiv); - fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiv"), def_glVertexAttribI3uiv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bv"), def_glVertexAttribI4bv); - fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4sv"), def_glVertexAttribI4sv); - fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubv"), def_glVertexAttribI4ubv); - fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usv"), def_glVertexAttribI4usv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glBindFragDataLocation = new Deno.UnsafeFnPointer(proc("glBindFragDataLocation"), def_glBindFragDataLocation); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glTexBuffer = new Deno.UnsafeFnPointer(proc("glTexBuffer"), def_glTexBuffer); - fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartIndex"), def_glPrimitiveRestartIndex); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetActiveUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformName"), def_glGetActiveUniformName); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); + fn_glPopClientAttrib = new Deno.UnsafeFnPointer( + proc("glPopClientAttrib"), + def_glPopClientAttrib, + ); + fn_glPushClientAttrib = new Deno.UnsafeFnPointer( + proc("glPushClientAttrib"), + def_glPushClientAttrib, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glClientActiveTexture = new Deno.UnsafeFnPointer( + proc("glClientActiveTexture"), + def_glClientActiveTexture, + ); + fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1d"), + def_glMultiTexCoord1d, + ); + fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1dv"), + def_glMultiTexCoord1dv, + ); + fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1f"), + def_glMultiTexCoord1f, + ); + fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1fv"), + def_glMultiTexCoord1fv, + ); + fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1i"), + def_glMultiTexCoord1i, + ); + fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1iv"), + def_glMultiTexCoord1iv, + ); + fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1s"), + def_glMultiTexCoord1s, + ); + fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1sv"), + def_glMultiTexCoord1sv, + ); + fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2d"), + def_glMultiTexCoord2d, + ); + fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2dv"), + def_glMultiTexCoord2dv, + ); + fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2f"), + def_glMultiTexCoord2f, + ); + fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2fv"), + def_glMultiTexCoord2fv, + ); + fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2i"), + def_glMultiTexCoord2i, + ); + fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2iv"), + def_glMultiTexCoord2iv, + ); + fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2s"), + def_glMultiTexCoord2s, + ); + fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2sv"), + def_glMultiTexCoord2sv, + ); + fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3d"), + def_glMultiTexCoord3d, + ); + fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3dv"), + def_glMultiTexCoord3dv, + ); + fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3f"), + def_glMultiTexCoord3f, + ); + fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3fv"), + def_glMultiTexCoord3fv, + ); + fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3i"), + def_glMultiTexCoord3i, + ); + fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3iv"), + def_glMultiTexCoord3iv, + ); + fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3s"), + def_glMultiTexCoord3s, + ); + fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3sv"), + def_glMultiTexCoord3sv, + ); + fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4d"), + def_glMultiTexCoord4d, + ); + fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4dv"), + def_glMultiTexCoord4dv, + ); + fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4f"), + def_glMultiTexCoord4f, + ); + fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4fv"), + def_glMultiTexCoord4fv, + ); + fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4i"), + def_glMultiTexCoord4i, + ); + fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4iv"), + def_glMultiTexCoord4iv, + ); + fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4s"), + def_glMultiTexCoord4s, + ); + fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4sv"), + def_glMultiTexCoord4sv, + ); + fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixf"), + def_glLoadTransposeMatrixf, + ); + fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixd"), + def_glLoadTransposeMatrixd, + ); + fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixf"), + def_glMultTransposeMatrixf, + ); + fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixd"), + def_glMultTransposeMatrixd, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glFogCoordf = new Deno.UnsafeFnPointer( + proc("glFogCoordf"), + def_glFogCoordf, + ); + fn_glFogCoordfv = new Deno.UnsafeFnPointer( + proc("glFogCoordfv"), + def_glFogCoordfv, + ); + fn_glFogCoordd = new Deno.UnsafeFnPointer( + proc("glFogCoordd"), + def_glFogCoordd, + ); + fn_glFogCoorddv = new Deno.UnsafeFnPointer( + proc("glFogCoorddv"), + def_glFogCoorddv, + ); + fn_glFogCoordPointer = new Deno.UnsafeFnPointer( + proc("glFogCoordPointer"), + def_glFogCoordPointer, + ); + fn_glSecondaryColor3b = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3b"), + def_glSecondaryColor3b, + ); + fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3bv"), + def_glSecondaryColor3bv, + ); + fn_glSecondaryColor3d = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3d"), + def_glSecondaryColor3d, + ); + fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3dv"), + def_glSecondaryColor3dv, + ); + fn_glSecondaryColor3f = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3f"), + def_glSecondaryColor3f, + ); + fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3fv"), + def_glSecondaryColor3fv, + ); + fn_glSecondaryColor3i = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3i"), + def_glSecondaryColor3i, + ); + fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3iv"), + def_glSecondaryColor3iv, + ); + fn_glSecondaryColor3s = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3s"), + def_glSecondaryColor3s, + ); + fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3sv"), + def_glSecondaryColor3sv, + ); + fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ub"), + def_glSecondaryColor3ub, + ); + fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ubv"), + def_glSecondaryColor3ubv, + ); + fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ui"), + def_glSecondaryColor3ui, + ); + fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3uiv"), + def_glSecondaryColor3uiv, + ); + fn_glSecondaryColor3us = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3us"), + def_glSecondaryColor3us, + ); + fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3usv"), + def_glSecondaryColor3usv, + ); + fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer( + proc("glSecondaryColorPointer"), + def_glSecondaryColorPointer, + ); + fn_glWindowPos2d = new Deno.UnsafeFnPointer( + proc("glWindowPos2d"), + def_glWindowPos2d, + ); + fn_glWindowPos2dv = new Deno.UnsafeFnPointer( + proc("glWindowPos2dv"), + def_glWindowPos2dv, + ); + fn_glWindowPos2f = new Deno.UnsafeFnPointer( + proc("glWindowPos2f"), + def_glWindowPos2f, + ); + fn_glWindowPos2fv = new Deno.UnsafeFnPointer( + proc("glWindowPos2fv"), + def_glWindowPos2fv, + ); + fn_glWindowPos2i = new Deno.UnsafeFnPointer( + proc("glWindowPos2i"), + def_glWindowPos2i, + ); + fn_glWindowPos2iv = new Deno.UnsafeFnPointer( + proc("glWindowPos2iv"), + def_glWindowPos2iv, + ); + fn_glWindowPos2s = new Deno.UnsafeFnPointer( + proc("glWindowPos2s"), + def_glWindowPos2s, + ); + fn_glWindowPos2sv = new Deno.UnsafeFnPointer( + proc("glWindowPos2sv"), + def_glWindowPos2sv, + ); + fn_glWindowPos3d = new Deno.UnsafeFnPointer( + proc("glWindowPos3d"), + def_glWindowPos3d, + ); + fn_glWindowPos3dv = new Deno.UnsafeFnPointer( + proc("glWindowPos3dv"), + def_glWindowPos3dv, + ); + fn_glWindowPos3f = new Deno.UnsafeFnPointer( + proc("glWindowPos3f"), + def_glWindowPos3f, + ); + fn_glWindowPos3fv = new Deno.UnsafeFnPointer( + proc("glWindowPos3fv"), + def_glWindowPos3fv, + ); + fn_glWindowPos3i = new Deno.UnsafeFnPointer( + proc("glWindowPos3i"), + def_glWindowPos3i, + ); + fn_glWindowPos3iv = new Deno.UnsafeFnPointer( + proc("glWindowPos3iv"), + def_glWindowPos3iv, + ); + fn_glWindowPos3s = new Deno.UnsafeFnPointer( + proc("glWindowPos3s"), + def_glWindowPos3s, + ); + fn_glWindowPos3sv = new Deno.UnsafeFnPointer( + proc("glWindowPos3sv"), + def_glWindowPos3sv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); + fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); + fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); + fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); + fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); + fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); + fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glClampColor = new Deno.UnsafeFnPointer( + proc("glClampColor"), + def_glClampColor, + ); + fn_glBeginConditionalRender = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRender"), + def_glBeginConditionalRender, + ); + fn_glEndConditionalRender = new Deno.UnsafeFnPointer( + proc("glEndConditionalRender"), + def_glEndConditionalRender, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI1i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1i"), + def_glVertexAttribI1i, + ); + fn_glVertexAttribI2i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2i"), + def_glVertexAttribI2i, + ); + fn_glVertexAttribI3i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3i"), + def_glVertexAttribI3i, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ui"), + def_glVertexAttribI1ui, + ); + fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ui"), + def_glVertexAttribI2ui, + ); + fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ui"), + def_glVertexAttribI3ui, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iv"), + def_glVertexAttribI1iv, + ); + fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iv"), + def_glVertexAttribI2iv, + ); + fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iv"), + def_glVertexAttribI3iv, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiv"), + def_glVertexAttribI1uiv, + ); + fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiv"), + def_glVertexAttribI2uiv, + ); + fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiv"), + def_glVertexAttribI3uiv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bv"), + def_glVertexAttribI4bv, + ); + fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4sv"), + def_glVertexAttribI4sv, + ); + fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubv"), + def_glVertexAttribI4ubv, + ); + fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usv"), + def_glVertexAttribI4usv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glBindFragDataLocation = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocation"), + def_glBindFragDataLocation, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glTexBuffer = new Deno.UnsafeFnPointer( + proc("glTexBuffer"), + def_glTexBuffer, + ); + fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartIndex"), + def_glPrimitiveRestartIndex, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetActiveUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformName"), + def_glGetActiveUniformName, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); } diff --git a/api/gl3.2.ts b/api/gl3.2.ts index 1b8a3de..12a8db5 100644 --- a/api/gl3.2.ts +++ b/api/gl3.2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1086,7 +1094,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1583,7 +1601,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1602,7 +1622,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1621,7 +1643,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1642,7 +1666,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -1829,7 +1855,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -1854,7 +1882,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -1906,7 +1936,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2007,7 +2047,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -2028,7 +2070,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2061,7 +2114,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2100,7 +2165,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -2159,11 +2226,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -2194,7 +2273,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -2223,7 +2304,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -2246,11 +2329,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -2281,11 +2378,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -2316,7 +2425,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -2343,7 +2454,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -2362,7 +2475,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -2404,7 +2519,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -2650,7 +2767,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -2830,7 +2949,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -2849,7 +2970,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -2868,7 +2991,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -2902,7 +3027,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -2923,7 +3050,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -2944,7 +3073,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -2978,7 +3109,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -3085,7 +3218,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -3100,7 +3235,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -3169,7 +3306,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -3190,7 +3329,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -3226,7 +3367,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -3308,7 +3451,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -3363,7 +3508,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -3382,7 +3529,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -3401,7 +3550,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -3420,7 +3571,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -4308,7 +4461,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -4325,7 +4480,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -4342,7 +4499,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -4564,7 +4723,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -4589,7 +4750,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -4610,7 +4773,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -4631,7 +4796,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -4652,7 +4819,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -4673,7 +4842,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -4694,7 +4865,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -4827,7 +5000,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -4842,7 +5017,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -4895,7 +5072,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -4916,7 +5095,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -4960,7 +5141,9 @@ export const def_glBeginConditionalRender = { result: "void", } as const; -let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRender +>; export function BeginConditionalRender( id: GLuint, @@ -4977,7 +5160,9 @@ export const def_glEndConditionalRender = { result: "void", } as const; -let fn_glEndConditionalRender!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRender +>; export function EndConditionalRender(): void { fn_glEndConditionalRender.call(); @@ -4988,7 +5173,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -5011,7 +5198,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -5030,7 +5219,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -5277,7 +5468,9 @@ export const def_glVertexAttribI1uiv = { result: "void", } as const; -let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiv +>; export function VertexAttribI1uiv( index: GLuint, @@ -5294,7 +5487,9 @@ export const def_glVertexAttribI2uiv = { result: "void", } as const; -let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiv +>; export function VertexAttribI2uiv( index: GLuint, @@ -5311,7 +5506,9 @@ export const def_glVertexAttribI3uiv = { result: "void", } as const; -let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiv +>; export function VertexAttribI3uiv( index: GLuint, @@ -5328,7 +5525,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -5379,7 +5578,9 @@ export const def_glVertexAttribI4ubv = { result: "void", } as const; -let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubv +>; export function VertexAttribI4ubv( index: GLuint, @@ -5396,7 +5597,9 @@ export const def_glVertexAttribI4usv = { result: "void", } as const; -let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usv +>; export function VertexAttribI4usv( index: GLuint, @@ -5432,7 +5635,9 @@ export const def_glBindFragDataLocation = { result: "void", } as const; -let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocation +>; export function BindFragDataLocation( program: GLuint, @@ -5451,7 +5656,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -5662,7 +5869,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -5681,7 +5890,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -5827,7 +6038,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -5861,7 +6074,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -5882,7 +6097,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -5933,7 +6150,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -5967,7 +6186,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -5982,7 +6203,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -6005,7 +6228,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -6028,7 +6253,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -6053,7 +6280,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -6074,7 +6303,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -6106,7 +6337,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -6143,7 +6385,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -6166,7 +6410,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -6210,7 +6456,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -6244,7 +6492,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -6293,7 +6543,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -6314,7 +6566,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -6356,7 +6610,9 @@ export const def_glPrimitiveRestartIndex = { result: "void", } as const; -let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartIndex +>; export function PrimitiveRestartIndex( index: GLuint, @@ -6371,7 +6627,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -6394,7 +6652,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -6415,7 +6675,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -6438,7 +6700,9 @@ export const def_glGetActiveUniformName = { result: "void", } as const; -let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformName +>; export function GetActiveUniformName( program: GLuint, @@ -6461,7 +6725,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -6478,7 +6744,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -6499,7 +6767,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -6522,7 +6792,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -6541,7 +6813,9 @@ export const def_glDrawElementsBaseVertex = { result: "void", } as const; -let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertex +>; export function DrawElementsBaseVertex( mode: GLenum, @@ -6564,7 +6838,9 @@ export const def_glDrawRangeElementsBaseVertex = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertex +>; export function DrawRangeElementsBaseVertex( mode: GLenum, @@ -6591,7 +6867,9 @@ export const def_glDrawElementsInstancedBaseVertex = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertex +>; export function DrawElementsInstancedBaseVertex( mode: GLenum, @@ -6616,7 +6894,9 @@ export const def_glMultiDrawElementsBaseVertex = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertex +>; export function MultiDrawElementsBaseVertex( mode: GLenum, @@ -6800,7 +7080,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -6819,7 +7101,9 @@ export const def_glFramebufferTexture = { result: "void", } as const; -let fn_glFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture +>; export function FramebufferTexture( target: GLenum, @@ -6840,7 +7124,9 @@ export const def_glTexImage2DMultisample = { result: "void", } as const; -let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage2DMultisample +>; export function TexImage2DMultisample( target: GLenum, @@ -6865,7 +7151,9 @@ export const def_glTexImage3DMultisample = { result: "void", } as const; -let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage3DMultisample +>; export function TexImage3DMultisample( target: GLenum, @@ -6926,319 +7214,1210 @@ export function SampleMaski( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glClampColor = new Deno.UnsafeFnPointer(proc("glClampColor"), def_glClampColor); - fn_glBeginConditionalRender = new Deno.UnsafeFnPointer(proc("glBeginConditionalRender"), def_glBeginConditionalRender); - fn_glEndConditionalRender = new Deno.UnsafeFnPointer(proc("glEndConditionalRender"), def_glEndConditionalRender); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI1i = new Deno.UnsafeFnPointer(proc("glVertexAttribI1i"), def_glVertexAttribI1i); - fn_glVertexAttribI2i = new Deno.UnsafeFnPointer(proc("glVertexAttribI2i"), def_glVertexAttribI2i); - fn_glVertexAttribI3i = new Deno.UnsafeFnPointer(proc("glVertexAttribI3i"), def_glVertexAttribI3i); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ui"), def_glVertexAttribI1ui); - fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ui"), def_glVertexAttribI2ui); - fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ui"), def_glVertexAttribI3ui); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iv"), def_glVertexAttribI1iv); - fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iv"), def_glVertexAttribI2iv); - fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iv"), def_glVertexAttribI3iv); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiv"), def_glVertexAttribI1uiv); - fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiv"), def_glVertexAttribI2uiv); - fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiv"), def_glVertexAttribI3uiv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bv"), def_glVertexAttribI4bv); - fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4sv"), def_glVertexAttribI4sv); - fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubv"), def_glVertexAttribI4ubv); - fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usv"), def_glVertexAttribI4usv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glBindFragDataLocation = new Deno.UnsafeFnPointer(proc("glBindFragDataLocation"), def_glBindFragDataLocation); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glTexBuffer = new Deno.UnsafeFnPointer(proc("glTexBuffer"), def_glTexBuffer); - fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartIndex"), def_glPrimitiveRestartIndex); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetActiveUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformName"), def_glGetActiveUniformName); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertex"), def_glDrawElementsBaseVertex); - fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertex"), def_glDrawRangeElementsBaseVertex); - fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertex"), def_glDrawElementsInstancedBaseVertex); - fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertex"), def_glMultiDrawElementsBaseVertex); - fn_glProvokingVertex = new Deno.UnsafeFnPointer(proc("glProvokingVertex"), def_glProvokingVertex); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glClampColor = new Deno.UnsafeFnPointer( + proc("glClampColor"), + def_glClampColor, + ); + fn_glBeginConditionalRender = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRender"), + def_glBeginConditionalRender, + ); + fn_glEndConditionalRender = new Deno.UnsafeFnPointer( + proc("glEndConditionalRender"), + def_glEndConditionalRender, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI1i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1i"), + def_glVertexAttribI1i, + ); + fn_glVertexAttribI2i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2i"), + def_glVertexAttribI2i, + ); + fn_glVertexAttribI3i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3i"), + def_glVertexAttribI3i, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ui"), + def_glVertexAttribI1ui, + ); + fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ui"), + def_glVertexAttribI2ui, + ); + fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ui"), + def_glVertexAttribI3ui, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iv"), + def_glVertexAttribI1iv, + ); + fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iv"), + def_glVertexAttribI2iv, + ); + fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iv"), + def_glVertexAttribI3iv, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiv"), + def_glVertexAttribI1uiv, + ); + fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiv"), + def_glVertexAttribI2uiv, + ); + fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiv"), + def_glVertexAttribI3uiv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bv"), + def_glVertexAttribI4bv, + ); + fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4sv"), + def_glVertexAttribI4sv, + ); + fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubv"), + def_glVertexAttribI4ubv, + ); + fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usv"), + def_glVertexAttribI4usv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glBindFragDataLocation = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocation"), + def_glBindFragDataLocation, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glTexBuffer = new Deno.UnsafeFnPointer( + proc("glTexBuffer"), + def_glTexBuffer, + ); + fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartIndex"), + def_glPrimitiveRestartIndex, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetActiveUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformName"), + def_glGetActiveUniformName, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertex"), + def_glDrawElementsBaseVertex, + ); + fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertex"), + def_glDrawRangeElementsBaseVertex, + ); + fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertex"), + def_glDrawElementsInstancedBaseVertex, + ); + fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertex"), + def_glMultiDrawElementsBaseVertex, + ); + fn_glProvokingVertex = new Deno.UnsafeFnPointer( + proc("glProvokingVertex"), + def_glProvokingVertex, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glFramebufferTexture = new Deno.UnsafeFnPointer(proc("glFramebufferTexture"), def_glFramebufferTexture); - fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage2DMultisample"), def_glTexImage2DMultisample); - fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage3DMultisample"), def_glTexImage3DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture"), + def_glFramebufferTexture, + ); + fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage2DMultisample"), + def_glTexImage2DMultisample, + ); + fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage3DMultisample"), + def_glTexImage3DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); } diff --git a/api/gl3.3.ts b/api/gl3.3.ts index 1c68d03..65dc839 100644 --- a/api/gl3.3.ts +++ b/api/gl3.3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1102,7 +1110,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1599,7 +1617,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1618,7 +1638,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1637,7 +1659,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1658,7 +1682,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -1845,7 +1871,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -1870,7 +1898,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -1922,7 +1952,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2023,7 +2063,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -2044,7 +2086,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2077,7 +2130,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2116,7 +2181,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -2175,11 +2242,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -2210,7 +2289,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -2239,7 +2320,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -2262,11 +2345,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -2297,11 +2394,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -2332,7 +2441,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -2359,7 +2470,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -2378,7 +2491,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -2420,7 +2535,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -2666,7 +2783,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -2846,7 +2965,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -2865,7 +2986,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -2884,7 +3007,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -2918,7 +3043,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -2939,7 +3066,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -2960,7 +3089,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -2994,7 +3125,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -3101,7 +3234,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -3116,7 +3251,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -3185,7 +3322,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -3206,7 +3345,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -3242,7 +3383,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -3324,7 +3467,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -3379,7 +3524,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -3398,7 +3545,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -3417,7 +3566,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -3436,7 +3587,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -4324,7 +4477,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -4341,7 +4496,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -4358,7 +4515,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -4580,7 +4739,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -4605,7 +4766,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -4626,7 +4789,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -4647,7 +4812,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -4668,7 +4835,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -4689,7 +4858,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -4710,7 +4881,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -4843,7 +5016,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -4858,7 +5033,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -4911,7 +5088,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -4932,7 +5111,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -4976,7 +5157,9 @@ export const def_glBeginConditionalRender = { result: "void", } as const; -let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRender +>; export function BeginConditionalRender( id: GLuint, @@ -4993,7 +5176,9 @@ export const def_glEndConditionalRender = { result: "void", } as const; -let fn_glEndConditionalRender!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRender +>; export function EndConditionalRender(): void { fn_glEndConditionalRender.call(); @@ -5004,7 +5189,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -5027,7 +5214,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -5046,7 +5235,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -5293,7 +5484,9 @@ export const def_glVertexAttribI1uiv = { result: "void", } as const; -let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiv +>; export function VertexAttribI1uiv( index: GLuint, @@ -5310,7 +5503,9 @@ export const def_glVertexAttribI2uiv = { result: "void", } as const; -let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiv +>; export function VertexAttribI2uiv( index: GLuint, @@ -5327,7 +5522,9 @@ export const def_glVertexAttribI3uiv = { result: "void", } as const; -let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiv +>; export function VertexAttribI3uiv( index: GLuint, @@ -5344,7 +5541,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -5395,7 +5594,9 @@ export const def_glVertexAttribI4ubv = { result: "void", } as const; -let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubv +>; export function VertexAttribI4ubv( index: GLuint, @@ -5412,7 +5613,9 @@ export const def_glVertexAttribI4usv = { result: "void", } as const; -let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usv +>; export function VertexAttribI4usv( index: GLuint, @@ -5448,7 +5651,9 @@ export const def_glBindFragDataLocation = { result: "void", } as const; -let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocation +>; export function BindFragDataLocation( program: GLuint, @@ -5467,7 +5672,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -5678,7 +5885,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -5697,7 +5906,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -5843,7 +6054,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -5877,7 +6090,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -5898,7 +6113,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -5949,7 +6166,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -5983,7 +6202,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -5998,7 +6219,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -6021,7 +6244,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -6044,7 +6269,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -6069,7 +6296,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -6090,7 +6319,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -6122,7 +6353,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -6159,7 +6401,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -6182,7 +6426,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -6226,7 +6472,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -6260,7 +6508,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -6309,7 +6559,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -6330,7 +6582,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -6372,7 +6626,9 @@ export const def_glPrimitiveRestartIndex = { result: "void", } as const; -let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartIndex +>; export function PrimitiveRestartIndex( index: GLuint, @@ -6387,7 +6643,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -6410,7 +6668,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -6431,7 +6691,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -6454,7 +6716,9 @@ export const def_glGetActiveUniformName = { result: "void", } as const; -let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformName +>; export function GetActiveUniformName( program: GLuint, @@ -6477,7 +6741,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -6494,7 +6760,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -6515,7 +6783,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -6538,7 +6808,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -6557,7 +6829,9 @@ export const def_glDrawElementsBaseVertex = { result: "void", } as const; -let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertex +>; export function DrawElementsBaseVertex( mode: GLenum, @@ -6580,7 +6854,9 @@ export const def_glDrawRangeElementsBaseVertex = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertex +>; export function DrawRangeElementsBaseVertex( mode: GLenum, @@ -6607,7 +6883,9 @@ export const def_glDrawElementsInstancedBaseVertex = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertex +>; export function DrawElementsInstancedBaseVertex( mode: GLenum, @@ -6632,7 +6910,9 @@ export const def_glMultiDrawElementsBaseVertex = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertex +>; export function MultiDrawElementsBaseVertex( mode: GLenum, @@ -6816,7 +7096,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -6835,7 +7117,9 @@ export const def_glFramebufferTexture = { result: "void", } as const; -let fn_glFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture +>; export function FramebufferTexture( target: GLenum, @@ -6856,7 +7140,9 @@ export const def_glTexImage2DMultisample = { result: "void", } as const; -let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage2DMultisample +>; export function TexImage2DMultisample( target: GLenum, @@ -6881,7 +7167,9 @@ export const def_glTexImage3DMultisample = { result: "void", } as const; -let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage3DMultisample +>; export function TexImage3DMultisample( target: GLenum, @@ -6944,7 +7232,9 @@ export const def_glBindFragDataLocationIndexed = { result: "void", } as const; -let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationIndexed +>; export function BindFragDataLocationIndexed( program: GLuint, @@ -7048,7 +7338,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -7067,7 +7359,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -7086,7 +7380,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -7105,7 +7401,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -7124,7 +7422,9 @@ export const def_glSamplerParameterIiv = { result: "void", } as const; -let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIiv +>; export function SamplerParameterIiv( sampler: GLuint, @@ -7143,7 +7443,9 @@ export const def_glSamplerParameterIuiv = { result: "void", } as const; -let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuiv +>; export function SamplerParameterIuiv( sampler: GLuint, @@ -7162,7 +7464,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -7181,7 +7485,9 @@ export const def_glGetSamplerParameterIiv = { result: "void", } as const; -let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIiv +>; export function GetSamplerParameterIiv( sampler: GLuint, @@ -7200,7 +7506,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -7219,7 +7527,9 @@ export const def_glGetSamplerParameterIuiv = { result: "void", } as const; -let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuiv +>; export function GetSamplerParameterIuiv( sampler: GLuint, @@ -7255,7 +7565,9 @@ export const def_glGetQueryObjecti64v = { result: "void", } as const; -let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjecti64v +>; export function GetQueryObjecti64v( id: GLuint, @@ -7274,7 +7586,9 @@ export const def_glGetQueryObjectui64v = { result: "void", } as const; -let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectui64v +>; export function GetQueryObjectui64v( id: GLuint, @@ -7293,7 +7607,9 @@ export const def_glVertexAttribDivisor = { result: "void", } as const; -let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisor +>; export function VertexAttribDivisor( index: GLuint, @@ -7331,7 +7647,9 @@ export const def_glVertexAttribP1uiv = { result: "void", } as const; -let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP1uiv +>; export function VertexAttribP1uiv( index: GLuint, @@ -7373,7 +7691,9 @@ export const def_glVertexAttribP2uiv = { result: "void", } as const; -let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP2uiv +>; export function VertexAttribP2uiv( index: GLuint, @@ -7415,7 +7735,9 @@ export const def_glVertexAttribP3uiv = { result: "void", } as const; -let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP3uiv +>; export function VertexAttribP3uiv( index: GLuint, @@ -7457,7 +7779,9 @@ export const def_glVertexAttribP4uiv = { result: "void", } as const; -let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP4uiv +>; export function VertexAttribP4uiv( index: GLuint, @@ -7716,7 +8040,9 @@ export const def_glMultiTexCoordP1ui = { result: "void", } as const; -let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1ui +>; export function MultiTexCoordP1ui( texture: GLenum, @@ -7735,7 +8061,9 @@ export const def_glMultiTexCoordP1uiv = { result: "void", } as const; -let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1uiv +>; export function MultiTexCoordP1uiv( texture: GLenum, @@ -7754,7 +8082,9 @@ export const def_glMultiTexCoordP2ui = { result: "void", } as const; -let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2ui +>; export function MultiTexCoordP2ui( texture: GLenum, @@ -7773,7 +8103,9 @@ export const def_glMultiTexCoordP2uiv = { result: "void", } as const; -let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2uiv +>; export function MultiTexCoordP2uiv( texture: GLenum, @@ -7792,7 +8124,9 @@ export const def_glMultiTexCoordP3ui = { result: "void", } as const; -let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3ui +>; export function MultiTexCoordP3ui( texture: GLenum, @@ -7811,7 +8145,9 @@ export const def_glMultiTexCoordP3uiv = { result: "void", } as const; -let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3uiv +>; export function MultiTexCoordP3uiv( texture: GLenum, @@ -7830,7 +8166,9 @@ export const def_glMultiTexCoordP4ui = { result: "void", } as const; -let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4ui +>; export function MultiTexCoordP4ui( texture: GLenum, @@ -7849,7 +8187,9 @@ export const def_glMultiTexCoordP4uiv = { result: "void", } as const; -let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4uiv +>; export function MultiTexCoordP4uiv( texture: GLenum, @@ -7970,7 +8310,9 @@ export const def_glSecondaryColorP3ui = { result: "void", } as const; -let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3ui +>; export function SecondaryColorP3ui( type: GLenum, @@ -7987,7 +8329,9 @@ export const def_glSecondaryColorP3uiv = { result: "void", } as const; -let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3uiv +>; export function SecondaryColorP3uiv( type: GLenum, @@ -8002,377 +8346,1442 @@ export function SecondaryColorP3uiv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glClampColor = new Deno.UnsafeFnPointer(proc("glClampColor"), def_glClampColor); - fn_glBeginConditionalRender = new Deno.UnsafeFnPointer(proc("glBeginConditionalRender"), def_glBeginConditionalRender); - fn_glEndConditionalRender = new Deno.UnsafeFnPointer(proc("glEndConditionalRender"), def_glEndConditionalRender); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI1i = new Deno.UnsafeFnPointer(proc("glVertexAttribI1i"), def_glVertexAttribI1i); - fn_glVertexAttribI2i = new Deno.UnsafeFnPointer(proc("glVertexAttribI2i"), def_glVertexAttribI2i); - fn_glVertexAttribI3i = new Deno.UnsafeFnPointer(proc("glVertexAttribI3i"), def_glVertexAttribI3i); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ui"), def_glVertexAttribI1ui); - fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ui"), def_glVertexAttribI2ui); - fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ui"), def_glVertexAttribI3ui); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iv"), def_glVertexAttribI1iv); - fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iv"), def_glVertexAttribI2iv); - fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iv"), def_glVertexAttribI3iv); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiv"), def_glVertexAttribI1uiv); - fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiv"), def_glVertexAttribI2uiv); - fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiv"), def_glVertexAttribI3uiv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bv"), def_glVertexAttribI4bv); - fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4sv"), def_glVertexAttribI4sv); - fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubv"), def_glVertexAttribI4ubv); - fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usv"), def_glVertexAttribI4usv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glBindFragDataLocation = new Deno.UnsafeFnPointer(proc("glBindFragDataLocation"), def_glBindFragDataLocation); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glTexBuffer = new Deno.UnsafeFnPointer(proc("glTexBuffer"), def_glTexBuffer); - fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartIndex"), def_glPrimitiveRestartIndex); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetActiveUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformName"), def_glGetActiveUniformName); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertex"), def_glDrawElementsBaseVertex); - fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertex"), def_glDrawRangeElementsBaseVertex); - fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertex"), def_glDrawElementsInstancedBaseVertex); - fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertex"), def_glMultiDrawElementsBaseVertex); - fn_glProvokingVertex = new Deno.UnsafeFnPointer(proc("glProvokingVertex"), def_glProvokingVertex); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glClampColor = new Deno.UnsafeFnPointer( + proc("glClampColor"), + def_glClampColor, + ); + fn_glBeginConditionalRender = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRender"), + def_glBeginConditionalRender, + ); + fn_glEndConditionalRender = new Deno.UnsafeFnPointer( + proc("glEndConditionalRender"), + def_glEndConditionalRender, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI1i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1i"), + def_glVertexAttribI1i, + ); + fn_glVertexAttribI2i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2i"), + def_glVertexAttribI2i, + ); + fn_glVertexAttribI3i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3i"), + def_glVertexAttribI3i, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ui"), + def_glVertexAttribI1ui, + ); + fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ui"), + def_glVertexAttribI2ui, + ); + fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ui"), + def_glVertexAttribI3ui, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iv"), + def_glVertexAttribI1iv, + ); + fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iv"), + def_glVertexAttribI2iv, + ); + fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iv"), + def_glVertexAttribI3iv, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiv"), + def_glVertexAttribI1uiv, + ); + fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiv"), + def_glVertexAttribI2uiv, + ); + fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiv"), + def_glVertexAttribI3uiv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bv"), + def_glVertexAttribI4bv, + ); + fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4sv"), + def_glVertexAttribI4sv, + ); + fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubv"), + def_glVertexAttribI4ubv, + ); + fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usv"), + def_glVertexAttribI4usv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glBindFragDataLocation = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocation"), + def_glBindFragDataLocation, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glTexBuffer = new Deno.UnsafeFnPointer( + proc("glTexBuffer"), + def_glTexBuffer, + ); + fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartIndex"), + def_glPrimitiveRestartIndex, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetActiveUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformName"), + def_glGetActiveUniformName, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertex"), + def_glDrawElementsBaseVertex, + ); + fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertex"), + def_glDrawRangeElementsBaseVertex, + ); + fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertex"), + def_glDrawElementsInstancedBaseVertex, + ); + fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertex"), + def_glMultiDrawElementsBaseVertex, + ); + fn_glProvokingVertex = new Deno.UnsafeFnPointer( + proc("glProvokingVertex"), + def_glProvokingVertex, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glFramebufferTexture = new Deno.UnsafeFnPointer(proc("glFramebufferTexture"), def_glFramebufferTexture); - fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage2DMultisample"), def_glTexImage2DMultisample); - fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage3DMultisample"), def_glTexImage3DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); - fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationIndexed"), def_glBindFragDataLocationIndexed); - fn_glGetFragDataIndex = new Deno.UnsafeFnPointer(proc("glGetFragDataIndex"), def_glGetFragDataIndex); - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIiv"), def_glSamplerParameterIiv); - fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuiv"), def_glSamplerParameterIuiv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIiv"), def_glGetSamplerParameterIiv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuiv"), def_glGetSamplerParameterIuiv); - fn_glQueryCounter = new Deno.UnsafeFnPointer(proc("glQueryCounter"), def_glQueryCounter); - fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjecti64v"), def_glGetQueryObjecti64v); - fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjectui64v"), def_glGetQueryObjectui64v); - fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisor"), def_glVertexAttribDivisor); - fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP1ui"), def_glVertexAttribP1ui); - fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP1uiv"), def_glVertexAttribP1uiv); - fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP2ui"), def_glVertexAttribP2ui); - fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP2uiv"), def_glVertexAttribP2uiv); - fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP3ui"), def_glVertexAttribP3ui); - fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP3uiv"), def_glVertexAttribP3uiv); - fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP4ui"), def_glVertexAttribP4ui); - fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP4uiv"), def_glVertexAttribP4uiv); - fn_glVertexP2ui = new Deno.UnsafeFnPointer(proc("glVertexP2ui"), def_glVertexP2ui); - fn_glVertexP2uiv = new Deno.UnsafeFnPointer(proc("glVertexP2uiv"), def_glVertexP2uiv); - fn_glVertexP3ui = new Deno.UnsafeFnPointer(proc("glVertexP3ui"), def_glVertexP3ui); - fn_glVertexP3uiv = new Deno.UnsafeFnPointer(proc("glVertexP3uiv"), def_glVertexP3uiv); - fn_glVertexP4ui = new Deno.UnsafeFnPointer(proc("glVertexP4ui"), def_glVertexP4ui); - fn_glVertexP4uiv = new Deno.UnsafeFnPointer(proc("glVertexP4uiv"), def_glVertexP4uiv); - fn_glTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glTexCoordP1ui"), def_glTexCoordP1ui); - fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP1uiv"), def_glTexCoordP1uiv); - fn_glTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glTexCoordP2ui"), def_glTexCoordP2ui); - fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP2uiv"), def_glTexCoordP2uiv); - fn_glTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glTexCoordP3ui"), def_glTexCoordP3ui); - fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP3uiv"), def_glTexCoordP3uiv); - fn_glTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glTexCoordP4ui"), def_glTexCoordP4ui); - fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP4uiv"), def_glTexCoordP4uiv); - fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1ui"), def_glMultiTexCoordP1ui); - fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1uiv"), def_glMultiTexCoordP1uiv); - fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2ui"), def_glMultiTexCoordP2ui); - fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2uiv"), def_glMultiTexCoordP2uiv); - fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3ui"), def_glMultiTexCoordP3ui); - fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3uiv"), def_glMultiTexCoordP3uiv); - fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4ui"), def_glMultiTexCoordP4ui); - fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4uiv"), def_glMultiTexCoordP4uiv); - fn_glNormalP3ui = new Deno.UnsafeFnPointer(proc("glNormalP3ui"), def_glNormalP3ui); - fn_glNormalP3uiv = new Deno.UnsafeFnPointer(proc("glNormalP3uiv"), def_glNormalP3uiv); - fn_glColorP3ui = new Deno.UnsafeFnPointer(proc("glColorP3ui"), def_glColorP3ui); - fn_glColorP3uiv = new Deno.UnsafeFnPointer(proc("glColorP3uiv"), def_glColorP3uiv); - fn_glColorP4ui = new Deno.UnsafeFnPointer(proc("glColorP4ui"), def_glColorP4ui); - fn_glColorP4uiv = new Deno.UnsafeFnPointer(proc("glColorP4uiv"), def_glColorP4uiv); - fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3ui"), def_glSecondaryColorP3ui); - fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3uiv"), def_glSecondaryColorP3uiv); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture"), + def_glFramebufferTexture, + ); + fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage2DMultisample"), + def_glTexImage2DMultisample, + ); + fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage3DMultisample"), + def_glTexImage3DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); + fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationIndexed"), + def_glBindFragDataLocationIndexed, + ); + fn_glGetFragDataIndex = new Deno.UnsafeFnPointer( + proc("glGetFragDataIndex"), + def_glGetFragDataIndex, + ); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIiv"), + def_glSamplerParameterIiv, + ); + fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuiv"), + def_glSamplerParameterIuiv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIiv"), + def_glGetSamplerParameterIiv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuiv"), + def_glGetSamplerParameterIuiv, + ); + fn_glQueryCounter = new Deno.UnsafeFnPointer( + proc("glQueryCounter"), + def_glQueryCounter, + ); + fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjecti64v"), + def_glGetQueryObjecti64v, + ); + fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectui64v"), + def_glGetQueryObjectui64v, + ); + fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisor"), + def_glVertexAttribDivisor, + ); + fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1ui"), + def_glVertexAttribP1ui, + ); + fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1uiv"), + def_glVertexAttribP1uiv, + ); + fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2ui"), + def_glVertexAttribP2ui, + ); + fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2uiv"), + def_glVertexAttribP2uiv, + ); + fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3ui"), + def_glVertexAttribP3ui, + ); + fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3uiv"), + def_glVertexAttribP3uiv, + ); + fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4ui"), + def_glVertexAttribP4ui, + ); + fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4uiv"), + def_glVertexAttribP4uiv, + ); + fn_glVertexP2ui = new Deno.UnsafeFnPointer( + proc("glVertexP2ui"), + def_glVertexP2ui, + ); + fn_glVertexP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexP2uiv"), + def_glVertexP2uiv, + ); + fn_glVertexP3ui = new Deno.UnsafeFnPointer( + proc("glVertexP3ui"), + def_glVertexP3ui, + ); + fn_glVertexP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexP3uiv"), + def_glVertexP3uiv, + ); + fn_glVertexP4ui = new Deno.UnsafeFnPointer( + proc("glVertexP4ui"), + def_glVertexP4ui, + ); + fn_glVertexP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexP4uiv"), + def_glVertexP4uiv, + ); + fn_glTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP1ui"), + def_glTexCoordP1ui, + ); + fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP1uiv"), + def_glTexCoordP1uiv, + ); + fn_glTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP2ui"), + def_glTexCoordP2ui, + ); + fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP2uiv"), + def_glTexCoordP2uiv, + ); + fn_glTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP3ui"), + def_glTexCoordP3ui, + ); + fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP3uiv"), + def_glTexCoordP3uiv, + ); + fn_glTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP4ui"), + def_glTexCoordP4ui, + ); + fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP4uiv"), + def_glTexCoordP4uiv, + ); + fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1ui"), + def_glMultiTexCoordP1ui, + ); + fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1uiv"), + def_glMultiTexCoordP1uiv, + ); + fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2ui"), + def_glMultiTexCoordP2ui, + ); + fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2uiv"), + def_glMultiTexCoordP2uiv, + ); + fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3ui"), + def_glMultiTexCoordP3ui, + ); + fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3uiv"), + def_glMultiTexCoordP3uiv, + ); + fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4ui"), + def_glMultiTexCoordP4ui, + ); + fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4uiv"), + def_glMultiTexCoordP4uiv, + ); + fn_glNormalP3ui = new Deno.UnsafeFnPointer( + proc("glNormalP3ui"), + def_glNormalP3ui, + ); + fn_glNormalP3uiv = new Deno.UnsafeFnPointer( + proc("glNormalP3uiv"), + def_glNormalP3uiv, + ); + fn_glColorP3ui = new Deno.UnsafeFnPointer( + proc("glColorP3ui"), + def_glColorP3ui, + ); + fn_glColorP3uiv = new Deno.UnsafeFnPointer( + proc("glColorP3uiv"), + def_glColorP3uiv, + ); + fn_glColorP4ui = new Deno.UnsafeFnPointer( + proc("glColorP4ui"), + def_glColorP4ui, + ); + fn_glColorP4uiv = new Deno.UnsafeFnPointer( + proc("glColorP4uiv"), + def_glColorP4uiv, + ); + fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3ui"), + def_glSecondaryColorP3ui, + ); + fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3uiv"), + def_glSecondaryColorP3uiv, + ); } diff --git a/api/gl3.ts b/api/gl3.ts index da838c9..cd3354b 100644 --- a/api/gl3.ts +++ b/api/gl3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1393,7 +1401,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1890,7 +1908,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1909,7 +1929,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1928,7 +1950,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1949,7 +1973,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -5378,7 +5404,18 @@ export function Map1f( } export const def_glMap2d = { - parameters: ["u32", "f64", "f64", "i32", "i32", "f64", "f64", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f64", + "f64", + "i32", + "i32", + "f64", + "f64", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -5411,7 +5448,18 @@ export function Map2d( } export const def_glMap2f = { - parameters: ["u32", "f32", "f32", "i32", "i32", "f32", "f32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "f32", + "f32", + "i32", + "i32", + "f32", + "f32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; @@ -6106,7 +6154,9 @@ export const def_glGetPolygonStipple = { result: "void", } as const; -let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetPolygonStipple +>; export function GetPolygonStipple( mask: Buffer, @@ -6637,7 +6687,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -6662,7 +6714,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -6714,7 +6768,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -6851,7 +6915,9 @@ export const def_glDisableClientState = { result: "void", } as const; -let fn_glDisableClientState!: Deno.UnsafeFnPointer; +let fn_glDisableClientState!: Deno.UnsafeFnPointer< + typeof def_glDisableClientState +>; export function DisableClientState( array: GLenum, @@ -6883,7 +6949,9 @@ export const def_glEnableClientState = { result: "void", } as const; -let fn_glEnableClientState!: Deno.UnsafeFnPointer; +let fn_glEnableClientState!: Deno.UnsafeFnPointer< + typeof def_glEnableClientState +>; export function EnableClientState( array: GLenum, @@ -6917,7 +6985,9 @@ export const def_glInterleavedArrays = { result: "void", } as const; -let fn_glInterleavedArrays!: Deno.UnsafeFnPointer; +let fn_glInterleavedArrays!: Deno.UnsafeFnPointer< + typeof def_glInterleavedArrays +>; export function InterleavedArrays( format: GLenum, @@ -6997,7 +7067,9 @@ export const def_glAreTexturesResident = { result: "u8", } as const; -let fn_glAreTexturesResident!: Deno.UnsafeFnPointer; +let fn_glAreTexturesResident!: Deno.UnsafeFnPointer< + typeof def_glAreTexturesResident +>; export function AreTexturesResident( n: GLsizei, @@ -7016,7 +7088,9 @@ export const def_glPrioritizeTextures = { result: "void", } as const; -let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer; +let fn_glPrioritizeTextures!: Deno.UnsafeFnPointer< + typeof def_glPrioritizeTextures +>; export function PrioritizeTextures( n: GLsizei, @@ -7091,7 +7165,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -7112,7 +7188,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -7145,7 +7232,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -7184,7 +7283,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -7243,11 +7344,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -7278,7 +7391,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -7307,7 +7422,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -7330,11 +7447,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -7365,11 +7496,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -7400,7 +7543,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -7427,7 +7572,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -7446,7 +7593,9 @@ export const def_glClientActiveTexture = { result: "void", } as const; -let fn_glClientActiveTexture!: Deno.UnsafeFnPointer; +let fn_glClientActiveTexture!: Deno.UnsafeFnPointer< + typeof def_glClientActiveTexture +>; export function ClientActiveTexture( texture: GLenum, @@ -8053,7 +8202,9 @@ export const def_glLoadTransposeMatrixf = { result: "void", } as const; -let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixf +>; export function LoadTransposeMatrixf( m: Buffer, @@ -8068,7 +8219,9 @@ export const def_glLoadTransposeMatrixd = { result: "void", } as const; -let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glLoadTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glLoadTransposeMatrixd +>; export function LoadTransposeMatrixd( m: Buffer, @@ -8083,7 +8236,9 @@ export const def_glMultTransposeMatrixf = { result: "void", } as const; -let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixf!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixf +>; export function MultTransposeMatrixf( m: Buffer, @@ -8098,7 +8253,9 @@ export const def_glMultTransposeMatrixd = { result: "void", } as const; -let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer; +let fn_glMultTransposeMatrixd!: Deno.UnsafeFnPointer< + typeof def_glMultTransposeMatrixd +>; export function MultTransposeMatrixd( m: Buffer, @@ -8113,7 +8270,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -8155,7 +8314,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -8344,7 +8505,9 @@ export const def_glSecondaryColor3bv = { result: "void", } as const; -let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3bv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3bv +>; export function SecondaryColor3bv( v: Buffer, @@ -8378,7 +8541,9 @@ export const def_glSecondaryColor3dv = { result: "void", } as const; -let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3dv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3dv +>; export function SecondaryColor3dv( v: Buffer, @@ -8412,7 +8577,9 @@ export const def_glSecondaryColor3fv = { result: "void", } as const; -let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3fv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3fv +>; export function SecondaryColor3fv( v: Buffer, @@ -8446,7 +8613,9 @@ export const def_glSecondaryColor3iv = { result: "void", } as const; -let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3iv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3iv +>; export function SecondaryColor3iv( v: Buffer, @@ -8480,7 +8649,9 @@ export const def_glSecondaryColor3sv = { result: "void", } as const; -let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3sv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3sv +>; export function SecondaryColor3sv( v: Buffer, @@ -8495,7 +8666,9 @@ export const def_glSecondaryColor3ub = { result: "void", } as const; -let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ub!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ub +>; export function SecondaryColor3ub( red: GLubyte, @@ -8514,7 +8687,9 @@ export const def_glSecondaryColor3ubv = { result: "void", } as const; -let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ubv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ubv +>; export function SecondaryColor3ubv( v: Buffer, @@ -8529,7 +8704,9 @@ export const def_glSecondaryColor3ui = { result: "void", } as const; -let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3ui +>; export function SecondaryColor3ui( red: GLuint, @@ -8548,7 +8725,9 @@ export const def_glSecondaryColor3uiv = { result: "void", } as const; -let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3uiv +>; export function SecondaryColor3uiv( v: Buffer, @@ -8563,7 +8742,9 @@ export const def_glSecondaryColor3us = { result: "void", } as const; -let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3us!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3us +>; export function SecondaryColor3us( red: GLushort, @@ -8582,7 +8763,9 @@ export const def_glSecondaryColor3usv = { result: "void", } as const; -let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColor3usv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColor3usv +>; export function SecondaryColor3usv( v: Buffer, @@ -8597,7 +8780,9 @@ export const def_glSecondaryColorPointer = { result: "void", } as const; -let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorPointer!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorPointer +>; export function SecondaryColorPointer( size: GLint, @@ -9037,7 +9222,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -9217,7 +9404,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -9236,7 +9425,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -9255,7 +9446,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -9289,7 +9482,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -9310,7 +9505,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -9331,7 +9528,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -9365,7 +9564,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -9472,7 +9673,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -9487,7 +9690,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -9556,7 +9761,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -9577,7 +9784,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -9613,7 +9822,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -9695,7 +9906,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -9750,7 +9963,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -9769,7 +9984,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -9788,7 +10005,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -9807,7 +10026,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -10695,7 +10916,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -10712,7 +10935,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -10729,7 +10954,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -10951,7 +11178,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -10976,7 +11205,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -10997,7 +11228,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -11018,7 +11251,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -11039,7 +11274,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -11060,7 +11297,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -11081,7 +11320,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -11214,7 +11455,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -11229,7 +11472,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -11282,7 +11527,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -11303,7 +11550,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -11347,7 +11596,9 @@ export const def_glBeginConditionalRender = { result: "void", } as const; -let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRender +>; export function BeginConditionalRender( id: GLuint, @@ -11364,7 +11615,9 @@ export const def_glEndConditionalRender = { result: "void", } as const; -let fn_glEndConditionalRender!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRender +>; export function EndConditionalRender(): void { fn_glEndConditionalRender.call(); @@ -11375,7 +11628,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -11398,7 +11653,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -11417,7 +11674,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -11664,7 +11923,9 @@ export const def_glVertexAttribI1uiv = { result: "void", } as const; -let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiv +>; export function VertexAttribI1uiv( index: GLuint, @@ -11681,7 +11942,9 @@ export const def_glVertexAttribI2uiv = { result: "void", } as const; -let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiv +>; export function VertexAttribI2uiv( index: GLuint, @@ -11698,7 +11961,9 @@ export const def_glVertexAttribI3uiv = { result: "void", } as const; -let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiv +>; export function VertexAttribI3uiv( index: GLuint, @@ -11715,7 +11980,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -11766,7 +12033,9 @@ export const def_glVertexAttribI4ubv = { result: "void", } as const; -let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubv +>; export function VertexAttribI4ubv( index: GLuint, @@ -11783,7 +12052,9 @@ export const def_glVertexAttribI4usv = { result: "void", } as const; -let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usv +>; export function VertexAttribI4usv( index: GLuint, @@ -11819,7 +12090,9 @@ export const def_glBindFragDataLocation = { result: "void", } as const; -let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocation +>; export function BindFragDataLocation( program: GLuint, @@ -11838,7 +12111,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -12049,7 +12324,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -12068,7 +12345,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -12214,7 +12493,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -12248,7 +12529,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -12269,7 +12552,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -12320,7 +12605,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -12354,7 +12641,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -12369,7 +12658,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -12392,7 +12683,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -12415,7 +12708,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -12440,7 +12735,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -12461,7 +12758,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -12493,7 +12792,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -12530,7 +12840,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -12553,7 +12865,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -12597,7 +12911,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -12631,7 +12947,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -12678,58 +12996,175 @@ export function IsVertexArray( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); fn_glNewList = new Deno.UnsafeFnPointer(proc("glNewList"), def_glNewList); fn_glEndList = new Deno.UnsafeFnPointer(proc("glEndList"), def_glEndList); fn_glCallList = new Deno.UnsafeFnPointer(proc("glCallList"), def_glCallList); - fn_glCallLists = new Deno.UnsafeFnPointer(proc("glCallLists"), def_glCallLists); - fn_glDeleteLists = new Deno.UnsafeFnPointer(proc("glDeleteLists"), def_glDeleteLists); + fn_glCallLists = new Deno.UnsafeFnPointer( + proc("glCallLists"), + def_glCallLists, + ); + fn_glDeleteLists = new Deno.UnsafeFnPointer( + proc("glDeleteLists"), + def_glDeleteLists, + ); fn_glGenLists = new Deno.UnsafeFnPointer(proc("glGenLists"), def_glGenLists); fn_glListBase = new Deno.UnsafeFnPointer(proc("glListBase"), def_glListBase); fn_glBegin = new Deno.UnsafeFnPointer(proc("glBegin"), def_glBegin); @@ -12745,11 +13180,20 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor3s = new Deno.UnsafeFnPointer(proc("glColor3s"), def_glColor3s); fn_glColor3sv = new Deno.UnsafeFnPointer(proc("glColor3sv"), def_glColor3sv); fn_glColor3ub = new Deno.UnsafeFnPointer(proc("glColor3ub"), def_glColor3ub); - fn_glColor3ubv = new Deno.UnsafeFnPointer(proc("glColor3ubv"), def_glColor3ubv); + fn_glColor3ubv = new Deno.UnsafeFnPointer( + proc("glColor3ubv"), + def_glColor3ubv, + ); fn_glColor3ui = new Deno.UnsafeFnPointer(proc("glColor3ui"), def_glColor3ui); - fn_glColor3uiv = new Deno.UnsafeFnPointer(proc("glColor3uiv"), def_glColor3uiv); + fn_glColor3uiv = new Deno.UnsafeFnPointer( + proc("glColor3uiv"), + def_glColor3uiv, + ); fn_glColor3us = new Deno.UnsafeFnPointer(proc("glColor3us"), def_glColor3us); - fn_glColor3usv = new Deno.UnsafeFnPointer(proc("glColor3usv"), def_glColor3usv); + fn_glColor3usv = new Deno.UnsafeFnPointer( + proc("glColor3usv"), + def_glColor3usv, + ); fn_glColor4b = new Deno.UnsafeFnPointer(proc("glColor4b"), def_glColor4b); fn_glColor4bv = new Deno.UnsafeFnPointer(proc("glColor4bv"), def_glColor4bv); fn_glColor4d = new Deno.UnsafeFnPointer(proc("glColor4d"), def_glColor4d); @@ -12761,13 +13205,25 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glColor4s = new Deno.UnsafeFnPointer(proc("glColor4s"), def_glColor4s); fn_glColor4sv = new Deno.UnsafeFnPointer(proc("glColor4sv"), def_glColor4sv); fn_glColor4ub = new Deno.UnsafeFnPointer(proc("glColor4ub"), def_glColor4ub); - fn_glColor4ubv = new Deno.UnsafeFnPointer(proc("glColor4ubv"), def_glColor4ubv); + fn_glColor4ubv = new Deno.UnsafeFnPointer( + proc("glColor4ubv"), + def_glColor4ubv, + ); fn_glColor4ui = new Deno.UnsafeFnPointer(proc("glColor4ui"), def_glColor4ui); - fn_glColor4uiv = new Deno.UnsafeFnPointer(proc("glColor4uiv"), def_glColor4uiv); + fn_glColor4uiv = new Deno.UnsafeFnPointer( + proc("glColor4uiv"), + def_glColor4uiv, + ); fn_glColor4us = new Deno.UnsafeFnPointer(proc("glColor4us"), def_glColor4us); - fn_glColor4usv = new Deno.UnsafeFnPointer(proc("glColor4usv"), def_glColor4usv); + fn_glColor4usv = new Deno.UnsafeFnPointer( + proc("glColor4usv"), + def_glColor4usv, + ); fn_glEdgeFlag = new Deno.UnsafeFnPointer(proc("glEdgeFlag"), def_glEdgeFlag); - fn_glEdgeFlagv = new Deno.UnsafeFnPointer(proc("glEdgeFlagv"), def_glEdgeFlagv); + fn_glEdgeFlagv = new Deno.UnsafeFnPointer( + proc("glEdgeFlagv"), + def_glEdgeFlagv, + ); fn_glEnd = new Deno.UnsafeFnPointer(proc("glEnd"), def_glEnd); fn_glIndexd = new Deno.UnsafeFnPointer(proc("glIndexd"), def_glIndexd); fn_glIndexdv = new Deno.UnsafeFnPointer(proc("glIndexdv"), def_glIndexdv); @@ -12778,39 +13234,126 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glIndexs = new Deno.UnsafeFnPointer(proc("glIndexs"), def_glIndexs); fn_glIndexsv = new Deno.UnsafeFnPointer(proc("glIndexsv"), def_glIndexsv); fn_glNormal3b = new Deno.UnsafeFnPointer(proc("glNormal3b"), def_glNormal3b); - fn_glNormal3bv = new Deno.UnsafeFnPointer(proc("glNormal3bv"), def_glNormal3bv); + fn_glNormal3bv = new Deno.UnsafeFnPointer( + proc("glNormal3bv"), + def_glNormal3bv, + ); fn_glNormal3d = new Deno.UnsafeFnPointer(proc("glNormal3d"), def_glNormal3d); - fn_glNormal3dv = new Deno.UnsafeFnPointer(proc("glNormal3dv"), def_glNormal3dv); + fn_glNormal3dv = new Deno.UnsafeFnPointer( + proc("glNormal3dv"), + def_glNormal3dv, + ); fn_glNormal3f = new Deno.UnsafeFnPointer(proc("glNormal3f"), def_glNormal3f); - fn_glNormal3fv = new Deno.UnsafeFnPointer(proc("glNormal3fv"), def_glNormal3fv); + fn_glNormal3fv = new Deno.UnsafeFnPointer( + proc("glNormal3fv"), + def_glNormal3fv, + ); fn_glNormal3i = new Deno.UnsafeFnPointer(proc("glNormal3i"), def_glNormal3i); - fn_glNormal3iv = new Deno.UnsafeFnPointer(proc("glNormal3iv"), def_glNormal3iv); + fn_glNormal3iv = new Deno.UnsafeFnPointer( + proc("glNormal3iv"), + def_glNormal3iv, + ); fn_glNormal3s = new Deno.UnsafeFnPointer(proc("glNormal3s"), def_glNormal3s); - fn_glNormal3sv = new Deno.UnsafeFnPointer(proc("glNormal3sv"), def_glNormal3sv); - fn_glRasterPos2d = new Deno.UnsafeFnPointer(proc("glRasterPos2d"), def_glRasterPos2d); - fn_glRasterPos2dv = new Deno.UnsafeFnPointer(proc("glRasterPos2dv"), def_glRasterPos2dv); - fn_glRasterPos2f = new Deno.UnsafeFnPointer(proc("glRasterPos2f"), def_glRasterPos2f); - fn_glRasterPos2fv = new Deno.UnsafeFnPointer(proc("glRasterPos2fv"), def_glRasterPos2fv); - fn_glRasterPos2i = new Deno.UnsafeFnPointer(proc("glRasterPos2i"), def_glRasterPos2i); - fn_glRasterPos2iv = new Deno.UnsafeFnPointer(proc("glRasterPos2iv"), def_glRasterPos2iv); - fn_glRasterPos2s = new Deno.UnsafeFnPointer(proc("glRasterPos2s"), def_glRasterPos2s); - fn_glRasterPos2sv = new Deno.UnsafeFnPointer(proc("glRasterPos2sv"), def_glRasterPos2sv); - fn_glRasterPos3d = new Deno.UnsafeFnPointer(proc("glRasterPos3d"), def_glRasterPos3d); - fn_glRasterPos3dv = new Deno.UnsafeFnPointer(proc("glRasterPos3dv"), def_glRasterPos3dv); - fn_glRasterPos3f = new Deno.UnsafeFnPointer(proc("glRasterPos3f"), def_glRasterPos3f); - fn_glRasterPos3fv = new Deno.UnsafeFnPointer(proc("glRasterPos3fv"), def_glRasterPos3fv); - fn_glRasterPos3i = new Deno.UnsafeFnPointer(proc("glRasterPos3i"), def_glRasterPos3i); - fn_glRasterPos3iv = new Deno.UnsafeFnPointer(proc("glRasterPos3iv"), def_glRasterPos3iv); - fn_glRasterPos3s = new Deno.UnsafeFnPointer(proc("glRasterPos3s"), def_glRasterPos3s); - fn_glRasterPos3sv = new Deno.UnsafeFnPointer(proc("glRasterPos3sv"), def_glRasterPos3sv); - fn_glRasterPos4d = new Deno.UnsafeFnPointer(proc("glRasterPos4d"), def_glRasterPos4d); - fn_glRasterPos4dv = new Deno.UnsafeFnPointer(proc("glRasterPos4dv"), def_glRasterPos4dv); - fn_glRasterPos4f = new Deno.UnsafeFnPointer(proc("glRasterPos4f"), def_glRasterPos4f); - fn_glRasterPos4fv = new Deno.UnsafeFnPointer(proc("glRasterPos4fv"), def_glRasterPos4fv); - fn_glRasterPos4i = new Deno.UnsafeFnPointer(proc("glRasterPos4i"), def_glRasterPos4i); - fn_glRasterPos4iv = new Deno.UnsafeFnPointer(proc("glRasterPos4iv"), def_glRasterPos4iv); - fn_glRasterPos4s = new Deno.UnsafeFnPointer(proc("glRasterPos4s"), def_glRasterPos4s); - fn_glRasterPos4sv = new Deno.UnsafeFnPointer(proc("glRasterPos4sv"), def_glRasterPos4sv); + fn_glNormal3sv = new Deno.UnsafeFnPointer( + proc("glNormal3sv"), + def_glNormal3sv, + ); + fn_glRasterPos2d = new Deno.UnsafeFnPointer( + proc("glRasterPos2d"), + def_glRasterPos2d, + ); + fn_glRasterPos2dv = new Deno.UnsafeFnPointer( + proc("glRasterPos2dv"), + def_glRasterPos2dv, + ); + fn_glRasterPos2f = new Deno.UnsafeFnPointer( + proc("glRasterPos2f"), + def_glRasterPos2f, + ); + fn_glRasterPos2fv = new Deno.UnsafeFnPointer( + proc("glRasterPos2fv"), + def_glRasterPos2fv, + ); + fn_glRasterPos2i = new Deno.UnsafeFnPointer( + proc("glRasterPos2i"), + def_glRasterPos2i, + ); + fn_glRasterPos2iv = new Deno.UnsafeFnPointer( + proc("glRasterPos2iv"), + def_glRasterPos2iv, + ); + fn_glRasterPos2s = new Deno.UnsafeFnPointer( + proc("glRasterPos2s"), + def_glRasterPos2s, + ); + fn_glRasterPos2sv = new Deno.UnsafeFnPointer( + proc("glRasterPos2sv"), + def_glRasterPos2sv, + ); + fn_glRasterPos3d = new Deno.UnsafeFnPointer( + proc("glRasterPos3d"), + def_glRasterPos3d, + ); + fn_glRasterPos3dv = new Deno.UnsafeFnPointer( + proc("glRasterPos3dv"), + def_glRasterPos3dv, + ); + fn_glRasterPos3f = new Deno.UnsafeFnPointer( + proc("glRasterPos3f"), + def_glRasterPos3f, + ); + fn_glRasterPos3fv = new Deno.UnsafeFnPointer( + proc("glRasterPos3fv"), + def_glRasterPos3fv, + ); + fn_glRasterPos3i = new Deno.UnsafeFnPointer( + proc("glRasterPos3i"), + def_glRasterPos3i, + ); + fn_glRasterPos3iv = new Deno.UnsafeFnPointer( + proc("glRasterPos3iv"), + def_glRasterPos3iv, + ); + fn_glRasterPos3s = new Deno.UnsafeFnPointer( + proc("glRasterPos3s"), + def_glRasterPos3s, + ); + fn_glRasterPos3sv = new Deno.UnsafeFnPointer( + proc("glRasterPos3sv"), + def_glRasterPos3sv, + ); + fn_glRasterPos4d = new Deno.UnsafeFnPointer( + proc("glRasterPos4d"), + def_glRasterPos4d, + ); + fn_glRasterPos4dv = new Deno.UnsafeFnPointer( + proc("glRasterPos4dv"), + def_glRasterPos4dv, + ); + fn_glRasterPos4f = new Deno.UnsafeFnPointer( + proc("glRasterPos4f"), + def_glRasterPos4f, + ); + fn_glRasterPos4fv = new Deno.UnsafeFnPointer( + proc("glRasterPos4fv"), + def_glRasterPos4fv, + ); + fn_glRasterPos4i = new Deno.UnsafeFnPointer( + proc("glRasterPos4i"), + def_glRasterPos4i, + ); + fn_glRasterPos4iv = new Deno.UnsafeFnPointer( + proc("glRasterPos4iv"), + def_glRasterPos4iv, + ); + fn_glRasterPos4s = new Deno.UnsafeFnPointer( + proc("glRasterPos4s"), + def_glRasterPos4s, + ); + fn_glRasterPos4sv = new Deno.UnsafeFnPointer( + proc("glRasterPos4sv"), + def_glRasterPos4sv, + ); fn_glRectd = new Deno.UnsafeFnPointer(proc("glRectd"), def_glRectd); fn_glRectdv = new Deno.UnsafeFnPointer(proc("glRectdv"), def_glRectdv); fn_glRectf = new Deno.UnsafeFnPointer(proc("glRectf"), def_glRectf); @@ -12819,64 +13362,202 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glRectiv = new Deno.UnsafeFnPointer(proc("glRectiv"), def_glRectiv); fn_glRects = new Deno.UnsafeFnPointer(proc("glRects"), def_glRects); fn_glRectsv = new Deno.UnsafeFnPointer(proc("glRectsv"), def_glRectsv); - fn_glTexCoord1d = new Deno.UnsafeFnPointer(proc("glTexCoord1d"), def_glTexCoord1d); - fn_glTexCoord1dv = new Deno.UnsafeFnPointer(proc("glTexCoord1dv"), def_glTexCoord1dv); - fn_glTexCoord1f = new Deno.UnsafeFnPointer(proc("glTexCoord1f"), def_glTexCoord1f); - fn_glTexCoord1fv = new Deno.UnsafeFnPointer(proc("glTexCoord1fv"), def_glTexCoord1fv); - fn_glTexCoord1i = new Deno.UnsafeFnPointer(proc("glTexCoord1i"), def_glTexCoord1i); - fn_glTexCoord1iv = new Deno.UnsafeFnPointer(proc("glTexCoord1iv"), def_glTexCoord1iv); - fn_glTexCoord1s = new Deno.UnsafeFnPointer(proc("glTexCoord1s"), def_glTexCoord1s); - fn_glTexCoord1sv = new Deno.UnsafeFnPointer(proc("glTexCoord1sv"), def_glTexCoord1sv); - fn_glTexCoord2d = new Deno.UnsafeFnPointer(proc("glTexCoord2d"), def_glTexCoord2d); - fn_glTexCoord2dv = new Deno.UnsafeFnPointer(proc("glTexCoord2dv"), def_glTexCoord2dv); - fn_glTexCoord2f = new Deno.UnsafeFnPointer(proc("glTexCoord2f"), def_glTexCoord2f); - fn_glTexCoord2fv = new Deno.UnsafeFnPointer(proc("glTexCoord2fv"), def_glTexCoord2fv); - fn_glTexCoord2i = new Deno.UnsafeFnPointer(proc("glTexCoord2i"), def_glTexCoord2i); - fn_glTexCoord2iv = new Deno.UnsafeFnPointer(proc("glTexCoord2iv"), def_glTexCoord2iv); - fn_glTexCoord2s = new Deno.UnsafeFnPointer(proc("glTexCoord2s"), def_glTexCoord2s); - fn_glTexCoord2sv = new Deno.UnsafeFnPointer(proc("glTexCoord2sv"), def_glTexCoord2sv); - fn_glTexCoord3d = new Deno.UnsafeFnPointer(proc("glTexCoord3d"), def_glTexCoord3d); - fn_glTexCoord3dv = new Deno.UnsafeFnPointer(proc("glTexCoord3dv"), def_glTexCoord3dv); - fn_glTexCoord3f = new Deno.UnsafeFnPointer(proc("glTexCoord3f"), def_glTexCoord3f); - fn_glTexCoord3fv = new Deno.UnsafeFnPointer(proc("glTexCoord3fv"), def_glTexCoord3fv); - fn_glTexCoord3i = new Deno.UnsafeFnPointer(proc("glTexCoord3i"), def_glTexCoord3i); - fn_glTexCoord3iv = new Deno.UnsafeFnPointer(proc("glTexCoord3iv"), def_glTexCoord3iv); - fn_glTexCoord3s = new Deno.UnsafeFnPointer(proc("glTexCoord3s"), def_glTexCoord3s); - fn_glTexCoord3sv = new Deno.UnsafeFnPointer(proc("glTexCoord3sv"), def_glTexCoord3sv); - fn_glTexCoord4d = new Deno.UnsafeFnPointer(proc("glTexCoord4d"), def_glTexCoord4d); - fn_glTexCoord4dv = new Deno.UnsafeFnPointer(proc("glTexCoord4dv"), def_glTexCoord4dv); - fn_glTexCoord4f = new Deno.UnsafeFnPointer(proc("glTexCoord4f"), def_glTexCoord4f); - fn_glTexCoord4fv = new Deno.UnsafeFnPointer(proc("glTexCoord4fv"), def_glTexCoord4fv); - fn_glTexCoord4i = new Deno.UnsafeFnPointer(proc("glTexCoord4i"), def_glTexCoord4i); - fn_glTexCoord4iv = new Deno.UnsafeFnPointer(proc("glTexCoord4iv"), def_glTexCoord4iv); - fn_glTexCoord4s = new Deno.UnsafeFnPointer(proc("glTexCoord4s"), def_glTexCoord4s); - fn_glTexCoord4sv = new Deno.UnsafeFnPointer(proc("glTexCoord4sv"), def_glTexCoord4sv); + fn_glTexCoord1d = new Deno.UnsafeFnPointer( + proc("glTexCoord1d"), + def_glTexCoord1d, + ); + fn_glTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glTexCoord1dv"), + def_glTexCoord1dv, + ); + fn_glTexCoord1f = new Deno.UnsafeFnPointer( + proc("glTexCoord1f"), + def_glTexCoord1f, + ); + fn_glTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glTexCoord1fv"), + def_glTexCoord1fv, + ); + fn_glTexCoord1i = new Deno.UnsafeFnPointer( + proc("glTexCoord1i"), + def_glTexCoord1i, + ); + fn_glTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glTexCoord1iv"), + def_glTexCoord1iv, + ); + fn_glTexCoord1s = new Deno.UnsafeFnPointer( + proc("glTexCoord1s"), + def_glTexCoord1s, + ); + fn_glTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glTexCoord1sv"), + def_glTexCoord1sv, + ); + fn_glTexCoord2d = new Deno.UnsafeFnPointer( + proc("glTexCoord2d"), + def_glTexCoord2d, + ); + fn_glTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glTexCoord2dv"), + def_glTexCoord2dv, + ); + fn_glTexCoord2f = new Deno.UnsafeFnPointer( + proc("glTexCoord2f"), + def_glTexCoord2f, + ); + fn_glTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glTexCoord2fv"), + def_glTexCoord2fv, + ); + fn_glTexCoord2i = new Deno.UnsafeFnPointer( + proc("glTexCoord2i"), + def_glTexCoord2i, + ); + fn_glTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glTexCoord2iv"), + def_glTexCoord2iv, + ); + fn_glTexCoord2s = new Deno.UnsafeFnPointer( + proc("glTexCoord2s"), + def_glTexCoord2s, + ); + fn_glTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glTexCoord2sv"), + def_glTexCoord2sv, + ); + fn_glTexCoord3d = new Deno.UnsafeFnPointer( + proc("glTexCoord3d"), + def_glTexCoord3d, + ); + fn_glTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glTexCoord3dv"), + def_glTexCoord3dv, + ); + fn_glTexCoord3f = new Deno.UnsafeFnPointer( + proc("glTexCoord3f"), + def_glTexCoord3f, + ); + fn_glTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glTexCoord3fv"), + def_glTexCoord3fv, + ); + fn_glTexCoord3i = new Deno.UnsafeFnPointer( + proc("glTexCoord3i"), + def_glTexCoord3i, + ); + fn_glTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glTexCoord3iv"), + def_glTexCoord3iv, + ); + fn_glTexCoord3s = new Deno.UnsafeFnPointer( + proc("glTexCoord3s"), + def_glTexCoord3s, + ); + fn_glTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glTexCoord3sv"), + def_glTexCoord3sv, + ); + fn_glTexCoord4d = new Deno.UnsafeFnPointer( + proc("glTexCoord4d"), + def_glTexCoord4d, + ); + fn_glTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glTexCoord4dv"), + def_glTexCoord4dv, + ); + fn_glTexCoord4f = new Deno.UnsafeFnPointer( + proc("glTexCoord4f"), + def_glTexCoord4f, + ); + fn_glTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glTexCoord4fv"), + def_glTexCoord4fv, + ); + fn_glTexCoord4i = new Deno.UnsafeFnPointer( + proc("glTexCoord4i"), + def_glTexCoord4i, + ); + fn_glTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glTexCoord4iv"), + def_glTexCoord4iv, + ); + fn_glTexCoord4s = new Deno.UnsafeFnPointer( + proc("glTexCoord4s"), + def_glTexCoord4s, + ); + fn_glTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glTexCoord4sv"), + def_glTexCoord4sv, + ); fn_glVertex2d = new Deno.UnsafeFnPointer(proc("glVertex2d"), def_glVertex2d); - fn_glVertex2dv = new Deno.UnsafeFnPointer(proc("glVertex2dv"), def_glVertex2dv); + fn_glVertex2dv = new Deno.UnsafeFnPointer( + proc("glVertex2dv"), + def_glVertex2dv, + ); fn_glVertex2f = new Deno.UnsafeFnPointer(proc("glVertex2f"), def_glVertex2f); - fn_glVertex2fv = new Deno.UnsafeFnPointer(proc("glVertex2fv"), def_glVertex2fv); + fn_glVertex2fv = new Deno.UnsafeFnPointer( + proc("glVertex2fv"), + def_glVertex2fv, + ); fn_glVertex2i = new Deno.UnsafeFnPointer(proc("glVertex2i"), def_glVertex2i); - fn_glVertex2iv = new Deno.UnsafeFnPointer(proc("glVertex2iv"), def_glVertex2iv); + fn_glVertex2iv = new Deno.UnsafeFnPointer( + proc("glVertex2iv"), + def_glVertex2iv, + ); fn_glVertex2s = new Deno.UnsafeFnPointer(proc("glVertex2s"), def_glVertex2s); - fn_glVertex2sv = new Deno.UnsafeFnPointer(proc("glVertex2sv"), def_glVertex2sv); + fn_glVertex2sv = new Deno.UnsafeFnPointer( + proc("glVertex2sv"), + def_glVertex2sv, + ); fn_glVertex3d = new Deno.UnsafeFnPointer(proc("glVertex3d"), def_glVertex3d); - fn_glVertex3dv = new Deno.UnsafeFnPointer(proc("glVertex3dv"), def_glVertex3dv); + fn_glVertex3dv = new Deno.UnsafeFnPointer( + proc("glVertex3dv"), + def_glVertex3dv, + ); fn_glVertex3f = new Deno.UnsafeFnPointer(proc("glVertex3f"), def_glVertex3f); - fn_glVertex3fv = new Deno.UnsafeFnPointer(proc("glVertex3fv"), def_glVertex3fv); + fn_glVertex3fv = new Deno.UnsafeFnPointer( + proc("glVertex3fv"), + def_glVertex3fv, + ); fn_glVertex3i = new Deno.UnsafeFnPointer(proc("glVertex3i"), def_glVertex3i); - fn_glVertex3iv = new Deno.UnsafeFnPointer(proc("glVertex3iv"), def_glVertex3iv); + fn_glVertex3iv = new Deno.UnsafeFnPointer( + proc("glVertex3iv"), + def_glVertex3iv, + ); fn_glVertex3s = new Deno.UnsafeFnPointer(proc("glVertex3s"), def_glVertex3s); - fn_glVertex3sv = new Deno.UnsafeFnPointer(proc("glVertex3sv"), def_glVertex3sv); + fn_glVertex3sv = new Deno.UnsafeFnPointer( + proc("glVertex3sv"), + def_glVertex3sv, + ); fn_glVertex4d = new Deno.UnsafeFnPointer(proc("glVertex4d"), def_glVertex4d); - fn_glVertex4dv = new Deno.UnsafeFnPointer(proc("glVertex4dv"), def_glVertex4dv); + fn_glVertex4dv = new Deno.UnsafeFnPointer( + proc("glVertex4dv"), + def_glVertex4dv, + ); fn_glVertex4f = new Deno.UnsafeFnPointer(proc("glVertex4f"), def_glVertex4f); - fn_glVertex4fv = new Deno.UnsafeFnPointer(proc("glVertex4fv"), def_glVertex4fv); + fn_glVertex4fv = new Deno.UnsafeFnPointer( + proc("glVertex4fv"), + def_glVertex4fv, + ); fn_glVertex4i = new Deno.UnsafeFnPointer(proc("glVertex4i"), def_glVertex4i); - fn_glVertex4iv = new Deno.UnsafeFnPointer(proc("glVertex4iv"), def_glVertex4iv); + fn_glVertex4iv = new Deno.UnsafeFnPointer( + proc("glVertex4iv"), + def_glVertex4iv, + ); fn_glVertex4s = new Deno.UnsafeFnPointer(proc("glVertex4s"), def_glVertex4s); - fn_glVertex4sv = new Deno.UnsafeFnPointer(proc("glVertex4sv"), def_glVertex4sv); - fn_glClipPlane = new Deno.UnsafeFnPointer(proc("glClipPlane"), def_glClipPlane); - fn_glColorMaterial = new Deno.UnsafeFnPointer(proc("glColorMaterial"), def_glColorMaterial); + fn_glVertex4sv = new Deno.UnsafeFnPointer( + proc("glVertex4sv"), + def_glVertex4sv, + ); + fn_glClipPlane = new Deno.UnsafeFnPointer( + proc("glClipPlane"), + def_glClipPlane, + ); + fn_glColorMaterial = new Deno.UnsafeFnPointer( + proc("glColorMaterial"), + def_glColorMaterial, + ); fn_glFogf = new Deno.UnsafeFnPointer(proc("glFogf"), def_glFogf); fn_glFogfv = new Deno.UnsafeFnPointer(proc("glFogfv"), def_glFogfv); fn_glFogi = new Deno.UnsafeFnPointer(proc("glFogi"), def_glFogi); @@ -12885,17 +13566,50 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glLightfv = new Deno.UnsafeFnPointer(proc("glLightfv"), def_glLightfv); fn_glLighti = new Deno.UnsafeFnPointer(proc("glLighti"), def_glLighti); fn_glLightiv = new Deno.UnsafeFnPointer(proc("glLightiv"), def_glLightiv); - fn_glLightModelf = new Deno.UnsafeFnPointer(proc("glLightModelf"), def_glLightModelf); - fn_glLightModelfv = new Deno.UnsafeFnPointer(proc("glLightModelfv"), def_glLightModelfv); - fn_glLightModeli = new Deno.UnsafeFnPointer(proc("glLightModeli"), def_glLightModeli); - fn_glLightModeliv = new Deno.UnsafeFnPointer(proc("glLightModeliv"), def_glLightModeliv); - fn_glLineStipple = new Deno.UnsafeFnPointer(proc("glLineStipple"), def_glLineStipple); - fn_glMaterialf = new Deno.UnsafeFnPointer(proc("glMaterialf"), def_glMaterialf); - fn_glMaterialfv = new Deno.UnsafeFnPointer(proc("glMaterialfv"), def_glMaterialfv); - fn_glMateriali = new Deno.UnsafeFnPointer(proc("glMateriali"), def_glMateriali); - fn_glMaterialiv = new Deno.UnsafeFnPointer(proc("glMaterialiv"), def_glMaterialiv); - fn_glPolygonStipple = new Deno.UnsafeFnPointer(proc("glPolygonStipple"), def_glPolygonStipple); - fn_glShadeModel = new Deno.UnsafeFnPointer(proc("glShadeModel"), def_glShadeModel); + fn_glLightModelf = new Deno.UnsafeFnPointer( + proc("glLightModelf"), + def_glLightModelf, + ); + fn_glLightModelfv = new Deno.UnsafeFnPointer( + proc("glLightModelfv"), + def_glLightModelfv, + ); + fn_glLightModeli = new Deno.UnsafeFnPointer( + proc("glLightModeli"), + def_glLightModeli, + ); + fn_glLightModeliv = new Deno.UnsafeFnPointer( + proc("glLightModeliv"), + def_glLightModeliv, + ); + fn_glLineStipple = new Deno.UnsafeFnPointer( + proc("glLineStipple"), + def_glLineStipple, + ); + fn_glMaterialf = new Deno.UnsafeFnPointer( + proc("glMaterialf"), + def_glMaterialf, + ); + fn_glMaterialfv = new Deno.UnsafeFnPointer( + proc("glMaterialfv"), + def_glMaterialfv, + ); + fn_glMateriali = new Deno.UnsafeFnPointer( + proc("glMateriali"), + def_glMateriali, + ); + fn_glMaterialiv = new Deno.UnsafeFnPointer( + proc("glMaterialiv"), + def_glMaterialiv, + ); + fn_glPolygonStipple = new Deno.UnsafeFnPointer( + proc("glPolygonStipple"), + def_glPolygonStipple, + ); + fn_glShadeModel = new Deno.UnsafeFnPointer( + proc("glShadeModel"), + def_glShadeModel, + ); fn_glTexEnvf = new Deno.UnsafeFnPointer(proc("glTexEnvf"), def_glTexEnvf); fn_glTexEnvfv = new Deno.UnsafeFnPointer(proc("glTexEnvfv"), def_glTexEnvfv); fn_glTexEnvi = new Deno.UnsafeFnPointer(proc("glTexEnvi"), def_glTexEnvi); @@ -12906,410 +13620,1550 @@ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glTexGenfv = new Deno.UnsafeFnPointer(proc("glTexGenfv"), def_glTexGenfv); fn_glTexGeni = new Deno.UnsafeFnPointer(proc("glTexGeni"), def_glTexGeni); fn_glTexGeniv = new Deno.UnsafeFnPointer(proc("glTexGeniv"), def_glTexGeniv); - fn_glFeedbackBuffer = new Deno.UnsafeFnPointer(proc("glFeedbackBuffer"), def_glFeedbackBuffer); - fn_glSelectBuffer = new Deno.UnsafeFnPointer(proc("glSelectBuffer"), def_glSelectBuffer); - fn_glRenderMode = new Deno.UnsafeFnPointer(proc("glRenderMode"), def_glRenderMode); - fn_glInitNames = new Deno.UnsafeFnPointer(proc("glInitNames"), def_glInitNames); + fn_glFeedbackBuffer = new Deno.UnsafeFnPointer( + proc("glFeedbackBuffer"), + def_glFeedbackBuffer, + ); + fn_glSelectBuffer = new Deno.UnsafeFnPointer( + proc("glSelectBuffer"), + def_glSelectBuffer, + ); + fn_glRenderMode = new Deno.UnsafeFnPointer( + proc("glRenderMode"), + def_glRenderMode, + ); + fn_glInitNames = new Deno.UnsafeFnPointer( + proc("glInitNames"), + def_glInitNames, + ); fn_glLoadName = new Deno.UnsafeFnPointer(proc("glLoadName"), def_glLoadName); - fn_glPassThrough = new Deno.UnsafeFnPointer(proc("glPassThrough"), def_glPassThrough); + fn_glPassThrough = new Deno.UnsafeFnPointer( + proc("glPassThrough"), + def_glPassThrough, + ); fn_glPopName = new Deno.UnsafeFnPointer(proc("glPopName"), def_glPopName); fn_glPushName = new Deno.UnsafeFnPointer(proc("glPushName"), def_glPushName); - fn_glClearAccum = new Deno.UnsafeFnPointer(proc("glClearAccum"), def_glClearAccum); - fn_glClearIndex = new Deno.UnsafeFnPointer(proc("glClearIndex"), def_glClearIndex); - fn_glIndexMask = new Deno.UnsafeFnPointer(proc("glIndexMask"), def_glIndexMask); + fn_glClearAccum = new Deno.UnsafeFnPointer( + proc("glClearAccum"), + def_glClearAccum, + ); + fn_glClearIndex = new Deno.UnsafeFnPointer( + proc("glClearIndex"), + def_glClearIndex, + ); + fn_glIndexMask = new Deno.UnsafeFnPointer( + proc("glIndexMask"), + def_glIndexMask, + ); fn_glAccum = new Deno.UnsafeFnPointer(proc("glAccum"), def_glAccum); - fn_glPopAttrib = new Deno.UnsafeFnPointer(proc("glPopAttrib"), def_glPopAttrib); - fn_glPushAttrib = new Deno.UnsafeFnPointer(proc("glPushAttrib"), def_glPushAttrib); + fn_glPopAttrib = new Deno.UnsafeFnPointer( + proc("glPopAttrib"), + def_glPopAttrib, + ); + fn_glPushAttrib = new Deno.UnsafeFnPointer( + proc("glPushAttrib"), + def_glPushAttrib, + ); fn_glMap1d = new Deno.UnsafeFnPointer(proc("glMap1d"), def_glMap1d); fn_glMap1f = new Deno.UnsafeFnPointer(proc("glMap1f"), def_glMap1f); fn_glMap2d = new Deno.UnsafeFnPointer(proc("glMap2d"), def_glMap2d); fn_glMap2f = new Deno.UnsafeFnPointer(proc("glMap2f"), def_glMap2f); - fn_glMapGrid1d = new Deno.UnsafeFnPointer(proc("glMapGrid1d"), def_glMapGrid1d); - fn_glMapGrid1f = new Deno.UnsafeFnPointer(proc("glMapGrid1f"), def_glMapGrid1f); - fn_glMapGrid2d = new Deno.UnsafeFnPointer(proc("glMapGrid2d"), def_glMapGrid2d); - fn_glMapGrid2f = new Deno.UnsafeFnPointer(proc("glMapGrid2f"), def_glMapGrid2f); - fn_glEvalCoord1d = new Deno.UnsafeFnPointer(proc("glEvalCoord1d"), def_glEvalCoord1d); - fn_glEvalCoord1dv = new Deno.UnsafeFnPointer(proc("glEvalCoord1dv"), def_glEvalCoord1dv); - fn_glEvalCoord1f = new Deno.UnsafeFnPointer(proc("glEvalCoord1f"), def_glEvalCoord1f); - fn_glEvalCoord1fv = new Deno.UnsafeFnPointer(proc("glEvalCoord1fv"), def_glEvalCoord1fv); - fn_glEvalCoord2d = new Deno.UnsafeFnPointer(proc("glEvalCoord2d"), def_glEvalCoord2d); - fn_glEvalCoord2dv = new Deno.UnsafeFnPointer(proc("glEvalCoord2dv"), def_glEvalCoord2dv); - fn_glEvalCoord2f = new Deno.UnsafeFnPointer(proc("glEvalCoord2f"), def_glEvalCoord2f); - fn_glEvalCoord2fv = new Deno.UnsafeFnPointer(proc("glEvalCoord2fv"), def_glEvalCoord2fv); - fn_glEvalMesh1 = new Deno.UnsafeFnPointer(proc("glEvalMesh1"), def_glEvalMesh1); - fn_glEvalPoint1 = new Deno.UnsafeFnPointer(proc("glEvalPoint1"), def_glEvalPoint1); - fn_glEvalMesh2 = new Deno.UnsafeFnPointer(proc("glEvalMesh2"), def_glEvalMesh2); - fn_glEvalPoint2 = new Deno.UnsafeFnPointer(proc("glEvalPoint2"), def_glEvalPoint2); - fn_glAlphaFunc = new Deno.UnsafeFnPointer(proc("glAlphaFunc"), def_glAlphaFunc); - fn_glPixelZoom = new Deno.UnsafeFnPointer(proc("glPixelZoom"), def_glPixelZoom); - fn_glPixelTransferf = new Deno.UnsafeFnPointer(proc("glPixelTransferf"), def_glPixelTransferf); - fn_glPixelTransferi = new Deno.UnsafeFnPointer(proc("glPixelTransferi"), def_glPixelTransferi); - fn_glPixelMapfv = new Deno.UnsafeFnPointer(proc("glPixelMapfv"), def_glPixelMapfv); - fn_glPixelMapuiv = new Deno.UnsafeFnPointer(proc("glPixelMapuiv"), def_glPixelMapuiv); - fn_glPixelMapusv = new Deno.UnsafeFnPointer(proc("glPixelMapusv"), def_glPixelMapusv); - fn_glCopyPixels = new Deno.UnsafeFnPointer(proc("glCopyPixels"), def_glCopyPixels); - fn_glDrawPixels = new Deno.UnsafeFnPointer(proc("glDrawPixels"), def_glDrawPixels); - fn_glGetClipPlane = new Deno.UnsafeFnPointer(proc("glGetClipPlane"), def_glGetClipPlane); - fn_glGetLightfv = new Deno.UnsafeFnPointer(proc("glGetLightfv"), def_glGetLightfv); - fn_glGetLightiv = new Deno.UnsafeFnPointer(proc("glGetLightiv"), def_glGetLightiv); + fn_glMapGrid1d = new Deno.UnsafeFnPointer( + proc("glMapGrid1d"), + def_glMapGrid1d, + ); + fn_glMapGrid1f = new Deno.UnsafeFnPointer( + proc("glMapGrid1f"), + def_glMapGrid1f, + ); + fn_glMapGrid2d = new Deno.UnsafeFnPointer( + proc("glMapGrid2d"), + def_glMapGrid2d, + ); + fn_glMapGrid2f = new Deno.UnsafeFnPointer( + proc("glMapGrid2f"), + def_glMapGrid2f, + ); + fn_glEvalCoord1d = new Deno.UnsafeFnPointer( + proc("glEvalCoord1d"), + def_glEvalCoord1d, + ); + fn_glEvalCoord1dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1dv"), + def_glEvalCoord1dv, + ); + fn_glEvalCoord1f = new Deno.UnsafeFnPointer( + proc("glEvalCoord1f"), + def_glEvalCoord1f, + ); + fn_glEvalCoord1fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord1fv"), + def_glEvalCoord1fv, + ); + fn_glEvalCoord2d = new Deno.UnsafeFnPointer( + proc("glEvalCoord2d"), + def_glEvalCoord2d, + ); + fn_glEvalCoord2dv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2dv"), + def_glEvalCoord2dv, + ); + fn_glEvalCoord2f = new Deno.UnsafeFnPointer( + proc("glEvalCoord2f"), + def_glEvalCoord2f, + ); + fn_glEvalCoord2fv = new Deno.UnsafeFnPointer( + proc("glEvalCoord2fv"), + def_glEvalCoord2fv, + ); + fn_glEvalMesh1 = new Deno.UnsafeFnPointer( + proc("glEvalMesh1"), + def_glEvalMesh1, + ); + fn_glEvalPoint1 = new Deno.UnsafeFnPointer( + proc("glEvalPoint1"), + def_glEvalPoint1, + ); + fn_glEvalMesh2 = new Deno.UnsafeFnPointer( + proc("glEvalMesh2"), + def_glEvalMesh2, + ); + fn_glEvalPoint2 = new Deno.UnsafeFnPointer( + proc("glEvalPoint2"), + def_glEvalPoint2, + ); + fn_glAlphaFunc = new Deno.UnsafeFnPointer( + proc("glAlphaFunc"), + def_glAlphaFunc, + ); + fn_glPixelZoom = new Deno.UnsafeFnPointer( + proc("glPixelZoom"), + def_glPixelZoom, + ); + fn_glPixelTransferf = new Deno.UnsafeFnPointer( + proc("glPixelTransferf"), + def_glPixelTransferf, + ); + fn_glPixelTransferi = new Deno.UnsafeFnPointer( + proc("glPixelTransferi"), + def_glPixelTransferi, + ); + fn_glPixelMapfv = new Deno.UnsafeFnPointer( + proc("glPixelMapfv"), + def_glPixelMapfv, + ); + fn_glPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glPixelMapuiv"), + def_glPixelMapuiv, + ); + fn_glPixelMapusv = new Deno.UnsafeFnPointer( + proc("glPixelMapusv"), + def_glPixelMapusv, + ); + fn_glCopyPixels = new Deno.UnsafeFnPointer( + proc("glCopyPixels"), + def_glCopyPixels, + ); + fn_glDrawPixels = new Deno.UnsafeFnPointer( + proc("glDrawPixels"), + def_glDrawPixels, + ); + fn_glGetClipPlane = new Deno.UnsafeFnPointer( + proc("glGetClipPlane"), + def_glGetClipPlane, + ); + fn_glGetLightfv = new Deno.UnsafeFnPointer( + proc("glGetLightfv"), + def_glGetLightfv, + ); + fn_glGetLightiv = new Deno.UnsafeFnPointer( + proc("glGetLightiv"), + def_glGetLightiv, + ); fn_glGetMapdv = new Deno.UnsafeFnPointer(proc("glGetMapdv"), def_glGetMapdv); fn_glGetMapfv = new Deno.UnsafeFnPointer(proc("glGetMapfv"), def_glGetMapfv); fn_glGetMapiv = new Deno.UnsafeFnPointer(proc("glGetMapiv"), def_glGetMapiv); - fn_glGetMaterialfv = new Deno.UnsafeFnPointer(proc("glGetMaterialfv"), def_glGetMaterialfv); - fn_glGetMaterialiv = new Deno.UnsafeFnPointer(proc("glGetMaterialiv"), def_glGetMaterialiv); - fn_glGetPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetPixelMapfv"), def_glGetPixelMapfv); - fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetPixelMapuiv"), def_glGetPixelMapuiv); - fn_glGetPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetPixelMapusv"), def_glGetPixelMapusv); - fn_glGetPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetPolygonStipple"), def_glGetPolygonStipple); - fn_glGetTexEnvfv = new Deno.UnsafeFnPointer(proc("glGetTexEnvfv"), def_glGetTexEnvfv); - fn_glGetTexEnviv = new Deno.UnsafeFnPointer(proc("glGetTexEnviv"), def_glGetTexEnviv); - fn_glGetTexGendv = new Deno.UnsafeFnPointer(proc("glGetTexGendv"), def_glGetTexGendv); - fn_glGetTexGenfv = new Deno.UnsafeFnPointer(proc("glGetTexGenfv"), def_glGetTexGenfv); - fn_glGetTexGeniv = new Deno.UnsafeFnPointer(proc("glGetTexGeniv"), def_glGetTexGeniv); + fn_glGetMaterialfv = new Deno.UnsafeFnPointer( + proc("glGetMaterialfv"), + def_glGetMaterialfv, + ); + fn_glGetMaterialiv = new Deno.UnsafeFnPointer( + proc("glGetMaterialiv"), + def_glGetMaterialiv, + ); + fn_glGetPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapfv"), + def_glGetPixelMapfv, + ); + fn_glGetPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapuiv"), + def_glGetPixelMapuiv, + ); + fn_glGetPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetPixelMapusv"), + def_glGetPixelMapusv, + ); + fn_glGetPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetPolygonStipple"), + def_glGetPolygonStipple, + ); + fn_glGetTexEnvfv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvfv"), + def_glGetTexEnvfv, + ); + fn_glGetTexEnviv = new Deno.UnsafeFnPointer( + proc("glGetTexEnviv"), + def_glGetTexEnviv, + ); + fn_glGetTexGendv = new Deno.UnsafeFnPointer( + proc("glGetTexGendv"), + def_glGetTexGendv, + ); + fn_glGetTexGenfv = new Deno.UnsafeFnPointer( + proc("glGetTexGenfv"), + def_glGetTexGenfv, + ); + fn_glGetTexGeniv = new Deno.UnsafeFnPointer( + proc("glGetTexGeniv"), + def_glGetTexGeniv, + ); fn_glIsList = new Deno.UnsafeFnPointer(proc("glIsList"), def_glIsList); fn_glFrustum = new Deno.UnsafeFnPointer(proc("glFrustum"), def_glFrustum); - fn_glLoadIdentity = new Deno.UnsafeFnPointer(proc("glLoadIdentity"), def_glLoadIdentity); - fn_glLoadMatrixf = new Deno.UnsafeFnPointer(proc("glLoadMatrixf"), def_glLoadMatrixf); - fn_glLoadMatrixd = new Deno.UnsafeFnPointer(proc("glLoadMatrixd"), def_glLoadMatrixd); - fn_glMatrixMode = new Deno.UnsafeFnPointer(proc("glMatrixMode"), def_glMatrixMode); - fn_glMultMatrixf = new Deno.UnsafeFnPointer(proc("glMultMatrixf"), def_glMultMatrixf); - fn_glMultMatrixd = new Deno.UnsafeFnPointer(proc("glMultMatrixd"), def_glMultMatrixd); + fn_glLoadIdentity = new Deno.UnsafeFnPointer( + proc("glLoadIdentity"), + def_glLoadIdentity, + ); + fn_glLoadMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadMatrixf"), + def_glLoadMatrixf, + ); + fn_glLoadMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadMatrixd"), + def_glLoadMatrixd, + ); + fn_glMatrixMode = new Deno.UnsafeFnPointer( + proc("glMatrixMode"), + def_glMatrixMode, + ); + fn_glMultMatrixf = new Deno.UnsafeFnPointer( + proc("glMultMatrixf"), + def_glMultMatrixf, + ); + fn_glMultMatrixd = new Deno.UnsafeFnPointer( + proc("glMultMatrixd"), + def_glMultMatrixd, + ); fn_glOrtho = new Deno.UnsafeFnPointer(proc("glOrtho"), def_glOrtho); - fn_glPopMatrix = new Deno.UnsafeFnPointer(proc("glPopMatrix"), def_glPopMatrix); - fn_glPushMatrix = new Deno.UnsafeFnPointer(proc("glPushMatrix"), def_glPushMatrix); + fn_glPopMatrix = new Deno.UnsafeFnPointer( + proc("glPopMatrix"), + def_glPopMatrix, + ); + fn_glPushMatrix = new Deno.UnsafeFnPointer( + proc("glPushMatrix"), + def_glPushMatrix, + ); fn_glRotated = new Deno.UnsafeFnPointer(proc("glRotated"), def_glRotated); fn_glRotatef = new Deno.UnsafeFnPointer(proc("glRotatef"), def_glRotatef); fn_glScaled = new Deno.UnsafeFnPointer(proc("glScaled"), def_glScaled); fn_glScalef = new Deno.UnsafeFnPointer(proc("glScalef"), def_glScalef); - fn_glTranslated = new Deno.UnsafeFnPointer(proc("glTranslated"), def_glTranslated); - fn_glTranslatef = new Deno.UnsafeFnPointer(proc("glTranslatef"), def_glTranslatef); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glArrayElement = new Deno.UnsafeFnPointer(proc("glArrayElement"), def_glArrayElement); - fn_glColorPointer = new Deno.UnsafeFnPointer(proc("glColorPointer"), def_glColorPointer); - fn_glDisableClientState = new Deno.UnsafeFnPointer(proc("glDisableClientState"), def_glDisableClientState); - fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer(proc("glEdgeFlagPointer"), def_glEdgeFlagPointer); - fn_glEnableClientState = new Deno.UnsafeFnPointer(proc("glEnableClientState"), def_glEnableClientState); - fn_glIndexPointer = new Deno.UnsafeFnPointer(proc("glIndexPointer"), def_glIndexPointer); - fn_glInterleavedArrays = new Deno.UnsafeFnPointer(proc("glInterleavedArrays"), def_glInterleavedArrays); - fn_glNormalPointer = new Deno.UnsafeFnPointer(proc("glNormalPointer"), def_glNormalPointer); - fn_glTexCoordPointer = new Deno.UnsafeFnPointer(proc("glTexCoordPointer"), def_glTexCoordPointer); - fn_glVertexPointer = new Deno.UnsafeFnPointer(proc("glVertexPointer"), def_glVertexPointer); - fn_glAreTexturesResident = new Deno.UnsafeFnPointer(proc("glAreTexturesResident"), def_glAreTexturesResident); - fn_glPrioritizeTextures = new Deno.UnsafeFnPointer(proc("glPrioritizeTextures"), def_glPrioritizeTextures); + fn_glTranslated = new Deno.UnsafeFnPointer( + proc("glTranslated"), + def_glTranslated, + ); + fn_glTranslatef = new Deno.UnsafeFnPointer( + proc("glTranslatef"), + def_glTranslatef, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glArrayElement = new Deno.UnsafeFnPointer( + proc("glArrayElement"), + def_glArrayElement, + ); + fn_glColorPointer = new Deno.UnsafeFnPointer( + proc("glColorPointer"), + def_glColorPointer, + ); + fn_glDisableClientState = new Deno.UnsafeFnPointer( + proc("glDisableClientState"), + def_glDisableClientState, + ); + fn_glEdgeFlagPointer = new Deno.UnsafeFnPointer( + proc("glEdgeFlagPointer"), + def_glEdgeFlagPointer, + ); + fn_glEnableClientState = new Deno.UnsafeFnPointer( + proc("glEnableClientState"), + def_glEnableClientState, + ); + fn_glIndexPointer = new Deno.UnsafeFnPointer( + proc("glIndexPointer"), + def_glIndexPointer, + ); + fn_glInterleavedArrays = new Deno.UnsafeFnPointer( + proc("glInterleavedArrays"), + def_glInterleavedArrays, + ); + fn_glNormalPointer = new Deno.UnsafeFnPointer( + proc("glNormalPointer"), + def_glNormalPointer, + ); + fn_glTexCoordPointer = new Deno.UnsafeFnPointer( + proc("glTexCoordPointer"), + def_glTexCoordPointer, + ); + fn_glVertexPointer = new Deno.UnsafeFnPointer( + proc("glVertexPointer"), + def_glVertexPointer, + ); + fn_glAreTexturesResident = new Deno.UnsafeFnPointer( + proc("glAreTexturesResident"), + def_glAreTexturesResident, + ); + fn_glPrioritizeTextures = new Deno.UnsafeFnPointer( + proc("glPrioritizeTextures"), + def_glPrioritizeTextures, + ); fn_glIndexub = new Deno.UnsafeFnPointer(proc("glIndexub"), def_glIndexub); fn_glIndexubv = new Deno.UnsafeFnPointer(proc("glIndexubv"), def_glIndexubv); - fn_glPopClientAttrib = new Deno.UnsafeFnPointer(proc("glPopClientAttrib"), def_glPopClientAttrib); - fn_glPushClientAttrib = new Deno.UnsafeFnPointer(proc("glPushClientAttrib"), def_glPushClientAttrib); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glClientActiveTexture = new Deno.UnsafeFnPointer(proc("glClientActiveTexture"), def_glClientActiveTexture); - fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1d"), def_glMultiTexCoord1d); - fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1dv"), def_glMultiTexCoord1dv); - fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1f"), def_glMultiTexCoord1f); - fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1fv"), def_glMultiTexCoord1fv); - fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1i"), def_glMultiTexCoord1i); - fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1iv"), def_glMultiTexCoord1iv); - fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1s"), def_glMultiTexCoord1s); - fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord1sv"), def_glMultiTexCoord1sv); - fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2d"), def_glMultiTexCoord2d); - fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2dv"), def_glMultiTexCoord2dv); - fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2f"), def_glMultiTexCoord2f); - fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2fv"), def_glMultiTexCoord2fv); - fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2i"), def_glMultiTexCoord2i); - fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2iv"), def_glMultiTexCoord2iv); - fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2s"), def_glMultiTexCoord2s); - fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord2sv"), def_glMultiTexCoord2sv); - fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3d"), def_glMultiTexCoord3d); - fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3dv"), def_glMultiTexCoord3dv); - fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3f"), def_glMultiTexCoord3f); - fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3fv"), def_glMultiTexCoord3fv); - fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3i"), def_glMultiTexCoord3i); - fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3iv"), def_glMultiTexCoord3iv); - fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3s"), def_glMultiTexCoord3s); - fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord3sv"), def_glMultiTexCoord3sv); - fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4d"), def_glMultiTexCoord4d); - fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4dv"), def_glMultiTexCoord4dv); - fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4f"), def_glMultiTexCoord4f); - fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4fv"), def_glMultiTexCoord4fv); - fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4i"), def_glMultiTexCoord4i); - fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4iv"), def_glMultiTexCoord4iv); - fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4s"), def_glMultiTexCoord4s); - fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4sv"), def_glMultiTexCoord4sv); - fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixf"), def_glLoadTransposeMatrixf); - fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glLoadTransposeMatrixd"), def_glLoadTransposeMatrixd); - fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixf"), def_glMultTransposeMatrixf); - fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer(proc("glMultTransposeMatrixd"), def_glMultTransposeMatrixd); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glFogCoordf = new Deno.UnsafeFnPointer(proc("glFogCoordf"), def_glFogCoordf); - fn_glFogCoordfv = new Deno.UnsafeFnPointer(proc("glFogCoordfv"), def_glFogCoordfv); - fn_glFogCoordd = new Deno.UnsafeFnPointer(proc("glFogCoordd"), def_glFogCoordd); - fn_glFogCoorddv = new Deno.UnsafeFnPointer(proc("glFogCoorddv"), def_glFogCoorddv); - fn_glFogCoordPointer = new Deno.UnsafeFnPointer(proc("glFogCoordPointer"), def_glFogCoordPointer); - fn_glSecondaryColor3b = new Deno.UnsafeFnPointer(proc("glSecondaryColor3b"), def_glSecondaryColor3b); - fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3bv"), def_glSecondaryColor3bv); - fn_glSecondaryColor3d = new Deno.UnsafeFnPointer(proc("glSecondaryColor3d"), def_glSecondaryColor3d); - fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3dv"), def_glSecondaryColor3dv); - fn_glSecondaryColor3f = new Deno.UnsafeFnPointer(proc("glSecondaryColor3f"), def_glSecondaryColor3f); - fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3fv"), def_glSecondaryColor3fv); - fn_glSecondaryColor3i = new Deno.UnsafeFnPointer(proc("glSecondaryColor3i"), def_glSecondaryColor3i); - fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3iv"), def_glSecondaryColor3iv); - fn_glSecondaryColor3s = new Deno.UnsafeFnPointer(proc("glSecondaryColor3s"), def_glSecondaryColor3s); - fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3sv"), def_glSecondaryColor3sv); - fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ub"), def_glSecondaryColor3ub); - fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ubv"), def_glSecondaryColor3ubv); - fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColor3ui"), def_glSecondaryColor3ui); - fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3uiv"), def_glSecondaryColor3uiv); - fn_glSecondaryColor3us = new Deno.UnsafeFnPointer(proc("glSecondaryColor3us"), def_glSecondaryColor3us); - fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer(proc("glSecondaryColor3usv"), def_glSecondaryColor3usv); - fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer(proc("glSecondaryColorPointer"), def_glSecondaryColorPointer); - fn_glWindowPos2d = new Deno.UnsafeFnPointer(proc("glWindowPos2d"), def_glWindowPos2d); - fn_glWindowPos2dv = new Deno.UnsafeFnPointer(proc("glWindowPos2dv"), def_glWindowPos2dv); - fn_glWindowPos2f = new Deno.UnsafeFnPointer(proc("glWindowPos2f"), def_glWindowPos2f); - fn_glWindowPos2fv = new Deno.UnsafeFnPointer(proc("glWindowPos2fv"), def_glWindowPos2fv); - fn_glWindowPos2i = new Deno.UnsafeFnPointer(proc("glWindowPos2i"), def_glWindowPos2i); - fn_glWindowPos2iv = new Deno.UnsafeFnPointer(proc("glWindowPos2iv"), def_glWindowPos2iv); - fn_glWindowPos2s = new Deno.UnsafeFnPointer(proc("glWindowPos2s"), def_glWindowPos2s); - fn_glWindowPos2sv = new Deno.UnsafeFnPointer(proc("glWindowPos2sv"), def_glWindowPos2sv); - fn_glWindowPos3d = new Deno.UnsafeFnPointer(proc("glWindowPos3d"), def_glWindowPos3d); - fn_glWindowPos3dv = new Deno.UnsafeFnPointer(proc("glWindowPos3dv"), def_glWindowPos3dv); - fn_glWindowPos3f = new Deno.UnsafeFnPointer(proc("glWindowPos3f"), def_glWindowPos3f); - fn_glWindowPos3fv = new Deno.UnsafeFnPointer(proc("glWindowPos3fv"), def_glWindowPos3fv); - fn_glWindowPos3i = new Deno.UnsafeFnPointer(proc("glWindowPos3i"), def_glWindowPos3i); - fn_glWindowPos3iv = new Deno.UnsafeFnPointer(proc("glWindowPos3iv"), def_glWindowPos3iv); - fn_glWindowPos3s = new Deno.UnsafeFnPointer(proc("glWindowPos3s"), def_glWindowPos3s); - fn_glWindowPos3sv = new Deno.UnsafeFnPointer(proc("glWindowPos3sv"), def_glWindowPos3sv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); - fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); - fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); - fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); - fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); - fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); - fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glClampColor = new Deno.UnsafeFnPointer(proc("glClampColor"), def_glClampColor); - fn_glBeginConditionalRender = new Deno.UnsafeFnPointer(proc("glBeginConditionalRender"), def_glBeginConditionalRender); - fn_glEndConditionalRender = new Deno.UnsafeFnPointer(proc("glEndConditionalRender"), def_glEndConditionalRender); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI1i = new Deno.UnsafeFnPointer(proc("glVertexAttribI1i"), def_glVertexAttribI1i); - fn_glVertexAttribI2i = new Deno.UnsafeFnPointer(proc("glVertexAttribI2i"), def_glVertexAttribI2i); - fn_glVertexAttribI3i = new Deno.UnsafeFnPointer(proc("glVertexAttribI3i"), def_glVertexAttribI3i); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ui"), def_glVertexAttribI1ui); - fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ui"), def_glVertexAttribI2ui); - fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ui"), def_glVertexAttribI3ui); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iv"), def_glVertexAttribI1iv); - fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iv"), def_glVertexAttribI2iv); - fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iv"), def_glVertexAttribI3iv); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiv"), def_glVertexAttribI1uiv); - fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiv"), def_glVertexAttribI2uiv); - fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiv"), def_glVertexAttribI3uiv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bv"), def_glVertexAttribI4bv); - fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4sv"), def_glVertexAttribI4sv); - fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubv"), def_glVertexAttribI4ubv); - fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usv"), def_glVertexAttribI4usv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glBindFragDataLocation = new Deno.UnsafeFnPointer(proc("glBindFragDataLocation"), def_glBindFragDataLocation); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); + fn_glPopClientAttrib = new Deno.UnsafeFnPointer( + proc("glPopClientAttrib"), + def_glPopClientAttrib, + ); + fn_glPushClientAttrib = new Deno.UnsafeFnPointer( + proc("glPushClientAttrib"), + def_glPushClientAttrib, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glClientActiveTexture = new Deno.UnsafeFnPointer( + proc("glClientActiveTexture"), + def_glClientActiveTexture, + ); + fn_glMultiTexCoord1d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1d"), + def_glMultiTexCoord1d, + ); + fn_glMultiTexCoord1dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1dv"), + def_glMultiTexCoord1dv, + ); + fn_glMultiTexCoord1f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1f"), + def_glMultiTexCoord1f, + ); + fn_glMultiTexCoord1fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1fv"), + def_glMultiTexCoord1fv, + ); + fn_glMultiTexCoord1i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1i"), + def_glMultiTexCoord1i, + ); + fn_glMultiTexCoord1iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1iv"), + def_glMultiTexCoord1iv, + ); + fn_glMultiTexCoord1s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1s"), + def_glMultiTexCoord1s, + ); + fn_glMultiTexCoord1sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord1sv"), + def_glMultiTexCoord1sv, + ); + fn_glMultiTexCoord2d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2d"), + def_glMultiTexCoord2d, + ); + fn_glMultiTexCoord2dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2dv"), + def_glMultiTexCoord2dv, + ); + fn_glMultiTexCoord2f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2f"), + def_glMultiTexCoord2f, + ); + fn_glMultiTexCoord2fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2fv"), + def_glMultiTexCoord2fv, + ); + fn_glMultiTexCoord2i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2i"), + def_glMultiTexCoord2i, + ); + fn_glMultiTexCoord2iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2iv"), + def_glMultiTexCoord2iv, + ); + fn_glMultiTexCoord2s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2s"), + def_glMultiTexCoord2s, + ); + fn_glMultiTexCoord2sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord2sv"), + def_glMultiTexCoord2sv, + ); + fn_glMultiTexCoord3d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3d"), + def_glMultiTexCoord3d, + ); + fn_glMultiTexCoord3dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3dv"), + def_glMultiTexCoord3dv, + ); + fn_glMultiTexCoord3f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3f"), + def_glMultiTexCoord3f, + ); + fn_glMultiTexCoord3fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3fv"), + def_glMultiTexCoord3fv, + ); + fn_glMultiTexCoord3i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3i"), + def_glMultiTexCoord3i, + ); + fn_glMultiTexCoord3iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3iv"), + def_glMultiTexCoord3iv, + ); + fn_glMultiTexCoord3s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3s"), + def_glMultiTexCoord3s, + ); + fn_glMultiTexCoord3sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord3sv"), + def_glMultiTexCoord3sv, + ); + fn_glMultiTexCoord4d = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4d"), + def_glMultiTexCoord4d, + ); + fn_glMultiTexCoord4dv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4dv"), + def_glMultiTexCoord4dv, + ); + fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4f"), + def_glMultiTexCoord4f, + ); + fn_glMultiTexCoord4fv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4fv"), + def_glMultiTexCoord4fv, + ); + fn_glMultiTexCoord4i = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4i"), + def_glMultiTexCoord4i, + ); + fn_glMultiTexCoord4iv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4iv"), + def_glMultiTexCoord4iv, + ); + fn_glMultiTexCoord4s = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4s"), + def_glMultiTexCoord4s, + ); + fn_glMultiTexCoord4sv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4sv"), + def_glMultiTexCoord4sv, + ); + fn_glLoadTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixf"), + def_glLoadTransposeMatrixf, + ); + fn_glLoadTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glLoadTransposeMatrixd"), + def_glLoadTransposeMatrixd, + ); + fn_glMultTransposeMatrixf = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixf"), + def_glMultTransposeMatrixf, + ); + fn_glMultTransposeMatrixd = new Deno.UnsafeFnPointer( + proc("glMultTransposeMatrixd"), + def_glMultTransposeMatrixd, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glFogCoordf = new Deno.UnsafeFnPointer( + proc("glFogCoordf"), + def_glFogCoordf, + ); + fn_glFogCoordfv = new Deno.UnsafeFnPointer( + proc("glFogCoordfv"), + def_glFogCoordfv, + ); + fn_glFogCoordd = new Deno.UnsafeFnPointer( + proc("glFogCoordd"), + def_glFogCoordd, + ); + fn_glFogCoorddv = new Deno.UnsafeFnPointer( + proc("glFogCoorddv"), + def_glFogCoorddv, + ); + fn_glFogCoordPointer = new Deno.UnsafeFnPointer( + proc("glFogCoordPointer"), + def_glFogCoordPointer, + ); + fn_glSecondaryColor3b = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3b"), + def_glSecondaryColor3b, + ); + fn_glSecondaryColor3bv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3bv"), + def_glSecondaryColor3bv, + ); + fn_glSecondaryColor3d = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3d"), + def_glSecondaryColor3d, + ); + fn_glSecondaryColor3dv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3dv"), + def_glSecondaryColor3dv, + ); + fn_glSecondaryColor3f = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3f"), + def_glSecondaryColor3f, + ); + fn_glSecondaryColor3fv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3fv"), + def_glSecondaryColor3fv, + ); + fn_glSecondaryColor3i = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3i"), + def_glSecondaryColor3i, + ); + fn_glSecondaryColor3iv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3iv"), + def_glSecondaryColor3iv, + ); + fn_glSecondaryColor3s = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3s"), + def_glSecondaryColor3s, + ); + fn_glSecondaryColor3sv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3sv"), + def_glSecondaryColor3sv, + ); + fn_glSecondaryColor3ub = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ub"), + def_glSecondaryColor3ub, + ); + fn_glSecondaryColor3ubv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ubv"), + def_glSecondaryColor3ubv, + ); + fn_glSecondaryColor3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3ui"), + def_glSecondaryColor3ui, + ); + fn_glSecondaryColor3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3uiv"), + def_glSecondaryColor3uiv, + ); + fn_glSecondaryColor3us = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3us"), + def_glSecondaryColor3us, + ); + fn_glSecondaryColor3usv = new Deno.UnsafeFnPointer( + proc("glSecondaryColor3usv"), + def_glSecondaryColor3usv, + ); + fn_glSecondaryColorPointer = new Deno.UnsafeFnPointer( + proc("glSecondaryColorPointer"), + def_glSecondaryColorPointer, + ); + fn_glWindowPos2d = new Deno.UnsafeFnPointer( + proc("glWindowPos2d"), + def_glWindowPos2d, + ); + fn_glWindowPos2dv = new Deno.UnsafeFnPointer( + proc("glWindowPos2dv"), + def_glWindowPos2dv, + ); + fn_glWindowPos2f = new Deno.UnsafeFnPointer( + proc("glWindowPos2f"), + def_glWindowPos2f, + ); + fn_glWindowPos2fv = new Deno.UnsafeFnPointer( + proc("glWindowPos2fv"), + def_glWindowPos2fv, + ); + fn_glWindowPos2i = new Deno.UnsafeFnPointer( + proc("glWindowPos2i"), + def_glWindowPos2i, + ); + fn_glWindowPos2iv = new Deno.UnsafeFnPointer( + proc("glWindowPos2iv"), + def_glWindowPos2iv, + ); + fn_glWindowPos2s = new Deno.UnsafeFnPointer( + proc("glWindowPos2s"), + def_glWindowPos2s, + ); + fn_glWindowPos2sv = new Deno.UnsafeFnPointer( + proc("glWindowPos2sv"), + def_glWindowPos2sv, + ); + fn_glWindowPos3d = new Deno.UnsafeFnPointer( + proc("glWindowPos3d"), + def_glWindowPos3d, + ); + fn_glWindowPos3dv = new Deno.UnsafeFnPointer( + proc("glWindowPos3dv"), + def_glWindowPos3dv, + ); + fn_glWindowPos3f = new Deno.UnsafeFnPointer( + proc("glWindowPos3f"), + def_glWindowPos3f, + ); + fn_glWindowPos3fv = new Deno.UnsafeFnPointer( + proc("glWindowPos3fv"), + def_glWindowPos3fv, + ); + fn_glWindowPos3i = new Deno.UnsafeFnPointer( + proc("glWindowPos3i"), + def_glWindowPos3i, + ); + fn_glWindowPos3iv = new Deno.UnsafeFnPointer( + proc("glWindowPos3iv"), + def_glWindowPos3iv, + ); + fn_glWindowPos3s = new Deno.UnsafeFnPointer( + proc("glWindowPos3s"), + def_glWindowPos3s, + ); + fn_glWindowPos3sv = new Deno.UnsafeFnPointer( + proc("glWindowPos3sv"), + def_glWindowPos3sv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); + fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); + fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); + fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); + fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); + fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); + fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glClampColor = new Deno.UnsafeFnPointer( + proc("glClampColor"), + def_glClampColor, + ); + fn_glBeginConditionalRender = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRender"), + def_glBeginConditionalRender, + ); + fn_glEndConditionalRender = new Deno.UnsafeFnPointer( + proc("glEndConditionalRender"), + def_glEndConditionalRender, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI1i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1i"), + def_glVertexAttribI1i, + ); + fn_glVertexAttribI2i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2i"), + def_glVertexAttribI2i, + ); + fn_glVertexAttribI3i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3i"), + def_glVertexAttribI3i, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ui"), + def_glVertexAttribI1ui, + ); + fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ui"), + def_glVertexAttribI2ui, + ); + fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ui"), + def_glVertexAttribI3ui, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iv"), + def_glVertexAttribI1iv, + ); + fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iv"), + def_glVertexAttribI2iv, + ); + fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iv"), + def_glVertexAttribI3iv, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiv"), + def_glVertexAttribI1uiv, + ); + fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiv"), + def_glVertexAttribI2uiv, + ); + fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiv"), + def_glVertexAttribI3uiv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bv"), + def_glVertexAttribI4bv, + ); + fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4sv"), + def_glVertexAttribI4sv, + ); + fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubv"), + def_glVertexAttribI4ubv, + ); + fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usv"), + def_glVertexAttribI4usv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glBindFragDataLocation = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocation"), + def_glBindFragDataLocation, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); } diff --git a/api/gl4.1.ts b/api/gl4.1.ts index 27ce5f5..b0173a0 100644 --- a/api/gl4.1.ts +++ b/api/gl4.1.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1215,7 +1223,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1712,7 +1730,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1731,7 +1751,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1750,7 +1772,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1771,7 +1795,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -1958,7 +1984,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -1983,7 +2011,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -2035,7 +2065,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2136,7 +2176,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -2157,7 +2199,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2190,7 +2243,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2229,7 +2294,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -2288,11 +2355,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -2323,7 +2402,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -2352,7 +2433,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -2375,11 +2458,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -2410,11 +2507,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -2445,7 +2554,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -2472,7 +2583,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -2491,7 +2604,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -2533,7 +2648,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -2779,7 +2896,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -2959,7 +3078,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -2978,7 +3099,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -2997,7 +3120,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -3031,7 +3156,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -3052,7 +3179,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -3073,7 +3202,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -3107,7 +3238,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -3214,7 +3347,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -3229,7 +3364,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -3298,7 +3435,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -3319,7 +3458,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -3355,7 +3496,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -3437,7 +3580,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -3492,7 +3637,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -3511,7 +3658,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -3530,7 +3679,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -3549,7 +3700,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -4437,7 +4590,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -4454,7 +4609,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -4471,7 +4628,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -4693,7 +4852,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -4718,7 +4879,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -4739,7 +4902,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -4760,7 +4925,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -4781,7 +4948,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -4802,7 +4971,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -4823,7 +4994,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -4956,7 +5129,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -4971,7 +5146,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -5024,7 +5201,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -5045,7 +5224,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -5089,7 +5270,9 @@ export const def_glBeginConditionalRender = { result: "void", } as const; -let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRender +>; export function BeginConditionalRender( id: GLuint, @@ -5106,7 +5289,9 @@ export const def_glEndConditionalRender = { result: "void", } as const; -let fn_glEndConditionalRender!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRender +>; export function EndConditionalRender(): void { fn_glEndConditionalRender.call(); @@ -5117,7 +5302,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -5140,7 +5327,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -5159,7 +5348,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -5406,7 +5597,9 @@ export const def_glVertexAttribI1uiv = { result: "void", } as const; -let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiv +>; export function VertexAttribI1uiv( index: GLuint, @@ -5423,7 +5616,9 @@ export const def_glVertexAttribI2uiv = { result: "void", } as const; -let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiv +>; export function VertexAttribI2uiv( index: GLuint, @@ -5440,7 +5635,9 @@ export const def_glVertexAttribI3uiv = { result: "void", } as const; -let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiv +>; export function VertexAttribI3uiv( index: GLuint, @@ -5457,7 +5654,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -5508,7 +5707,9 @@ export const def_glVertexAttribI4ubv = { result: "void", } as const; -let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubv +>; export function VertexAttribI4ubv( index: GLuint, @@ -5525,7 +5726,9 @@ export const def_glVertexAttribI4usv = { result: "void", } as const; -let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usv +>; export function VertexAttribI4usv( index: GLuint, @@ -5561,7 +5764,9 @@ export const def_glBindFragDataLocation = { result: "void", } as const; -let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocation +>; export function BindFragDataLocation( program: GLuint, @@ -5580,7 +5785,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -5791,7 +5998,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -5810,7 +6019,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -5956,7 +6167,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -5990,7 +6203,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -6011,7 +6226,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -6062,7 +6279,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -6096,7 +6315,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -6111,7 +6332,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -6134,7 +6357,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -6157,7 +6382,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -6182,7 +6409,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -6203,7 +6432,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -6235,7 +6466,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -6272,7 +6514,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -6295,7 +6539,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -6339,7 +6585,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -6373,7 +6621,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -6422,7 +6672,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -6443,7 +6695,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -6485,7 +6739,9 @@ export const def_glPrimitiveRestartIndex = { result: "void", } as const; -let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartIndex +>; export function PrimitiveRestartIndex( index: GLuint, @@ -6500,7 +6756,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -6523,7 +6781,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -6544,7 +6804,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -6567,7 +6829,9 @@ export const def_glGetActiveUniformName = { result: "void", } as const; -let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformName +>; export function GetActiveUniformName( program: GLuint, @@ -6590,7 +6854,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -6607,7 +6873,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -6628,7 +6896,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -6651,7 +6921,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -6670,7 +6942,9 @@ export const def_glDrawElementsBaseVertex = { result: "void", } as const; -let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertex +>; export function DrawElementsBaseVertex( mode: GLenum, @@ -6693,7 +6967,9 @@ export const def_glDrawRangeElementsBaseVertex = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertex +>; export function DrawRangeElementsBaseVertex( mode: GLenum, @@ -6720,7 +6996,9 @@ export const def_glDrawElementsInstancedBaseVertex = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertex +>; export function DrawElementsInstancedBaseVertex( mode: GLenum, @@ -6745,7 +7023,9 @@ export const def_glMultiDrawElementsBaseVertex = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertex +>; export function MultiDrawElementsBaseVertex( mode: GLenum, @@ -6929,7 +7209,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -6948,7 +7230,9 @@ export const def_glFramebufferTexture = { result: "void", } as const; -let fn_glFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture +>; export function FramebufferTexture( target: GLenum, @@ -6969,7 +7253,9 @@ export const def_glTexImage2DMultisample = { result: "void", } as const; -let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage2DMultisample +>; export function TexImage2DMultisample( target: GLenum, @@ -6994,7 +7280,9 @@ export const def_glTexImage3DMultisample = { result: "void", } as const; -let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage3DMultisample +>; export function TexImage3DMultisample( target: GLenum, @@ -7057,7 +7345,9 @@ export const def_glBindFragDataLocationIndexed = { result: "void", } as const; -let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationIndexed +>; export function BindFragDataLocationIndexed( program: GLuint, @@ -7161,7 +7451,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -7180,7 +7472,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -7199,7 +7493,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -7218,7 +7514,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -7237,7 +7535,9 @@ export const def_glSamplerParameterIiv = { result: "void", } as const; -let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIiv +>; export function SamplerParameterIiv( sampler: GLuint, @@ -7256,7 +7556,9 @@ export const def_glSamplerParameterIuiv = { result: "void", } as const; -let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuiv +>; export function SamplerParameterIuiv( sampler: GLuint, @@ -7275,7 +7577,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -7294,7 +7598,9 @@ export const def_glGetSamplerParameterIiv = { result: "void", } as const; -let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIiv +>; export function GetSamplerParameterIiv( sampler: GLuint, @@ -7313,7 +7619,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -7332,7 +7640,9 @@ export const def_glGetSamplerParameterIuiv = { result: "void", } as const; -let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuiv +>; export function GetSamplerParameterIuiv( sampler: GLuint, @@ -7368,7 +7678,9 @@ export const def_glGetQueryObjecti64v = { result: "void", } as const; -let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjecti64v +>; export function GetQueryObjecti64v( id: GLuint, @@ -7387,7 +7699,9 @@ export const def_glGetQueryObjectui64v = { result: "void", } as const; -let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectui64v +>; export function GetQueryObjectui64v( id: GLuint, @@ -7406,7 +7720,9 @@ export const def_glVertexAttribDivisor = { result: "void", } as const; -let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisor +>; export function VertexAttribDivisor( index: GLuint, @@ -7444,7 +7760,9 @@ export const def_glVertexAttribP1uiv = { result: "void", } as const; -let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP1uiv +>; export function VertexAttribP1uiv( index: GLuint, @@ -7486,7 +7804,9 @@ export const def_glVertexAttribP2uiv = { result: "void", } as const; -let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP2uiv +>; export function VertexAttribP2uiv( index: GLuint, @@ -7528,7 +7848,9 @@ export const def_glVertexAttribP3uiv = { result: "void", } as const; -let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP3uiv +>; export function VertexAttribP3uiv( index: GLuint, @@ -7570,7 +7892,9 @@ export const def_glVertexAttribP4uiv = { result: "void", } as const; -let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP4uiv +>; export function VertexAttribP4uiv( index: GLuint, @@ -7829,7 +8153,9 @@ export const def_glMultiTexCoordP1ui = { result: "void", } as const; -let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1ui +>; export function MultiTexCoordP1ui( texture: GLenum, @@ -7848,7 +8174,9 @@ export const def_glMultiTexCoordP1uiv = { result: "void", } as const; -let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1uiv +>; export function MultiTexCoordP1uiv( texture: GLenum, @@ -7867,7 +8195,9 @@ export const def_glMultiTexCoordP2ui = { result: "void", } as const; -let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2ui +>; export function MultiTexCoordP2ui( texture: GLenum, @@ -7886,7 +8216,9 @@ export const def_glMultiTexCoordP2uiv = { result: "void", } as const; -let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2uiv +>; export function MultiTexCoordP2uiv( texture: GLenum, @@ -7905,7 +8237,9 @@ export const def_glMultiTexCoordP3ui = { result: "void", } as const; -let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3ui +>; export function MultiTexCoordP3ui( texture: GLenum, @@ -7924,7 +8258,9 @@ export const def_glMultiTexCoordP3uiv = { result: "void", } as const; -let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3uiv +>; export function MultiTexCoordP3uiv( texture: GLenum, @@ -7943,7 +8279,9 @@ export const def_glMultiTexCoordP4ui = { result: "void", } as const; -let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4ui +>; export function MultiTexCoordP4ui( texture: GLenum, @@ -7962,7 +8300,9 @@ export const def_glMultiTexCoordP4uiv = { result: "void", } as const; -let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4uiv +>; export function MultiTexCoordP4uiv( texture: GLenum, @@ -8083,7 +8423,9 @@ export const def_glSecondaryColorP3ui = { result: "void", } as const; -let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3ui +>; export function SecondaryColorP3ui( type: GLenum, @@ -8100,7 +8442,9 @@ export const def_glSecondaryColorP3uiv = { result: "void", } as const; -let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3uiv +>; export function SecondaryColorP3uiv( type: GLenum, @@ -8149,7 +8493,9 @@ export const def_glBlendEquationSeparatei = { result: "void", } as const; -let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparatei +>; export function BlendEquationSeparatei( buf: GLuint, @@ -8187,7 +8533,9 @@ export const def_glBlendFuncSeparatei = { result: "void", } as const; -let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparatei +>; export function BlendFuncSeparatei( buf: GLuint, @@ -8210,7 +8558,9 @@ export const def_glDrawArraysIndirect = { result: "void", } as const; -let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysIndirect +>; export function DrawArraysIndirect( mode: GLenum, @@ -8227,7 +8577,9 @@ export const def_glDrawElementsIndirect = { result: "void", } as const; -let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsIndirect +>; export function DrawElementsIndirect( mode: GLenum, @@ -8465,7 +8817,9 @@ export const def_glUniformMatrix2x3dv = { result: "void", } as const; -let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3dv +>; export function UniformMatrix2x3dv( location: GLint, @@ -8486,7 +8840,9 @@ export const def_glUniformMatrix2x4dv = { result: "void", } as const; -let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4dv +>; export function UniformMatrix2x4dv( location: GLint, @@ -8507,7 +8863,9 @@ export const def_glUniformMatrix3x2dv = { result: "void", } as const; -let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2dv +>; export function UniformMatrix3x2dv( location: GLint, @@ -8528,7 +8886,9 @@ export const def_glUniformMatrix3x4dv = { result: "void", } as const; -let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4dv +>; export function UniformMatrix3x4dv( location: GLint, @@ -8549,7 +8909,9 @@ export const def_glUniformMatrix4x2dv = { result: "void", } as const; -let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2dv +>; export function UniformMatrix4x2dv( location: GLint, @@ -8570,7 +8932,9 @@ export const def_glUniformMatrix4x3dv = { result: "void", } as const; -let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3dv +>; export function UniformMatrix4x3dv( location: GLint, @@ -8610,7 +8974,9 @@ export const def_glGetSubroutineUniformLocation = { result: "i32", } as const; -let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineUniformLocation +>; export function GetSubroutineUniformLocation( program: GLuint, @@ -8629,7 +8995,9 @@ export const def_glGetSubroutineIndex = { result: "u32", } as const; -let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineIndex +>; export function GetSubroutineIndex( program: GLuint, @@ -8648,7 +9016,9 @@ export const def_glGetActiveSubroutineUniformiv = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformiv +>; export function GetActiveSubroutineUniformiv( program: GLuint, @@ -8671,7 +9041,9 @@ export const def_glGetActiveSubroutineUniformName = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformName +>; export function GetActiveSubroutineUniformName( program: GLuint, @@ -8696,7 +9068,9 @@ export const def_glGetActiveSubroutineName = { result: "void", } as const; -let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineName +>; export function GetActiveSubroutineName( program: GLuint, @@ -8721,7 +9095,9 @@ export const def_glUniformSubroutinesuiv = { result: "void", } as const; -let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer; +let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer< + typeof def_glUniformSubroutinesuiv +>; export function UniformSubroutinesuiv( shadertype: GLenum, @@ -8740,7 +9116,9 @@ export const def_glGetUniformSubroutineuiv = { result: "void", } as const; -let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer; +let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer< + typeof def_glGetUniformSubroutineuiv +>; export function GetUniformSubroutineuiv( shadertype: GLenum, @@ -8759,7 +9137,9 @@ export const def_glGetProgramStageiv = { result: "void", } as const; -let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramStageiv +>; export function GetProgramStageiv( program: GLuint, @@ -8814,7 +9194,9 @@ export const def_glBindTransformFeedback = { result: "void", } as const; -let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedback +>; export function BindTransformFeedback( target: GLenum, @@ -8831,7 +9213,9 @@ export const def_glDeleteTransformFeedbacks = { result: "void", } as const; -let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacks +>; export function DeleteTransformFeedbacks( n: GLsizei, @@ -8848,7 +9232,9 @@ export const def_glGenTransformFeedbacks = { result: "void", } as const; -let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacks +>; export function GenTransformFeedbacks( n: GLsizei, @@ -8865,7 +9251,9 @@ export const def_glIsTransformFeedback = { result: "u8", } as const; -let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedback +>; export function IsTransformFeedback( id: GLuint, @@ -8880,7 +9268,9 @@ export const def_glPauseTransformFeedback = { result: "void", } as const; -let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedback +>; export function PauseTransformFeedback(): void { fn_glPauseTransformFeedback.call(); @@ -8891,7 +9281,9 @@ export const def_glResumeTransformFeedback = { result: "void", } as const; -let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedback +>; export function ResumeTransformFeedback(): void { fn_glResumeTransformFeedback.call(); @@ -8902,7 +9294,9 @@ export const def_glDrawTransformFeedback = { result: "void", } as const; -let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedback +>; export function DrawTransformFeedback( mode: GLenum, @@ -8919,7 +9313,9 @@ export const def_glDrawTransformFeedbackStream = { result: "void", } as const; -let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStream +>; export function DrawTransformFeedbackStream( mode: GLenum, @@ -8938,7 +9334,9 @@ export const def_glBeginQueryIndexed = { result: "void", } as const; -let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer; +let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer< + typeof def_glBeginQueryIndexed +>; export function BeginQueryIndexed( target: GLenum, @@ -8974,7 +9372,9 @@ export const def_glGetQueryIndexediv = { result: "void", } as const; -let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer; +let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryIndexediv +>; export function GetQueryIndexediv( target: GLenum, @@ -8995,7 +9395,9 @@ export const def_glReleaseShaderCompiler = { result: "void", } as const; -let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer; +let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer< + typeof def_glReleaseShaderCompiler +>; export function ReleaseShaderCompiler(): void { fn_glReleaseShaderCompiler.call(); @@ -9029,7 +9431,9 @@ export const def_glGetShaderPrecisionFormat = { result: "void", } as const; -let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer; +let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer< + typeof def_glGetShaderPrecisionFormat +>; export function GetShaderPrecisionFormat( shadertype: GLenum, @@ -9126,7 +9530,9 @@ export const def_glProgramParameteri = { result: "void", } as const; -let fn_glProgramParameteri!: Deno.UnsafeFnPointer; +let fn_glProgramParameteri!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteri +>; export function ProgramParameteri( program: GLuint, @@ -9164,7 +9570,9 @@ export const def_glActiveShaderProgram = { result: "void", } as const; -let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer; +let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer< + typeof def_glActiveShaderProgram +>; export function ActiveShaderProgram( pipeline: GLuint, @@ -9181,7 +9589,9 @@ export const def_glCreateShaderProgramv = { result: "u32", } as const; -let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer; +let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderProgramv +>; export function CreateShaderProgramv( type: GLenum, @@ -9200,7 +9610,9 @@ export const def_glBindProgramPipeline = { result: "void", } as const; -let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glBindProgramPipeline +>; export function BindProgramPipeline( pipeline: GLuint, @@ -9215,7 +9627,9 @@ export const def_glDeleteProgramPipelines = { result: "void", } as const; -let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramPipelines +>; export function DeleteProgramPipelines( n: GLsizei, @@ -9232,7 +9646,9 @@ export const def_glGenProgramPipelines = { result: "void", } as const; -let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glGenProgramPipelines +>; export function GenProgramPipelines( n: GLsizei, @@ -9249,7 +9665,9 @@ export const def_glIsProgramPipeline = { result: "u8", } as const; -let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glIsProgramPipeline +>; export function IsProgramPipeline( pipeline: GLuint, @@ -9264,7 +9682,9 @@ export const def_glGetProgramPipelineiv = { result: "void", } as const; -let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineiv +>; export function GetProgramPipelineiv( pipeline: GLuint, @@ -9302,7 +9722,9 @@ export const def_glProgramUniform1iv = { result: "void", } as const; -let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1iv +>; export function ProgramUniform1iv( program: GLuint, @@ -9342,7 +9764,9 @@ export const def_glProgramUniform1fv = { result: "void", } as const; -let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fv +>; export function ProgramUniform1fv( program: GLuint, @@ -9382,7 +9806,9 @@ export const def_glProgramUniform1dv = { result: "void", } as const; -let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1dv +>; export function ProgramUniform1dv( program: GLuint, @@ -9403,7 +9829,9 @@ export const def_glProgramUniform1ui = { result: "void", } as const; -let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui +>; export function ProgramUniform1ui( program: GLuint, @@ -9422,7 +9850,9 @@ export const def_glProgramUniform1uiv = { result: "void", } as const; -let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uiv +>; export function ProgramUniform1uiv( program: GLuint, @@ -9464,7 +9894,9 @@ export const def_glProgramUniform2iv = { result: "void", } as const; -let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2iv +>; export function ProgramUniform2iv( program: GLuint, @@ -9506,7 +9938,9 @@ export const def_glProgramUniform2fv = { result: "void", } as const; -let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fv +>; export function ProgramUniform2fv( program: GLuint, @@ -9548,7 +9982,9 @@ export const def_glProgramUniform2dv = { result: "void", } as const; -let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2dv +>; export function ProgramUniform2dv( program: GLuint, @@ -9569,7 +10005,9 @@ export const def_glProgramUniform2ui = { result: "void", } as const; -let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui +>; export function ProgramUniform2ui( program: GLuint, @@ -9590,7 +10028,9 @@ export const def_glProgramUniform2uiv = { result: "void", } as const; -let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uiv +>; export function ProgramUniform2uiv( program: GLuint, @@ -9634,7 +10074,9 @@ export const def_glProgramUniform3iv = { result: "void", } as const; -let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3iv +>; export function ProgramUniform3iv( program: GLuint, @@ -9678,7 +10120,9 @@ export const def_glProgramUniform3fv = { result: "void", } as const; -let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fv +>; export function ProgramUniform3fv( program: GLuint, @@ -9722,7 +10166,9 @@ export const def_glProgramUniform3dv = { result: "void", } as const; -let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3dv +>; export function ProgramUniform3dv( program: GLuint, @@ -9743,7 +10189,9 @@ export const def_glProgramUniform3ui = { result: "void", } as const; -let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui +>; export function ProgramUniform3ui( program: GLuint, @@ -9766,7 +10214,9 @@ export const def_glProgramUniform3uiv = { result: "void", } as const; -let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uiv +>; export function ProgramUniform3uiv( program: GLuint, @@ -9812,7 +10262,9 @@ export const def_glProgramUniform4iv = { result: "void", } as const; -let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4iv +>; export function ProgramUniform4iv( program: GLuint, @@ -9858,7 +10310,9 @@ export const def_glProgramUniform4fv = { result: "void", } as const; -let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fv +>; export function ProgramUniform4fv( program: GLuint, @@ -9904,7 +10358,9 @@ export const def_glProgramUniform4dv = { result: "void", } as const; -let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4dv +>; export function ProgramUniform4dv( program: GLuint, @@ -9925,7 +10381,9 @@ export const def_glProgramUniform4ui = { result: "void", } as const; -let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui +>; export function ProgramUniform4ui( program: GLuint, @@ -9950,7 +10408,9 @@ export const def_glProgramUniform4uiv = { result: "void", } as const; -let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uiv +>; export function ProgramUniform4uiv( program: GLuint, @@ -9971,7 +10431,9 @@ export const def_glProgramUniformMatrix2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2fv +>; export function ProgramUniformMatrix2fv( program: GLuint, @@ -9994,7 +10456,9 @@ export const def_glProgramUniformMatrix3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3fv +>; export function ProgramUniformMatrix3fv( program: GLuint, @@ -10017,7 +10481,9 @@ export const def_glProgramUniformMatrix4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4fv +>; export function ProgramUniformMatrix4fv( program: GLuint, @@ -10040,7 +10506,9 @@ export const def_glProgramUniformMatrix2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2dv +>; export function ProgramUniformMatrix2dv( program: GLuint, @@ -10063,7 +10531,9 @@ export const def_glProgramUniformMatrix3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3dv +>; export function ProgramUniformMatrix3dv( program: GLuint, @@ -10086,7 +10556,9 @@ export const def_glProgramUniformMatrix4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4dv +>; export function ProgramUniformMatrix4dv( program: GLuint, @@ -10109,7 +10581,9 @@ export const def_glProgramUniformMatrix2x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3fv +>; export function ProgramUniformMatrix2x3fv( program: GLuint, @@ -10132,7 +10606,9 @@ export const def_glProgramUniformMatrix3x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2fv +>; export function ProgramUniformMatrix3x2fv( program: GLuint, @@ -10155,7 +10631,9 @@ export const def_glProgramUniformMatrix2x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4fv +>; export function ProgramUniformMatrix2x4fv( program: GLuint, @@ -10178,7 +10656,9 @@ export const def_glProgramUniformMatrix4x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2fv +>; export function ProgramUniformMatrix4x2fv( program: GLuint, @@ -10201,7 +10681,9 @@ export const def_glProgramUniformMatrix3x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4fv +>; export function ProgramUniformMatrix3x4fv( program: GLuint, @@ -10224,7 +10706,9 @@ export const def_glProgramUniformMatrix4x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3fv +>; export function ProgramUniformMatrix4x3fv( program: GLuint, @@ -10247,7 +10731,9 @@ export const def_glProgramUniformMatrix2x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3dv +>; export function ProgramUniformMatrix2x3dv( program: GLuint, @@ -10270,7 +10756,9 @@ export const def_glProgramUniformMatrix3x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2dv +>; export function ProgramUniformMatrix3x2dv( program: GLuint, @@ -10293,7 +10781,9 @@ export const def_glProgramUniformMatrix2x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4dv +>; export function ProgramUniformMatrix2x4dv( program: GLuint, @@ -10316,7 +10806,9 @@ export const def_glProgramUniformMatrix4x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2dv +>; export function ProgramUniformMatrix4x2dv( program: GLuint, @@ -10339,7 +10831,9 @@ export const def_glProgramUniformMatrix3x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4dv +>; export function ProgramUniformMatrix3x4dv( program: GLuint, @@ -10362,7 +10856,9 @@ export const def_glProgramUniformMatrix4x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3dv +>; export function ProgramUniformMatrix4x3dv( program: GLuint, @@ -10385,7 +10881,9 @@ export const def_glValidateProgramPipeline = { result: "void", } as const; -let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glValidateProgramPipeline +>; export function ValidateProgramPipeline( pipeline: GLuint, @@ -10400,7 +10898,9 @@ export const def_glGetProgramPipelineInfoLog = { result: "void", } as const; -let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineInfoLog +>; export function GetProgramPipelineInfoLog( pipeline: GLuint, @@ -10569,7 +11069,9 @@ export const def_glVertexAttribLPointer = { result: "void", } as const; -let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLPointer +>; export function VertexAttribLPointer( index: GLuint, @@ -10592,7 +11094,9 @@ export const def_glGetVertexAttribLdv = { result: "void", } as const; -let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribLdv +>; export function GetVertexAttribLdv( index: GLuint, @@ -10653,7 +11157,9 @@ export const def_glViewportIndexedfv = { result: "void", } as const; -let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer; +let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer< + typeof def_glViewportIndexedfv +>; export function ViewportIndexedfv( index: GLuint, @@ -10748,7 +11254,9 @@ export const def_glDepthRangeIndexed = { result: "void", } as const; -let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer; +let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeIndexed +>; export function DepthRangeIndexed( index: GLuint, @@ -10803,511 +11311,1978 @@ export function GetDoublei_v( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glClampColor = new Deno.UnsafeFnPointer(proc("glClampColor"), def_glClampColor); - fn_glBeginConditionalRender = new Deno.UnsafeFnPointer(proc("glBeginConditionalRender"), def_glBeginConditionalRender); - fn_glEndConditionalRender = new Deno.UnsafeFnPointer(proc("glEndConditionalRender"), def_glEndConditionalRender); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI1i = new Deno.UnsafeFnPointer(proc("glVertexAttribI1i"), def_glVertexAttribI1i); - fn_glVertexAttribI2i = new Deno.UnsafeFnPointer(proc("glVertexAttribI2i"), def_glVertexAttribI2i); - fn_glVertexAttribI3i = new Deno.UnsafeFnPointer(proc("glVertexAttribI3i"), def_glVertexAttribI3i); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ui"), def_glVertexAttribI1ui); - fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ui"), def_glVertexAttribI2ui); - fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ui"), def_glVertexAttribI3ui); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iv"), def_glVertexAttribI1iv); - fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iv"), def_glVertexAttribI2iv); - fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iv"), def_glVertexAttribI3iv); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiv"), def_glVertexAttribI1uiv); - fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiv"), def_glVertexAttribI2uiv); - fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiv"), def_glVertexAttribI3uiv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bv"), def_glVertexAttribI4bv); - fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4sv"), def_glVertexAttribI4sv); - fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubv"), def_glVertexAttribI4ubv); - fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usv"), def_glVertexAttribI4usv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glBindFragDataLocation = new Deno.UnsafeFnPointer(proc("glBindFragDataLocation"), def_glBindFragDataLocation); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glTexBuffer = new Deno.UnsafeFnPointer(proc("glTexBuffer"), def_glTexBuffer); - fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartIndex"), def_glPrimitiveRestartIndex); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetActiveUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformName"), def_glGetActiveUniformName); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertex"), def_glDrawElementsBaseVertex); - fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertex"), def_glDrawRangeElementsBaseVertex); - fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertex"), def_glDrawElementsInstancedBaseVertex); - fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertex"), def_glMultiDrawElementsBaseVertex); - fn_glProvokingVertex = new Deno.UnsafeFnPointer(proc("glProvokingVertex"), def_glProvokingVertex); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glClampColor = new Deno.UnsafeFnPointer( + proc("glClampColor"), + def_glClampColor, + ); + fn_glBeginConditionalRender = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRender"), + def_glBeginConditionalRender, + ); + fn_glEndConditionalRender = new Deno.UnsafeFnPointer( + proc("glEndConditionalRender"), + def_glEndConditionalRender, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI1i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1i"), + def_glVertexAttribI1i, + ); + fn_glVertexAttribI2i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2i"), + def_glVertexAttribI2i, + ); + fn_glVertexAttribI3i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3i"), + def_glVertexAttribI3i, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ui"), + def_glVertexAttribI1ui, + ); + fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ui"), + def_glVertexAttribI2ui, + ); + fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ui"), + def_glVertexAttribI3ui, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iv"), + def_glVertexAttribI1iv, + ); + fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iv"), + def_glVertexAttribI2iv, + ); + fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iv"), + def_glVertexAttribI3iv, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiv"), + def_glVertexAttribI1uiv, + ); + fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiv"), + def_glVertexAttribI2uiv, + ); + fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiv"), + def_glVertexAttribI3uiv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bv"), + def_glVertexAttribI4bv, + ); + fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4sv"), + def_glVertexAttribI4sv, + ); + fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubv"), + def_glVertexAttribI4ubv, + ); + fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usv"), + def_glVertexAttribI4usv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glBindFragDataLocation = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocation"), + def_glBindFragDataLocation, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glTexBuffer = new Deno.UnsafeFnPointer( + proc("glTexBuffer"), + def_glTexBuffer, + ); + fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartIndex"), + def_glPrimitiveRestartIndex, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetActiveUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformName"), + def_glGetActiveUniformName, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertex"), + def_glDrawElementsBaseVertex, + ); + fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertex"), + def_glDrawRangeElementsBaseVertex, + ); + fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertex"), + def_glDrawElementsInstancedBaseVertex, + ); + fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertex"), + def_glMultiDrawElementsBaseVertex, + ); + fn_glProvokingVertex = new Deno.UnsafeFnPointer( + proc("glProvokingVertex"), + def_glProvokingVertex, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glFramebufferTexture = new Deno.UnsafeFnPointer(proc("glFramebufferTexture"), def_glFramebufferTexture); - fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage2DMultisample"), def_glTexImage2DMultisample); - fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage3DMultisample"), def_glTexImage3DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); - fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationIndexed"), def_glBindFragDataLocationIndexed); - fn_glGetFragDataIndex = new Deno.UnsafeFnPointer(proc("glGetFragDataIndex"), def_glGetFragDataIndex); - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIiv"), def_glSamplerParameterIiv); - fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuiv"), def_glSamplerParameterIuiv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIiv"), def_glGetSamplerParameterIiv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuiv"), def_glGetSamplerParameterIuiv); - fn_glQueryCounter = new Deno.UnsafeFnPointer(proc("glQueryCounter"), def_glQueryCounter); - fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjecti64v"), def_glGetQueryObjecti64v); - fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjectui64v"), def_glGetQueryObjectui64v); - fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisor"), def_glVertexAttribDivisor); - fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP1ui"), def_glVertexAttribP1ui); - fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP1uiv"), def_glVertexAttribP1uiv); - fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP2ui"), def_glVertexAttribP2ui); - fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP2uiv"), def_glVertexAttribP2uiv); - fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP3ui"), def_glVertexAttribP3ui); - fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP3uiv"), def_glVertexAttribP3uiv); - fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP4ui"), def_glVertexAttribP4ui); - fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP4uiv"), def_glVertexAttribP4uiv); - fn_glVertexP2ui = new Deno.UnsafeFnPointer(proc("glVertexP2ui"), def_glVertexP2ui); - fn_glVertexP2uiv = new Deno.UnsafeFnPointer(proc("glVertexP2uiv"), def_glVertexP2uiv); - fn_glVertexP3ui = new Deno.UnsafeFnPointer(proc("glVertexP3ui"), def_glVertexP3ui); - fn_glVertexP3uiv = new Deno.UnsafeFnPointer(proc("glVertexP3uiv"), def_glVertexP3uiv); - fn_glVertexP4ui = new Deno.UnsafeFnPointer(proc("glVertexP4ui"), def_glVertexP4ui); - fn_glVertexP4uiv = new Deno.UnsafeFnPointer(proc("glVertexP4uiv"), def_glVertexP4uiv); - fn_glTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glTexCoordP1ui"), def_glTexCoordP1ui); - fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP1uiv"), def_glTexCoordP1uiv); - fn_glTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glTexCoordP2ui"), def_glTexCoordP2ui); - fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP2uiv"), def_glTexCoordP2uiv); - fn_glTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glTexCoordP3ui"), def_glTexCoordP3ui); - fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP3uiv"), def_glTexCoordP3uiv); - fn_glTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glTexCoordP4ui"), def_glTexCoordP4ui); - fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP4uiv"), def_glTexCoordP4uiv); - fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1ui"), def_glMultiTexCoordP1ui); - fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1uiv"), def_glMultiTexCoordP1uiv); - fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2ui"), def_glMultiTexCoordP2ui); - fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2uiv"), def_glMultiTexCoordP2uiv); - fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3ui"), def_glMultiTexCoordP3ui); - fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3uiv"), def_glMultiTexCoordP3uiv); - fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4ui"), def_glMultiTexCoordP4ui); - fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4uiv"), def_glMultiTexCoordP4uiv); - fn_glNormalP3ui = new Deno.UnsafeFnPointer(proc("glNormalP3ui"), def_glNormalP3ui); - fn_glNormalP3uiv = new Deno.UnsafeFnPointer(proc("glNormalP3uiv"), def_glNormalP3uiv); - fn_glColorP3ui = new Deno.UnsafeFnPointer(proc("glColorP3ui"), def_glColorP3ui); - fn_glColorP3uiv = new Deno.UnsafeFnPointer(proc("glColorP3uiv"), def_glColorP3uiv); - fn_glColorP4ui = new Deno.UnsafeFnPointer(proc("glColorP4ui"), def_glColorP4ui); - fn_glColorP4uiv = new Deno.UnsafeFnPointer(proc("glColorP4uiv"), def_glColorP4uiv); - fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3ui"), def_glSecondaryColorP3ui); - fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3uiv"), def_glSecondaryColorP3uiv); - fn_glMinSampleShading = new Deno.UnsafeFnPointer(proc("glMinSampleShading"), def_glMinSampleShading); - fn_glBlendEquationi = new Deno.UnsafeFnPointer(proc("glBlendEquationi"), def_glBlendEquationi); - fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparatei"), def_glBlendEquationSeparatei); - fn_glBlendFunci = new Deno.UnsafeFnPointer(proc("glBlendFunci"), def_glBlendFunci); - fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparatei"), def_glBlendFuncSeparatei); - fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glDrawArraysIndirect"), def_glDrawArraysIndirect); - fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glDrawElementsIndirect"), def_glDrawElementsIndirect); - fn_glUniform1d = new Deno.UnsafeFnPointer(proc("glUniform1d"), def_glUniform1d); - fn_glUniform2d = new Deno.UnsafeFnPointer(proc("glUniform2d"), def_glUniform2d); - fn_glUniform3d = new Deno.UnsafeFnPointer(proc("glUniform3d"), def_glUniform3d); - fn_glUniform4d = new Deno.UnsafeFnPointer(proc("glUniform4d"), def_glUniform4d); - fn_glUniform1dv = new Deno.UnsafeFnPointer(proc("glUniform1dv"), def_glUniform1dv); - fn_glUniform2dv = new Deno.UnsafeFnPointer(proc("glUniform2dv"), def_glUniform2dv); - fn_glUniform3dv = new Deno.UnsafeFnPointer(proc("glUniform3dv"), def_glUniform3dv); - fn_glUniform4dv = new Deno.UnsafeFnPointer(proc("glUniform4dv"), def_glUniform4dv); - fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2dv"), def_glUniformMatrix2dv); - fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3dv"), def_glUniformMatrix3dv); - fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4dv"), def_glUniformMatrix4dv); - fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3dv"), def_glUniformMatrix2x3dv); - fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4dv"), def_glUniformMatrix2x4dv); - fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2dv"), def_glUniformMatrix3x2dv); - fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4dv"), def_glUniformMatrix3x4dv); - fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2dv"), def_glUniformMatrix4x2dv); - fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3dv"), def_glUniformMatrix4x3dv); - fn_glGetUniformdv = new Deno.UnsafeFnPointer(proc("glGetUniformdv"), def_glGetUniformdv); - fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer(proc("glGetSubroutineUniformLocation"), def_glGetSubroutineUniformLocation); - fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer(proc("glGetSubroutineIndex"), def_glGetSubroutineIndex); - fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformiv"), def_glGetActiveSubroutineUniformiv); - fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformName"), def_glGetActiveSubroutineUniformName); - fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineName"), def_glGetActiveSubroutineName); - fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer(proc("glUniformSubroutinesuiv"), def_glUniformSubroutinesuiv); - fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer(proc("glGetUniformSubroutineuiv"), def_glGetUniformSubroutineuiv); - fn_glGetProgramStageiv = new Deno.UnsafeFnPointer(proc("glGetProgramStageiv"), def_glGetProgramStageiv); - fn_glPatchParameteri = new Deno.UnsafeFnPointer(proc("glPatchParameteri"), def_glPatchParameteri); - fn_glPatchParameterfv = new Deno.UnsafeFnPointer(proc("glPatchParameterfv"), def_glPatchParameterfv); - fn_glBindTransformFeedback = new Deno.UnsafeFnPointer(proc("glBindTransformFeedback"), def_glBindTransformFeedback); - fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacks"), def_glDeleteTransformFeedbacks); - fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacks"), def_glGenTransformFeedbacks); - fn_glIsTransformFeedback = new Deno.UnsafeFnPointer(proc("glIsTransformFeedback"), def_glIsTransformFeedback); - fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedback"), def_glPauseTransformFeedback); - fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedback"), def_glResumeTransformFeedback); - fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedback"), def_glDrawTransformFeedback); - fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStream"), def_glDrawTransformFeedbackStream); - fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer(proc("glBeginQueryIndexed"), def_glBeginQueryIndexed); - fn_glEndQueryIndexed = new Deno.UnsafeFnPointer(proc("glEndQueryIndexed"), def_glEndQueryIndexed); - fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer(proc("glGetQueryIndexediv"), def_glGetQueryIndexediv); - fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer(proc("glReleaseShaderCompiler"), def_glReleaseShaderCompiler); - fn_glShaderBinary = new Deno.UnsafeFnPointer(proc("glShaderBinary"), def_glShaderBinary); - fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer(proc("glGetShaderPrecisionFormat"), def_glGetShaderPrecisionFormat); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glGetProgramBinary = new Deno.UnsafeFnPointer(proc("glGetProgramBinary"), def_glGetProgramBinary); - fn_glProgramBinary = new Deno.UnsafeFnPointer(proc("glProgramBinary"), def_glProgramBinary); - fn_glProgramParameteri = new Deno.UnsafeFnPointer(proc("glProgramParameteri"), def_glProgramParameteri); - fn_glUseProgramStages = new Deno.UnsafeFnPointer(proc("glUseProgramStages"), def_glUseProgramStages); - fn_glActiveShaderProgram = new Deno.UnsafeFnPointer(proc("glActiveShaderProgram"), def_glActiveShaderProgram); - fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer(proc("glCreateShaderProgramv"), def_glCreateShaderProgramv); - fn_glBindProgramPipeline = new Deno.UnsafeFnPointer(proc("glBindProgramPipeline"), def_glBindProgramPipeline); - fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer(proc("glDeleteProgramPipelines"), def_glDeleteProgramPipelines); - fn_glGenProgramPipelines = new Deno.UnsafeFnPointer(proc("glGenProgramPipelines"), def_glGenProgramPipelines); - fn_glIsProgramPipeline = new Deno.UnsafeFnPointer(proc("glIsProgramPipeline"), def_glIsProgramPipeline); - fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineiv"), def_glGetProgramPipelineiv); - fn_glProgramUniform1i = new Deno.UnsafeFnPointer(proc("glProgramUniform1i"), def_glProgramUniform1i); - fn_glProgramUniform1iv = new Deno.UnsafeFnPointer(proc("glProgramUniform1iv"), def_glProgramUniform1iv); - fn_glProgramUniform1f = new Deno.UnsafeFnPointer(proc("glProgramUniform1f"), def_glProgramUniform1f); - fn_glProgramUniform1fv = new Deno.UnsafeFnPointer(proc("glProgramUniform1fv"), def_glProgramUniform1fv); - fn_glProgramUniform1d = new Deno.UnsafeFnPointer(proc("glProgramUniform1d"), def_glProgramUniform1d); - fn_glProgramUniform1dv = new Deno.UnsafeFnPointer(proc("glProgramUniform1dv"), def_glProgramUniform1dv); - fn_glProgramUniform1ui = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui"), def_glProgramUniform1ui); - fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform1uiv"), def_glProgramUniform1uiv); - fn_glProgramUniform2i = new Deno.UnsafeFnPointer(proc("glProgramUniform2i"), def_glProgramUniform2i); - fn_glProgramUniform2iv = new Deno.UnsafeFnPointer(proc("glProgramUniform2iv"), def_glProgramUniform2iv); - fn_glProgramUniform2f = new Deno.UnsafeFnPointer(proc("glProgramUniform2f"), def_glProgramUniform2f); - fn_glProgramUniform2fv = new Deno.UnsafeFnPointer(proc("glProgramUniform2fv"), def_glProgramUniform2fv); - fn_glProgramUniform2d = new Deno.UnsafeFnPointer(proc("glProgramUniform2d"), def_glProgramUniform2d); - fn_glProgramUniform2dv = new Deno.UnsafeFnPointer(proc("glProgramUniform2dv"), def_glProgramUniform2dv); - fn_glProgramUniform2ui = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui"), def_glProgramUniform2ui); - fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform2uiv"), def_glProgramUniform2uiv); - fn_glProgramUniform3i = new Deno.UnsafeFnPointer(proc("glProgramUniform3i"), def_glProgramUniform3i); - fn_glProgramUniform3iv = new Deno.UnsafeFnPointer(proc("glProgramUniform3iv"), def_glProgramUniform3iv); - fn_glProgramUniform3f = new Deno.UnsafeFnPointer(proc("glProgramUniform3f"), def_glProgramUniform3f); - fn_glProgramUniform3fv = new Deno.UnsafeFnPointer(proc("glProgramUniform3fv"), def_glProgramUniform3fv); - fn_glProgramUniform3d = new Deno.UnsafeFnPointer(proc("glProgramUniform3d"), def_glProgramUniform3d); - fn_glProgramUniform3dv = new Deno.UnsafeFnPointer(proc("glProgramUniform3dv"), def_glProgramUniform3dv); - fn_glProgramUniform3ui = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui"), def_glProgramUniform3ui); - fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform3uiv"), def_glProgramUniform3uiv); - fn_glProgramUniform4i = new Deno.UnsafeFnPointer(proc("glProgramUniform4i"), def_glProgramUniform4i); - fn_glProgramUniform4iv = new Deno.UnsafeFnPointer(proc("glProgramUniform4iv"), def_glProgramUniform4iv); - fn_glProgramUniform4f = new Deno.UnsafeFnPointer(proc("glProgramUniform4f"), def_glProgramUniform4f); - fn_glProgramUniform4fv = new Deno.UnsafeFnPointer(proc("glProgramUniform4fv"), def_glProgramUniform4fv); - fn_glProgramUniform4d = new Deno.UnsafeFnPointer(proc("glProgramUniform4d"), def_glProgramUniform4d); - fn_glProgramUniform4dv = new Deno.UnsafeFnPointer(proc("glProgramUniform4dv"), def_glProgramUniform4dv); - fn_glProgramUniform4ui = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui"), def_glProgramUniform4ui); - fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform4uiv"), def_glProgramUniform4uiv); - fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2fv"), def_glProgramUniformMatrix2fv); - fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3fv"), def_glProgramUniformMatrix3fv); - fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4fv"), def_glProgramUniformMatrix4fv); - fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2dv"), def_glProgramUniformMatrix2dv); - fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3dv"), def_glProgramUniformMatrix3dv); - fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4dv"), def_glProgramUniformMatrix4dv); - fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3fv"), def_glProgramUniformMatrix2x3fv); - fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2fv"), def_glProgramUniformMatrix3x2fv); - fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4fv"), def_glProgramUniformMatrix2x4fv); - fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2fv"), def_glProgramUniformMatrix4x2fv); - fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4fv"), def_glProgramUniformMatrix3x4fv); - fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3fv"), def_glProgramUniformMatrix4x3fv); - fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3dv"), def_glProgramUniformMatrix2x3dv); - fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2dv"), def_glProgramUniformMatrix3x2dv); - fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4dv"), def_glProgramUniformMatrix2x4dv); - fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2dv"), def_glProgramUniformMatrix4x2dv); - fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4dv"), def_glProgramUniformMatrix3x4dv); - fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3dv"), def_glProgramUniformMatrix4x3dv); - fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer(proc("glValidateProgramPipeline"), def_glValidateProgramPipeline); - fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineInfoLog"), def_glGetProgramPipelineInfoLog); - fn_glVertexAttribL1d = new Deno.UnsafeFnPointer(proc("glVertexAttribL1d"), def_glVertexAttribL1d); - fn_glVertexAttribL2d = new Deno.UnsafeFnPointer(proc("glVertexAttribL2d"), def_glVertexAttribL2d); - fn_glVertexAttribL3d = new Deno.UnsafeFnPointer(proc("glVertexAttribL3d"), def_glVertexAttribL3d); - fn_glVertexAttribL4d = new Deno.UnsafeFnPointer(proc("glVertexAttribL4d"), def_glVertexAttribL4d); - fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL1dv"), def_glVertexAttribL1dv); - fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL2dv"), def_glVertexAttribL2dv); - fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL3dv"), def_glVertexAttribL3dv); - fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL4dv"), def_glVertexAttribL4dv); - fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribLPointer"), def_glVertexAttribLPointer); - fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribLdv"), def_glGetVertexAttribLdv); - fn_glViewportArrayv = new Deno.UnsafeFnPointer(proc("glViewportArrayv"), def_glViewportArrayv); - fn_glViewportIndexedf = new Deno.UnsafeFnPointer(proc("glViewportIndexedf"), def_glViewportIndexedf); - fn_glViewportIndexedfv = new Deno.UnsafeFnPointer(proc("glViewportIndexedfv"), def_glViewportIndexedfv); - fn_glScissorArrayv = new Deno.UnsafeFnPointer(proc("glScissorArrayv"), def_glScissorArrayv); - fn_glScissorIndexed = new Deno.UnsafeFnPointer(proc("glScissorIndexed"), def_glScissorIndexed); - fn_glScissorIndexedv = new Deno.UnsafeFnPointer(proc("glScissorIndexedv"), def_glScissorIndexedv); - fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer(proc("glDepthRangeArrayv"), def_glDepthRangeArrayv); - fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer(proc("glDepthRangeIndexed"), def_glDepthRangeIndexed); - fn_glGetFloati_v = new Deno.UnsafeFnPointer(proc("glGetFloati_v"), def_glGetFloati_v); - fn_glGetDoublei_v = new Deno.UnsafeFnPointer(proc("glGetDoublei_v"), def_glGetDoublei_v); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture"), + def_glFramebufferTexture, + ); + fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage2DMultisample"), + def_glTexImage2DMultisample, + ); + fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage3DMultisample"), + def_glTexImage3DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); + fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationIndexed"), + def_glBindFragDataLocationIndexed, + ); + fn_glGetFragDataIndex = new Deno.UnsafeFnPointer( + proc("glGetFragDataIndex"), + def_glGetFragDataIndex, + ); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIiv"), + def_glSamplerParameterIiv, + ); + fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuiv"), + def_glSamplerParameterIuiv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIiv"), + def_glGetSamplerParameterIiv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuiv"), + def_glGetSamplerParameterIuiv, + ); + fn_glQueryCounter = new Deno.UnsafeFnPointer( + proc("glQueryCounter"), + def_glQueryCounter, + ); + fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjecti64v"), + def_glGetQueryObjecti64v, + ); + fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectui64v"), + def_glGetQueryObjectui64v, + ); + fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisor"), + def_glVertexAttribDivisor, + ); + fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1ui"), + def_glVertexAttribP1ui, + ); + fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1uiv"), + def_glVertexAttribP1uiv, + ); + fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2ui"), + def_glVertexAttribP2ui, + ); + fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2uiv"), + def_glVertexAttribP2uiv, + ); + fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3ui"), + def_glVertexAttribP3ui, + ); + fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3uiv"), + def_glVertexAttribP3uiv, + ); + fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4ui"), + def_glVertexAttribP4ui, + ); + fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4uiv"), + def_glVertexAttribP4uiv, + ); + fn_glVertexP2ui = new Deno.UnsafeFnPointer( + proc("glVertexP2ui"), + def_glVertexP2ui, + ); + fn_glVertexP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexP2uiv"), + def_glVertexP2uiv, + ); + fn_glVertexP3ui = new Deno.UnsafeFnPointer( + proc("glVertexP3ui"), + def_glVertexP3ui, + ); + fn_glVertexP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexP3uiv"), + def_glVertexP3uiv, + ); + fn_glVertexP4ui = new Deno.UnsafeFnPointer( + proc("glVertexP4ui"), + def_glVertexP4ui, + ); + fn_glVertexP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexP4uiv"), + def_glVertexP4uiv, + ); + fn_glTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP1ui"), + def_glTexCoordP1ui, + ); + fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP1uiv"), + def_glTexCoordP1uiv, + ); + fn_glTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP2ui"), + def_glTexCoordP2ui, + ); + fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP2uiv"), + def_glTexCoordP2uiv, + ); + fn_glTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP3ui"), + def_glTexCoordP3ui, + ); + fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP3uiv"), + def_glTexCoordP3uiv, + ); + fn_glTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP4ui"), + def_glTexCoordP4ui, + ); + fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP4uiv"), + def_glTexCoordP4uiv, + ); + fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1ui"), + def_glMultiTexCoordP1ui, + ); + fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1uiv"), + def_glMultiTexCoordP1uiv, + ); + fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2ui"), + def_glMultiTexCoordP2ui, + ); + fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2uiv"), + def_glMultiTexCoordP2uiv, + ); + fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3ui"), + def_glMultiTexCoordP3ui, + ); + fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3uiv"), + def_glMultiTexCoordP3uiv, + ); + fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4ui"), + def_glMultiTexCoordP4ui, + ); + fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4uiv"), + def_glMultiTexCoordP4uiv, + ); + fn_glNormalP3ui = new Deno.UnsafeFnPointer( + proc("glNormalP3ui"), + def_glNormalP3ui, + ); + fn_glNormalP3uiv = new Deno.UnsafeFnPointer( + proc("glNormalP3uiv"), + def_glNormalP3uiv, + ); + fn_glColorP3ui = new Deno.UnsafeFnPointer( + proc("glColorP3ui"), + def_glColorP3ui, + ); + fn_glColorP3uiv = new Deno.UnsafeFnPointer( + proc("glColorP3uiv"), + def_glColorP3uiv, + ); + fn_glColorP4ui = new Deno.UnsafeFnPointer( + proc("glColorP4ui"), + def_glColorP4ui, + ); + fn_glColorP4uiv = new Deno.UnsafeFnPointer( + proc("glColorP4uiv"), + def_glColorP4uiv, + ); + fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3ui"), + def_glSecondaryColorP3ui, + ); + fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3uiv"), + def_glSecondaryColorP3uiv, + ); + fn_glMinSampleShading = new Deno.UnsafeFnPointer( + proc("glMinSampleShading"), + def_glMinSampleShading, + ); + fn_glBlendEquationi = new Deno.UnsafeFnPointer( + proc("glBlendEquationi"), + def_glBlendEquationi, + ); + fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparatei"), + def_glBlendEquationSeparatei, + ); + fn_glBlendFunci = new Deno.UnsafeFnPointer( + proc("glBlendFunci"), + def_glBlendFunci, + ); + fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparatei"), + def_glBlendFuncSeparatei, + ); + fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glDrawArraysIndirect"), + def_glDrawArraysIndirect, + ); + fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glDrawElementsIndirect"), + def_glDrawElementsIndirect, + ); + fn_glUniform1d = new Deno.UnsafeFnPointer( + proc("glUniform1d"), + def_glUniform1d, + ); + fn_glUniform2d = new Deno.UnsafeFnPointer( + proc("glUniform2d"), + def_glUniform2d, + ); + fn_glUniform3d = new Deno.UnsafeFnPointer( + proc("glUniform3d"), + def_glUniform3d, + ); + fn_glUniform4d = new Deno.UnsafeFnPointer( + proc("glUniform4d"), + def_glUniform4d, + ); + fn_glUniform1dv = new Deno.UnsafeFnPointer( + proc("glUniform1dv"), + def_glUniform1dv, + ); + fn_glUniform2dv = new Deno.UnsafeFnPointer( + proc("glUniform2dv"), + def_glUniform2dv, + ); + fn_glUniform3dv = new Deno.UnsafeFnPointer( + proc("glUniform3dv"), + def_glUniform3dv, + ); + fn_glUniform4dv = new Deno.UnsafeFnPointer( + proc("glUniform4dv"), + def_glUniform4dv, + ); + fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2dv"), + def_glUniformMatrix2dv, + ); + fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3dv"), + def_glUniformMatrix3dv, + ); + fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4dv"), + def_glUniformMatrix4dv, + ); + fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3dv"), + def_glUniformMatrix2x3dv, + ); + fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4dv"), + def_glUniformMatrix2x4dv, + ); + fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2dv"), + def_glUniformMatrix3x2dv, + ); + fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4dv"), + def_glUniformMatrix3x4dv, + ); + fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2dv"), + def_glUniformMatrix4x2dv, + ); + fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3dv"), + def_glUniformMatrix4x3dv, + ); + fn_glGetUniformdv = new Deno.UnsafeFnPointer( + proc("glGetUniformdv"), + def_glGetUniformdv, + ); + fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetSubroutineUniformLocation"), + def_glGetSubroutineUniformLocation, + ); + fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer( + proc("glGetSubroutineIndex"), + def_glGetSubroutineIndex, + ); + fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformiv"), + def_glGetActiveSubroutineUniformiv, + ); + fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformName"), + def_glGetActiveSubroutineUniformName, + ); + fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineName"), + def_glGetActiveSubroutineName, + ); + fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer( + proc("glUniformSubroutinesuiv"), + def_glUniformSubroutinesuiv, + ); + fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformSubroutineuiv"), + def_glGetUniformSubroutineuiv, + ); + fn_glGetProgramStageiv = new Deno.UnsafeFnPointer( + proc("glGetProgramStageiv"), + def_glGetProgramStageiv, + ); + fn_glPatchParameteri = new Deno.UnsafeFnPointer( + proc("glPatchParameteri"), + def_glPatchParameteri, + ); + fn_glPatchParameterfv = new Deno.UnsafeFnPointer( + proc("glPatchParameterfv"), + def_glPatchParameterfv, + ); + fn_glBindTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedback"), + def_glBindTransformFeedback, + ); + fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacks"), + def_glDeleteTransformFeedbacks, + ); + fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacks"), + def_glGenTransformFeedbacks, + ); + fn_glIsTransformFeedback = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedback"), + def_glIsTransformFeedback, + ); + fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedback"), + def_glPauseTransformFeedback, + ); + fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedback"), + def_glResumeTransformFeedback, + ); + fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedback"), + def_glDrawTransformFeedback, + ); + fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStream"), + def_glDrawTransformFeedbackStream, + ); + fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer( + proc("glBeginQueryIndexed"), + def_glBeginQueryIndexed, + ); + fn_glEndQueryIndexed = new Deno.UnsafeFnPointer( + proc("glEndQueryIndexed"), + def_glEndQueryIndexed, + ); + fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer( + proc("glGetQueryIndexediv"), + def_glGetQueryIndexediv, + ); + fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer( + proc("glReleaseShaderCompiler"), + def_glReleaseShaderCompiler, + ); + fn_glShaderBinary = new Deno.UnsafeFnPointer( + proc("glShaderBinary"), + def_glShaderBinary, + ); + fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer( + proc("glGetShaderPrecisionFormat"), + def_glGetShaderPrecisionFormat, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glGetProgramBinary = new Deno.UnsafeFnPointer( + proc("glGetProgramBinary"), + def_glGetProgramBinary, + ); + fn_glProgramBinary = new Deno.UnsafeFnPointer( + proc("glProgramBinary"), + def_glProgramBinary, + ); + fn_glProgramParameteri = new Deno.UnsafeFnPointer( + proc("glProgramParameteri"), + def_glProgramParameteri, + ); + fn_glUseProgramStages = new Deno.UnsafeFnPointer( + proc("glUseProgramStages"), + def_glUseProgramStages, + ); + fn_glActiveShaderProgram = new Deno.UnsafeFnPointer( + proc("glActiveShaderProgram"), + def_glActiveShaderProgram, + ); + fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer( + proc("glCreateShaderProgramv"), + def_glCreateShaderProgramv, + ); + fn_glBindProgramPipeline = new Deno.UnsafeFnPointer( + proc("glBindProgramPipeline"), + def_glBindProgramPipeline, + ); + fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer( + proc("glDeleteProgramPipelines"), + def_glDeleteProgramPipelines, + ); + fn_glGenProgramPipelines = new Deno.UnsafeFnPointer( + proc("glGenProgramPipelines"), + def_glGenProgramPipelines, + ); + fn_glIsProgramPipeline = new Deno.UnsafeFnPointer( + proc("glIsProgramPipeline"), + def_glIsProgramPipeline, + ); + fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineiv"), + def_glGetProgramPipelineiv, + ); + fn_glProgramUniform1i = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i"), + def_glProgramUniform1i, + ); + fn_glProgramUniform1iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1iv"), + def_glProgramUniform1iv, + ); + fn_glProgramUniform1f = new Deno.UnsafeFnPointer( + proc("glProgramUniform1f"), + def_glProgramUniform1f, + ); + fn_glProgramUniform1fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fv"), + def_glProgramUniform1fv, + ); + fn_glProgramUniform1d = new Deno.UnsafeFnPointer( + proc("glProgramUniform1d"), + def_glProgramUniform1d, + ); + fn_glProgramUniform1dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1dv"), + def_glProgramUniform1dv, + ); + fn_glProgramUniform1ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui"), + def_glProgramUniform1ui, + ); + fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uiv"), + def_glProgramUniform1uiv, + ); + fn_glProgramUniform2i = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i"), + def_glProgramUniform2i, + ); + fn_glProgramUniform2iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2iv"), + def_glProgramUniform2iv, + ); + fn_glProgramUniform2f = new Deno.UnsafeFnPointer( + proc("glProgramUniform2f"), + def_glProgramUniform2f, + ); + fn_glProgramUniform2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fv"), + def_glProgramUniform2fv, + ); + fn_glProgramUniform2d = new Deno.UnsafeFnPointer( + proc("glProgramUniform2d"), + def_glProgramUniform2d, + ); + fn_glProgramUniform2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2dv"), + def_glProgramUniform2dv, + ); + fn_glProgramUniform2ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui"), + def_glProgramUniform2ui, + ); + fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uiv"), + def_glProgramUniform2uiv, + ); + fn_glProgramUniform3i = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i"), + def_glProgramUniform3i, + ); + fn_glProgramUniform3iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3iv"), + def_glProgramUniform3iv, + ); + fn_glProgramUniform3f = new Deno.UnsafeFnPointer( + proc("glProgramUniform3f"), + def_glProgramUniform3f, + ); + fn_glProgramUniform3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fv"), + def_glProgramUniform3fv, + ); + fn_glProgramUniform3d = new Deno.UnsafeFnPointer( + proc("glProgramUniform3d"), + def_glProgramUniform3d, + ); + fn_glProgramUniform3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3dv"), + def_glProgramUniform3dv, + ); + fn_glProgramUniform3ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui"), + def_glProgramUniform3ui, + ); + fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uiv"), + def_glProgramUniform3uiv, + ); + fn_glProgramUniform4i = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i"), + def_glProgramUniform4i, + ); + fn_glProgramUniform4iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4iv"), + def_glProgramUniform4iv, + ); + fn_glProgramUniform4f = new Deno.UnsafeFnPointer( + proc("glProgramUniform4f"), + def_glProgramUniform4f, + ); + fn_glProgramUniform4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fv"), + def_glProgramUniform4fv, + ); + fn_glProgramUniform4d = new Deno.UnsafeFnPointer( + proc("glProgramUniform4d"), + def_glProgramUniform4d, + ); + fn_glProgramUniform4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4dv"), + def_glProgramUniform4dv, + ); + fn_glProgramUniform4ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui"), + def_glProgramUniform4ui, + ); + fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uiv"), + def_glProgramUniform4uiv, + ); + fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2fv"), + def_glProgramUniformMatrix2fv, + ); + fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3fv"), + def_glProgramUniformMatrix3fv, + ); + fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4fv"), + def_glProgramUniformMatrix4fv, + ); + fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2dv"), + def_glProgramUniformMatrix2dv, + ); + fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3dv"), + def_glProgramUniformMatrix3dv, + ); + fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4dv"), + def_glProgramUniformMatrix4dv, + ); + fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3fv"), + def_glProgramUniformMatrix2x3fv, + ); + fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2fv"), + def_glProgramUniformMatrix3x2fv, + ); + fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4fv"), + def_glProgramUniformMatrix2x4fv, + ); + fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2fv"), + def_glProgramUniformMatrix4x2fv, + ); + fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4fv"), + def_glProgramUniformMatrix3x4fv, + ); + fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3fv"), + def_glProgramUniformMatrix4x3fv, + ); + fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3dv"), + def_glProgramUniformMatrix2x3dv, + ); + fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2dv"), + def_glProgramUniformMatrix3x2dv, + ); + fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4dv"), + def_glProgramUniformMatrix2x4dv, + ); + fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2dv"), + def_glProgramUniformMatrix4x2dv, + ); + fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4dv"), + def_glProgramUniformMatrix3x4dv, + ); + fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3dv"), + def_glProgramUniformMatrix4x3dv, + ); + fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer( + proc("glValidateProgramPipeline"), + def_glValidateProgramPipeline, + ); + fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineInfoLog"), + def_glGetProgramPipelineInfoLog, + ); + fn_glVertexAttribL1d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1d"), + def_glVertexAttribL1d, + ); + fn_glVertexAttribL2d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2d"), + def_glVertexAttribL2d, + ); + fn_glVertexAttribL3d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3d"), + def_glVertexAttribL3d, + ); + fn_glVertexAttribL4d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4d"), + def_glVertexAttribL4d, + ); + fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1dv"), + def_glVertexAttribL1dv, + ); + fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2dv"), + def_glVertexAttribL2dv, + ); + fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3dv"), + def_glVertexAttribL3dv, + ); + fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4dv"), + def_glVertexAttribL4dv, + ); + fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribLPointer"), + def_glVertexAttribLPointer, + ); + fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribLdv"), + def_glGetVertexAttribLdv, + ); + fn_glViewportArrayv = new Deno.UnsafeFnPointer( + proc("glViewportArrayv"), + def_glViewportArrayv, + ); + fn_glViewportIndexedf = new Deno.UnsafeFnPointer( + proc("glViewportIndexedf"), + def_glViewportIndexedf, + ); + fn_glViewportIndexedfv = new Deno.UnsafeFnPointer( + proc("glViewportIndexedfv"), + def_glViewportIndexedfv, + ); + fn_glScissorArrayv = new Deno.UnsafeFnPointer( + proc("glScissorArrayv"), + def_glScissorArrayv, + ); + fn_glScissorIndexed = new Deno.UnsafeFnPointer( + proc("glScissorIndexed"), + def_glScissorIndexed, + ); + fn_glScissorIndexedv = new Deno.UnsafeFnPointer( + proc("glScissorIndexedv"), + def_glScissorIndexedv, + ); + fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer( + proc("glDepthRangeArrayv"), + def_glDepthRangeArrayv, + ); + fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer( + proc("glDepthRangeIndexed"), + def_glDepthRangeIndexed, + ); + fn_glGetFloati_v = new Deno.UnsafeFnPointer( + proc("glGetFloati_v"), + def_glGetFloati_v, + ); + fn_glGetDoublei_v = new Deno.UnsafeFnPointer( + proc("glGetDoublei_v"), + def_glGetDoublei_v, + ); } diff --git a/api/gl4.2.ts b/api/gl4.2.ts index c97df47..1168037 100644 --- a/api/gl4.2.ts +++ b/api/gl4.2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1014,7 +1022,8 @@ export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS = 0x92c5; export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES = 0x92c6; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER = 0x92c7; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER = 0x92c8; -export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x92c9; +export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = + 0x92c9; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER = 0x92ca; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER = 0x92cb; export const MAX_VERTEX_ATOMIC_COUNTER_BUFFERS = 0x92cc; @@ -1327,7 +1336,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1824,7 +1843,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1843,7 +1864,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1862,7 +1885,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1883,7 +1908,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -2070,7 +2097,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -2095,7 +2124,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -2147,7 +2178,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2248,7 +2289,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -2269,7 +2312,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2302,7 +2356,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2341,7 +2407,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -2400,11 +2468,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -2435,7 +2515,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -2464,7 +2546,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -2487,11 +2571,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -2522,11 +2620,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -2557,7 +2667,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -2584,7 +2696,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -2603,7 +2717,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -2645,7 +2761,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -2891,7 +3009,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -3071,7 +3191,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -3090,7 +3212,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -3109,7 +3233,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -3143,7 +3269,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -3164,7 +3292,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -3185,7 +3315,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -3219,7 +3351,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -3326,7 +3460,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -3341,7 +3477,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -3410,7 +3548,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -3431,7 +3571,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -3467,7 +3609,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -3549,7 +3693,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -3604,7 +3750,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -3623,7 +3771,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -3642,7 +3792,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -3661,7 +3813,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -4549,7 +4703,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -4566,7 +4722,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -4583,7 +4741,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -4805,7 +4965,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -4830,7 +4992,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -4851,7 +5015,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -4872,7 +5038,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -4893,7 +5061,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -4914,7 +5084,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -4935,7 +5107,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -5068,7 +5242,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -5083,7 +5259,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -5136,7 +5314,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -5157,7 +5337,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -5201,7 +5383,9 @@ export const def_glBeginConditionalRender = { result: "void", } as const; -let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRender +>; export function BeginConditionalRender( id: GLuint, @@ -5218,7 +5402,9 @@ export const def_glEndConditionalRender = { result: "void", } as const; -let fn_glEndConditionalRender!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRender +>; export function EndConditionalRender(): void { fn_glEndConditionalRender.call(); @@ -5229,7 +5415,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -5252,7 +5440,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -5271,7 +5461,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -5518,7 +5710,9 @@ export const def_glVertexAttribI1uiv = { result: "void", } as const; -let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiv +>; export function VertexAttribI1uiv( index: GLuint, @@ -5535,7 +5729,9 @@ export const def_glVertexAttribI2uiv = { result: "void", } as const; -let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiv +>; export function VertexAttribI2uiv( index: GLuint, @@ -5552,7 +5748,9 @@ export const def_glVertexAttribI3uiv = { result: "void", } as const; -let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiv +>; export function VertexAttribI3uiv( index: GLuint, @@ -5569,7 +5767,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -5620,7 +5820,9 @@ export const def_glVertexAttribI4ubv = { result: "void", } as const; -let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubv +>; export function VertexAttribI4ubv( index: GLuint, @@ -5637,7 +5839,9 @@ export const def_glVertexAttribI4usv = { result: "void", } as const; -let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usv +>; export function VertexAttribI4usv( index: GLuint, @@ -5673,7 +5877,9 @@ export const def_glBindFragDataLocation = { result: "void", } as const; -let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocation +>; export function BindFragDataLocation( program: GLuint, @@ -5692,7 +5898,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -5903,7 +6111,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -5922,7 +6132,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -6068,7 +6280,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -6102,7 +6316,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -6123,7 +6339,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -6174,7 +6392,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -6208,7 +6428,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -6223,7 +6445,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -6246,7 +6470,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -6269,7 +6495,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -6294,7 +6522,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -6315,7 +6545,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -6347,7 +6579,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -6384,7 +6627,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -6407,7 +6652,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -6451,7 +6698,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -6485,7 +6734,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -6534,7 +6785,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -6555,7 +6808,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -6597,7 +6852,9 @@ export const def_glPrimitiveRestartIndex = { result: "void", } as const; -let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartIndex +>; export function PrimitiveRestartIndex( index: GLuint, @@ -6612,7 +6869,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -6635,7 +6894,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -6656,7 +6917,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -6679,7 +6942,9 @@ export const def_glGetActiveUniformName = { result: "void", } as const; -let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformName +>; export function GetActiveUniformName( program: GLuint, @@ -6702,7 +6967,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -6719,7 +6986,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -6740,7 +7009,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -6763,7 +7034,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -6782,7 +7055,9 @@ export const def_glDrawElementsBaseVertex = { result: "void", } as const; -let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertex +>; export function DrawElementsBaseVertex( mode: GLenum, @@ -6805,7 +7080,9 @@ export const def_glDrawRangeElementsBaseVertex = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertex +>; export function DrawRangeElementsBaseVertex( mode: GLenum, @@ -6832,7 +7109,9 @@ export const def_glDrawElementsInstancedBaseVertex = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertex +>; export function DrawElementsInstancedBaseVertex( mode: GLenum, @@ -6857,7 +7136,9 @@ export const def_glMultiDrawElementsBaseVertex = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertex +>; export function MultiDrawElementsBaseVertex( mode: GLenum, @@ -7041,7 +7322,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -7060,7 +7343,9 @@ export const def_glFramebufferTexture = { result: "void", } as const; -let fn_glFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture +>; export function FramebufferTexture( target: GLenum, @@ -7081,7 +7366,9 @@ export const def_glTexImage2DMultisample = { result: "void", } as const; -let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage2DMultisample +>; export function TexImage2DMultisample( target: GLenum, @@ -7106,7 +7393,9 @@ export const def_glTexImage3DMultisample = { result: "void", } as const; -let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage3DMultisample +>; export function TexImage3DMultisample( target: GLenum, @@ -7169,7 +7458,9 @@ export const def_glBindFragDataLocationIndexed = { result: "void", } as const; -let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationIndexed +>; export function BindFragDataLocationIndexed( program: GLuint, @@ -7273,7 +7564,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -7292,7 +7585,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -7311,7 +7606,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -7330,7 +7627,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -7349,7 +7648,9 @@ export const def_glSamplerParameterIiv = { result: "void", } as const; -let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIiv +>; export function SamplerParameterIiv( sampler: GLuint, @@ -7368,7 +7669,9 @@ export const def_glSamplerParameterIuiv = { result: "void", } as const; -let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuiv +>; export function SamplerParameterIuiv( sampler: GLuint, @@ -7387,7 +7690,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -7406,7 +7711,9 @@ export const def_glGetSamplerParameterIiv = { result: "void", } as const; -let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIiv +>; export function GetSamplerParameterIiv( sampler: GLuint, @@ -7425,7 +7732,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -7444,7 +7753,9 @@ export const def_glGetSamplerParameterIuiv = { result: "void", } as const; -let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuiv +>; export function GetSamplerParameterIuiv( sampler: GLuint, @@ -7480,7 +7791,9 @@ export const def_glGetQueryObjecti64v = { result: "void", } as const; -let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjecti64v +>; export function GetQueryObjecti64v( id: GLuint, @@ -7499,7 +7812,9 @@ export const def_glGetQueryObjectui64v = { result: "void", } as const; -let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectui64v +>; export function GetQueryObjectui64v( id: GLuint, @@ -7518,7 +7833,9 @@ export const def_glVertexAttribDivisor = { result: "void", } as const; -let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisor +>; export function VertexAttribDivisor( index: GLuint, @@ -7556,7 +7873,9 @@ export const def_glVertexAttribP1uiv = { result: "void", } as const; -let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP1uiv +>; export function VertexAttribP1uiv( index: GLuint, @@ -7598,7 +7917,9 @@ export const def_glVertexAttribP2uiv = { result: "void", } as const; -let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP2uiv +>; export function VertexAttribP2uiv( index: GLuint, @@ -7640,7 +7961,9 @@ export const def_glVertexAttribP3uiv = { result: "void", } as const; -let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP3uiv +>; export function VertexAttribP3uiv( index: GLuint, @@ -7682,7 +8005,9 @@ export const def_glVertexAttribP4uiv = { result: "void", } as const; -let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP4uiv +>; export function VertexAttribP4uiv( index: GLuint, @@ -7941,7 +8266,9 @@ export const def_glMultiTexCoordP1ui = { result: "void", } as const; -let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1ui +>; export function MultiTexCoordP1ui( texture: GLenum, @@ -7960,7 +8287,9 @@ export const def_glMultiTexCoordP1uiv = { result: "void", } as const; -let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1uiv +>; export function MultiTexCoordP1uiv( texture: GLenum, @@ -7979,7 +8308,9 @@ export const def_glMultiTexCoordP2ui = { result: "void", } as const; -let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2ui +>; export function MultiTexCoordP2ui( texture: GLenum, @@ -7998,7 +8329,9 @@ export const def_glMultiTexCoordP2uiv = { result: "void", } as const; -let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2uiv +>; export function MultiTexCoordP2uiv( texture: GLenum, @@ -8017,7 +8350,9 @@ export const def_glMultiTexCoordP3ui = { result: "void", } as const; -let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3ui +>; export function MultiTexCoordP3ui( texture: GLenum, @@ -8036,7 +8371,9 @@ export const def_glMultiTexCoordP3uiv = { result: "void", } as const; -let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3uiv +>; export function MultiTexCoordP3uiv( texture: GLenum, @@ -8055,7 +8392,9 @@ export const def_glMultiTexCoordP4ui = { result: "void", } as const; -let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4ui +>; export function MultiTexCoordP4ui( texture: GLenum, @@ -8074,7 +8413,9 @@ export const def_glMultiTexCoordP4uiv = { result: "void", } as const; -let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4uiv +>; export function MultiTexCoordP4uiv( texture: GLenum, @@ -8195,7 +8536,9 @@ export const def_glSecondaryColorP3ui = { result: "void", } as const; -let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3ui +>; export function SecondaryColorP3ui( type: GLenum, @@ -8212,7 +8555,9 @@ export const def_glSecondaryColorP3uiv = { result: "void", } as const; -let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3uiv +>; export function SecondaryColorP3uiv( type: GLenum, @@ -8261,7 +8606,9 @@ export const def_glBlendEquationSeparatei = { result: "void", } as const; -let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparatei +>; export function BlendEquationSeparatei( buf: GLuint, @@ -8299,7 +8646,9 @@ export const def_glBlendFuncSeparatei = { result: "void", } as const; -let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparatei +>; export function BlendFuncSeparatei( buf: GLuint, @@ -8322,7 +8671,9 @@ export const def_glDrawArraysIndirect = { result: "void", } as const; -let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysIndirect +>; export function DrawArraysIndirect( mode: GLenum, @@ -8339,7 +8690,9 @@ export const def_glDrawElementsIndirect = { result: "void", } as const; -let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsIndirect +>; export function DrawElementsIndirect( mode: GLenum, @@ -8577,7 +8930,9 @@ export const def_glUniformMatrix2x3dv = { result: "void", } as const; -let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3dv +>; export function UniformMatrix2x3dv( location: GLint, @@ -8598,7 +8953,9 @@ export const def_glUniformMatrix2x4dv = { result: "void", } as const; -let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4dv +>; export function UniformMatrix2x4dv( location: GLint, @@ -8619,7 +8976,9 @@ export const def_glUniformMatrix3x2dv = { result: "void", } as const; -let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2dv +>; export function UniformMatrix3x2dv( location: GLint, @@ -8640,7 +8999,9 @@ export const def_glUniformMatrix3x4dv = { result: "void", } as const; -let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4dv +>; export function UniformMatrix3x4dv( location: GLint, @@ -8661,7 +9022,9 @@ export const def_glUniformMatrix4x2dv = { result: "void", } as const; -let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2dv +>; export function UniformMatrix4x2dv( location: GLint, @@ -8682,7 +9045,9 @@ export const def_glUniformMatrix4x3dv = { result: "void", } as const; -let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3dv +>; export function UniformMatrix4x3dv( location: GLint, @@ -8722,7 +9087,9 @@ export const def_glGetSubroutineUniformLocation = { result: "i32", } as const; -let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineUniformLocation +>; export function GetSubroutineUniformLocation( program: GLuint, @@ -8741,7 +9108,9 @@ export const def_glGetSubroutineIndex = { result: "u32", } as const; -let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineIndex +>; export function GetSubroutineIndex( program: GLuint, @@ -8760,7 +9129,9 @@ export const def_glGetActiveSubroutineUniformiv = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformiv +>; export function GetActiveSubroutineUniformiv( program: GLuint, @@ -8783,7 +9154,9 @@ export const def_glGetActiveSubroutineUniformName = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformName +>; export function GetActiveSubroutineUniformName( program: GLuint, @@ -8808,7 +9181,9 @@ export const def_glGetActiveSubroutineName = { result: "void", } as const; -let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineName +>; export function GetActiveSubroutineName( program: GLuint, @@ -8833,7 +9208,9 @@ export const def_glUniformSubroutinesuiv = { result: "void", } as const; -let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer; +let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer< + typeof def_glUniformSubroutinesuiv +>; export function UniformSubroutinesuiv( shadertype: GLenum, @@ -8852,7 +9229,9 @@ export const def_glGetUniformSubroutineuiv = { result: "void", } as const; -let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer; +let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer< + typeof def_glGetUniformSubroutineuiv +>; export function GetUniformSubroutineuiv( shadertype: GLenum, @@ -8871,7 +9250,9 @@ export const def_glGetProgramStageiv = { result: "void", } as const; -let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramStageiv +>; export function GetProgramStageiv( program: GLuint, @@ -8926,7 +9307,9 @@ export const def_glBindTransformFeedback = { result: "void", } as const; -let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedback +>; export function BindTransformFeedback( target: GLenum, @@ -8943,7 +9326,9 @@ export const def_glDeleteTransformFeedbacks = { result: "void", } as const; -let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacks +>; export function DeleteTransformFeedbacks( n: GLsizei, @@ -8960,7 +9345,9 @@ export const def_glGenTransformFeedbacks = { result: "void", } as const; -let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacks +>; export function GenTransformFeedbacks( n: GLsizei, @@ -8977,7 +9364,9 @@ export const def_glIsTransformFeedback = { result: "u8", } as const; -let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedback +>; export function IsTransformFeedback( id: GLuint, @@ -8992,7 +9381,9 @@ export const def_glPauseTransformFeedback = { result: "void", } as const; -let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedback +>; export function PauseTransformFeedback(): void { fn_glPauseTransformFeedback.call(); @@ -9003,7 +9394,9 @@ export const def_glResumeTransformFeedback = { result: "void", } as const; -let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedback +>; export function ResumeTransformFeedback(): void { fn_glResumeTransformFeedback.call(); @@ -9014,7 +9407,9 @@ export const def_glDrawTransformFeedback = { result: "void", } as const; -let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedback +>; export function DrawTransformFeedback( mode: GLenum, @@ -9031,7 +9426,9 @@ export const def_glDrawTransformFeedbackStream = { result: "void", } as const; -let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStream +>; export function DrawTransformFeedbackStream( mode: GLenum, @@ -9050,7 +9447,9 @@ export const def_glBeginQueryIndexed = { result: "void", } as const; -let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer; +let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer< + typeof def_glBeginQueryIndexed +>; export function BeginQueryIndexed( target: GLenum, @@ -9086,7 +9485,9 @@ export const def_glGetQueryIndexediv = { result: "void", } as const; -let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer; +let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryIndexediv +>; export function GetQueryIndexediv( target: GLenum, @@ -9107,7 +9508,9 @@ export const def_glReleaseShaderCompiler = { result: "void", } as const; -let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer; +let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer< + typeof def_glReleaseShaderCompiler +>; export function ReleaseShaderCompiler(): void { fn_glReleaseShaderCompiler.call(); @@ -9141,7 +9544,9 @@ export const def_glGetShaderPrecisionFormat = { result: "void", } as const; -let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer; +let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer< + typeof def_glGetShaderPrecisionFormat +>; export function GetShaderPrecisionFormat( shadertype: GLenum, @@ -9238,7 +9643,9 @@ export const def_glProgramParameteri = { result: "void", } as const; -let fn_glProgramParameteri!: Deno.UnsafeFnPointer; +let fn_glProgramParameteri!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteri +>; export function ProgramParameteri( program: GLuint, @@ -9276,7 +9683,9 @@ export const def_glActiveShaderProgram = { result: "void", } as const; -let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer; +let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer< + typeof def_glActiveShaderProgram +>; export function ActiveShaderProgram( pipeline: GLuint, @@ -9293,7 +9702,9 @@ export const def_glCreateShaderProgramv = { result: "u32", } as const; -let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer; +let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderProgramv +>; export function CreateShaderProgramv( type: GLenum, @@ -9312,7 +9723,9 @@ export const def_glBindProgramPipeline = { result: "void", } as const; -let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glBindProgramPipeline +>; export function BindProgramPipeline( pipeline: GLuint, @@ -9327,7 +9740,9 @@ export const def_glDeleteProgramPipelines = { result: "void", } as const; -let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramPipelines +>; export function DeleteProgramPipelines( n: GLsizei, @@ -9344,7 +9759,9 @@ export const def_glGenProgramPipelines = { result: "void", } as const; -let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glGenProgramPipelines +>; export function GenProgramPipelines( n: GLsizei, @@ -9361,7 +9778,9 @@ export const def_glIsProgramPipeline = { result: "u8", } as const; -let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glIsProgramPipeline +>; export function IsProgramPipeline( pipeline: GLuint, @@ -9376,7 +9795,9 @@ export const def_glGetProgramPipelineiv = { result: "void", } as const; -let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineiv +>; export function GetProgramPipelineiv( pipeline: GLuint, @@ -9414,7 +9835,9 @@ export const def_glProgramUniform1iv = { result: "void", } as const; -let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1iv +>; export function ProgramUniform1iv( program: GLuint, @@ -9454,7 +9877,9 @@ export const def_glProgramUniform1fv = { result: "void", } as const; -let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fv +>; export function ProgramUniform1fv( program: GLuint, @@ -9494,7 +9919,9 @@ export const def_glProgramUniform1dv = { result: "void", } as const; -let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1dv +>; export function ProgramUniform1dv( program: GLuint, @@ -9515,7 +9942,9 @@ export const def_glProgramUniform1ui = { result: "void", } as const; -let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui +>; export function ProgramUniform1ui( program: GLuint, @@ -9534,7 +9963,9 @@ export const def_glProgramUniform1uiv = { result: "void", } as const; -let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uiv +>; export function ProgramUniform1uiv( program: GLuint, @@ -9576,7 +10007,9 @@ export const def_glProgramUniform2iv = { result: "void", } as const; -let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2iv +>; export function ProgramUniform2iv( program: GLuint, @@ -9618,7 +10051,9 @@ export const def_glProgramUniform2fv = { result: "void", } as const; -let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fv +>; export function ProgramUniform2fv( program: GLuint, @@ -9660,7 +10095,9 @@ export const def_glProgramUniform2dv = { result: "void", } as const; -let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2dv +>; export function ProgramUniform2dv( program: GLuint, @@ -9681,7 +10118,9 @@ export const def_glProgramUniform2ui = { result: "void", } as const; -let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui +>; export function ProgramUniform2ui( program: GLuint, @@ -9702,7 +10141,9 @@ export const def_glProgramUniform2uiv = { result: "void", } as const; -let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uiv +>; export function ProgramUniform2uiv( program: GLuint, @@ -9746,7 +10187,9 @@ export const def_glProgramUniform3iv = { result: "void", } as const; -let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3iv +>; export function ProgramUniform3iv( program: GLuint, @@ -9790,7 +10233,9 @@ export const def_glProgramUniform3fv = { result: "void", } as const; -let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fv +>; export function ProgramUniform3fv( program: GLuint, @@ -9834,7 +10279,9 @@ export const def_glProgramUniform3dv = { result: "void", } as const; -let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3dv +>; export function ProgramUniform3dv( program: GLuint, @@ -9855,7 +10302,9 @@ export const def_glProgramUniform3ui = { result: "void", } as const; -let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui +>; export function ProgramUniform3ui( program: GLuint, @@ -9878,7 +10327,9 @@ export const def_glProgramUniform3uiv = { result: "void", } as const; -let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uiv +>; export function ProgramUniform3uiv( program: GLuint, @@ -9924,7 +10375,9 @@ export const def_glProgramUniform4iv = { result: "void", } as const; -let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4iv +>; export function ProgramUniform4iv( program: GLuint, @@ -9970,7 +10423,9 @@ export const def_glProgramUniform4fv = { result: "void", } as const; -let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fv +>; export function ProgramUniform4fv( program: GLuint, @@ -10016,7 +10471,9 @@ export const def_glProgramUniform4dv = { result: "void", } as const; -let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4dv +>; export function ProgramUniform4dv( program: GLuint, @@ -10037,7 +10494,9 @@ export const def_glProgramUniform4ui = { result: "void", } as const; -let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui +>; export function ProgramUniform4ui( program: GLuint, @@ -10062,7 +10521,9 @@ export const def_glProgramUniform4uiv = { result: "void", } as const; -let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uiv +>; export function ProgramUniform4uiv( program: GLuint, @@ -10083,7 +10544,9 @@ export const def_glProgramUniformMatrix2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2fv +>; export function ProgramUniformMatrix2fv( program: GLuint, @@ -10106,7 +10569,9 @@ export const def_glProgramUniformMatrix3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3fv +>; export function ProgramUniformMatrix3fv( program: GLuint, @@ -10129,7 +10594,9 @@ export const def_glProgramUniformMatrix4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4fv +>; export function ProgramUniformMatrix4fv( program: GLuint, @@ -10152,7 +10619,9 @@ export const def_glProgramUniformMatrix2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2dv +>; export function ProgramUniformMatrix2dv( program: GLuint, @@ -10175,7 +10644,9 @@ export const def_glProgramUniformMatrix3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3dv +>; export function ProgramUniformMatrix3dv( program: GLuint, @@ -10198,7 +10669,9 @@ export const def_glProgramUniformMatrix4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4dv +>; export function ProgramUniformMatrix4dv( program: GLuint, @@ -10221,7 +10694,9 @@ export const def_glProgramUniformMatrix2x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3fv +>; export function ProgramUniformMatrix2x3fv( program: GLuint, @@ -10244,7 +10719,9 @@ export const def_glProgramUniformMatrix3x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2fv +>; export function ProgramUniformMatrix3x2fv( program: GLuint, @@ -10267,7 +10744,9 @@ export const def_glProgramUniformMatrix2x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4fv +>; export function ProgramUniformMatrix2x4fv( program: GLuint, @@ -10290,7 +10769,9 @@ export const def_glProgramUniformMatrix4x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2fv +>; export function ProgramUniformMatrix4x2fv( program: GLuint, @@ -10313,7 +10794,9 @@ export const def_glProgramUniformMatrix3x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4fv +>; export function ProgramUniformMatrix3x4fv( program: GLuint, @@ -10336,7 +10819,9 @@ export const def_glProgramUniformMatrix4x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3fv +>; export function ProgramUniformMatrix4x3fv( program: GLuint, @@ -10359,7 +10844,9 @@ export const def_glProgramUniformMatrix2x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3dv +>; export function ProgramUniformMatrix2x3dv( program: GLuint, @@ -10382,7 +10869,9 @@ export const def_glProgramUniformMatrix3x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2dv +>; export function ProgramUniformMatrix3x2dv( program: GLuint, @@ -10405,7 +10894,9 @@ export const def_glProgramUniformMatrix2x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4dv +>; export function ProgramUniformMatrix2x4dv( program: GLuint, @@ -10428,7 +10919,9 @@ export const def_glProgramUniformMatrix4x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2dv +>; export function ProgramUniformMatrix4x2dv( program: GLuint, @@ -10451,7 +10944,9 @@ export const def_glProgramUniformMatrix3x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4dv +>; export function ProgramUniformMatrix3x4dv( program: GLuint, @@ -10474,7 +10969,9 @@ export const def_glProgramUniformMatrix4x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3dv +>; export function ProgramUniformMatrix4x3dv( program: GLuint, @@ -10497,7 +10994,9 @@ export const def_glValidateProgramPipeline = { result: "void", } as const; -let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glValidateProgramPipeline +>; export function ValidateProgramPipeline( pipeline: GLuint, @@ -10512,7 +11011,9 @@ export const def_glGetProgramPipelineInfoLog = { result: "void", } as const; -let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineInfoLog +>; export function GetProgramPipelineInfoLog( pipeline: GLuint, @@ -10681,7 +11182,9 @@ export const def_glVertexAttribLPointer = { result: "void", } as const; -let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLPointer +>; export function VertexAttribLPointer( index: GLuint, @@ -10704,7 +11207,9 @@ export const def_glGetVertexAttribLdv = { result: "void", } as const; -let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribLdv +>; export function GetVertexAttribLdv( index: GLuint, @@ -10765,7 +11270,9 @@ export const def_glViewportIndexedfv = { result: "void", } as const; -let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer; +let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer< + typeof def_glViewportIndexedfv +>; export function ViewportIndexedfv( index: GLuint, @@ -10860,7 +11367,9 @@ export const def_glDepthRangeIndexed = { result: "void", } as const; -let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer; +let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeIndexed +>; export function DepthRangeIndexed( index: GLuint, @@ -10917,7 +11426,9 @@ export const def_glDrawArraysInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedBaseInstance +>; export function DrawArraysInstancedBaseInstance( mode: GLenum, @@ -10940,7 +11451,9 @@ export const def_glDrawElementsInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseInstance +>; export function DrawElementsInstancedBaseInstance( mode: GLenum, @@ -10965,7 +11478,9 @@ export const def_glDrawElementsInstancedBaseVertexBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertexBaseInstance +>; export function DrawElementsInstancedBaseVertexBaseInstance( mode: GLenum, @@ -10992,7 +11507,9 @@ export const def_glGetInternalformativ = { result: "void", } as const; -let fn_glGetInternalformativ!: Deno.UnsafeFnPointer; +let fn_glGetInternalformativ!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformativ +>; export function GetInternalformativ( target: GLenum, @@ -11015,7 +11532,9 @@ export const def_glGetActiveAtomicCounterBufferiv = { result: "void", } as const; -let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveAtomicCounterBufferiv +>; export function GetActiveAtomicCounterBufferiv( program: GLuint, @@ -11147,7 +11666,9 @@ export const def_glDrawTransformFeedbackInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackInstanced +>; export function DrawTransformFeedbackInstanced( mode: GLenum, @@ -11166,7 +11687,9 @@ export const def_glDrawTransformFeedbackStreamInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStreamInstanced +>; export function DrawTransformFeedbackStreamInstanced( mode: GLenum, @@ -11185,523 +11708,2026 @@ export function DrawTransformFeedbackStreamInstanced( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glClampColor = new Deno.UnsafeFnPointer(proc("glClampColor"), def_glClampColor); - fn_glBeginConditionalRender = new Deno.UnsafeFnPointer(proc("glBeginConditionalRender"), def_glBeginConditionalRender); - fn_glEndConditionalRender = new Deno.UnsafeFnPointer(proc("glEndConditionalRender"), def_glEndConditionalRender); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI1i = new Deno.UnsafeFnPointer(proc("glVertexAttribI1i"), def_glVertexAttribI1i); - fn_glVertexAttribI2i = new Deno.UnsafeFnPointer(proc("glVertexAttribI2i"), def_glVertexAttribI2i); - fn_glVertexAttribI3i = new Deno.UnsafeFnPointer(proc("glVertexAttribI3i"), def_glVertexAttribI3i); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ui"), def_glVertexAttribI1ui); - fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ui"), def_glVertexAttribI2ui); - fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ui"), def_glVertexAttribI3ui); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iv"), def_glVertexAttribI1iv); - fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iv"), def_glVertexAttribI2iv); - fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iv"), def_glVertexAttribI3iv); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiv"), def_glVertexAttribI1uiv); - fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiv"), def_glVertexAttribI2uiv); - fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiv"), def_glVertexAttribI3uiv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bv"), def_glVertexAttribI4bv); - fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4sv"), def_glVertexAttribI4sv); - fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubv"), def_glVertexAttribI4ubv); - fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usv"), def_glVertexAttribI4usv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glBindFragDataLocation = new Deno.UnsafeFnPointer(proc("glBindFragDataLocation"), def_glBindFragDataLocation); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glTexBuffer = new Deno.UnsafeFnPointer(proc("glTexBuffer"), def_glTexBuffer); - fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartIndex"), def_glPrimitiveRestartIndex); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetActiveUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformName"), def_glGetActiveUniformName); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertex"), def_glDrawElementsBaseVertex); - fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertex"), def_glDrawRangeElementsBaseVertex); - fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertex"), def_glDrawElementsInstancedBaseVertex); - fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertex"), def_glMultiDrawElementsBaseVertex); - fn_glProvokingVertex = new Deno.UnsafeFnPointer(proc("glProvokingVertex"), def_glProvokingVertex); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glClampColor = new Deno.UnsafeFnPointer( + proc("glClampColor"), + def_glClampColor, + ); + fn_glBeginConditionalRender = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRender"), + def_glBeginConditionalRender, + ); + fn_glEndConditionalRender = new Deno.UnsafeFnPointer( + proc("glEndConditionalRender"), + def_glEndConditionalRender, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI1i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1i"), + def_glVertexAttribI1i, + ); + fn_glVertexAttribI2i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2i"), + def_glVertexAttribI2i, + ); + fn_glVertexAttribI3i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3i"), + def_glVertexAttribI3i, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ui"), + def_glVertexAttribI1ui, + ); + fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ui"), + def_glVertexAttribI2ui, + ); + fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ui"), + def_glVertexAttribI3ui, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iv"), + def_glVertexAttribI1iv, + ); + fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iv"), + def_glVertexAttribI2iv, + ); + fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iv"), + def_glVertexAttribI3iv, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiv"), + def_glVertexAttribI1uiv, + ); + fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiv"), + def_glVertexAttribI2uiv, + ); + fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiv"), + def_glVertexAttribI3uiv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bv"), + def_glVertexAttribI4bv, + ); + fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4sv"), + def_glVertexAttribI4sv, + ); + fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubv"), + def_glVertexAttribI4ubv, + ); + fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usv"), + def_glVertexAttribI4usv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glBindFragDataLocation = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocation"), + def_glBindFragDataLocation, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glTexBuffer = new Deno.UnsafeFnPointer( + proc("glTexBuffer"), + def_glTexBuffer, + ); + fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartIndex"), + def_glPrimitiveRestartIndex, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetActiveUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformName"), + def_glGetActiveUniformName, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertex"), + def_glDrawElementsBaseVertex, + ); + fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertex"), + def_glDrawRangeElementsBaseVertex, + ); + fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertex"), + def_glDrawElementsInstancedBaseVertex, + ); + fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertex"), + def_glMultiDrawElementsBaseVertex, + ); + fn_glProvokingVertex = new Deno.UnsafeFnPointer( + proc("glProvokingVertex"), + def_glProvokingVertex, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glFramebufferTexture = new Deno.UnsafeFnPointer(proc("glFramebufferTexture"), def_glFramebufferTexture); - fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage2DMultisample"), def_glTexImage2DMultisample); - fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage3DMultisample"), def_glTexImage3DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); - fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationIndexed"), def_glBindFragDataLocationIndexed); - fn_glGetFragDataIndex = new Deno.UnsafeFnPointer(proc("glGetFragDataIndex"), def_glGetFragDataIndex); - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIiv"), def_glSamplerParameterIiv); - fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuiv"), def_glSamplerParameterIuiv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIiv"), def_glGetSamplerParameterIiv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuiv"), def_glGetSamplerParameterIuiv); - fn_glQueryCounter = new Deno.UnsafeFnPointer(proc("glQueryCounter"), def_glQueryCounter); - fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjecti64v"), def_glGetQueryObjecti64v); - fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjectui64v"), def_glGetQueryObjectui64v); - fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisor"), def_glVertexAttribDivisor); - fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP1ui"), def_glVertexAttribP1ui); - fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP1uiv"), def_glVertexAttribP1uiv); - fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP2ui"), def_glVertexAttribP2ui); - fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP2uiv"), def_glVertexAttribP2uiv); - fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP3ui"), def_glVertexAttribP3ui); - fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP3uiv"), def_glVertexAttribP3uiv); - fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP4ui"), def_glVertexAttribP4ui); - fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP4uiv"), def_glVertexAttribP4uiv); - fn_glVertexP2ui = new Deno.UnsafeFnPointer(proc("glVertexP2ui"), def_glVertexP2ui); - fn_glVertexP2uiv = new Deno.UnsafeFnPointer(proc("glVertexP2uiv"), def_glVertexP2uiv); - fn_glVertexP3ui = new Deno.UnsafeFnPointer(proc("glVertexP3ui"), def_glVertexP3ui); - fn_glVertexP3uiv = new Deno.UnsafeFnPointer(proc("glVertexP3uiv"), def_glVertexP3uiv); - fn_glVertexP4ui = new Deno.UnsafeFnPointer(proc("glVertexP4ui"), def_glVertexP4ui); - fn_glVertexP4uiv = new Deno.UnsafeFnPointer(proc("glVertexP4uiv"), def_glVertexP4uiv); - fn_glTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glTexCoordP1ui"), def_glTexCoordP1ui); - fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP1uiv"), def_glTexCoordP1uiv); - fn_glTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glTexCoordP2ui"), def_glTexCoordP2ui); - fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP2uiv"), def_glTexCoordP2uiv); - fn_glTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glTexCoordP3ui"), def_glTexCoordP3ui); - fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP3uiv"), def_glTexCoordP3uiv); - fn_glTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glTexCoordP4ui"), def_glTexCoordP4ui); - fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP4uiv"), def_glTexCoordP4uiv); - fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1ui"), def_glMultiTexCoordP1ui); - fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1uiv"), def_glMultiTexCoordP1uiv); - fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2ui"), def_glMultiTexCoordP2ui); - fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2uiv"), def_glMultiTexCoordP2uiv); - fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3ui"), def_glMultiTexCoordP3ui); - fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3uiv"), def_glMultiTexCoordP3uiv); - fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4ui"), def_glMultiTexCoordP4ui); - fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4uiv"), def_glMultiTexCoordP4uiv); - fn_glNormalP3ui = new Deno.UnsafeFnPointer(proc("glNormalP3ui"), def_glNormalP3ui); - fn_glNormalP3uiv = new Deno.UnsafeFnPointer(proc("glNormalP3uiv"), def_glNormalP3uiv); - fn_glColorP3ui = new Deno.UnsafeFnPointer(proc("glColorP3ui"), def_glColorP3ui); - fn_glColorP3uiv = new Deno.UnsafeFnPointer(proc("glColorP3uiv"), def_glColorP3uiv); - fn_glColorP4ui = new Deno.UnsafeFnPointer(proc("glColorP4ui"), def_glColorP4ui); - fn_glColorP4uiv = new Deno.UnsafeFnPointer(proc("glColorP4uiv"), def_glColorP4uiv); - fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3ui"), def_glSecondaryColorP3ui); - fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3uiv"), def_glSecondaryColorP3uiv); - fn_glMinSampleShading = new Deno.UnsafeFnPointer(proc("glMinSampleShading"), def_glMinSampleShading); - fn_glBlendEquationi = new Deno.UnsafeFnPointer(proc("glBlendEquationi"), def_glBlendEquationi); - fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparatei"), def_glBlendEquationSeparatei); - fn_glBlendFunci = new Deno.UnsafeFnPointer(proc("glBlendFunci"), def_glBlendFunci); - fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparatei"), def_glBlendFuncSeparatei); - fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glDrawArraysIndirect"), def_glDrawArraysIndirect); - fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glDrawElementsIndirect"), def_glDrawElementsIndirect); - fn_glUniform1d = new Deno.UnsafeFnPointer(proc("glUniform1d"), def_glUniform1d); - fn_glUniform2d = new Deno.UnsafeFnPointer(proc("glUniform2d"), def_glUniform2d); - fn_glUniform3d = new Deno.UnsafeFnPointer(proc("glUniform3d"), def_glUniform3d); - fn_glUniform4d = new Deno.UnsafeFnPointer(proc("glUniform4d"), def_glUniform4d); - fn_glUniform1dv = new Deno.UnsafeFnPointer(proc("glUniform1dv"), def_glUniform1dv); - fn_glUniform2dv = new Deno.UnsafeFnPointer(proc("glUniform2dv"), def_glUniform2dv); - fn_glUniform3dv = new Deno.UnsafeFnPointer(proc("glUniform3dv"), def_glUniform3dv); - fn_glUniform4dv = new Deno.UnsafeFnPointer(proc("glUniform4dv"), def_glUniform4dv); - fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2dv"), def_glUniformMatrix2dv); - fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3dv"), def_glUniformMatrix3dv); - fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4dv"), def_glUniformMatrix4dv); - fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3dv"), def_glUniformMatrix2x3dv); - fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4dv"), def_glUniformMatrix2x4dv); - fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2dv"), def_glUniformMatrix3x2dv); - fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4dv"), def_glUniformMatrix3x4dv); - fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2dv"), def_glUniformMatrix4x2dv); - fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3dv"), def_glUniformMatrix4x3dv); - fn_glGetUniformdv = new Deno.UnsafeFnPointer(proc("glGetUniformdv"), def_glGetUniformdv); - fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer(proc("glGetSubroutineUniformLocation"), def_glGetSubroutineUniformLocation); - fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer(proc("glGetSubroutineIndex"), def_glGetSubroutineIndex); - fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformiv"), def_glGetActiveSubroutineUniformiv); - fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformName"), def_glGetActiveSubroutineUniformName); - fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineName"), def_glGetActiveSubroutineName); - fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer(proc("glUniformSubroutinesuiv"), def_glUniformSubroutinesuiv); - fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer(proc("glGetUniformSubroutineuiv"), def_glGetUniformSubroutineuiv); - fn_glGetProgramStageiv = new Deno.UnsafeFnPointer(proc("glGetProgramStageiv"), def_glGetProgramStageiv); - fn_glPatchParameteri = new Deno.UnsafeFnPointer(proc("glPatchParameteri"), def_glPatchParameteri); - fn_glPatchParameterfv = new Deno.UnsafeFnPointer(proc("glPatchParameterfv"), def_glPatchParameterfv); - fn_glBindTransformFeedback = new Deno.UnsafeFnPointer(proc("glBindTransformFeedback"), def_glBindTransformFeedback); - fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacks"), def_glDeleteTransformFeedbacks); - fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacks"), def_glGenTransformFeedbacks); - fn_glIsTransformFeedback = new Deno.UnsafeFnPointer(proc("glIsTransformFeedback"), def_glIsTransformFeedback); - fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedback"), def_glPauseTransformFeedback); - fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedback"), def_glResumeTransformFeedback); - fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedback"), def_glDrawTransformFeedback); - fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStream"), def_glDrawTransformFeedbackStream); - fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer(proc("glBeginQueryIndexed"), def_glBeginQueryIndexed); - fn_glEndQueryIndexed = new Deno.UnsafeFnPointer(proc("glEndQueryIndexed"), def_glEndQueryIndexed); - fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer(proc("glGetQueryIndexediv"), def_glGetQueryIndexediv); - fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer(proc("glReleaseShaderCompiler"), def_glReleaseShaderCompiler); - fn_glShaderBinary = new Deno.UnsafeFnPointer(proc("glShaderBinary"), def_glShaderBinary); - fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer(proc("glGetShaderPrecisionFormat"), def_glGetShaderPrecisionFormat); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glGetProgramBinary = new Deno.UnsafeFnPointer(proc("glGetProgramBinary"), def_glGetProgramBinary); - fn_glProgramBinary = new Deno.UnsafeFnPointer(proc("glProgramBinary"), def_glProgramBinary); - fn_glProgramParameteri = new Deno.UnsafeFnPointer(proc("glProgramParameteri"), def_glProgramParameteri); - fn_glUseProgramStages = new Deno.UnsafeFnPointer(proc("glUseProgramStages"), def_glUseProgramStages); - fn_glActiveShaderProgram = new Deno.UnsafeFnPointer(proc("glActiveShaderProgram"), def_glActiveShaderProgram); - fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer(proc("glCreateShaderProgramv"), def_glCreateShaderProgramv); - fn_glBindProgramPipeline = new Deno.UnsafeFnPointer(proc("glBindProgramPipeline"), def_glBindProgramPipeline); - fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer(proc("glDeleteProgramPipelines"), def_glDeleteProgramPipelines); - fn_glGenProgramPipelines = new Deno.UnsafeFnPointer(proc("glGenProgramPipelines"), def_glGenProgramPipelines); - fn_glIsProgramPipeline = new Deno.UnsafeFnPointer(proc("glIsProgramPipeline"), def_glIsProgramPipeline); - fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineiv"), def_glGetProgramPipelineiv); - fn_glProgramUniform1i = new Deno.UnsafeFnPointer(proc("glProgramUniform1i"), def_glProgramUniform1i); - fn_glProgramUniform1iv = new Deno.UnsafeFnPointer(proc("glProgramUniform1iv"), def_glProgramUniform1iv); - fn_glProgramUniform1f = new Deno.UnsafeFnPointer(proc("glProgramUniform1f"), def_glProgramUniform1f); - fn_glProgramUniform1fv = new Deno.UnsafeFnPointer(proc("glProgramUniform1fv"), def_glProgramUniform1fv); - fn_glProgramUniform1d = new Deno.UnsafeFnPointer(proc("glProgramUniform1d"), def_glProgramUniform1d); - fn_glProgramUniform1dv = new Deno.UnsafeFnPointer(proc("glProgramUniform1dv"), def_glProgramUniform1dv); - fn_glProgramUniform1ui = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui"), def_glProgramUniform1ui); - fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform1uiv"), def_glProgramUniform1uiv); - fn_glProgramUniform2i = new Deno.UnsafeFnPointer(proc("glProgramUniform2i"), def_glProgramUniform2i); - fn_glProgramUniform2iv = new Deno.UnsafeFnPointer(proc("glProgramUniform2iv"), def_glProgramUniform2iv); - fn_glProgramUniform2f = new Deno.UnsafeFnPointer(proc("glProgramUniform2f"), def_glProgramUniform2f); - fn_glProgramUniform2fv = new Deno.UnsafeFnPointer(proc("glProgramUniform2fv"), def_glProgramUniform2fv); - fn_glProgramUniform2d = new Deno.UnsafeFnPointer(proc("glProgramUniform2d"), def_glProgramUniform2d); - fn_glProgramUniform2dv = new Deno.UnsafeFnPointer(proc("glProgramUniform2dv"), def_glProgramUniform2dv); - fn_glProgramUniform2ui = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui"), def_glProgramUniform2ui); - fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform2uiv"), def_glProgramUniform2uiv); - fn_glProgramUniform3i = new Deno.UnsafeFnPointer(proc("glProgramUniform3i"), def_glProgramUniform3i); - fn_glProgramUniform3iv = new Deno.UnsafeFnPointer(proc("glProgramUniform3iv"), def_glProgramUniform3iv); - fn_glProgramUniform3f = new Deno.UnsafeFnPointer(proc("glProgramUniform3f"), def_glProgramUniform3f); - fn_glProgramUniform3fv = new Deno.UnsafeFnPointer(proc("glProgramUniform3fv"), def_glProgramUniform3fv); - fn_glProgramUniform3d = new Deno.UnsafeFnPointer(proc("glProgramUniform3d"), def_glProgramUniform3d); - fn_glProgramUniform3dv = new Deno.UnsafeFnPointer(proc("glProgramUniform3dv"), def_glProgramUniform3dv); - fn_glProgramUniform3ui = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui"), def_glProgramUniform3ui); - fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform3uiv"), def_glProgramUniform3uiv); - fn_glProgramUniform4i = new Deno.UnsafeFnPointer(proc("glProgramUniform4i"), def_glProgramUniform4i); - fn_glProgramUniform4iv = new Deno.UnsafeFnPointer(proc("glProgramUniform4iv"), def_glProgramUniform4iv); - fn_glProgramUniform4f = new Deno.UnsafeFnPointer(proc("glProgramUniform4f"), def_glProgramUniform4f); - fn_glProgramUniform4fv = new Deno.UnsafeFnPointer(proc("glProgramUniform4fv"), def_glProgramUniform4fv); - fn_glProgramUniform4d = new Deno.UnsafeFnPointer(proc("glProgramUniform4d"), def_glProgramUniform4d); - fn_glProgramUniform4dv = new Deno.UnsafeFnPointer(proc("glProgramUniform4dv"), def_glProgramUniform4dv); - fn_glProgramUniform4ui = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui"), def_glProgramUniform4ui); - fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform4uiv"), def_glProgramUniform4uiv); - fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2fv"), def_glProgramUniformMatrix2fv); - fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3fv"), def_glProgramUniformMatrix3fv); - fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4fv"), def_glProgramUniformMatrix4fv); - fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2dv"), def_glProgramUniformMatrix2dv); - fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3dv"), def_glProgramUniformMatrix3dv); - fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4dv"), def_glProgramUniformMatrix4dv); - fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3fv"), def_glProgramUniformMatrix2x3fv); - fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2fv"), def_glProgramUniformMatrix3x2fv); - fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4fv"), def_glProgramUniformMatrix2x4fv); - fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2fv"), def_glProgramUniformMatrix4x2fv); - fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4fv"), def_glProgramUniformMatrix3x4fv); - fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3fv"), def_glProgramUniformMatrix4x3fv); - fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3dv"), def_glProgramUniformMatrix2x3dv); - fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2dv"), def_glProgramUniformMatrix3x2dv); - fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4dv"), def_glProgramUniformMatrix2x4dv); - fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2dv"), def_glProgramUniformMatrix4x2dv); - fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4dv"), def_glProgramUniformMatrix3x4dv); - fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3dv"), def_glProgramUniformMatrix4x3dv); - fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer(proc("glValidateProgramPipeline"), def_glValidateProgramPipeline); - fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineInfoLog"), def_glGetProgramPipelineInfoLog); - fn_glVertexAttribL1d = new Deno.UnsafeFnPointer(proc("glVertexAttribL1d"), def_glVertexAttribL1d); - fn_glVertexAttribL2d = new Deno.UnsafeFnPointer(proc("glVertexAttribL2d"), def_glVertexAttribL2d); - fn_glVertexAttribL3d = new Deno.UnsafeFnPointer(proc("glVertexAttribL3d"), def_glVertexAttribL3d); - fn_glVertexAttribL4d = new Deno.UnsafeFnPointer(proc("glVertexAttribL4d"), def_glVertexAttribL4d); - fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL1dv"), def_glVertexAttribL1dv); - fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL2dv"), def_glVertexAttribL2dv); - fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL3dv"), def_glVertexAttribL3dv); - fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL4dv"), def_glVertexAttribL4dv); - fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribLPointer"), def_glVertexAttribLPointer); - fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribLdv"), def_glGetVertexAttribLdv); - fn_glViewportArrayv = new Deno.UnsafeFnPointer(proc("glViewportArrayv"), def_glViewportArrayv); - fn_glViewportIndexedf = new Deno.UnsafeFnPointer(proc("glViewportIndexedf"), def_glViewportIndexedf); - fn_glViewportIndexedfv = new Deno.UnsafeFnPointer(proc("glViewportIndexedfv"), def_glViewportIndexedfv); - fn_glScissorArrayv = new Deno.UnsafeFnPointer(proc("glScissorArrayv"), def_glScissorArrayv); - fn_glScissorIndexed = new Deno.UnsafeFnPointer(proc("glScissorIndexed"), def_glScissorIndexed); - fn_glScissorIndexedv = new Deno.UnsafeFnPointer(proc("glScissorIndexedv"), def_glScissorIndexedv); - fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer(proc("glDepthRangeArrayv"), def_glDepthRangeArrayv); - fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer(proc("glDepthRangeIndexed"), def_glDepthRangeIndexed); - fn_glGetFloati_v = new Deno.UnsafeFnPointer(proc("glGetFloati_v"), def_glGetFloati_v); - fn_glGetDoublei_v = new Deno.UnsafeFnPointer(proc("glGetDoublei_v"), def_glGetDoublei_v); - fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedBaseInstance"), def_glDrawArraysInstancedBaseInstance); - fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseInstance"), def_glDrawElementsInstancedBaseInstance); - fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertexBaseInstance"), def_glDrawElementsInstancedBaseVertexBaseInstance); - fn_glGetInternalformativ = new Deno.UnsafeFnPointer(proc("glGetInternalformativ"), def_glGetInternalformativ); - fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer(proc("glGetActiveAtomicCounterBufferiv"), def_glGetActiveAtomicCounterBufferiv); - fn_glBindImageTexture = new Deno.UnsafeFnPointer(proc("glBindImageTexture"), def_glBindImageTexture); - fn_glMemoryBarrier = new Deno.UnsafeFnPointer(proc("glMemoryBarrier"), def_glMemoryBarrier); - fn_glTexStorage1D = new Deno.UnsafeFnPointer(proc("glTexStorage1D"), def_glTexStorage1D); - fn_glTexStorage2D = new Deno.UnsafeFnPointer(proc("glTexStorage2D"), def_glTexStorage2D); - fn_glTexStorage3D = new Deno.UnsafeFnPointer(proc("glTexStorage3D"), def_glTexStorage3D); - fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackInstanced"), def_glDrawTransformFeedbackInstanced); - fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStreamInstanced"), def_glDrawTransformFeedbackStreamInstanced); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture"), + def_glFramebufferTexture, + ); + fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage2DMultisample"), + def_glTexImage2DMultisample, + ); + fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage3DMultisample"), + def_glTexImage3DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); + fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationIndexed"), + def_glBindFragDataLocationIndexed, + ); + fn_glGetFragDataIndex = new Deno.UnsafeFnPointer( + proc("glGetFragDataIndex"), + def_glGetFragDataIndex, + ); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIiv"), + def_glSamplerParameterIiv, + ); + fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuiv"), + def_glSamplerParameterIuiv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIiv"), + def_glGetSamplerParameterIiv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuiv"), + def_glGetSamplerParameterIuiv, + ); + fn_glQueryCounter = new Deno.UnsafeFnPointer( + proc("glQueryCounter"), + def_glQueryCounter, + ); + fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjecti64v"), + def_glGetQueryObjecti64v, + ); + fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectui64v"), + def_glGetQueryObjectui64v, + ); + fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisor"), + def_glVertexAttribDivisor, + ); + fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1ui"), + def_glVertexAttribP1ui, + ); + fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1uiv"), + def_glVertexAttribP1uiv, + ); + fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2ui"), + def_glVertexAttribP2ui, + ); + fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2uiv"), + def_glVertexAttribP2uiv, + ); + fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3ui"), + def_glVertexAttribP3ui, + ); + fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3uiv"), + def_glVertexAttribP3uiv, + ); + fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4ui"), + def_glVertexAttribP4ui, + ); + fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4uiv"), + def_glVertexAttribP4uiv, + ); + fn_glVertexP2ui = new Deno.UnsafeFnPointer( + proc("glVertexP2ui"), + def_glVertexP2ui, + ); + fn_glVertexP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexP2uiv"), + def_glVertexP2uiv, + ); + fn_glVertexP3ui = new Deno.UnsafeFnPointer( + proc("glVertexP3ui"), + def_glVertexP3ui, + ); + fn_glVertexP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexP3uiv"), + def_glVertexP3uiv, + ); + fn_glVertexP4ui = new Deno.UnsafeFnPointer( + proc("glVertexP4ui"), + def_glVertexP4ui, + ); + fn_glVertexP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexP4uiv"), + def_glVertexP4uiv, + ); + fn_glTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP1ui"), + def_glTexCoordP1ui, + ); + fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP1uiv"), + def_glTexCoordP1uiv, + ); + fn_glTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP2ui"), + def_glTexCoordP2ui, + ); + fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP2uiv"), + def_glTexCoordP2uiv, + ); + fn_glTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP3ui"), + def_glTexCoordP3ui, + ); + fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP3uiv"), + def_glTexCoordP3uiv, + ); + fn_glTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP4ui"), + def_glTexCoordP4ui, + ); + fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP4uiv"), + def_glTexCoordP4uiv, + ); + fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1ui"), + def_glMultiTexCoordP1ui, + ); + fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1uiv"), + def_glMultiTexCoordP1uiv, + ); + fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2ui"), + def_glMultiTexCoordP2ui, + ); + fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2uiv"), + def_glMultiTexCoordP2uiv, + ); + fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3ui"), + def_glMultiTexCoordP3ui, + ); + fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3uiv"), + def_glMultiTexCoordP3uiv, + ); + fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4ui"), + def_glMultiTexCoordP4ui, + ); + fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4uiv"), + def_glMultiTexCoordP4uiv, + ); + fn_glNormalP3ui = new Deno.UnsafeFnPointer( + proc("glNormalP3ui"), + def_glNormalP3ui, + ); + fn_glNormalP3uiv = new Deno.UnsafeFnPointer( + proc("glNormalP3uiv"), + def_glNormalP3uiv, + ); + fn_glColorP3ui = new Deno.UnsafeFnPointer( + proc("glColorP3ui"), + def_glColorP3ui, + ); + fn_glColorP3uiv = new Deno.UnsafeFnPointer( + proc("glColorP3uiv"), + def_glColorP3uiv, + ); + fn_glColorP4ui = new Deno.UnsafeFnPointer( + proc("glColorP4ui"), + def_glColorP4ui, + ); + fn_glColorP4uiv = new Deno.UnsafeFnPointer( + proc("glColorP4uiv"), + def_glColorP4uiv, + ); + fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3ui"), + def_glSecondaryColorP3ui, + ); + fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3uiv"), + def_glSecondaryColorP3uiv, + ); + fn_glMinSampleShading = new Deno.UnsafeFnPointer( + proc("glMinSampleShading"), + def_glMinSampleShading, + ); + fn_glBlendEquationi = new Deno.UnsafeFnPointer( + proc("glBlendEquationi"), + def_glBlendEquationi, + ); + fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparatei"), + def_glBlendEquationSeparatei, + ); + fn_glBlendFunci = new Deno.UnsafeFnPointer( + proc("glBlendFunci"), + def_glBlendFunci, + ); + fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparatei"), + def_glBlendFuncSeparatei, + ); + fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glDrawArraysIndirect"), + def_glDrawArraysIndirect, + ); + fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glDrawElementsIndirect"), + def_glDrawElementsIndirect, + ); + fn_glUniform1d = new Deno.UnsafeFnPointer( + proc("glUniform1d"), + def_glUniform1d, + ); + fn_glUniform2d = new Deno.UnsafeFnPointer( + proc("glUniform2d"), + def_glUniform2d, + ); + fn_glUniform3d = new Deno.UnsafeFnPointer( + proc("glUniform3d"), + def_glUniform3d, + ); + fn_glUniform4d = new Deno.UnsafeFnPointer( + proc("glUniform4d"), + def_glUniform4d, + ); + fn_glUniform1dv = new Deno.UnsafeFnPointer( + proc("glUniform1dv"), + def_glUniform1dv, + ); + fn_glUniform2dv = new Deno.UnsafeFnPointer( + proc("glUniform2dv"), + def_glUniform2dv, + ); + fn_glUniform3dv = new Deno.UnsafeFnPointer( + proc("glUniform3dv"), + def_glUniform3dv, + ); + fn_glUniform4dv = new Deno.UnsafeFnPointer( + proc("glUniform4dv"), + def_glUniform4dv, + ); + fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2dv"), + def_glUniformMatrix2dv, + ); + fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3dv"), + def_glUniformMatrix3dv, + ); + fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4dv"), + def_glUniformMatrix4dv, + ); + fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3dv"), + def_glUniformMatrix2x3dv, + ); + fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4dv"), + def_glUniformMatrix2x4dv, + ); + fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2dv"), + def_glUniformMatrix3x2dv, + ); + fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4dv"), + def_glUniformMatrix3x4dv, + ); + fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2dv"), + def_glUniformMatrix4x2dv, + ); + fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3dv"), + def_glUniformMatrix4x3dv, + ); + fn_glGetUniformdv = new Deno.UnsafeFnPointer( + proc("glGetUniformdv"), + def_glGetUniformdv, + ); + fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetSubroutineUniformLocation"), + def_glGetSubroutineUniformLocation, + ); + fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer( + proc("glGetSubroutineIndex"), + def_glGetSubroutineIndex, + ); + fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformiv"), + def_glGetActiveSubroutineUniformiv, + ); + fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformName"), + def_glGetActiveSubroutineUniformName, + ); + fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineName"), + def_glGetActiveSubroutineName, + ); + fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer( + proc("glUniformSubroutinesuiv"), + def_glUniformSubroutinesuiv, + ); + fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformSubroutineuiv"), + def_glGetUniformSubroutineuiv, + ); + fn_glGetProgramStageiv = new Deno.UnsafeFnPointer( + proc("glGetProgramStageiv"), + def_glGetProgramStageiv, + ); + fn_glPatchParameteri = new Deno.UnsafeFnPointer( + proc("glPatchParameteri"), + def_glPatchParameteri, + ); + fn_glPatchParameterfv = new Deno.UnsafeFnPointer( + proc("glPatchParameterfv"), + def_glPatchParameterfv, + ); + fn_glBindTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedback"), + def_glBindTransformFeedback, + ); + fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacks"), + def_glDeleteTransformFeedbacks, + ); + fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacks"), + def_glGenTransformFeedbacks, + ); + fn_glIsTransformFeedback = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedback"), + def_glIsTransformFeedback, + ); + fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedback"), + def_glPauseTransformFeedback, + ); + fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedback"), + def_glResumeTransformFeedback, + ); + fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedback"), + def_glDrawTransformFeedback, + ); + fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStream"), + def_glDrawTransformFeedbackStream, + ); + fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer( + proc("glBeginQueryIndexed"), + def_glBeginQueryIndexed, + ); + fn_glEndQueryIndexed = new Deno.UnsafeFnPointer( + proc("glEndQueryIndexed"), + def_glEndQueryIndexed, + ); + fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer( + proc("glGetQueryIndexediv"), + def_glGetQueryIndexediv, + ); + fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer( + proc("glReleaseShaderCompiler"), + def_glReleaseShaderCompiler, + ); + fn_glShaderBinary = new Deno.UnsafeFnPointer( + proc("glShaderBinary"), + def_glShaderBinary, + ); + fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer( + proc("glGetShaderPrecisionFormat"), + def_glGetShaderPrecisionFormat, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glGetProgramBinary = new Deno.UnsafeFnPointer( + proc("glGetProgramBinary"), + def_glGetProgramBinary, + ); + fn_glProgramBinary = new Deno.UnsafeFnPointer( + proc("glProgramBinary"), + def_glProgramBinary, + ); + fn_glProgramParameteri = new Deno.UnsafeFnPointer( + proc("glProgramParameteri"), + def_glProgramParameteri, + ); + fn_glUseProgramStages = new Deno.UnsafeFnPointer( + proc("glUseProgramStages"), + def_glUseProgramStages, + ); + fn_glActiveShaderProgram = new Deno.UnsafeFnPointer( + proc("glActiveShaderProgram"), + def_glActiveShaderProgram, + ); + fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer( + proc("glCreateShaderProgramv"), + def_glCreateShaderProgramv, + ); + fn_glBindProgramPipeline = new Deno.UnsafeFnPointer( + proc("glBindProgramPipeline"), + def_glBindProgramPipeline, + ); + fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer( + proc("glDeleteProgramPipelines"), + def_glDeleteProgramPipelines, + ); + fn_glGenProgramPipelines = new Deno.UnsafeFnPointer( + proc("glGenProgramPipelines"), + def_glGenProgramPipelines, + ); + fn_glIsProgramPipeline = new Deno.UnsafeFnPointer( + proc("glIsProgramPipeline"), + def_glIsProgramPipeline, + ); + fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineiv"), + def_glGetProgramPipelineiv, + ); + fn_glProgramUniform1i = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i"), + def_glProgramUniform1i, + ); + fn_glProgramUniform1iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1iv"), + def_glProgramUniform1iv, + ); + fn_glProgramUniform1f = new Deno.UnsafeFnPointer( + proc("glProgramUniform1f"), + def_glProgramUniform1f, + ); + fn_glProgramUniform1fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fv"), + def_glProgramUniform1fv, + ); + fn_glProgramUniform1d = new Deno.UnsafeFnPointer( + proc("glProgramUniform1d"), + def_glProgramUniform1d, + ); + fn_glProgramUniform1dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1dv"), + def_glProgramUniform1dv, + ); + fn_glProgramUniform1ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui"), + def_glProgramUniform1ui, + ); + fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uiv"), + def_glProgramUniform1uiv, + ); + fn_glProgramUniform2i = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i"), + def_glProgramUniform2i, + ); + fn_glProgramUniform2iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2iv"), + def_glProgramUniform2iv, + ); + fn_glProgramUniform2f = new Deno.UnsafeFnPointer( + proc("glProgramUniform2f"), + def_glProgramUniform2f, + ); + fn_glProgramUniform2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fv"), + def_glProgramUniform2fv, + ); + fn_glProgramUniform2d = new Deno.UnsafeFnPointer( + proc("glProgramUniform2d"), + def_glProgramUniform2d, + ); + fn_glProgramUniform2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2dv"), + def_glProgramUniform2dv, + ); + fn_glProgramUniform2ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui"), + def_glProgramUniform2ui, + ); + fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uiv"), + def_glProgramUniform2uiv, + ); + fn_glProgramUniform3i = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i"), + def_glProgramUniform3i, + ); + fn_glProgramUniform3iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3iv"), + def_glProgramUniform3iv, + ); + fn_glProgramUniform3f = new Deno.UnsafeFnPointer( + proc("glProgramUniform3f"), + def_glProgramUniform3f, + ); + fn_glProgramUniform3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fv"), + def_glProgramUniform3fv, + ); + fn_glProgramUniform3d = new Deno.UnsafeFnPointer( + proc("glProgramUniform3d"), + def_glProgramUniform3d, + ); + fn_glProgramUniform3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3dv"), + def_glProgramUniform3dv, + ); + fn_glProgramUniform3ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui"), + def_glProgramUniform3ui, + ); + fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uiv"), + def_glProgramUniform3uiv, + ); + fn_glProgramUniform4i = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i"), + def_glProgramUniform4i, + ); + fn_glProgramUniform4iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4iv"), + def_glProgramUniform4iv, + ); + fn_glProgramUniform4f = new Deno.UnsafeFnPointer( + proc("glProgramUniform4f"), + def_glProgramUniform4f, + ); + fn_glProgramUniform4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fv"), + def_glProgramUniform4fv, + ); + fn_glProgramUniform4d = new Deno.UnsafeFnPointer( + proc("glProgramUniform4d"), + def_glProgramUniform4d, + ); + fn_glProgramUniform4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4dv"), + def_glProgramUniform4dv, + ); + fn_glProgramUniform4ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui"), + def_glProgramUniform4ui, + ); + fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uiv"), + def_glProgramUniform4uiv, + ); + fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2fv"), + def_glProgramUniformMatrix2fv, + ); + fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3fv"), + def_glProgramUniformMatrix3fv, + ); + fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4fv"), + def_glProgramUniformMatrix4fv, + ); + fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2dv"), + def_glProgramUniformMatrix2dv, + ); + fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3dv"), + def_glProgramUniformMatrix3dv, + ); + fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4dv"), + def_glProgramUniformMatrix4dv, + ); + fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3fv"), + def_glProgramUniformMatrix2x3fv, + ); + fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2fv"), + def_glProgramUniformMatrix3x2fv, + ); + fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4fv"), + def_glProgramUniformMatrix2x4fv, + ); + fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2fv"), + def_glProgramUniformMatrix4x2fv, + ); + fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4fv"), + def_glProgramUniformMatrix3x4fv, + ); + fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3fv"), + def_glProgramUniformMatrix4x3fv, + ); + fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3dv"), + def_glProgramUniformMatrix2x3dv, + ); + fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2dv"), + def_glProgramUniformMatrix3x2dv, + ); + fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4dv"), + def_glProgramUniformMatrix2x4dv, + ); + fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2dv"), + def_glProgramUniformMatrix4x2dv, + ); + fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4dv"), + def_glProgramUniformMatrix3x4dv, + ); + fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3dv"), + def_glProgramUniformMatrix4x3dv, + ); + fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer( + proc("glValidateProgramPipeline"), + def_glValidateProgramPipeline, + ); + fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineInfoLog"), + def_glGetProgramPipelineInfoLog, + ); + fn_glVertexAttribL1d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1d"), + def_glVertexAttribL1d, + ); + fn_glVertexAttribL2d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2d"), + def_glVertexAttribL2d, + ); + fn_glVertexAttribL3d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3d"), + def_glVertexAttribL3d, + ); + fn_glVertexAttribL4d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4d"), + def_glVertexAttribL4d, + ); + fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1dv"), + def_glVertexAttribL1dv, + ); + fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2dv"), + def_glVertexAttribL2dv, + ); + fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3dv"), + def_glVertexAttribL3dv, + ); + fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4dv"), + def_glVertexAttribL4dv, + ); + fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribLPointer"), + def_glVertexAttribLPointer, + ); + fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribLdv"), + def_glGetVertexAttribLdv, + ); + fn_glViewportArrayv = new Deno.UnsafeFnPointer( + proc("glViewportArrayv"), + def_glViewportArrayv, + ); + fn_glViewportIndexedf = new Deno.UnsafeFnPointer( + proc("glViewportIndexedf"), + def_glViewportIndexedf, + ); + fn_glViewportIndexedfv = new Deno.UnsafeFnPointer( + proc("glViewportIndexedfv"), + def_glViewportIndexedfv, + ); + fn_glScissorArrayv = new Deno.UnsafeFnPointer( + proc("glScissorArrayv"), + def_glScissorArrayv, + ); + fn_glScissorIndexed = new Deno.UnsafeFnPointer( + proc("glScissorIndexed"), + def_glScissorIndexed, + ); + fn_glScissorIndexedv = new Deno.UnsafeFnPointer( + proc("glScissorIndexedv"), + def_glScissorIndexedv, + ); + fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer( + proc("glDepthRangeArrayv"), + def_glDepthRangeArrayv, + ); + fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer( + proc("glDepthRangeIndexed"), + def_glDepthRangeIndexed, + ); + fn_glGetFloati_v = new Deno.UnsafeFnPointer( + proc("glGetFloati_v"), + def_glGetFloati_v, + ); + fn_glGetDoublei_v = new Deno.UnsafeFnPointer( + proc("glGetDoublei_v"), + def_glGetDoublei_v, + ); + fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedBaseInstance"), + def_glDrawArraysInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseInstance"), + def_glDrawElementsInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertexBaseInstance"), + def_glDrawElementsInstancedBaseVertexBaseInstance, + ); + fn_glGetInternalformativ = new Deno.UnsafeFnPointer( + proc("glGetInternalformativ"), + def_glGetInternalformativ, + ); + fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer( + proc("glGetActiveAtomicCounterBufferiv"), + def_glGetActiveAtomicCounterBufferiv, + ); + fn_glBindImageTexture = new Deno.UnsafeFnPointer( + proc("glBindImageTexture"), + def_glBindImageTexture, + ); + fn_glMemoryBarrier = new Deno.UnsafeFnPointer( + proc("glMemoryBarrier"), + def_glMemoryBarrier, + ); + fn_glTexStorage1D = new Deno.UnsafeFnPointer( + proc("glTexStorage1D"), + def_glTexStorage1D, + ); + fn_glTexStorage2D = new Deno.UnsafeFnPointer( + proc("glTexStorage2D"), + def_glTexStorage2D, + ); + fn_glTexStorage3D = new Deno.UnsafeFnPointer( + proc("glTexStorage3D"), + def_glTexStorage3D, + ); + fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackInstanced"), + def_glDrawTransformFeedbackInstanced, + ); + fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStreamInstanced"), + def_glDrawTransformFeedbackStreamInstanced, + ); } diff --git a/api/gl4.3.ts b/api/gl4.3.ts index 91c9305..d402818 100644 --- a/api/gl4.3.ts +++ b/api/gl4.3.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1014,7 +1022,8 @@ export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS = 0x92c5; export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES = 0x92c6; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER = 0x92c7; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER = 0x92c8; -export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x92c9; +export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = + 0x92c9; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER = 0x92ca; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER = 0x92cb; export const MAX_VERTEX_ATOMIC_COUNTER_BUFFERS = 0x92cc; @@ -1589,7 +1598,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2086,7 +2105,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -2105,7 +2126,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -2124,7 +2147,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -2145,7 +2170,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -2332,7 +2359,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -2357,7 +2386,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -2409,7 +2440,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2510,7 +2551,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -2531,7 +2574,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2564,7 +2618,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2603,7 +2669,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -2662,11 +2730,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -2697,7 +2777,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -2726,7 +2808,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -2749,11 +2833,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -2784,11 +2882,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -2819,7 +2929,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -2846,7 +2958,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -2865,7 +2979,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -2907,7 +3023,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -3153,7 +3271,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -3333,7 +3453,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -3352,7 +3474,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -3371,7 +3495,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -3405,7 +3531,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -3426,7 +3554,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -3447,7 +3577,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -3481,7 +3613,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -3588,7 +3722,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -3603,7 +3739,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -3672,7 +3810,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -3693,7 +3833,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -3729,7 +3871,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -3811,7 +3955,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -3866,7 +4012,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -3885,7 +4033,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -3904,7 +4054,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -3923,7 +4075,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -4811,7 +4965,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -4828,7 +4984,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -4845,7 +5003,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -5067,7 +5227,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -5092,7 +5254,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -5113,7 +5277,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -5134,7 +5300,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -5155,7 +5323,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -5176,7 +5346,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -5197,7 +5369,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -5330,7 +5504,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -5345,7 +5521,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -5398,7 +5576,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -5419,7 +5599,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -5463,7 +5645,9 @@ export const def_glBeginConditionalRender = { result: "void", } as const; -let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRender +>; export function BeginConditionalRender( id: GLuint, @@ -5480,7 +5664,9 @@ export const def_glEndConditionalRender = { result: "void", } as const; -let fn_glEndConditionalRender!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRender +>; export function EndConditionalRender(): void { fn_glEndConditionalRender.call(); @@ -5491,7 +5677,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -5514,7 +5702,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -5533,7 +5723,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -5780,7 +5972,9 @@ export const def_glVertexAttribI1uiv = { result: "void", } as const; -let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiv +>; export function VertexAttribI1uiv( index: GLuint, @@ -5797,7 +5991,9 @@ export const def_glVertexAttribI2uiv = { result: "void", } as const; -let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiv +>; export function VertexAttribI2uiv( index: GLuint, @@ -5814,7 +6010,9 @@ export const def_glVertexAttribI3uiv = { result: "void", } as const; -let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiv +>; export function VertexAttribI3uiv( index: GLuint, @@ -5831,7 +6029,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -5882,7 +6082,9 @@ export const def_glVertexAttribI4ubv = { result: "void", } as const; -let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubv +>; export function VertexAttribI4ubv( index: GLuint, @@ -5899,7 +6101,9 @@ export const def_glVertexAttribI4usv = { result: "void", } as const; -let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usv +>; export function VertexAttribI4usv( index: GLuint, @@ -5935,7 +6139,9 @@ export const def_glBindFragDataLocation = { result: "void", } as const; -let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocation +>; export function BindFragDataLocation( program: GLuint, @@ -5954,7 +6160,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -6165,7 +6373,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -6184,7 +6394,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -6330,7 +6542,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -6364,7 +6578,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -6385,7 +6601,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -6436,7 +6654,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -6470,7 +6690,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -6485,7 +6707,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -6508,7 +6732,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -6531,7 +6757,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -6556,7 +6784,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -6577,7 +6807,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -6609,7 +6841,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -6646,7 +6889,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -6669,7 +6914,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -6713,7 +6960,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -6747,7 +6996,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -6796,7 +7047,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -6817,7 +7070,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -6859,7 +7114,9 @@ export const def_glPrimitiveRestartIndex = { result: "void", } as const; -let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartIndex +>; export function PrimitiveRestartIndex( index: GLuint, @@ -6874,7 +7131,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -6897,7 +7156,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -6918,7 +7179,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -6941,7 +7204,9 @@ export const def_glGetActiveUniformName = { result: "void", } as const; -let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformName +>; export function GetActiveUniformName( program: GLuint, @@ -6964,7 +7229,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -6981,7 +7248,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -7002,7 +7271,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -7025,7 +7296,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -7044,7 +7317,9 @@ export const def_glDrawElementsBaseVertex = { result: "void", } as const; -let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertex +>; export function DrawElementsBaseVertex( mode: GLenum, @@ -7067,7 +7342,9 @@ export const def_glDrawRangeElementsBaseVertex = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertex +>; export function DrawRangeElementsBaseVertex( mode: GLenum, @@ -7094,7 +7371,9 @@ export const def_glDrawElementsInstancedBaseVertex = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertex +>; export function DrawElementsInstancedBaseVertex( mode: GLenum, @@ -7119,7 +7398,9 @@ export const def_glMultiDrawElementsBaseVertex = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertex +>; export function MultiDrawElementsBaseVertex( mode: GLenum, @@ -7303,7 +7584,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -7322,7 +7605,9 @@ export const def_glFramebufferTexture = { result: "void", } as const; -let fn_glFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture +>; export function FramebufferTexture( target: GLenum, @@ -7343,7 +7628,9 @@ export const def_glTexImage2DMultisample = { result: "void", } as const; -let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage2DMultisample +>; export function TexImage2DMultisample( target: GLenum, @@ -7368,7 +7655,9 @@ export const def_glTexImage3DMultisample = { result: "void", } as const; -let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage3DMultisample +>; export function TexImage3DMultisample( target: GLenum, @@ -7431,7 +7720,9 @@ export const def_glBindFragDataLocationIndexed = { result: "void", } as const; -let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationIndexed +>; export function BindFragDataLocationIndexed( program: GLuint, @@ -7535,7 +7826,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -7554,7 +7847,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -7573,7 +7868,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -7592,7 +7889,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -7611,7 +7910,9 @@ export const def_glSamplerParameterIiv = { result: "void", } as const; -let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIiv +>; export function SamplerParameterIiv( sampler: GLuint, @@ -7630,7 +7931,9 @@ export const def_glSamplerParameterIuiv = { result: "void", } as const; -let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuiv +>; export function SamplerParameterIuiv( sampler: GLuint, @@ -7649,7 +7952,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -7668,7 +7973,9 @@ export const def_glGetSamplerParameterIiv = { result: "void", } as const; -let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIiv +>; export function GetSamplerParameterIiv( sampler: GLuint, @@ -7687,7 +7994,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -7706,7 +8015,9 @@ export const def_glGetSamplerParameterIuiv = { result: "void", } as const; -let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuiv +>; export function GetSamplerParameterIuiv( sampler: GLuint, @@ -7742,7 +8053,9 @@ export const def_glGetQueryObjecti64v = { result: "void", } as const; -let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjecti64v +>; export function GetQueryObjecti64v( id: GLuint, @@ -7761,7 +8074,9 @@ export const def_glGetQueryObjectui64v = { result: "void", } as const; -let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectui64v +>; export function GetQueryObjectui64v( id: GLuint, @@ -7780,7 +8095,9 @@ export const def_glVertexAttribDivisor = { result: "void", } as const; -let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisor +>; export function VertexAttribDivisor( index: GLuint, @@ -7818,7 +8135,9 @@ export const def_glVertexAttribP1uiv = { result: "void", } as const; -let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP1uiv +>; export function VertexAttribP1uiv( index: GLuint, @@ -7860,7 +8179,9 @@ export const def_glVertexAttribP2uiv = { result: "void", } as const; -let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP2uiv +>; export function VertexAttribP2uiv( index: GLuint, @@ -7902,7 +8223,9 @@ export const def_glVertexAttribP3uiv = { result: "void", } as const; -let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP3uiv +>; export function VertexAttribP3uiv( index: GLuint, @@ -7944,7 +8267,9 @@ export const def_glVertexAttribP4uiv = { result: "void", } as const; -let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP4uiv +>; export function VertexAttribP4uiv( index: GLuint, @@ -8203,7 +8528,9 @@ export const def_glMultiTexCoordP1ui = { result: "void", } as const; -let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1ui +>; export function MultiTexCoordP1ui( texture: GLenum, @@ -8222,7 +8549,9 @@ export const def_glMultiTexCoordP1uiv = { result: "void", } as const; -let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1uiv +>; export function MultiTexCoordP1uiv( texture: GLenum, @@ -8241,7 +8570,9 @@ export const def_glMultiTexCoordP2ui = { result: "void", } as const; -let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2ui +>; export function MultiTexCoordP2ui( texture: GLenum, @@ -8260,7 +8591,9 @@ export const def_glMultiTexCoordP2uiv = { result: "void", } as const; -let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2uiv +>; export function MultiTexCoordP2uiv( texture: GLenum, @@ -8279,7 +8612,9 @@ export const def_glMultiTexCoordP3ui = { result: "void", } as const; -let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3ui +>; export function MultiTexCoordP3ui( texture: GLenum, @@ -8298,7 +8633,9 @@ export const def_glMultiTexCoordP3uiv = { result: "void", } as const; -let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3uiv +>; export function MultiTexCoordP3uiv( texture: GLenum, @@ -8317,7 +8654,9 @@ export const def_glMultiTexCoordP4ui = { result: "void", } as const; -let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4ui +>; export function MultiTexCoordP4ui( texture: GLenum, @@ -8336,7 +8675,9 @@ export const def_glMultiTexCoordP4uiv = { result: "void", } as const; -let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4uiv +>; export function MultiTexCoordP4uiv( texture: GLenum, @@ -8457,7 +8798,9 @@ export const def_glSecondaryColorP3ui = { result: "void", } as const; -let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3ui +>; export function SecondaryColorP3ui( type: GLenum, @@ -8474,7 +8817,9 @@ export const def_glSecondaryColorP3uiv = { result: "void", } as const; -let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3uiv +>; export function SecondaryColorP3uiv( type: GLenum, @@ -8523,7 +8868,9 @@ export const def_glBlendEquationSeparatei = { result: "void", } as const; -let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparatei +>; export function BlendEquationSeparatei( buf: GLuint, @@ -8561,7 +8908,9 @@ export const def_glBlendFuncSeparatei = { result: "void", } as const; -let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparatei +>; export function BlendFuncSeparatei( buf: GLuint, @@ -8584,7 +8933,9 @@ export const def_glDrawArraysIndirect = { result: "void", } as const; -let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysIndirect +>; export function DrawArraysIndirect( mode: GLenum, @@ -8601,7 +8952,9 @@ export const def_glDrawElementsIndirect = { result: "void", } as const; -let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsIndirect +>; export function DrawElementsIndirect( mode: GLenum, @@ -8839,7 +9192,9 @@ export const def_glUniformMatrix2x3dv = { result: "void", } as const; -let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3dv +>; export function UniformMatrix2x3dv( location: GLint, @@ -8860,7 +9215,9 @@ export const def_glUniformMatrix2x4dv = { result: "void", } as const; -let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4dv +>; export function UniformMatrix2x4dv( location: GLint, @@ -8881,7 +9238,9 @@ export const def_glUniformMatrix3x2dv = { result: "void", } as const; -let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2dv +>; export function UniformMatrix3x2dv( location: GLint, @@ -8902,7 +9261,9 @@ export const def_glUniformMatrix3x4dv = { result: "void", } as const; -let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4dv +>; export function UniformMatrix3x4dv( location: GLint, @@ -8923,7 +9284,9 @@ export const def_glUniformMatrix4x2dv = { result: "void", } as const; -let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2dv +>; export function UniformMatrix4x2dv( location: GLint, @@ -8944,7 +9307,9 @@ export const def_glUniformMatrix4x3dv = { result: "void", } as const; -let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3dv +>; export function UniformMatrix4x3dv( location: GLint, @@ -8984,7 +9349,9 @@ export const def_glGetSubroutineUniformLocation = { result: "i32", } as const; -let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineUniformLocation +>; export function GetSubroutineUniformLocation( program: GLuint, @@ -9003,7 +9370,9 @@ export const def_glGetSubroutineIndex = { result: "u32", } as const; -let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineIndex +>; export function GetSubroutineIndex( program: GLuint, @@ -9022,7 +9391,9 @@ export const def_glGetActiveSubroutineUniformiv = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformiv +>; export function GetActiveSubroutineUniformiv( program: GLuint, @@ -9045,7 +9416,9 @@ export const def_glGetActiveSubroutineUniformName = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformName +>; export function GetActiveSubroutineUniformName( program: GLuint, @@ -9070,7 +9443,9 @@ export const def_glGetActiveSubroutineName = { result: "void", } as const; -let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineName +>; export function GetActiveSubroutineName( program: GLuint, @@ -9095,7 +9470,9 @@ export const def_glUniformSubroutinesuiv = { result: "void", } as const; -let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer; +let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer< + typeof def_glUniformSubroutinesuiv +>; export function UniformSubroutinesuiv( shadertype: GLenum, @@ -9114,7 +9491,9 @@ export const def_glGetUniformSubroutineuiv = { result: "void", } as const; -let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer; +let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer< + typeof def_glGetUniformSubroutineuiv +>; export function GetUniformSubroutineuiv( shadertype: GLenum, @@ -9133,7 +9512,9 @@ export const def_glGetProgramStageiv = { result: "void", } as const; -let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramStageiv +>; export function GetProgramStageiv( program: GLuint, @@ -9188,7 +9569,9 @@ export const def_glBindTransformFeedback = { result: "void", } as const; -let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedback +>; export function BindTransformFeedback( target: GLenum, @@ -9205,7 +9588,9 @@ export const def_glDeleteTransformFeedbacks = { result: "void", } as const; -let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacks +>; export function DeleteTransformFeedbacks( n: GLsizei, @@ -9222,7 +9607,9 @@ export const def_glGenTransformFeedbacks = { result: "void", } as const; -let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacks +>; export function GenTransformFeedbacks( n: GLsizei, @@ -9239,7 +9626,9 @@ export const def_glIsTransformFeedback = { result: "u8", } as const; -let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedback +>; export function IsTransformFeedback( id: GLuint, @@ -9254,7 +9643,9 @@ export const def_glPauseTransformFeedback = { result: "void", } as const; -let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedback +>; export function PauseTransformFeedback(): void { fn_glPauseTransformFeedback.call(); @@ -9265,7 +9656,9 @@ export const def_glResumeTransformFeedback = { result: "void", } as const; -let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedback +>; export function ResumeTransformFeedback(): void { fn_glResumeTransformFeedback.call(); @@ -9276,7 +9669,9 @@ export const def_glDrawTransformFeedback = { result: "void", } as const; -let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedback +>; export function DrawTransformFeedback( mode: GLenum, @@ -9293,7 +9688,9 @@ export const def_glDrawTransformFeedbackStream = { result: "void", } as const; -let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStream +>; export function DrawTransformFeedbackStream( mode: GLenum, @@ -9312,7 +9709,9 @@ export const def_glBeginQueryIndexed = { result: "void", } as const; -let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer; +let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer< + typeof def_glBeginQueryIndexed +>; export function BeginQueryIndexed( target: GLenum, @@ -9348,7 +9747,9 @@ export const def_glGetQueryIndexediv = { result: "void", } as const; -let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer; +let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryIndexediv +>; export function GetQueryIndexediv( target: GLenum, @@ -9369,7 +9770,9 @@ export const def_glReleaseShaderCompiler = { result: "void", } as const; -let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer; +let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer< + typeof def_glReleaseShaderCompiler +>; export function ReleaseShaderCompiler(): void { fn_glReleaseShaderCompiler.call(); @@ -9403,7 +9806,9 @@ export const def_glGetShaderPrecisionFormat = { result: "void", } as const; -let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer; +let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer< + typeof def_glGetShaderPrecisionFormat +>; export function GetShaderPrecisionFormat( shadertype: GLenum, @@ -9500,7 +9905,9 @@ export const def_glProgramParameteri = { result: "void", } as const; -let fn_glProgramParameteri!: Deno.UnsafeFnPointer; +let fn_glProgramParameteri!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteri +>; export function ProgramParameteri( program: GLuint, @@ -9538,7 +9945,9 @@ export const def_glActiveShaderProgram = { result: "void", } as const; -let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer; +let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer< + typeof def_glActiveShaderProgram +>; export function ActiveShaderProgram( pipeline: GLuint, @@ -9555,7 +9964,9 @@ export const def_glCreateShaderProgramv = { result: "u32", } as const; -let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer; +let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderProgramv +>; export function CreateShaderProgramv( type: GLenum, @@ -9574,7 +9985,9 @@ export const def_glBindProgramPipeline = { result: "void", } as const; -let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glBindProgramPipeline +>; export function BindProgramPipeline( pipeline: GLuint, @@ -9589,7 +10002,9 @@ export const def_glDeleteProgramPipelines = { result: "void", } as const; -let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramPipelines +>; export function DeleteProgramPipelines( n: GLsizei, @@ -9606,7 +10021,9 @@ export const def_glGenProgramPipelines = { result: "void", } as const; -let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glGenProgramPipelines +>; export function GenProgramPipelines( n: GLsizei, @@ -9623,7 +10040,9 @@ export const def_glIsProgramPipeline = { result: "u8", } as const; -let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glIsProgramPipeline +>; export function IsProgramPipeline( pipeline: GLuint, @@ -9638,7 +10057,9 @@ export const def_glGetProgramPipelineiv = { result: "void", } as const; -let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineiv +>; export function GetProgramPipelineiv( pipeline: GLuint, @@ -9676,7 +10097,9 @@ export const def_glProgramUniform1iv = { result: "void", } as const; -let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1iv +>; export function ProgramUniform1iv( program: GLuint, @@ -9716,7 +10139,9 @@ export const def_glProgramUniform1fv = { result: "void", } as const; -let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fv +>; export function ProgramUniform1fv( program: GLuint, @@ -9756,7 +10181,9 @@ export const def_glProgramUniform1dv = { result: "void", } as const; -let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1dv +>; export function ProgramUniform1dv( program: GLuint, @@ -9777,7 +10204,9 @@ export const def_glProgramUniform1ui = { result: "void", } as const; -let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui +>; export function ProgramUniform1ui( program: GLuint, @@ -9796,7 +10225,9 @@ export const def_glProgramUniform1uiv = { result: "void", } as const; -let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uiv +>; export function ProgramUniform1uiv( program: GLuint, @@ -9838,7 +10269,9 @@ export const def_glProgramUniform2iv = { result: "void", } as const; -let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2iv +>; export function ProgramUniform2iv( program: GLuint, @@ -9880,7 +10313,9 @@ export const def_glProgramUniform2fv = { result: "void", } as const; -let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fv +>; export function ProgramUniform2fv( program: GLuint, @@ -9922,7 +10357,9 @@ export const def_glProgramUniform2dv = { result: "void", } as const; -let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2dv +>; export function ProgramUniform2dv( program: GLuint, @@ -9943,7 +10380,9 @@ export const def_glProgramUniform2ui = { result: "void", } as const; -let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui +>; export function ProgramUniform2ui( program: GLuint, @@ -9964,7 +10403,9 @@ export const def_glProgramUniform2uiv = { result: "void", } as const; -let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uiv +>; export function ProgramUniform2uiv( program: GLuint, @@ -10008,7 +10449,9 @@ export const def_glProgramUniform3iv = { result: "void", } as const; -let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3iv +>; export function ProgramUniform3iv( program: GLuint, @@ -10052,7 +10495,9 @@ export const def_glProgramUniform3fv = { result: "void", } as const; -let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fv +>; export function ProgramUniform3fv( program: GLuint, @@ -10096,7 +10541,9 @@ export const def_glProgramUniform3dv = { result: "void", } as const; -let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3dv +>; export function ProgramUniform3dv( program: GLuint, @@ -10117,7 +10564,9 @@ export const def_glProgramUniform3ui = { result: "void", } as const; -let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui +>; export function ProgramUniform3ui( program: GLuint, @@ -10140,7 +10589,9 @@ export const def_glProgramUniform3uiv = { result: "void", } as const; -let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uiv +>; export function ProgramUniform3uiv( program: GLuint, @@ -10186,7 +10637,9 @@ export const def_glProgramUniform4iv = { result: "void", } as const; -let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4iv +>; export function ProgramUniform4iv( program: GLuint, @@ -10232,7 +10685,9 @@ export const def_glProgramUniform4fv = { result: "void", } as const; -let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fv +>; export function ProgramUniform4fv( program: GLuint, @@ -10278,7 +10733,9 @@ export const def_glProgramUniform4dv = { result: "void", } as const; -let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4dv +>; export function ProgramUniform4dv( program: GLuint, @@ -10299,7 +10756,9 @@ export const def_glProgramUniform4ui = { result: "void", } as const; -let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui +>; export function ProgramUniform4ui( program: GLuint, @@ -10324,7 +10783,9 @@ export const def_glProgramUniform4uiv = { result: "void", } as const; -let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uiv +>; export function ProgramUniform4uiv( program: GLuint, @@ -10345,7 +10806,9 @@ export const def_glProgramUniformMatrix2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2fv +>; export function ProgramUniformMatrix2fv( program: GLuint, @@ -10368,7 +10831,9 @@ export const def_glProgramUniformMatrix3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3fv +>; export function ProgramUniformMatrix3fv( program: GLuint, @@ -10391,7 +10856,9 @@ export const def_glProgramUniformMatrix4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4fv +>; export function ProgramUniformMatrix4fv( program: GLuint, @@ -10414,7 +10881,9 @@ export const def_glProgramUniformMatrix2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2dv +>; export function ProgramUniformMatrix2dv( program: GLuint, @@ -10437,7 +10906,9 @@ export const def_glProgramUniformMatrix3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3dv +>; export function ProgramUniformMatrix3dv( program: GLuint, @@ -10460,7 +10931,9 @@ export const def_glProgramUniformMatrix4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4dv +>; export function ProgramUniformMatrix4dv( program: GLuint, @@ -10483,7 +10956,9 @@ export const def_glProgramUniformMatrix2x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3fv +>; export function ProgramUniformMatrix2x3fv( program: GLuint, @@ -10506,7 +10981,9 @@ export const def_glProgramUniformMatrix3x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2fv +>; export function ProgramUniformMatrix3x2fv( program: GLuint, @@ -10529,7 +11006,9 @@ export const def_glProgramUniformMatrix2x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4fv +>; export function ProgramUniformMatrix2x4fv( program: GLuint, @@ -10552,7 +11031,9 @@ export const def_glProgramUniformMatrix4x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2fv +>; export function ProgramUniformMatrix4x2fv( program: GLuint, @@ -10575,7 +11056,9 @@ export const def_glProgramUniformMatrix3x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4fv +>; export function ProgramUniformMatrix3x4fv( program: GLuint, @@ -10598,7 +11081,9 @@ export const def_glProgramUniformMatrix4x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3fv +>; export function ProgramUniformMatrix4x3fv( program: GLuint, @@ -10621,7 +11106,9 @@ export const def_glProgramUniformMatrix2x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3dv +>; export function ProgramUniformMatrix2x3dv( program: GLuint, @@ -10644,7 +11131,9 @@ export const def_glProgramUniformMatrix3x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2dv +>; export function ProgramUniformMatrix3x2dv( program: GLuint, @@ -10667,7 +11156,9 @@ export const def_glProgramUniformMatrix2x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4dv +>; export function ProgramUniformMatrix2x4dv( program: GLuint, @@ -10690,7 +11181,9 @@ export const def_glProgramUniformMatrix4x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2dv +>; export function ProgramUniformMatrix4x2dv( program: GLuint, @@ -10713,7 +11206,9 @@ export const def_glProgramUniformMatrix3x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4dv +>; export function ProgramUniformMatrix3x4dv( program: GLuint, @@ -10736,7 +11231,9 @@ export const def_glProgramUniformMatrix4x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3dv +>; export function ProgramUniformMatrix4x3dv( program: GLuint, @@ -10759,7 +11256,9 @@ export const def_glValidateProgramPipeline = { result: "void", } as const; -let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glValidateProgramPipeline +>; export function ValidateProgramPipeline( pipeline: GLuint, @@ -10774,7 +11273,9 @@ export const def_glGetProgramPipelineInfoLog = { result: "void", } as const; -let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineInfoLog +>; export function GetProgramPipelineInfoLog( pipeline: GLuint, @@ -10943,7 +11444,9 @@ export const def_glVertexAttribLPointer = { result: "void", } as const; -let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLPointer +>; export function VertexAttribLPointer( index: GLuint, @@ -10966,7 +11469,9 @@ export const def_glGetVertexAttribLdv = { result: "void", } as const; -let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribLdv +>; export function GetVertexAttribLdv( index: GLuint, @@ -11027,7 +11532,9 @@ export const def_glViewportIndexedfv = { result: "void", } as const; -let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer; +let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer< + typeof def_glViewportIndexedfv +>; export function ViewportIndexedfv( index: GLuint, @@ -11122,7 +11629,9 @@ export const def_glDepthRangeIndexed = { result: "void", } as const; -let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer; +let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeIndexed +>; export function DepthRangeIndexed( index: GLuint, @@ -11179,7 +11688,9 @@ export const def_glDrawArraysInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedBaseInstance +>; export function DrawArraysInstancedBaseInstance( mode: GLenum, @@ -11202,7 +11713,9 @@ export const def_glDrawElementsInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseInstance +>; export function DrawElementsInstancedBaseInstance( mode: GLenum, @@ -11227,7 +11740,9 @@ export const def_glDrawElementsInstancedBaseVertexBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertexBaseInstance +>; export function DrawElementsInstancedBaseVertexBaseInstance( mode: GLenum, @@ -11254,7 +11769,9 @@ export const def_glGetInternalformativ = { result: "void", } as const; -let fn_glGetInternalformativ!: Deno.UnsafeFnPointer; +let fn_glGetInternalformativ!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformativ +>; export function GetInternalformativ( target: GLenum, @@ -11277,7 +11794,9 @@ export const def_glGetActiveAtomicCounterBufferiv = { result: "void", } as const; -let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveAtomicCounterBufferiv +>; export function GetActiveAtomicCounterBufferiv( program: GLuint, @@ -11409,7 +11928,9 @@ export const def_glDrawTransformFeedbackInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackInstanced +>; export function DrawTransformFeedbackInstanced( mode: GLenum, @@ -11428,7 +11949,9 @@ export const def_glDrawTransformFeedbackStreamInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStreamInstanced +>; export function DrawTransformFeedbackStreamInstanced( mode: GLenum, @@ -11472,7 +11995,9 @@ export const def_glClearBufferSubData = { result: "void", } as const; -let fn_glClearBufferSubData!: Deno.UnsafeFnPointer; +let fn_glClearBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glClearBufferSubData +>; export function ClearBufferSubData( target: GLenum, @@ -11518,7 +12043,9 @@ export const def_glDispatchComputeIndirect = { result: "void", } as const; -let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer; +let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer< + typeof def_glDispatchComputeIndirect +>; export function DispatchComputeIndirect( indirect: GLintptr, @@ -11529,7 +12056,23 @@ export function DispatchComputeIndirect( } export const def_glCopyImageSubData = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; @@ -11576,7 +12119,9 @@ export const def_glFramebufferParameteri = { result: "void", } as const; -let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer; +let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer< + typeof def_glFramebufferParameteri +>; export function FramebufferParameteri( target: GLenum, @@ -11595,7 +12140,9 @@ export const def_glGetFramebufferParameteriv = { result: "void", } as const; -let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferParameteriv +>; export function GetFramebufferParameteriv( target: GLenum, @@ -11614,7 +12161,9 @@ export const def_glGetInternalformati64v = { result: "void", } as const; -let fn_glGetInternalformati64v!: Deno.UnsafeFnPointer; +let fn_glGetInternalformati64v!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformati64v +>; export function GetInternalformati64v( target: GLenum, @@ -11637,7 +12186,9 @@ export const def_glInvalidateTexSubImage = { result: "void", } as const; -let fn_glInvalidateTexSubImage!: Deno.UnsafeFnPointer; +let fn_glInvalidateTexSubImage!: Deno.UnsafeFnPointer< + typeof def_glInvalidateTexSubImage +>; export function InvalidateTexSubImage( texture: GLuint, @@ -11666,7 +12217,9 @@ export const def_glInvalidateTexImage = { result: "void", } as const; -let fn_glInvalidateTexImage!: Deno.UnsafeFnPointer; +let fn_glInvalidateTexImage!: Deno.UnsafeFnPointer< + typeof def_glInvalidateTexImage +>; export function InvalidateTexImage( texture: GLuint, @@ -11683,7 +12236,9 @@ export const def_glInvalidateBufferSubData = { result: "void", } as const; -let fn_glInvalidateBufferSubData!: Deno.UnsafeFnPointer; +let fn_glInvalidateBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateBufferSubData +>; export function InvalidateBufferSubData( buffer: GLuint, @@ -11702,7 +12257,9 @@ export const def_glInvalidateBufferData = { result: "void", } as const; -let fn_glInvalidateBufferData!: Deno.UnsafeFnPointer; +let fn_glInvalidateBufferData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateBufferData +>; export function InvalidateBufferData( buffer: GLuint, @@ -11717,7 +12274,9 @@ export const def_glInvalidateFramebuffer = { result: "void", } as const; -let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateFramebuffer +>; export function InvalidateFramebuffer( target: GLenum, @@ -11736,7 +12295,9 @@ export const def_glInvalidateSubFramebuffer = { result: "void", } as const; -let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateSubFramebuffer +>; export function InvalidateSubFramebuffer( target: GLenum, @@ -11763,7 +12324,9 @@ export const def_glMultiDrawArraysIndirect = { result: "void", } as const; -let fn_glMultiDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysIndirect +>; export function MultiDrawArraysIndirect( mode: GLenum, @@ -11784,7 +12347,9 @@ export const def_glMultiDrawElementsIndirect = { result: "void", } as const; -let fn_glMultiDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsIndirect +>; export function MultiDrawElementsIndirect( mode: GLenum, @@ -11807,7 +12372,9 @@ export const def_glGetProgramInterfaceiv = { result: "void", } as const; -let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInterfaceiv +>; export function GetProgramInterfaceiv( program: GLuint, @@ -11828,7 +12395,9 @@ export const def_glGetProgramResourceIndex = { result: "u32", } as const; -let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceIndex +>; export function GetProgramResourceIndex( program: GLuint, @@ -11847,7 +12416,9 @@ export const def_glGetProgramResourceName = { result: "void", } as const; -let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceName +>; export function GetProgramResourceName( program: GLuint, @@ -11872,7 +12443,9 @@ export const def_glGetProgramResourceiv = { result: "void", } as const; -let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceiv +>; export function GetProgramResourceiv( program: GLuint, @@ -11901,7 +12474,9 @@ export const def_glGetProgramResourceLocation = { result: "i32", } as const; -let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocation +>; export function GetProgramResourceLocation( program: GLuint, @@ -11920,7 +12495,9 @@ export const def_glGetProgramResourceLocationIndex = { result: "i32", } as const; -let fn_glGetProgramResourceLocationIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocationIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocationIndex +>; export function GetProgramResourceLocationIndex( program: GLuint, @@ -11939,7 +12516,9 @@ export const def_glShaderStorageBlockBinding = { result: "void", } as const; -let fn_glShaderStorageBlockBinding!: Deno.UnsafeFnPointer; +let fn_glShaderStorageBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glShaderStorageBlockBinding +>; export function ShaderStorageBlockBinding( program: GLuint, @@ -11981,7 +12560,9 @@ export const def_glTexStorage2DMultisample = { result: "void", } as const; -let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage2DMultisample +>; export function TexStorage2DMultisample( target: GLenum, @@ -12006,7 +12587,9 @@ export const def_glTexStorage3DMultisample = { result: "void", } as const; -let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage3DMultisample +>; export function TexStorage3DMultisample( target: GLenum, @@ -12083,7 +12666,9 @@ export const def_glVertexAttribFormat = { result: "void", } as const; -let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribFormat +>; export function VertexAttribFormat( attribindex: GLuint, @@ -12106,7 +12691,9 @@ export const def_glVertexAttribIFormat = { result: "void", } as const; -let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIFormat +>; export function VertexAttribIFormat( attribindex: GLuint, @@ -12127,7 +12714,9 @@ export const def_glVertexAttribLFormat = { result: "void", } as const; -let fn_glVertexAttribLFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLFormat +>; export function VertexAttribLFormat( attribindex: GLuint, @@ -12148,7 +12737,9 @@ export const def_glVertexAttribBinding = { result: "void", } as const; -let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer; +let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribBinding +>; export function VertexAttribBinding( attribindex: GLuint, @@ -12165,7 +12756,9 @@ export const def_glVertexBindingDivisor = { result: "void", } as const; -let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexBindingDivisor +>; export function VertexBindingDivisor( bindingindex: GLuint, @@ -12182,7 +12775,9 @@ export const def_glDebugMessageControl = { result: "void", } as const; -let fn_glDebugMessageControl!: Deno.UnsafeFnPointer; +let fn_glDebugMessageControl!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageControl +>; export function DebugMessageControl( source: GLenum, @@ -12207,7 +12802,9 @@ export const def_glDebugMessageInsert = { result: "void", } as const; -let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer; +let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageInsert +>; export function DebugMessageInsert( source: GLenum, @@ -12232,7 +12829,9 @@ export const def_glDebugMessageCallback = { result: "void", } as const; -let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer; +let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageCallback +>; export function DebugMessageCallback( callback: GLDEBUGPROC, @@ -12245,11 +12844,22 @@ export function DebugMessageCallback( } export const def_glGetDebugMessageLog = { - parameters: ["u32", "i32", "buffer", "buffer", "buffer", "buffer", "buffer", "buffer"], + parameters: [ + "u32", + "i32", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + ], result: "u32", } as const; -let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer; +let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer< + typeof def_glGetDebugMessageLog +>; export function GetDebugMessageLog( count: GLuint, @@ -12373,7 +12983,9 @@ export const def_glGetObjectPtrLabel = { result: "void", } as const; -let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer; +let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer< + typeof def_glGetObjectPtrLabel +>; export function GetObjectPtrLabel( ptr: Buffer, @@ -12409,567 +13021,2202 @@ export function GetPointerv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glClampColor = new Deno.UnsafeFnPointer(proc("glClampColor"), def_glClampColor); - fn_glBeginConditionalRender = new Deno.UnsafeFnPointer(proc("glBeginConditionalRender"), def_glBeginConditionalRender); - fn_glEndConditionalRender = new Deno.UnsafeFnPointer(proc("glEndConditionalRender"), def_glEndConditionalRender); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI1i = new Deno.UnsafeFnPointer(proc("glVertexAttribI1i"), def_glVertexAttribI1i); - fn_glVertexAttribI2i = new Deno.UnsafeFnPointer(proc("glVertexAttribI2i"), def_glVertexAttribI2i); - fn_glVertexAttribI3i = new Deno.UnsafeFnPointer(proc("glVertexAttribI3i"), def_glVertexAttribI3i); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ui"), def_glVertexAttribI1ui); - fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ui"), def_glVertexAttribI2ui); - fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ui"), def_glVertexAttribI3ui); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iv"), def_glVertexAttribI1iv); - fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iv"), def_glVertexAttribI2iv); - fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iv"), def_glVertexAttribI3iv); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiv"), def_glVertexAttribI1uiv); - fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiv"), def_glVertexAttribI2uiv); - fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiv"), def_glVertexAttribI3uiv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bv"), def_glVertexAttribI4bv); - fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4sv"), def_glVertexAttribI4sv); - fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubv"), def_glVertexAttribI4ubv); - fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usv"), def_glVertexAttribI4usv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glBindFragDataLocation = new Deno.UnsafeFnPointer(proc("glBindFragDataLocation"), def_glBindFragDataLocation); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glTexBuffer = new Deno.UnsafeFnPointer(proc("glTexBuffer"), def_glTexBuffer); - fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartIndex"), def_glPrimitiveRestartIndex); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetActiveUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformName"), def_glGetActiveUniformName); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertex"), def_glDrawElementsBaseVertex); - fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertex"), def_glDrawRangeElementsBaseVertex); - fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertex"), def_glDrawElementsInstancedBaseVertex); - fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertex"), def_glMultiDrawElementsBaseVertex); - fn_glProvokingVertex = new Deno.UnsafeFnPointer(proc("glProvokingVertex"), def_glProvokingVertex); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); - fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); - fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glFramebufferTexture = new Deno.UnsafeFnPointer(proc("glFramebufferTexture"), def_glFramebufferTexture); - fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage2DMultisample"), def_glTexImage2DMultisample); - fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage3DMultisample"), def_glTexImage3DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); - fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationIndexed"), def_glBindFragDataLocationIndexed); - fn_glGetFragDataIndex = new Deno.UnsafeFnPointer(proc("glGetFragDataIndex"), def_glGetFragDataIndex); - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIiv"), def_glSamplerParameterIiv); - fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuiv"), def_glSamplerParameterIuiv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIiv"), def_glGetSamplerParameterIiv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuiv"), def_glGetSamplerParameterIuiv); - fn_glQueryCounter = new Deno.UnsafeFnPointer(proc("glQueryCounter"), def_glQueryCounter); - fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjecti64v"), def_glGetQueryObjecti64v); - fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjectui64v"), def_glGetQueryObjectui64v); - fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisor"), def_glVertexAttribDivisor); - fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP1ui"), def_glVertexAttribP1ui); - fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP1uiv"), def_glVertexAttribP1uiv); - fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP2ui"), def_glVertexAttribP2ui); - fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP2uiv"), def_glVertexAttribP2uiv); - fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP3ui"), def_glVertexAttribP3ui); - fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP3uiv"), def_glVertexAttribP3uiv); - fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP4ui"), def_glVertexAttribP4ui); - fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP4uiv"), def_glVertexAttribP4uiv); - fn_glVertexP2ui = new Deno.UnsafeFnPointer(proc("glVertexP2ui"), def_glVertexP2ui); - fn_glVertexP2uiv = new Deno.UnsafeFnPointer(proc("glVertexP2uiv"), def_glVertexP2uiv); - fn_glVertexP3ui = new Deno.UnsafeFnPointer(proc("glVertexP3ui"), def_glVertexP3ui); - fn_glVertexP3uiv = new Deno.UnsafeFnPointer(proc("glVertexP3uiv"), def_glVertexP3uiv); - fn_glVertexP4ui = new Deno.UnsafeFnPointer(proc("glVertexP4ui"), def_glVertexP4ui); - fn_glVertexP4uiv = new Deno.UnsafeFnPointer(proc("glVertexP4uiv"), def_glVertexP4uiv); - fn_glTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glTexCoordP1ui"), def_glTexCoordP1ui); - fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP1uiv"), def_glTexCoordP1uiv); - fn_glTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glTexCoordP2ui"), def_glTexCoordP2ui); - fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP2uiv"), def_glTexCoordP2uiv); - fn_glTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glTexCoordP3ui"), def_glTexCoordP3ui); - fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP3uiv"), def_glTexCoordP3uiv); - fn_glTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glTexCoordP4ui"), def_glTexCoordP4ui); - fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP4uiv"), def_glTexCoordP4uiv); - fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1ui"), def_glMultiTexCoordP1ui); - fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1uiv"), def_glMultiTexCoordP1uiv); - fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2ui"), def_glMultiTexCoordP2ui); - fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2uiv"), def_glMultiTexCoordP2uiv); - fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3ui"), def_glMultiTexCoordP3ui); - fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3uiv"), def_glMultiTexCoordP3uiv); - fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4ui"), def_glMultiTexCoordP4ui); - fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4uiv"), def_glMultiTexCoordP4uiv); - fn_glNormalP3ui = new Deno.UnsafeFnPointer(proc("glNormalP3ui"), def_glNormalP3ui); - fn_glNormalP3uiv = new Deno.UnsafeFnPointer(proc("glNormalP3uiv"), def_glNormalP3uiv); - fn_glColorP3ui = new Deno.UnsafeFnPointer(proc("glColorP3ui"), def_glColorP3ui); - fn_glColorP3uiv = new Deno.UnsafeFnPointer(proc("glColorP3uiv"), def_glColorP3uiv); - fn_glColorP4ui = new Deno.UnsafeFnPointer(proc("glColorP4ui"), def_glColorP4ui); - fn_glColorP4uiv = new Deno.UnsafeFnPointer(proc("glColorP4uiv"), def_glColorP4uiv); - fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3ui"), def_glSecondaryColorP3ui); - fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3uiv"), def_glSecondaryColorP3uiv); - fn_glMinSampleShading = new Deno.UnsafeFnPointer(proc("glMinSampleShading"), def_glMinSampleShading); - fn_glBlendEquationi = new Deno.UnsafeFnPointer(proc("glBlendEquationi"), def_glBlendEquationi); - fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparatei"), def_glBlendEquationSeparatei); - fn_glBlendFunci = new Deno.UnsafeFnPointer(proc("glBlendFunci"), def_glBlendFunci); - fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparatei"), def_glBlendFuncSeparatei); - fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glDrawArraysIndirect"), def_glDrawArraysIndirect); - fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glDrawElementsIndirect"), def_glDrawElementsIndirect); - fn_glUniform1d = new Deno.UnsafeFnPointer(proc("glUniform1d"), def_glUniform1d); - fn_glUniform2d = new Deno.UnsafeFnPointer(proc("glUniform2d"), def_glUniform2d); - fn_glUniform3d = new Deno.UnsafeFnPointer(proc("glUniform3d"), def_glUniform3d); - fn_glUniform4d = new Deno.UnsafeFnPointer(proc("glUniform4d"), def_glUniform4d); - fn_glUniform1dv = new Deno.UnsafeFnPointer(proc("glUniform1dv"), def_glUniform1dv); - fn_glUniform2dv = new Deno.UnsafeFnPointer(proc("glUniform2dv"), def_glUniform2dv); - fn_glUniform3dv = new Deno.UnsafeFnPointer(proc("glUniform3dv"), def_glUniform3dv); - fn_glUniform4dv = new Deno.UnsafeFnPointer(proc("glUniform4dv"), def_glUniform4dv); - fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2dv"), def_glUniformMatrix2dv); - fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3dv"), def_glUniformMatrix3dv); - fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4dv"), def_glUniformMatrix4dv); - fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3dv"), def_glUniformMatrix2x3dv); - fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4dv"), def_glUniformMatrix2x4dv); - fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2dv"), def_glUniformMatrix3x2dv); - fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4dv"), def_glUniformMatrix3x4dv); - fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2dv"), def_glUniformMatrix4x2dv); - fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3dv"), def_glUniformMatrix4x3dv); - fn_glGetUniformdv = new Deno.UnsafeFnPointer(proc("glGetUniformdv"), def_glGetUniformdv); - fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer(proc("glGetSubroutineUniformLocation"), def_glGetSubroutineUniformLocation); - fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer(proc("glGetSubroutineIndex"), def_glGetSubroutineIndex); - fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformiv"), def_glGetActiveSubroutineUniformiv); - fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformName"), def_glGetActiveSubroutineUniformName); - fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineName"), def_glGetActiveSubroutineName); - fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer(proc("glUniformSubroutinesuiv"), def_glUniformSubroutinesuiv); - fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer(proc("glGetUniformSubroutineuiv"), def_glGetUniformSubroutineuiv); - fn_glGetProgramStageiv = new Deno.UnsafeFnPointer(proc("glGetProgramStageiv"), def_glGetProgramStageiv); - fn_glPatchParameteri = new Deno.UnsafeFnPointer(proc("glPatchParameteri"), def_glPatchParameteri); - fn_glPatchParameterfv = new Deno.UnsafeFnPointer(proc("glPatchParameterfv"), def_glPatchParameterfv); - fn_glBindTransformFeedback = new Deno.UnsafeFnPointer(proc("glBindTransformFeedback"), def_glBindTransformFeedback); - fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacks"), def_glDeleteTransformFeedbacks); - fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacks"), def_glGenTransformFeedbacks); - fn_glIsTransformFeedback = new Deno.UnsafeFnPointer(proc("glIsTransformFeedback"), def_glIsTransformFeedback); - fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedback"), def_glPauseTransformFeedback); - fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedback"), def_glResumeTransformFeedback); - fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedback"), def_glDrawTransformFeedback); - fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStream"), def_glDrawTransformFeedbackStream); - fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer(proc("glBeginQueryIndexed"), def_glBeginQueryIndexed); - fn_glEndQueryIndexed = new Deno.UnsafeFnPointer(proc("glEndQueryIndexed"), def_glEndQueryIndexed); - fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer(proc("glGetQueryIndexediv"), def_glGetQueryIndexediv); - fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer(proc("glReleaseShaderCompiler"), def_glReleaseShaderCompiler); - fn_glShaderBinary = new Deno.UnsafeFnPointer(proc("glShaderBinary"), def_glShaderBinary); - fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer(proc("glGetShaderPrecisionFormat"), def_glGetShaderPrecisionFormat); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glGetProgramBinary = new Deno.UnsafeFnPointer(proc("glGetProgramBinary"), def_glGetProgramBinary); - fn_glProgramBinary = new Deno.UnsafeFnPointer(proc("glProgramBinary"), def_glProgramBinary); - fn_glProgramParameteri = new Deno.UnsafeFnPointer(proc("glProgramParameteri"), def_glProgramParameteri); - fn_glUseProgramStages = new Deno.UnsafeFnPointer(proc("glUseProgramStages"), def_glUseProgramStages); - fn_glActiveShaderProgram = new Deno.UnsafeFnPointer(proc("glActiveShaderProgram"), def_glActiveShaderProgram); - fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer(proc("glCreateShaderProgramv"), def_glCreateShaderProgramv); - fn_glBindProgramPipeline = new Deno.UnsafeFnPointer(proc("glBindProgramPipeline"), def_glBindProgramPipeline); - fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer(proc("glDeleteProgramPipelines"), def_glDeleteProgramPipelines); - fn_glGenProgramPipelines = new Deno.UnsafeFnPointer(proc("glGenProgramPipelines"), def_glGenProgramPipelines); - fn_glIsProgramPipeline = new Deno.UnsafeFnPointer(proc("glIsProgramPipeline"), def_glIsProgramPipeline); - fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineiv"), def_glGetProgramPipelineiv); - fn_glProgramUniform1i = new Deno.UnsafeFnPointer(proc("glProgramUniform1i"), def_glProgramUniform1i); - fn_glProgramUniform1iv = new Deno.UnsafeFnPointer(proc("glProgramUniform1iv"), def_glProgramUniform1iv); - fn_glProgramUniform1f = new Deno.UnsafeFnPointer(proc("glProgramUniform1f"), def_glProgramUniform1f); - fn_glProgramUniform1fv = new Deno.UnsafeFnPointer(proc("glProgramUniform1fv"), def_glProgramUniform1fv); - fn_glProgramUniform1d = new Deno.UnsafeFnPointer(proc("glProgramUniform1d"), def_glProgramUniform1d); - fn_glProgramUniform1dv = new Deno.UnsafeFnPointer(proc("glProgramUniform1dv"), def_glProgramUniform1dv); - fn_glProgramUniform1ui = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui"), def_glProgramUniform1ui); - fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform1uiv"), def_glProgramUniform1uiv); - fn_glProgramUniform2i = new Deno.UnsafeFnPointer(proc("glProgramUniform2i"), def_glProgramUniform2i); - fn_glProgramUniform2iv = new Deno.UnsafeFnPointer(proc("glProgramUniform2iv"), def_glProgramUniform2iv); - fn_glProgramUniform2f = new Deno.UnsafeFnPointer(proc("glProgramUniform2f"), def_glProgramUniform2f); - fn_glProgramUniform2fv = new Deno.UnsafeFnPointer(proc("glProgramUniform2fv"), def_glProgramUniform2fv); - fn_glProgramUniform2d = new Deno.UnsafeFnPointer(proc("glProgramUniform2d"), def_glProgramUniform2d); - fn_glProgramUniform2dv = new Deno.UnsafeFnPointer(proc("glProgramUniform2dv"), def_glProgramUniform2dv); - fn_glProgramUniform2ui = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui"), def_glProgramUniform2ui); - fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform2uiv"), def_glProgramUniform2uiv); - fn_glProgramUniform3i = new Deno.UnsafeFnPointer(proc("glProgramUniform3i"), def_glProgramUniform3i); - fn_glProgramUniform3iv = new Deno.UnsafeFnPointer(proc("glProgramUniform3iv"), def_glProgramUniform3iv); - fn_glProgramUniform3f = new Deno.UnsafeFnPointer(proc("glProgramUniform3f"), def_glProgramUniform3f); - fn_glProgramUniform3fv = new Deno.UnsafeFnPointer(proc("glProgramUniform3fv"), def_glProgramUniform3fv); - fn_glProgramUniform3d = new Deno.UnsafeFnPointer(proc("glProgramUniform3d"), def_glProgramUniform3d); - fn_glProgramUniform3dv = new Deno.UnsafeFnPointer(proc("glProgramUniform3dv"), def_glProgramUniform3dv); - fn_glProgramUniform3ui = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui"), def_glProgramUniform3ui); - fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform3uiv"), def_glProgramUniform3uiv); - fn_glProgramUniform4i = new Deno.UnsafeFnPointer(proc("glProgramUniform4i"), def_glProgramUniform4i); - fn_glProgramUniform4iv = new Deno.UnsafeFnPointer(proc("glProgramUniform4iv"), def_glProgramUniform4iv); - fn_glProgramUniform4f = new Deno.UnsafeFnPointer(proc("glProgramUniform4f"), def_glProgramUniform4f); - fn_glProgramUniform4fv = new Deno.UnsafeFnPointer(proc("glProgramUniform4fv"), def_glProgramUniform4fv); - fn_glProgramUniform4d = new Deno.UnsafeFnPointer(proc("glProgramUniform4d"), def_glProgramUniform4d); - fn_glProgramUniform4dv = new Deno.UnsafeFnPointer(proc("glProgramUniform4dv"), def_glProgramUniform4dv); - fn_glProgramUniform4ui = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui"), def_glProgramUniform4ui); - fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform4uiv"), def_glProgramUniform4uiv); - fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2fv"), def_glProgramUniformMatrix2fv); - fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3fv"), def_glProgramUniformMatrix3fv); - fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4fv"), def_glProgramUniformMatrix4fv); - fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2dv"), def_glProgramUniformMatrix2dv); - fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3dv"), def_glProgramUniformMatrix3dv); - fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4dv"), def_glProgramUniformMatrix4dv); - fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3fv"), def_glProgramUniformMatrix2x3fv); - fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2fv"), def_glProgramUniformMatrix3x2fv); - fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4fv"), def_glProgramUniformMatrix2x4fv); - fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2fv"), def_glProgramUniformMatrix4x2fv); - fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4fv"), def_glProgramUniformMatrix3x4fv); - fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3fv"), def_glProgramUniformMatrix4x3fv); - fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3dv"), def_glProgramUniformMatrix2x3dv); - fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2dv"), def_glProgramUniformMatrix3x2dv); - fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4dv"), def_glProgramUniformMatrix2x4dv); - fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2dv"), def_glProgramUniformMatrix4x2dv); - fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4dv"), def_glProgramUniformMatrix3x4dv); - fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3dv"), def_glProgramUniformMatrix4x3dv); - fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer(proc("glValidateProgramPipeline"), def_glValidateProgramPipeline); - fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineInfoLog"), def_glGetProgramPipelineInfoLog); - fn_glVertexAttribL1d = new Deno.UnsafeFnPointer(proc("glVertexAttribL1d"), def_glVertexAttribL1d); - fn_glVertexAttribL2d = new Deno.UnsafeFnPointer(proc("glVertexAttribL2d"), def_glVertexAttribL2d); - fn_glVertexAttribL3d = new Deno.UnsafeFnPointer(proc("glVertexAttribL3d"), def_glVertexAttribL3d); - fn_glVertexAttribL4d = new Deno.UnsafeFnPointer(proc("glVertexAttribL4d"), def_glVertexAttribL4d); - fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL1dv"), def_glVertexAttribL1dv); - fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL2dv"), def_glVertexAttribL2dv); - fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL3dv"), def_glVertexAttribL3dv); - fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL4dv"), def_glVertexAttribL4dv); - fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribLPointer"), def_glVertexAttribLPointer); - fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribLdv"), def_glGetVertexAttribLdv); - fn_glViewportArrayv = new Deno.UnsafeFnPointer(proc("glViewportArrayv"), def_glViewportArrayv); - fn_glViewportIndexedf = new Deno.UnsafeFnPointer(proc("glViewportIndexedf"), def_glViewportIndexedf); - fn_glViewportIndexedfv = new Deno.UnsafeFnPointer(proc("glViewportIndexedfv"), def_glViewportIndexedfv); - fn_glScissorArrayv = new Deno.UnsafeFnPointer(proc("glScissorArrayv"), def_glScissorArrayv); - fn_glScissorIndexed = new Deno.UnsafeFnPointer(proc("glScissorIndexed"), def_glScissorIndexed); - fn_glScissorIndexedv = new Deno.UnsafeFnPointer(proc("glScissorIndexedv"), def_glScissorIndexedv); - fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer(proc("glDepthRangeArrayv"), def_glDepthRangeArrayv); - fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer(proc("glDepthRangeIndexed"), def_glDepthRangeIndexed); - fn_glGetFloati_v = new Deno.UnsafeFnPointer(proc("glGetFloati_v"), def_glGetFloati_v); - fn_glGetDoublei_v = new Deno.UnsafeFnPointer(proc("glGetDoublei_v"), def_glGetDoublei_v); - fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedBaseInstance"), def_glDrawArraysInstancedBaseInstance); - fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseInstance"), def_glDrawElementsInstancedBaseInstance); - fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertexBaseInstance"), def_glDrawElementsInstancedBaseVertexBaseInstance); - fn_glGetInternalformativ = new Deno.UnsafeFnPointer(proc("glGetInternalformativ"), def_glGetInternalformativ); - fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer(proc("glGetActiveAtomicCounterBufferiv"), def_glGetActiveAtomicCounterBufferiv); - fn_glBindImageTexture = new Deno.UnsafeFnPointer(proc("glBindImageTexture"), def_glBindImageTexture); - fn_glMemoryBarrier = new Deno.UnsafeFnPointer(proc("glMemoryBarrier"), def_glMemoryBarrier); - fn_glTexStorage1D = new Deno.UnsafeFnPointer(proc("glTexStorage1D"), def_glTexStorage1D); - fn_glTexStorage2D = new Deno.UnsafeFnPointer(proc("glTexStorage2D"), def_glTexStorage2D); - fn_glTexStorage3D = new Deno.UnsafeFnPointer(proc("glTexStorage3D"), def_glTexStorage3D); - fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackInstanced"), def_glDrawTransformFeedbackInstanced); - fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStreamInstanced"), def_glDrawTransformFeedbackStreamInstanced); - fn_glClearBufferData = new Deno.UnsafeFnPointer(proc("glClearBufferData"), def_glClearBufferData); - fn_glClearBufferSubData = new Deno.UnsafeFnPointer(proc("glClearBufferSubData"), def_glClearBufferSubData); - fn_glDispatchCompute = new Deno.UnsafeFnPointer(proc("glDispatchCompute"), def_glDispatchCompute); - fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer(proc("glDispatchComputeIndirect"), def_glDispatchComputeIndirect); - fn_glCopyImageSubData = new Deno.UnsafeFnPointer(proc("glCopyImageSubData"), def_glCopyImageSubData); - fn_glFramebufferParameteri = new Deno.UnsafeFnPointer(proc("glFramebufferParameteri"), def_glFramebufferParameteri); - fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferParameteriv"), def_glGetFramebufferParameteriv); - fn_glGetInternalformati64v = new Deno.UnsafeFnPointer(proc("glGetInternalformati64v"), def_glGetInternalformati64v); - fn_glInvalidateTexSubImage = new Deno.UnsafeFnPointer(proc("glInvalidateTexSubImage"), def_glInvalidateTexSubImage); - fn_glInvalidateTexImage = new Deno.UnsafeFnPointer(proc("glInvalidateTexImage"), def_glInvalidateTexImage); - fn_glInvalidateBufferSubData = new Deno.UnsafeFnPointer(proc("glInvalidateBufferSubData"), def_glInvalidateBufferSubData); - fn_glInvalidateBufferData = new Deno.UnsafeFnPointer(proc("glInvalidateBufferData"), def_glInvalidateBufferData); - fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateFramebuffer"), def_glInvalidateFramebuffer); - fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateSubFramebuffer"), def_glInvalidateSubFramebuffer); - fn_glMultiDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysIndirect"), def_glMultiDrawArraysIndirect); - fn_glMultiDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsIndirect"), def_glMultiDrawElementsIndirect); - fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer(proc("glGetProgramInterfaceiv"), def_glGetProgramInterfaceiv); - fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceIndex"), def_glGetProgramResourceIndex); - fn_glGetProgramResourceName = new Deno.UnsafeFnPointer(proc("glGetProgramResourceName"), def_glGetProgramResourceName); - fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer(proc("glGetProgramResourceiv"), def_glGetProgramResourceiv); - fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocation"), def_glGetProgramResourceLocation); - fn_glGetProgramResourceLocationIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocationIndex"), def_glGetProgramResourceLocationIndex); - fn_glShaderStorageBlockBinding = new Deno.UnsafeFnPointer(proc("glShaderStorageBlockBinding"), def_glShaderStorageBlockBinding); - fn_glTexBufferRange = new Deno.UnsafeFnPointer(proc("glTexBufferRange"), def_glTexBufferRange); - fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage2DMultisample"), def_glTexStorage2DMultisample); - fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage3DMultisample"), def_glTexStorage3DMultisample); - fn_glTextureView = new Deno.UnsafeFnPointer(proc("glTextureView"), def_glTextureView); - fn_glBindVertexBuffer = new Deno.UnsafeFnPointer(proc("glBindVertexBuffer"), def_glBindVertexBuffer); - fn_glVertexAttribFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribFormat"), def_glVertexAttribFormat); - fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribIFormat"), def_glVertexAttribIFormat); - fn_glVertexAttribLFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribLFormat"), def_glVertexAttribLFormat); - fn_glVertexAttribBinding = new Deno.UnsafeFnPointer(proc("glVertexAttribBinding"), def_glVertexAttribBinding); - fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer(proc("glVertexBindingDivisor"), def_glVertexBindingDivisor); - fn_glDebugMessageControl = new Deno.UnsafeFnPointer(proc("glDebugMessageControl"), def_glDebugMessageControl); - fn_glDebugMessageInsert = new Deno.UnsafeFnPointer(proc("glDebugMessageInsert"), def_glDebugMessageInsert); - fn_glDebugMessageCallback = new Deno.UnsafeFnPointer(proc("glDebugMessageCallback"), def_glDebugMessageCallback); - fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer(proc("glGetDebugMessageLog"), def_glGetDebugMessageLog); - fn_glPushDebugGroup = new Deno.UnsafeFnPointer(proc("glPushDebugGroup"), def_glPushDebugGroup); - fn_glPopDebugGroup = new Deno.UnsafeFnPointer(proc("glPopDebugGroup"), def_glPopDebugGroup); - fn_glObjectLabel = new Deno.UnsafeFnPointer(proc("glObjectLabel"), def_glObjectLabel); - fn_glGetObjectLabel = new Deno.UnsafeFnPointer(proc("glGetObjectLabel"), def_glGetObjectLabel); - fn_glObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glObjectPtrLabel"), def_glObjectPtrLabel); - fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glGetObjectPtrLabel"), def_glGetObjectPtrLabel); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glClampColor = new Deno.UnsafeFnPointer( + proc("glClampColor"), + def_glClampColor, + ); + fn_glBeginConditionalRender = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRender"), + def_glBeginConditionalRender, + ); + fn_glEndConditionalRender = new Deno.UnsafeFnPointer( + proc("glEndConditionalRender"), + def_glEndConditionalRender, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI1i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1i"), + def_glVertexAttribI1i, + ); + fn_glVertexAttribI2i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2i"), + def_glVertexAttribI2i, + ); + fn_glVertexAttribI3i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3i"), + def_glVertexAttribI3i, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ui"), + def_glVertexAttribI1ui, + ); + fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ui"), + def_glVertexAttribI2ui, + ); + fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ui"), + def_glVertexAttribI3ui, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iv"), + def_glVertexAttribI1iv, + ); + fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iv"), + def_glVertexAttribI2iv, + ); + fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iv"), + def_glVertexAttribI3iv, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiv"), + def_glVertexAttribI1uiv, + ); + fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiv"), + def_glVertexAttribI2uiv, + ); + fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiv"), + def_glVertexAttribI3uiv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bv"), + def_glVertexAttribI4bv, + ); + fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4sv"), + def_glVertexAttribI4sv, + ); + fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubv"), + def_glVertexAttribI4ubv, + ); + fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usv"), + def_glVertexAttribI4usv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glBindFragDataLocation = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocation"), + def_glBindFragDataLocation, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glTexBuffer = new Deno.UnsafeFnPointer( + proc("glTexBuffer"), + def_glTexBuffer, + ); + fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartIndex"), + def_glPrimitiveRestartIndex, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetActiveUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformName"), + def_glGetActiveUniformName, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertex"), + def_glDrawElementsBaseVertex, + ); + fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertex"), + def_glDrawRangeElementsBaseVertex, + ); + fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertex"), + def_glDrawElementsInstancedBaseVertex, + ); + fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertex"), + def_glMultiDrawElementsBaseVertex, + ); + fn_glProvokingVertex = new Deno.UnsafeFnPointer( + proc("glProvokingVertex"), + def_glProvokingVertex, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); + fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); + fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture"), + def_glFramebufferTexture, + ); + fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage2DMultisample"), + def_glTexImage2DMultisample, + ); + fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage3DMultisample"), + def_glTexImage3DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); + fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationIndexed"), + def_glBindFragDataLocationIndexed, + ); + fn_glGetFragDataIndex = new Deno.UnsafeFnPointer( + proc("glGetFragDataIndex"), + def_glGetFragDataIndex, + ); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIiv"), + def_glSamplerParameterIiv, + ); + fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuiv"), + def_glSamplerParameterIuiv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIiv"), + def_glGetSamplerParameterIiv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuiv"), + def_glGetSamplerParameterIuiv, + ); + fn_glQueryCounter = new Deno.UnsafeFnPointer( + proc("glQueryCounter"), + def_glQueryCounter, + ); + fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjecti64v"), + def_glGetQueryObjecti64v, + ); + fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectui64v"), + def_glGetQueryObjectui64v, + ); + fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisor"), + def_glVertexAttribDivisor, + ); + fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1ui"), + def_glVertexAttribP1ui, + ); + fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1uiv"), + def_glVertexAttribP1uiv, + ); + fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2ui"), + def_glVertexAttribP2ui, + ); + fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2uiv"), + def_glVertexAttribP2uiv, + ); + fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3ui"), + def_glVertexAttribP3ui, + ); + fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3uiv"), + def_glVertexAttribP3uiv, + ); + fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4ui"), + def_glVertexAttribP4ui, + ); + fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4uiv"), + def_glVertexAttribP4uiv, + ); + fn_glVertexP2ui = new Deno.UnsafeFnPointer( + proc("glVertexP2ui"), + def_glVertexP2ui, + ); + fn_glVertexP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexP2uiv"), + def_glVertexP2uiv, + ); + fn_glVertexP3ui = new Deno.UnsafeFnPointer( + proc("glVertexP3ui"), + def_glVertexP3ui, + ); + fn_glVertexP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexP3uiv"), + def_glVertexP3uiv, + ); + fn_glVertexP4ui = new Deno.UnsafeFnPointer( + proc("glVertexP4ui"), + def_glVertexP4ui, + ); + fn_glVertexP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexP4uiv"), + def_glVertexP4uiv, + ); + fn_glTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP1ui"), + def_glTexCoordP1ui, + ); + fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP1uiv"), + def_glTexCoordP1uiv, + ); + fn_glTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP2ui"), + def_glTexCoordP2ui, + ); + fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP2uiv"), + def_glTexCoordP2uiv, + ); + fn_glTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP3ui"), + def_glTexCoordP3ui, + ); + fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP3uiv"), + def_glTexCoordP3uiv, + ); + fn_glTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP4ui"), + def_glTexCoordP4ui, + ); + fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP4uiv"), + def_glTexCoordP4uiv, + ); + fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1ui"), + def_glMultiTexCoordP1ui, + ); + fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1uiv"), + def_glMultiTexCoordP1uiv, + ); + fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2ui"), + def_glMultiTexCoordP2ui, + ); + fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2uiv"), + def_glMultiTexCoordP2uiv, + ); + fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3ui"), + def_glMultiTexCoordP3ui, + ); + fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3uiv"), + def_glMultiTexCoordP3uiv, + ); + fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4ui"), + def_glMultiTexCoordP4ui, + ); + fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4uiv"), + def_glMultiTexCoordP4uiv, + ); + fn_glNormalP3ui = new Deno.UnsafeFnPointer( + proc("glNormalP3ui"), + def_glNormalP3ui, + ); + fn_glNormalP3uiv = new Deno.UnsafeFnPointer( + proc("glNormalP3uiv"), + def_glNormalP3uiv, + ); + fn_glColorP3ui = new Deno.UnsafeFnPointer( + proc("glColorP3ui"), + def_glColorP3ui, + ); + fn_glColorP3uiv = new Deno.UnsafeFnPointer( + proc("glColorP3uiv"), + def_glColorP3uiv, + ); + fn_glColorP4ui = new Deno.UnsafeFnPointer( + proc("glColorP4ui"), + def_glColorP4ui, + ); + fn_glColorP4uiv = new Deno.UnsafeFnPointer( + proc("glColorP4uiv"), + def_glColorP4uiv, + ); + fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3ui"), + def_glSecondaryColorP3ui, + ); + fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3uiv"), + def_glSecondaryColorP3uiv, + ); + fn_glMinSampleShading = new Deno.UnsafeFnPointer( + proc("glMinSampleShading"), + def_glMinSampleShading, + ); + fn_glBlendEquationi = new Deno.UnsafeFnPointer( + proc("glBlendEquationi"), + def_glBlendEquationi, + ); + fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparatei"), + def_glBlendEquationSeparatei, + ); + fn_glBlendFunci = new Deno.UnsafeFnPointer( + proc("glBlendFunci"), + def_glBlendFunci, + ); + fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparatei"), + def_glBlendFuncSeparatei, + ); + fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glDrawArraysIndirect"), + def_glDrawArraysIndirect, + ); + fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glDrawElementsIndirect"), + def_glDrawElementsIndirect, + ); + fn_glUniform1d = new Deno.UnsafeFnPointer( + proc("glUniform1d"), + def_glUniform1d, + ); + fn_glUniform2d = new Deno.UnsafeFnPointer( + proc("glUniform2d"), + def_glUniform2d, + ); + fn_glUniform3d = new Deno.UnsafeFnPointer( + proc("glUniform3d"), + def_glUniform3d, + ); + fn_glUniform4d = new Deno.UnsafeFnPointer( + proc("glUniform4d"), + def_glUniform4d, + ); + fn_glUniform1dv = new Deno.UnsafeFnPointer( + proc("glUniform1dv"), + def_glUniform1dv, + ); + fn_glUniform2dv = new Deno.UnsafeFnPointer( + proc("glUniform2dv"), + def_glUniform2dv, + ); + fn_glUniform3dv = new Deno.UnsafeFnPointer( + proc("glUniform3dv"), + def_glUniform3dv, + ); + fn_glUniform4dv = new Deno.UnsafeFnPointer( + proc("glUniform4dv"), + def_glUniform4dv, + ); + fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2dv"), + def_glUniformMatrix2dv, + ); + fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3dv"), + def_glUniformMatrix3dv, + ); + fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4dv"), + def_glUniformMatrix4dv, + ); + fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3dv"), + def_glUniformMatrix2x3dv, + ); + fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4dv"), + def_glUniformMatrix2x4dv, + ); + fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2dv"), + def_glUniformMatrix3x2dv, + ); + fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4dv"), + def_glUniformMatrix3x4dv, + ); + fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2dv"), + def_glUniformMatrix4x2dv, + ); + fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3dv"), + def_glUniformMatrix4x3dv, + ); + fn_glGetUniformdv = new Deno.UnsafeFnPointer( + proc("glGetUniformdv"), + def_glGetUniformdv, + ); + fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetSubroutineUniformLocation"), + def_glGetSubroutineUniformLocation, + ); + fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer( + proc("glGetSubroutineIndex"), + def_glGetSubroutineIndex, + ); + fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformiv"), + def_glGetActiveSubroutineUniformiv, + ); + fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformName"), + def_glGetActiveSubroutineUniformName, + ); + fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineName"), + def_glGetActiveSubroutineName, + ); + fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer( + proc("glUniformSubroutinesuiv"), + def_glUniformSubroutinesuiv, + ); + fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformSubroutineuiv"), + def_glGetUniformSubroutineuiv, + ); + fn_glGetProgramStageiv = new Deno.UnsafeFnPointer( + proc("glGetProgramStageiv"), + def_glGetProgramStageiv, + ); + fn_glPatchParameteri = new Deno.UnsafeFnPointer( + proc("glPatchParameteri"), + def_glPatchParameteri, + ); + fn_glPatchParameterfv = new Deno.UnsafeFnPointer( + proc("glPatchParameterfv"), + def_glPatchParameterfv, + ); + fn_glBindTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedback"), + def_glBindTransformFeedback, + ); + fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacks"), + def_glDeleteTransformFeedbacks, + ); + fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacks"), + def_glGenTransformFeedbacks, + ); + fn_glIsTransformFeedback = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedback"), + def_glIsTransformFeedback, + ); + fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedback"), + def_glPauseTransformFeedback, + ); + fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedback"), + def_glResumeTransformFeedback, + ); + fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedback"), + def_glDrawTransformFeedback, + ); + fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStream"), + def_glDrawTransformFeedbackStream, + ); + fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer( + proc("glBeginQueryIndexed"), + def_glBeginQueryIndexed, + ); + fn_glEndQueryIndexed = new Deno.UnsafeFnPointer( + proc("glEndQueryIndexed"), + def_glEndQueryIndexed, + ); + fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer( + proc("glGetQueryIndexediv"), + def_glGetQueryIndexediv, + ); + fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer( + proc("glReleaseShaderCompiler"), + def_glReleaseShaderCompiler, + ); + fn_glShaderBinary = new Deno.UnsafeFnPointer( + proc("glShaderBinary"), + def_glShaderBinary, + ); + fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer( + proc("glGetShaderPrecisionFormat"), + def_glGetShaderPrecisionFormat, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glGetProgramBinary = new Deno.UnsafeFnPointer( + proc("glGetProgramBinary"), + def_glGetProgramBinary, + ); + fn_glProgramBinary = new Deno.UnsafeFnPointer( + proc("glProgramBinary"), + def_glProgramBinary, + ); + fn_glProgramParameteri = new Deno.UnsafeFnPointer( + proc("glProgramParameteri"), + def_glProgramParameteri, + ); + fn_glUseProgramStages = new Deno.UnsafeFnPointer( + proc("glUseProgramStages"), + def_glUseProgramStages, + ); + fn_glActiveShaderProgram = new Deno.UnsafeFnPointer( + proc("glActiveShaderProgram"), + def_glActiveShaderProgram, + ); + fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer( + proc("glCreateShaderProgramv"), + def_glCreateShaderProgramv, + ); + fn_glBindProgramPipeline = new Deno.UnsafeFnPointer( + proc("glBindProgramPipeline"), + def_glBindProgramPipeline, + ); + fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer( + proc("glDeleteProgramPipelines"), + def_glDeleteProgramPipelines, + ); + fn_glGenProgramPipelines = new Deno.UnsafeFnPointer( + proc("glGenProgramPipelines"), + def_glGenProgramPipelines, + ); + fn_glIsProgramPipeline = new Deno.UnsafeFnPointer( + proc("glIsProgramPipeline"), + def_glIsProgramPipeline, + ); + fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineiv"), + def_glGetProgramPipelineiv, + ); + fn_glProgramUniform1i = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i"), + def_glProgramUniform1i, + ); + fn_glProgramUniform1iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1iv"), + def_glProgramUniform1iv, + ); + fn_glProgramUniform1f = new Deno.UnsafeFnPointer( + proc("glProgramUniform1f"), + def_glProgramUniform1f, + ); + fn_glProgramUniform1fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fv"), + def_glProgramUniform1fv, + ); + fn_glProgramUniform1d = new Deno.UnsafeFnPointer( + proc("glProgramUniform1d"), + def_glProgramUniform1d, + ); + fn_glProgramUniform1dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1dv"), + def_glProgramUniform1dv, + ); + fn_glProgramUniform1ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui"), + def_glProgramUniform1ui, + ); + fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uiv"), + def_glProgramUniform1uiv, + ); + fn_glProgramUniform2i = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i"), + def_glProgramUniform2i, + ); + fn_glProgramUniform2iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2iv"), + def_glProgramUniform2iv, + ); + fn_glProgramUniform2f = new Deno.UnsafeFnPointer( + proc("glProgramUniform2f"), + def_glProgramUniform2f, + ); + fn_glProgramUniform2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fv"), + def_glProgramUniform2fv, + ); + fn_glProgramUniform2d = new Deno.UnsafeFnPointer( + proc("glProgramUniform2d"), + def_glProgramUniform2d, + ); + fn_glProgramUniform2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2dv"), + def_glProgramUniform2dv, + ); + fn_glProgramUniform2ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui"), + def_glProgramUniform2ui, + ); + fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uiv"), + def_glProgramUniform2uiv, + ); + fn_glProgramUniform3i = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i"), + def_glProgramUniform3i, + ); + fn_glProgramUniform3iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3iv"), + def_glProgramUniform3iv, + ); + fn_glProgramUniform3f = new Deno.UnsafeFnPointer( + proc("glProgramUniform3f"), + def_glProgramUniform3f, + ); + fn_glProgramUniform3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fv"), + def_glProgramUniform3fv, + ); + fn_glProgramUniform3d = new Deno.UnsafeFnPointer( + proc("glProgramUniform3d"), + def_glProgramUniform3d, + ); + fn_glProgramUniform3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3dv"), + def_glProgramUniform3dv, + ); + fn_glProgramUniform3ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui"), + def_glProgramUniform3ui, + ); + fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uiv"), + def_glProgramUniform3uiv, + ); + fn_glProgramUniform4i = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i"), + def_glProgramUniform4i, + ); + fn_glProgramUniform4iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4iv"), + def_glProgramUniform4iv, + ); + fn_glProgramUniform4f = new Deno.UnsafeFnPointer( + proc("glProgramUniform4f"), + def_glProgramUniform4f, + ); + fn_glProgramUniform4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fv"), + def_glProgramUniform4fv, + ); + fn_glProgramUniform4d = new Deno.UnsafeFnPointer( + proc("glProgramUniform4d"), + def_glProgramUniform4d, + ); + fn_glProgramUniform4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4dv"), + def_glProgramUniform4dv, + ); + fn_glProgramUniform4ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui"), + def_glProgramUniform4ui, + ); + fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uiv"), + def_glProgramUniform4uiv, + ); + fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2fv"), + def_glProgramUniformMatrix2fv, + ); + fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3fv"), + def_glProgramUniformMatrix3fv, + ); + fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4fv"), + def_glProgramUniformMatrix4fv, + ); + fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2dv"), + def_glProgramUniformMatrix2dv, + ); + fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3dv"), + def_glProgramUniformMatrix3dv, + ); + fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4dv"), + def_glProgramUniformMatrix4dv, + ); + fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3fv"), + def_glProgramUniformMatrix2x3fv, + ); + fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2fv"), + def_glProgramUniformMatrix3x2fv, + ); + fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4fv"), + def_glProgramUniformMatrix2x4fv, + ); + fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2fv"), + def_glProgramUniformMatrix4x2fv, + ); + fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4fv"), + def_glProgramUniformMatrix3x4fv, + ); + fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3fv"), + def_glProgramUniformMatrix4x3fv, + ); + fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3dv"), + def_glProgramUniformMatrix2x3dv, + ); + fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2dv"), + def_glProgramUniformMatrix3x2dv, + ); + fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4dv"), + def_glProgramUniformMatrix2x4dv, + ); + fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2dv"), + def_glProgramUniformMatrix4x2dv, + ); + fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4dv"), + def_glProgramUniformMatrix3x4dv, + ); + fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3dv"), + def_glProgramUniformMatrix4x3dv, + ); + fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer( + proc("glValidateProgramPipeline"), + def_glValidateProgramPipeline, + ); + fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineInfoLog"), + def_glGetProgramPipelineInfoLog, + ); + fn_glVertexAttribL1d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1d"), + def_glVertexAttribL1d, + ); + fn_glVertexAttribL2d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2d"), + def_glVertexAttribL2d, + ); + fn_glVertexAttribL3d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3d"), + def_glVertexAttribL3d, + ); + fn_glVertexAttribL4d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4d"), + def_glVertexAttribL4d, + ); + fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1dv"), + def_glVertexAttribL1dv, + ); + fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2dv"), + def_glVertexAttribL2dv, + ); + fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3dv"), + def_glVertexAttribL3dv, + ); + fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4dv"), + def_glVertexAttribL4dv, + ); + fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribLPointer"), + def_glVertexAttribLPointer, + ); + fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribLdv"), + def_glGetVertexAttribLdv, + ); + fn_glViewportArrayv = new Deno.UnsafeFnPointer( + proc("glViewportArrayv"), + def_glViewportArrayv, + ); + fn_glViewportIndexedf = new Deno.UnsafeFnPointer( + proc("glViewportIndexedf"), + def_glViewportIndexedf, + ); + fn_glViewportIndexedfv = new Deno.UnsafeFnPointer( + proc("glViewportIndexedfv"), + def_glViewportIndexedfv, + ); + fn_glScissorArrayv = new Deno.UnsafeFnPointer( + proc("glScissorArrayv"), + def_glScissorArrayv, + ); + fn_glScissorIndexed = new Deno.UnsafeFnPointer( + proc("glScissorIndexed"), + def_glScissorIndexed, + ); + fn_glScissorIndexedv = new Deno.UnsafeFnPointer( + proc("glScissorIndexedv"), + def_glScissorIndexedv, + ); + fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer( + proc("glDepthRangeArrayv"), + def_glDepthRangeArrayv, + ); + fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer( + proc("glDepthRangeIndexed"), + def_glDepthRangeIndexed, + ); + fn_glGetFloati_v = new Deno.UnsafeFnPointer( + proc("glGetFloati_v"), + def_glGetFloati_v, + ); + fn_glGetDoublei_v = new Deno.UnsafeFnPointer( + proc("glGetDoublei_v"), + def_glGetDoublei_v, + ); + fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedBaseInstance"), + def_glDrawArraysInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseInstance"), + def_glDrawElementsInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertexBaseInstance"), + def_glDrawElementsInstancedBaseVertexBaseInstance, + ); + fn_glGetInternalformativ = new Deno.UnsafeFnPointer( + proc("glGetInternalformativ"), + def_glGetInternalformativ, + ); + fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer( + proc("glGetActiveAtomicCounterBufferiv"), + def_glGetActiveAtomicCounterBufferiv, + ); + fn_glBindImageTexture = new Deno.UnsafeFnPointer( + proc("glBindImageTexture"), + def_glBindImageTexture, + ); + fn_glMemoryBarrier = new Deno.UnsafeFnPointer( + proc("glMemoryBarrier"), + def_glMemoryBarrier, + ); + fn_glTexStorage1D = new Deno.UnsafeFnPointer( + proc("glTexStorage1D"), + def_glTexStorage1D, + ); + fn_glTexStorage2D = new Deno.UnsafeFnPointer( + proc("glTexStorage2D"), + def_glTexStorage2D, + ); + fn_glTexStorage3D = new Deno.UnsafeFnPointer( + proc("glTexStorage3D"), + def_glTexStorage3D, + ); + fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackInstanced"), + def_glDrawTransformFeedbackInstanced, + ); + fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStreamInstanced"), + def_glDrawTransformFeedbackStreamInstanced, + ); + fn_glClearBufferData = new Deno.UnsafeFnPointer( + proc("glClearBufferData"), + def_glClearBufferData, + ); + fn_glClearBufferSubData = new Deno.UnsafeFnPointer( + proc("glClearBufferSubData"), + def_glClearBufferSubData, + ); + fn_glDispatchCompute = new Deno.UnsafeFnPointer( + proc("glDispatchCompute"), + def_glDispatchCompute, + ); + fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer( + proc("glDispatchComputeIndirect"), + def_glDispatchComputeIndirect, + ); + fn_glCopyImageSubData = new Deno.UnsafeFnPointer( + proc("glCopyImageSubData"), + def_glCopyImageSubData, + ); + fn_glFramebufferParameteri = new Deno.UnsafeFnPointer( + proc("glFramebufferParameteri"), + def_glFramebufferParameteri, + ); + fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferParameteriv"), + def_glGetFramebufferParameteriv, + ); + fn_glGetInternalformati64v = new Deno.UnsafeFnPointer( + proc("glGetInternalformati64v"), + def_glGetInternalformati64v, + ); + fn_glInvalidateTexSubImage = new Deno.UnsafeFnPointer( + proc("glInvalidateTexSubImage"), + def_glInvalidateTexSubImage, + ); + fn_glInvalidateTexImage = new Deno.UnsafeFnPointer( + proc("glInvalidateTexImage"), + def_glInvalidateTexImage, + ); + fn_glInvalidateBufferSubData = new Deno.UnsafeFnPointer( + proc("glInvalidateBufferSubData"), + def_glInvalidateBufferSubData, + ); + fn_glInvalidateBufferData = new Deno.UnsafeFnPointer( + proc("glInvalidateBufferData"), + def_glInvalidateBufferData, + ); + fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateFramebuffer"), + def_glInvalidateFramebuffer, + ); + fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateSubFramebuffer"), + def_glInvalidateSubFramebuffer, + ); + fn_glMultiDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysIndirect"), + def_glMultiDrawArraysIndirect, + ); + fn_glMultiDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsIndirect"), + def_glMultiDrawElementsIndirect, + ); + fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramInterfaceiv"), + def_glGetProgramInterfaceiv, + ); + fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceIndex"), + def_glGetProgramResourceIndex, + ); + fn_glGetProgramResourceName = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceName"), + def_glGetProgramResourceName, + ); + fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceiv"), + def_glGetProgramResourceiv, + ); + fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocation"), + def_glGetProgramResourceLocation, + ); + fn_glGetProgramResourceLocationIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocationIndex"), + def_glGetProgramResourceLocationIndex, + ); + fn_glShaderStorageBlockBinding = new Deno.UnsafeFnPointer( + proc("glShaderStorageBlockBinding"), + def_glShaderStorageBlockBinding, + ); + fn_glTexBufferRange = new Deno.UnsafeFnPointer( + proc("glTexBufferRange"), + def_glTexBufferRange, + ); + fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage2DMultisample"), + def_glTexStorage2DMultisample, + ); + fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage3DMultisample"), + def_glTexStorage3DMultisample, + ); + fn_glTextureView = new Deno.UnsafeFnPointer( + proc("glTextureView"), + def_glTextureView, + ); + fn_glBindVertexBuffer = new Deno.UnsafeFnPointer( + proc("glBindVertexBuffer"), + def_glBindVertexBuffer, + ); + fn_glVertexAttribFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribFormat"), + def_glVertexAttribFormat, + ); + fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribIFormat"), + def_glVertexAttribIFormat, + ); + fn_glVertexAttribLFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribLFormat"), + def_glVertexAttribLFormat, + ); + fn_glVertexAttribBinding = new Deno.UnsafeFnPointer( + proc("glVertexAttribBinding"), + def_glVertexAttribBinding, + ); + fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer( + proc("glVertexBindingDivisor"), + def_glVertexBindingDivisor, + ); + fn_glDebugMessageControl = new Deno.UnsafeFnPointer( + proc("glDebugMessageControl"), + def_glDebugMessageControl, + ); + fn_glDebugMessageInsert = new Deno.UnsafeFnPointer( + proc("glDebugMessageInsert"), + def_glDebugMessageInsert, + ); + fn_glDebugMessageCallback = new Deno.UnsafeFnPointer( + proc("glDebugMessageCallback"), + def_glDebugMessageCallback, + ); + fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer( + proc("glGetDebugMessageLog"), + def_glGetDebugMessageLog, + ); + fn_glPushDebugGroup = new Deno.UnsafeFnPointer( + proc("glPushDebugGroup"), + def_glPushDebugGroup, + ); + fn_glPopDebugGroup = new Deno.UnsafeFnPointer( + proc("glPopDebugGroup"), + def_glPopDebugGroup, + ); + fn_glObjectLabel = new Deno.UnsafeFnPointer( + proc("glObjectLabel"), + def_glObjectLabel, + ); + fn_glGetObjectLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectLabel"), + def_glGetObjectLabel, + ); + fn_glObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glObjectPtrLabel"), + def_glObjectPtrLabel, + ); + fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectPtrLabel"), + def_glGetObjectPtrLabel, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); } diff --git a/api/gl4.4.ts b/api/gl4.4.ts index ac75a26..e0b615c 100644 --- a/api/gl4.4.ts +++ b/api/gl4.4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1014,7 +1022,8 @@ export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS = 0x92c5; export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES = 0x92c6; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER = 0x92c7; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER = 0x92c8; -export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x92c9; +export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = + 0x92c9; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER = 0x92ca; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER = 0x92cb; export const MAX_VERTEX_ATOMIC_COUNTER_BUFFERS = 0x92cc; @@ -1608,7 +1617,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2105,7 +2124,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -2124,7 +2145,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -2143,7 +2166,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -2164,7 +2189,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -2351,7 +2378,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -2376,7 +2405,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -2428,7 +2459,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2529,7 +2570,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -2550,7 +2593,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2583,7 +2637,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2622,7 +2688,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -2681,11 +2749,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -2716,7 +2796,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -2745,7 +2827,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -2768,11 +2852,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -2803,11 +2901,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -2838,7 +2948,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -2865,7 +2977,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -2884,7 +2998,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -2926,7 +3042,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -3172,7 +3290,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -3352,7 +3472,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -3371,7 +3493,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -3390,7 +3514,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -3424,7 +3550,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -3445,7 +3573,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -3466,7 +3596,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -3500,7 +3632,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -3607,7 +3741,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -3622,7 +3758,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -3691,7 +3829,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -3712,7 +3852,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -3748,7 +3890,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -3830,7 +3974,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -3885,7 +4031,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -3904,7 +4052,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -3923,7 +4073,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -3942,7 +4094,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -4830,7 +4984,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -4847,7 +5003,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -4864,7 +5022,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -5086,7 +5246,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -5111,7 +5273,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -5132,7 +5296,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -5153,7 +5319,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -5174,7 +5342,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -5195,7 +5365,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -5216,7 +5388,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -5349,7 +5523,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -5364,7 +5540,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -5417,7 +5595,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -5438,7 +5618,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -5482,7 +5664,9 @@ export const def_glBeginConditionalRender = { result: "void", } as const; -let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRender +>; export function BeginConditionalRender( id: GLuint, @@ -5499,7 +5683,9 @@ export const def_glEndConditionalRender = { result: "void", } as const; -let fn_glEndConditionalRender!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRender +>; export function EndConditionalRender(): void { fn_glEndConditionalRender.call(); @@ -5510,7 +5696,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -5533,7 +5721,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -5552,7 +5742,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -5799,7 +5991,9 @@ export const def_glVertexAttribI1uiv = { result: "void", } as const; -let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiv +>; export function VertexAttribI1uiv( index: GLuint, @@ -5816,7 +6010,9 @@ export const def_glVertexAttribI2uiv = { result: "void", } as const; -let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiv +>; export function VertexAttribI2uiv( index: GLuint, @@ -5833,7 +6029,9 @@ export const def_glVertexAttribI3uiv = { result: "void", } as const; -let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiv +>; export function VertexAttribI3uiv( index: GLuint, @@ -5850,7 +6048,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -5901,7 +6101,9 @@ export const def_glVertexAttribI4ubv = { result: "void", } as const; -let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubv +>; export function VertexAttribI4ubv( index: GLuint, @@ -5918,7 +6120,9 @@ export const def_glVertexAttribI4usv = { result: "void", } as const; -let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usv +>; export function VertexAttribI4usv( index: GLuint, @@ -5954,7 +6158,9 @@ export const def_glBindFragDataLocation = { result: "void", } as const; -let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocation +>; export function BindFragDataLocation( program: GLuint, @@ -5973,7 +6179,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -6184,7 +6392,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -6203,7 +6413,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -6349,7 +6561,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -6383,7 +6597,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -6404,7 +6620,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -6455,7 +6673,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -6489,7 +6709,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -6504,7 +6726,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -6527,7 +6751,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -6550,7 +6776,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -6575,7 +6803,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -6596,7 +6826,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -6628,7 +6860,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -6665,7 +6908,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -6688,7 +6933,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -6732,7 +6979,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -6766,7 +7015,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -6815,7 +7066,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -6836,7 +7089,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -6878,7 +7133,9 @@ export const def_glPrimitiveRestartIndex = { result: "void", } as const; -let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartIndex +>; export function PrimitiveRestartIndex( index: GLuint, @@ -6893,7 +7150,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -6916,7 +7175,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -6937,7 +7198,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -6960,7 +7223,9 @@ export const def_glGetActiveUniformName = { result: "void", } as const; -let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformName +>; export function GetActiveUniformName( program: GLuint, @@ -6983,7 +7248,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -7000,7 +7267,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -7021,7 +7290,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -7044,7 +7315,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -7063,7 +7336,9 @@ export const def_glDrawElementsBaseVertex = { result: "void", } as const; -let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertex +>; export function DrawElementsBaseVertex( mode: GLenum, @@ -7086,7 +7361,9 @@ export const def_glDrawRangeElementsBaseVertex = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertex +>; export function DrawRangeElementsBaseVertex( mode: GLenum, @@ -7113,7 +7390,9 @@ export const def_glDrawElementsInstancedBaseVertex = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertex +>; export function DrawElementsInstancedBaseVertex( mode: GLenum, @@ -7138,7 +7417,9 @@ export const def_glMultiDrawElementsBaseVertex = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertex +>; export function MultiDrawElementsBaseVertex( mode: GLenum, @@ -7322,7 +7603,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -7341,7 +7624,9 @@ export const def_glFramebufferTexture = { result: "void", } as const; -let fn_glFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture +>; export function FramebufferTexture( target: GLenum, @@ -7362,7 +7647,9 @@ export const def_glTexImage2DMultisample = { result: "void", } as const; -let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage2DMultisample +>; export function TexImage2DMultisample( target: GLenum, @@ -7387,7 +7674,9 @@ export const def_glTexImage3DMultisample = { result: "void", } as const; -let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage3DMultisample +>; export function TexImage3DMultisample( target: GLenum, @@ -7450,7 +7739,9 @@ export const def_glBindFragDataLocationIndexed = { result: "void", } as const; -let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationIndexed +>; export function BindFragDataLocationIndexed( program: GLuint, @@ -7554,7 +7845,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -7573,7 +7866,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -7592,7 +7887,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -7611,7 +7908,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -7630,7 +7929,9 @@ export const def_glSamplerParameterIiv = { result: "void", } as const; -let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIiv +>; export function SamplerParameterIiv( sampler: GLuint, @@ -7649,7 +7950,9 @@ export const def_glSamplerParameterIuiv = { result: "void", } as const; -let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuiv +>; export function SamplerParameterIuiv( sampler: GLuint, @@ -7668,7 +7971,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -7687,7 +7992,9 @@ export const def_glGetSamplerParameterIiv = { result: "void", } as const; -let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIiv +>; export function GetSamplerParameterIiv( sampler: GLuint, @@ -7706,7 +8013,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -7725,7 +8034,9 @@ export const def_glGetSamplerParameterIuiv = { result: "void", } as const; -let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuiv +>; export function GetSamplerParameterIuiv( sampler: GLuint, @@ -7761,7 +8072,9 @@ export const def_glGetQueryObjecti64v = { result: "void", } as const; -let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjecti64v +>; export function GetQueryObjecti64v( id: GLuint, @@ -7780,7 +8093,9 @@ export const def_glGetQueryObjectui64v = { result: "void", } as const; -let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectui64v +>; export function GetQueryObjectui64v( id: GLuint, @@ -7799,7 +8114,9 @@ export const def_glVertexAttribDivisor = { result: "void", } as const; -let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisor +>; export function VertexAttribDivisor( index: GLuint, @@ -7837,7 +8154,9 @@ export const def_glVertexAttribP1uiv = { result: "void", } as const; -let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP1uiv +>; export function VertexAttribP1uiv( index: GLuint, @@ -7879,7 +8198,9 @@ export const def_glVertexAttribP2uiv = { result: "void", } as const; -let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP2uiv +>; export function VertexAttribP2uiv( index: GLuint, @@ -7921,7 +8242,9 @@ export const def_glVertexAttribP3uiv = { result: "void", } as const; -let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP3uiv +>; export function VertexAttribP3uiv( index: GLuint, @@ -7963,7 +8286,9 @@ export const def_glVertexAttribP4uiv = { result: "void", } as const; -let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP4uiv +>; export function VertexAttribP4uiv( index: GLuint, @@ -8222,7 +8547,9 @@ export const def_glMultiTexCoordP1ui = { result: "void", } as const; -let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1ui +>; export function MultiTexCoordP1ui( texture: GLenum, @@ -8241,7 +8568,9 @@ export const def_glMultiTexCoordP1uiv = { result: "void", } as const; -let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1uiv +>; export function MultiTexCoordP1uiv( texture: GLenum, @@ -8260,7 +8589,9 @@ export const def_glMultiTexCoordP2ui = { result: "void", } as const; -let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2ui +>; export function MultiTexCoordP2ui( texture: GLenum, @@ -8279,7 +8610,9 @@ export const def_glMultiTexCoordP2uiv = { result: "void", } as const; -let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2uiv +>; export function MultiTexCoordP2uiv( texture: GLenum, @@ -8298,7 +8631,9 @@ export const def_glMultiTexCoordP3ui = { result: "void", } as const; -let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3ui +>; export function MultiTexCoordP3ui( texture: GLenum, @@ -8317,7 +8652,9 @@ export const def_glMultiTexCoordP3uiv = { result: "void", } as const; -let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3uiv +>; export function MultiTexCoordP3uiv( texture: GLenum, @@ -8336,7 +8673,9 @@ export const def_glMultiTexCoordP4ui = { result: "void", } as const; -let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4ui +>; export function MultiTexCoordP4ui( texture: GLenum, @@ -8355,7 +8694,9 @@ export const def_glMultiTexCoordP4uiv = { result: "void", } as const; -let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4uiv +>; export function MultiTexCoordP4uiv( texture: GLenum, @@ -8476,7 +8817,9 @@ export const def_glSecondaryColorP3ui = { result: "void", } as const; -let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3ui +>; export function SecondaryColorP3ui( type: GLenum, @@ -8493,7 +8836,9 @@ export const def_glSecondaryColorP3uiv = { result: "void", } as const; -let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3uiv +>; export function SecondaryColorP3uiv( type: GLenum, @@ -8542,7 +8887,9 @@ export const def_glBlendEquationSeparatei = { result: "void", } as const; -let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparatei +>; export function BlendEquationSeparatei( buf: GLuint, @@ -8580,7 +8927,9 @@ export const def_glBlendFuncSeparatei = { result: "void", } as const; -let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparatei +>; export function BlendFuncSeparatei( buf: GLuint, @@ -8603,7 +8952,9 @@ export const def_glDrawArraysIndirect = { result: "void", } as const; -let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysIndirect +>; export function DrawArraysIndirect( mode: GLenum, @@ -8620,7 +8971,9 @@ export const def_glDrawElementsIndirect = { result: "void", } as const; -let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsIndirect +>; export function DrawElementsIndirect( mode: GLenum, @@ -8858,7 +9211,9 @@ export const def_glUniformMatrix2x3dv = { result: "void", } as const; -let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3dv +>; export function UniformMatrix2x3dv( location: GLint, @@ -8879,7 +9234,9 @@ export const def_glUniformMatrix2x4dv = { result: "void", } as const; -let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4dv +>; export function UniformMatrix2x4dv( location: GLint, @@ -8900,7 +9257,9 @@ export const def_glUniformMatrix3x2dv = { result: "void", } as const; -let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2dv +>; export function UniformMatrix3x2dv( location: GLint, @@ -8921,7 +9280,9 @@ export const def_glUniformMatrix3x4dv = { result: "void", } as const; -let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4dv +>; export function UniformMatrix3x4dv( location: GLint, @@ -8942,7 +9303,9 @@ export const def_glUniformMatrix4x2dv = { result: "void", } as const; -let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2dv +>; export function UniformMatrix4x2dv( location: GLint, @@ -8963,7 +9326,9 @@ export const def_glUniformMatrix4x3dv = { result: "void", } as const; -let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3dv +>; export function UniformMatrix4x3dv( location: GLint, @@ -9003,7 +9368,9 @@ export const def_glGetSubroutineUniformLocation = { result: "i32", } as const; -let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineUniformLocation +>; export function GetSubroutineUniformLocation( program: GLuint, @@ -9022,7 +9389,9 @@ export const def_glGetSubroutineIndex = { result: "u32", } as const; -let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineIndex +>; export function GetSubroutineIndex( program: GLuint, @@ -9041,7 +9410,9 @@ export const def_glGetActiveSubroutineUniformiv = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformiv +>; export function GetActiveSubroutineUniformiv( program: GLuint, @@ -9064,7 +9435,9 @@ export const def_glGetActiveSubroutineUniformName = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformName +>; export function GetActiveSubroutineUniformName( program: GLuint, @@ -9089,7 +9462,9 @@ export const def_glGetActiveSubroutineName = { result: "void", } as const; -let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineName +>; export function GetActiveSubroutineName( program: GLuint, @@ -9114,7 +9489,9 @@ export const def_glUniformSubroutinesuiv = { result: "void", } as const; -let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer; +let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer< + typeof def_glUniformSubroutinesuiv +>; export function UniformSubroutinesuiv( shadertype: GLenum, @@ -9133,7 +9510,9 @@ export const def_glGetUniformSubroutineuiv = { result: "void", } as const; -let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer; +let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer< + typeof def_glGetUniformSubroutineuiv +>; export function GetUniformSubroutineuiv( shadertype: GLenum, @@ -9152,7 +9531,9 @@ export const def_glGetProgramStageiv = { result: "void", } as const; -let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramStageiv +>; export function GetProgramStageiv( program: GLuint, @@ -9207,7 +9588,9 @@ export const def_glBindTransformFeedback = { result: "void", } as const; -let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedback +>; export function BindTransformFeedback( target: GLenum, @@ -9224,7 +9607,9 @@ export const def_glDeleteTransformFeedbacks = { result: "void", } as const; -let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacks +>; export function DeleteTransformFeedbacks( n: GLsizei, @@ -9241,7 +9626,9 @@ export const def_glGenTransformFeedbacks = { result: "void", } as const; -let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacks +>; export function GenTransformFeedbacks( n: GLsizei, @@ -9258,7 +9645,9 @@ export const def_glIsTransformFeedback = { result: "u8", } as const; -let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedback +>; export function IsTransformFeedback( id: GLuint, @@ -9273,7 +9662,9 @@ export const def_glPauseTransformFeedback = { result: "void", } as const; -let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedback +>; export function PauseTransformFeedback(): void { fn_glPauseTransformFeedback.call(); @@ -9284,7 +9675,9 @@ export const def_glResumeTransformFeedback = { result: "void", } as const; -let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedback +>; export function ResumeTransformFeedback(): void { fn_glResumeTransformFeedback.call(); @@ -9295,7 +9688,9 @@ export const def_glDrawTransformFeedback = { result: "void", } as const; -let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedback +>; export function DrawTransformFeedback( mode: GLenum, @@ -9312,7 +9707,9 @@ export const def_glDrawTransformFeedbackStream = { result: "void", } as const; -let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStream +>; export function DrawTransformFeedbackStream( mode: GLenum, @@ -9331,7 +9728,9 @@ export const def_glBeginQueryIndexed = { result: "void", } as const; -let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer; +let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer< + typeof def_glBeginQueryIndexed +>; export function BeginQueryIndexed( target: GLenum, @@ -9367,7 +9766,9 @@ export const def_glGetQueryIndexediv = { result: "void", } as const; -let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer; +let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryIndexediv +>; export function GetQueryIndexediv( target: GLenum, @@ -9388,7 +9789,9 @@ export const def_glReleaseShaderCompiler = { result: "void", } as const; -let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer; +let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer< + typeof def_glReleaseShaderCompiler +>; export function ReleaseShaderCompiler(): void { fn_glReleaseShaderCompiler.call(); @@ -9422,7 +9825,9 @@ export const def_glGetShaderPrecisionFormat = { result: "void", } as const; -let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer; +let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer< + typeof def_glGetShaderPrecisionFormat +>; export function GetShaderPrecisionFormat( shadertype: GLenum, @@ -9519,7 +9924,9 @@ export const def_glProgramParameteri = { result: "void", } as const; -let fn_glProgramParameteri!: Deno.UnsafeFnPointer; +let fn_glProgramParameteri!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteri +>; export function ProgramParameteri( program: GLuint, @@ -9557,7 +9964,9 @@ export const def_glActiveShaderProgram = { result: "void", } as const; -let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer; +let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer< + typeof def_glActiveShaderProgram +>; export function ActiveShaderProgram( pipeline: GLuint, @@ -9574,7 +9983,9 @@ export const def_glCreateShaderProgramv = { result: "u32", } as const; -let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer; +let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderProgramv +>; export function CreateShaderProgramv( type: GLenum, @@ -9593,7 +10004,9 @@ export const def_glBindProgramPipeline = { result: "void", } as const; -let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glBindProgramPipeline +>; export function BindProgramPipeline( pipeline: GLuint, @@ -9608,7 +10021,9 @@ export const def_glDeleteProgramPipelines = { result: "void", } as const; -let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramPipelines +>; export function DeleteProgramPipelines( n: GLsizei, @@ -9625,7 +10040,9 @@ export const def_glGenProgramPipelines = { result: "void", } as const; -let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glGenProgramPipelines +>; export function GenProgramPipelines( n: GLsizei, @@ -9642,7 +10059,9 @@ export const def_glIsProgramPipeline = { result: "u8", } as const; -let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glIsProgramPipeline +>; export function IsProgramPipeline( pipeline: GLuint, @@ -9657,7 +10076,9 @@ export const def_glGetProgramPipelineiv = { result: "void", } as const; -let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineiv +>; export function GetProgramPipelineiv( pipeline: GLuint, @@ -9695,7 +10116,9 @@ export const def_glProgramUniform1iv = { result: "void", } as const; -let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1iv +>; export function ProgramUniform1iv( program: GLuint, @@ -9735,7 +10158,9 @@ export const def_glProgramUniform1fv = { result: "void", } as const; -let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fv +>; export function ProgramUniform1fv( program: GLuint, @@ -9775,7 +10200,9 @@ export const def_glProgramUniform1dv = { result: "void", } as const; -let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1dv +>; export function ProgramUniform1dv( program: GLuint, @@ -9796,7 +10223,9 @@ export const def_glProgramUniform1ui = { result: "void", } as const; -let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui +>; export function ProgramUniform1ui( program: GLuint, @@ -9815,7 +10244,9 @@ export const def_glProgramUniform1uiv = { result: "void", } as const; -let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uiv +>; export function ProgramUniform1uiv( program: GLuint, @@ -9857,7 +10288,9 @@ export const def_glProgramUniform2iv = { result: "void", } as const; -let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2iv +>; export function ProgramUniform2iv( program: GLuint, @@ -9899,7 +10332,9 @@ export const def_glProgramUniform2fv = { result: "void", } as const; -let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fv +>; export function ProgramUniform2fv( program: GLuint, @@ -9941,7 +10376,9 @@ export const def_glProgramUniform2dv = { result: "void", } as const; -let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2dv +>; export function ProgramUniform2dv( program: GLuint, @@ -9962,7 +10399,9 @@ export const def_glProgramUniform2ui = { result: "void", } as const; -let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui +>; export function ProgramUniform2ui( program: GLuint, @@ -9983,7 +10422,9 @@ export const def_glProgramUniform2uiv = { result: "void", } as const; -let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uiv +>; export function ProgramUniform2uiv( program: GLuint, @@ -10027,7 +10468,9 @@ export const def_glProgramUniform3iv = { result: "void", } as const; -let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3iv +>; export function ProgramUniform3iv( program: GLuint, @@ -10071,7 +10514,9 @@ export const def_glProgramUniform3fv = { result: "void", } as const; -let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fv +>; export function ProgramUniform3fv( program: GLuint, @@ -10115,7 +10560,9 @@ export const def_glProgramUniform3dv = { result: "void", } as const; -let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3dv +>; export function ProgramUniform3dv( program: GLuint, @@ -10136,7 +10583,9 @@ export const def_glProgramUniform3ui = { result: "void", } as const; -let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui +>; export function ProgramUniform3ui( program: GLuint, @@ -10159,7 +10608,9 @@ export const def_glProgramUniform3uiv = { result: "void", } as const; -let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uiv +>; export function ProgramUniform3uiv( program: GLuint, @@ -10205,7 +10656,9 @@ export const def_glProgramUniform4iv = { result: "void", } as const; -let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4iv +>; export function ProgramUniform4iv( program: GLuint, @@ -10251,7 +10704,9 @@ export const def_glProgramUniform4fv = { result: "void", } as const; -let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fv +>; export function ProgramUniform4fv( program: GLuint, @@ -10297,7 +10752,9 @@ export const def_glProgramUniform4dv = { result: "void", } as const; -let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4dv +>; export function ProgramUniform4dv( program: GLuint, @@ -10318,7 +10775,9 @@ export const def_glProgramUniform4ui = { result: "void", } as const; -let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui +>; export function ProgramUniform4ui( program: GLuint, @@ -10343,7 +10802,9 @@ export const def_glProgramUniform4uiv = { result: "void", } as const; -let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uiv +>; export function ProgramUniform4uiv( program: GLuint, @@ -10364,7 +10825,9 @@ export const def_glProgramUniformMatrix2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2fv +>; export function ProgramUniformMatrix2fv( program: GLuint, @@ -10387,7 +10850,9 @@ export const def_glProgramUniformMatrix3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3fv +>; export function ProgramUniformMatrix3fv( program: GLuint, @@ -10410,7 +10875,9 @@ export const def_glProgramUniformMatrix4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4fv +>; export function ProgramUniformMatrix4fv( program: GLuint, @@ -10433,7 +10900,9 @@ export const def_glProgramUniformMatrix2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2dv +>; export function ProgramUniformMatrix2dv( program: GLuint, @@ -10456,7 +10925,9 @@ export const def_glProgramUniformMatrix3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3dv +>; export function ProgramUniformMatrix3dv( program: GLuint, @@ -10479,7 +10950,9 @@ export const def_glProgramUniformMatrix4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4dv +>; export function ProgramUniformMatrix4dv( program: GLuint, @@ -10502,7 +10975,9 @@ export const def_glProgramUniformMatrix2x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3fv +>; export function ProgramUniformMatrix2x3fv( program: GLuint, @@ -10525,7 +11000,9 @@ export const def_glProgramUniformMatrix3x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2fv +>; export function ProgramUniformMatrix3x2fv( program: GLuint, @@ -10548,7 +11025,9 @@ export const def_glProgramUniformMatrix2x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4fv +>; export function ProgramUniformMatrix2x4fv( program: GLuint, @@ -10571,7 +11050,9 @@ export const def_glProgramUniformMatrix4x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2fv +>; export function ProgramUniformMatrix4x2fv( program: GLuint, @@ -10594,7 +11075,9 @@ export const def_glProgramUniformMatrix3x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4fv +>; export function ProgramUniformMatrix3x4fv( program: GLuint, @@ -10617,7 +11100,9 @@ export const def_glProgramUniformMatrix4x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3fv +>; export function ProgramUniformMatrix4x3fv( program: GLuint, @@ -10640,7 +11125,9 @@ export const def_glProgramUniformMatrix2x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3dv +>; export function ProgramUniformMatrix2x3dv( program: GLuint, @@ -10663,7 +11150,9 @@ export const def_glProgramUniformMatrix3x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2dv +>; export function ProgramUniformMatrix3x2dv( program: GLuint, @@ -10686,7 +11175,9 @@ export const def_glProgramUniformMatrix2x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4dv +>; export function ProgramUniformMatrix2x4dv( program: GLuint, @@ -10709,7 +11200,9 @@ export const def_glProgramUniformMatrix4x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2dv +>; export function ProgramUniformMatrix4x2dv( program: GLuint, @@ -10732,7 +11225,9 @@ export const def_glProgramUniformMatrix3x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4dv +>; export function ProgramUniformMatrix3x4dv( program: GLuint, @@ -10755,7 +11250,9 @@ export const def_glProgramUniformMatrix4x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3dv +>; export function ProgramUniformMatrix4x3dv( program: GLuint, @@ -10778,7 +11275,9 @@ export const def_glValidateProgramPipeline = { result: "void", } as const; -let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glValidateProgramPipeline +>; export function ValidateProgramPipeline( pipeline: GLuint, @@ -10793,7 +11292,9 @@ export const def_glGetProgramPipelineInfoLog = { result: "void", } as const; -let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineInfoLog +>; export function GetProgramPipelineInfoLog( pipeline: GLuint, @@ -10962,7 +11463,9 @@ export const def_glVertexAttribLPointer = { result: "void", } as const; -let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLPointer +>; export function VertexAttribLPointer( index: GLuint, @@ -10985,7 +11488,9 @@ export const def_glGetVertexAttribLdv = { result: "void", } as const; -let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribLdv +>; export function GetVertexAttribLdv( index: GLuint, @@ -11046,7 +11551,9 @@ export const def_glViewportIndexedfv = { result: "void", } as const; -let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer; +let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer< + typeof def_glViewportIndexedfv +>; export function ViewportIndexedfv( index: GLuint, @@ -11141,7 +11648,9 @@ export const def_glDepthRangeIndexed = { result: "void", } as const; -let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer; +let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeIndexed +>; export function DepthRangeIndexed( index: GLuint, @@ -11198,7 +11707,9 @@ export const def_glDrawArraysInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedBaseInstance +>; export function DrawArraysInstancedBaseInstance( mode: GLenum, @@ -11221,7 +11732,9 @@ export const def_glDrawElementsInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseInstance +>; export function DrawElementsInstancedBaseInstance( mode: GLenum, @@ -11246,7 +11759,9 @@ export const def_glDrawElementsInstancedBaseVertexBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertexBaseInstance +>; export function DrawElementsInstancedBaseVertexBaseInstance( mode: GLenum, @@ -11273,7 +11788,9 @@ export const def_glGetInternalformativ = { result: "void", } as const; -let fn_glGetInternalformativ!: Deno.UnsafeFnPointer; +let fn_glGetInternalformativ!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformativ +>; export function GetInternalformativ( target: GLenum, @@ -11296,7 +11813,9 @@ export const def_glGetActiveAtomicCounterBufferiv = { result: "void", } as const; -let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveAtomicCounterBufferiv +>; export function GetActiveAtomicCounterBufferiv( program: GLuint, @@ -11428,7 +11947,9 @@ export const def_glDrawTransformFeedbackInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackInstanced +>; export function DrawTransformFeedbackInstanced( mode: GLenum, @@ -11447,7 +11968,9 @@ export const def_glDrawTransformFeedbackStreamInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStreamInstanced +>; export function DrawTransformFeedbackStreamInstanced( mode: GLenum, @@ -11491,7 +12014,9 @@ export const def_glClearBufferSubData = { result: "void", } as const; -let fn_glClearBufferSubData!: Deno.UnsafeFnPointer; +let fn_glClearBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glClearBufferSubData +>; export function ClearBufferSubData( target: GLenum, @@ -11537,7 +12062,9 @@ export const def_glDispatchComputeIndirect = { result: "void", } as const; -let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer; +let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer< + typeof def_glDispatchComputeIndirect +>; export function DispatchComputeIndirect( indirect: GLintptr, @@ -11548,7 +12075,23 @@ export function DispatchComputeIndirect( } export const def_glCopyImageSubData = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; @@ -11595,7 +12138,9 @@ export const def_glFramebufferParameteri = { result: "void", } as const; -let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer; +let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer< + typeof def_glFramebufferParameteri +>; export function FramebufferParameteri( target: GLenum, @@ -11614,7 +12159,9 @@ export const def_glGetFramebufferParameteriv = { result: "void", } as const; -let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferParameteriv +>; export function GetFramebufferParameteriv( target: GLenum, @@ -11633,7 +12180,9 @@ export const def_glGetInternalformati64v = { result: "void", } as const; -let fn_glGetInternalformati64v!: Deno.UnsafeFnPointer; +let fn_glGetInternalformati64v!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformati64v +>; export function GetInternalformati64v( target: GLenum, @@ -11656,7 +12205,9 @@ export const def_glInvalidateTexSubImage = { result: "void", } as const; -let fn_glInvalidateTexSubImage!: Deno.UnsafeFnPointer; +let fn_glInvalidateTexSubImage!: Deno.UnsafeFnPointer< + typeof def_glInvalidateTexSubImage +>; export function InvalidateTexSubImage( texture: GLuint, @@ -11685,7 +12236,9 @@ export const def_glInvalidateTexImage = { result: "void", } as const; -let fn_glInvalidateTexImage!: Deno.UnsafeFnPointer; +let fn_glInvalidateTexImage!: Deno.UnsafeFnPointer< + typeof def_glInvalidateTexImage +>; export function InvalidateTexImage( texture: GLuint, @@ -11702,7 +12255,9 @@ export const def_glInvalidateBufferSubData = { result: "void", } as const; -let fn_glInvalidateBufferSubData!: Deno.UnsafeFnPointer; +let fn_glInvalidateBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateBufferSubData +>; export function InvalidateBufferSubData( buffer: GLuint, @@ -11721,7 +12276,9 @@ export const def_glInvalidateBufferData = { result: "void", } as const; -let fn_glInvalidateBufferData!: Deno.UnsafeFnPointer; +let fn_glInvalidateBufferData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateBufferData +>; export function InvalidateBufferData( buffer: GLuint, @@ -11736,7 +12293,9 @@ export const def_glInvalidateFramebuffer = { result: "void", } as const; -let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateFramebuffer +>; export function InvalidateFramebuffer( target: GLenum, @@ -11755,7 +12314,9 @@ export const def_glInvalidateSubFramebuffer = { result: "void", } as const; -let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateSubFramebuffer +>; export function InvalidateSubFramebuffer( target: GLenum, @@ -11782,7 +12343,9 @@ export const def_glMultiDrawArraysIndirect = { result: "void", } as const; -let fn_glMultiDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysIndirect +>; export function MultiDrawArraysIndirect( mode: GLenum, @@ -11803,7 +12366,9 @@ export const def_glMultiDrawElementsIndirect = { result: "void", } as const; -let fn_glMultiDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsIndirect +>; export function MultiDrawElementsIndirect( mode: GLenum, @@ -11826,7 +12391,9 @@ export const def_glGetProgramInterfaceiv = { result: "void", } as const; -let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInterfaceiv +>; export function GetProgramInterfaceiv( program: GLuint, @@ -11847,7 +12414,9 @@ export const def_glGetProgramResourceIndex = { result: "u32", } as const; -let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceIndex +>; export function GetProgramResourceIndex( program: GLuint, @@ -11866,7 +12435,9 @@ export const def_glGetProgramResourceName = { result: "void", } as const; -let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceName +>; export function GetProgramResourceName( program: GLuint, @@ -11891,7 +12462,9 @@ export const def_glGetProgramResourceiv = { result: "void", } as const; -let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceiv +>; export function GetProgramResourceiv( program: GLuint, @@ -11920,7 +12493,9 @@ export const def_glGetProgramResourceLocation = { result: "i32", } as const; -let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocation +>; export function GetProgramResourceLocation( program: GLuint, @@ -11939,7 +12514,9 @@ export const def_glGetProgramResourceLocationIndex = { result: "i32", } as const; -let fn_glGetProgramResourceLocationIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocationIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocationIndex +>; export function GetProgramResourceLocationIndex( program: GLuint, @@ -11958,7 +12535,9 @@ export const def_glShaderStorageBlockBinding = { result: "void", } as const; -let fn_glShaderStorageBlockBinding!: Deno.UnsafeFnPointer; +let fn_glShaderStorageBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glShaderStorageBlockBinding +>; export function ShaderStorageBlockBinding( program: GLuint, @@ -12000,7 +12579,9 @@ export const def_glTexStorage2DMultisample = { result: "void", } as const; -let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage2DMultisample +>; export function TexStorage2DMultisample( target: GLenum, @@ -12025,7 +12606,9 @@ export const def_glTexStorage3DMultisample = { result: "void", } as const; -let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage3DMultisample +>; export function TexStorage3DMultisample( target: GLenum, @@ -12102,7 +12685,9 @@ export const def_glVertexAttribFormat = { result: "void", } as const; -let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribFormat +>; export function VertexAttribFormat( attribindex: GLuint, @@ -12125,7 +12710,9 @@ export const def_glVertexAttribIFormat = { result: "void", } as const; -let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIFormat +>; export function VertexAttribIFormat( attribindex: GLuint, @@ -12146,7 +12733,9 @@ export const def_glVertexAttribLFormat = { result: "void", } as const; -let fn_glVertexAttribLFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLFormat +>; export function VertexAttribLFormat( attribindex: GLuint, @@ -12167,7 +12756,9 @@ export const def_glVertexAttribBinding = { result: "void", } as const; -let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer; +let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribBinding +>; export function VertexAttribBinding( attribindex: GLuint, @@ -12184,7 +12775,9 @@ export const def_glVertexBindingDivisor = { result: "void", } as const; -let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexBindingDivisor +>; export function VertexBindingDivisor( bindingindex: GLuint, @@ -12201,7 +12794,9 @@ export const def_glDebugMessageControl = { result: "void", } as const; -let fn_glDebugMessageControl!: Deno.UnsafeFnPointer; +let fn_glDebugMessageControl!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageControl +>; export function DebugMessageControl( source: GLenum, @@ -12226,7 +12821,9 @@ export const def_glDebugMessageInsert = { result: "void", } as const; -let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer; +let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageInsert +>; export function DebugMessageInsert( source: GLenum, @@ -12251,7 +12848,9 @@ export const def_glDebugMessageCallback = { result: "void", } as const; -let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer; +let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageCallback +>; export function DebugMessageCallback( callback: GLDEBUGPROC, @@ -12264,11 +12863,22 @@ export function DebugMessageCallback( } export const def_glGetDebugMessageLog = { - parameters: ["u32", "i32", "buffer", "buffer", "buffer", "buffer", "buffer", "buffer"], + parameters: [ + "u32", + "i32", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + ], result: "u32", } as const; -let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer; +let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer< + typeof def_glGetDebugMessageLog +>; export function GetDebugMessageLog( count: GLuint, @@ -12392,7 +13002,9 @@ export const def_glGetObjectPtrLabel = { result: "void", } as const; -let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer; +let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer< + typeof def_glGetObjectPtrLabel +>; export function GetObjectPtrLabel( ptr: Buffer, @@ -12470,7 +13082,19 @@ export function ClearTexImage( } export const def_glClearTexSubImage = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -12593,7 +13217,9 @@ export const def_glBindImageTextures = { result: "void", } as const; -let fn_glBindImageTextures!: Deno.UnsafeFnPointer; +let fn_glBindImageTextures!: Deno.UnsafeFnPointer< + typeof def_glBindImageTextures +>; export function BindImageTextures( first: GLuint, @@ -12612,7 +13238,9 @@ export const def_glBindVertexBuffers = { result: "void", } as const; -let fn_glBindVertexBuffers!: Deno.UnsafeFnPointer; +let fn_glBindVertexBuffers!: Deno.UnsafeFnPointer< + typeof def_glBindVertexBuffers +>; export function BindVertexBuffers( first: GLuint, @@ -12633,576 +13261,2238 @@ export function BindVertexBuffers( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glClampColor = new Deno.UnsafeFnPointer(proc("glClampColor"), def_glClampColor); - fn_glBeginConditionalRender = new Deno.UnsafeFnPointer(proc("glBeginConditionalRender"), def_glBeginConditionalRender); - fn_glEndConditionalRender = new Deno.UnsafeFnPointer(proc("glEndConditionalRender"), def_glEndConditionalRender); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI1i = new Deno.UnsafeFnPointer(proc("glVertexAttribI1i"), def_glVertexAttribI1i); - fn_glVertexAttribI2i = new Deno.UnsafeFnPointer(proc("glVertexAttribI2i"), def_glVertexAttribI2i); - fn_glVertexAttribI3i = new Deno.UnsafeFnPointer(proc("glVertexAttribI3i"), def_glVertexAttribI3i); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ui"), def_glVertexAttribI1ui); - fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ui"), def_glVertexAttribI2ui); - fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ui"), def_glVertexAttribI3ui); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iv"), def_glVertexAttribI1iv); - fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iv"), def_glVertexAttribI2iv); - fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iv"), def_glVertexAttribI3iv); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiv"), def_glVertexAttribI1uiv); - fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiv"), def_glVertexAttribI2uiv); - fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiv"), def_glVertexAttribI3uiv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bv"), def_glVertexAttribI4bv); - fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4sv"), def_glVertexAttribI4sv); - fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubv"), def_glVertexAttribI4ubv); - fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usv"), def_glVertexAttribI4usv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glBindFragDataLocation = new Deno.UnsafeFnPointer(proc("glBindFragDataLocation"), def_glBindFragDataLocation); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glTexBuffer = new Deno.UnsafeFnPointer(proc("glTexBuffer"), def_glTexBuffer); - fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartIndex"), def_glPrimitiveRestartIndex); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetActiveUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformName"), def_glGetActiveUniformName); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertex"), def_glDrawElementsBaseVertex); - fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertex"), def_glDrawRangeElementsBaseVertex); - fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertex"), def_glDrawElementsInstancedBaseVertex); - fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertex"), def_glMultiDrawElementsBaseVertex); - fn_glProvokingVertex = new Deno.UnsafeFnPointer(proc("glProvokingVertex"), def_glProvokingVertex); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); - fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); - fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glFramebufferTexture = new Deno.UnsafeFnPointer(proc("glFramebufferTexture"), def_glFramebufferTexture); - fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage2DMultisample"), def_glTexImage2DMultisample); - fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage3DMultisample"), def_glTexImage3DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); - fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationIndexed"), def_glBindFragDataLocationIndexed); - fn_glGetFragDataIndex = new Deno.UnsafeFnPointer(proc("glGetFragDataIndex"), def_glGetFragDataIndex); - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIiv"), def_glSamplerParameterIiv); - fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuiv"), def_glSamplerParameterIuiv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIiv"), def_glGetSamplerParameterIiv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuiv"), def_glGetSamplerParameterIuiv); - fn_glQueryCounter = new Deno.UnsafeFnPointer(proc("glQueryCounter"), def_glQueryCounter); - fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjecti64v"), def_glGetQueryObjecti64v); - fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjectui64v"), def_glGetQueryObjectui64v); - fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisor"), def_glVertexAttribDivisor); - fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP1ui"), def_glVertexAttribP1ui); - fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP1uiv"), def_glVertexAttribP1uiv); - fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP2ui"), def_glVertexAttribP2ui); - fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP2uiv"), def_glVertexAttribP2uiv); - fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP3ui"), def_glVertexAttribP3ui); - fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP3uiv"), def_glVertexAttribP3uiv); - fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP4ui"), def_glVertexAttribP4ui); - fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP4uiv"), def_glVertexAttribP4uiv); - fn_glVertexP2ui = new Deno.UnsafeFnPointer(proc("glVertexP2ui"), def_glVertexP2ui); - fn_glVertexP2uiv = new Deno.UnsafeFnPointer(proc("glVertexP2uiv"), def_glVertexP2uiv); - fn_glVertexP3ui = new Deno.UnsafeFnPointer(proc("glVertexP3ui"), def_glVertexP3ui); - fn_glVertexP3uiv = new Deno.UnsafeFnPointer(proc("glVertexP3uiv"), def_glVertexP3uiv); - fn_glVertexP4ui = new Deno.UnsafeFnPointer(proc("glVertexP4ui"), def_glVertexP4ui); - fn_glVertexP4uiv = new Deno.UnsafeFnPointer(proc("glVertexP4uiv"), def_glVertexP4uiv); - fn_glTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glTexCoordP1ui"), def_glTexCoordP1ui); - fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP1uiv"), def_glTexCoordP1uiv); - fn_glTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glTexCoordP2ui"), def_glTexCoordP2ui); - fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP2uiv"), def_glTexCoordP2uiv); - fn_glTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glTexCoordP3ui"), def_glTexCoordP3ui); - fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP3uiv"), def_glTexCoordP3uiv); - fn_glTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glTexCoordP4ui"), def_glTexCoordP4ui); - fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP4uiv"), def_glTexCoordP4uiv); - fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1ui"), def_glMultiTexCoordP1ui); - fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1uiv"), def_glMultiTexCoordP1uiv); - fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2ui"), def_glMultiTexCoordP2ui); - fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2uiv"), def_glMultiTexCoordP2uiv); - fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3ui"), def_glMultiTexCoordP3ui); - fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3uiv"), def_glMultiTexCoordP3uiv); - fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4ui"), def_glMultiTexCoordP4ui); - fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4uiv"), def_glMultiTexCoordP4uiv); - fn_glNormalP3ui = new Deno.UnsafeFnPointer(proc("glNormalP3ui"), def_glNormalP3ui); - fn_glNormalP3uiv = new Deno.UnsafeFnPointer(proc("glNormalP3uiv"), def_glNormalP3uiv); - fn_glColorP3ui = new Deno.UnsafeFnPointer(proc("glColorP3ui"), def_glColorP3ui); - fn_glColorP3uiv = new Deno.UnsafeFnPointer(proc("glColorP3uiv"), def_glColorP3uiv); - fn_glColorP4ui = new Deno.UnsafeFnPointer(proc("glColorP4ui"), def_glColorP4ui); - fn_glColorP4uiv = new Deno.UnsafeFnPointer(proc("glColorP4uiv"), def_glColorP4uiv); - fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3ui"), def_glSecondaryColorP3ui); - fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3uiv"), def_glSecondaryColorP3uiv); - fn_glMinSampleShading = new Deno.UnsafeFnPointer(proc("glMinSampleShading"), def_glMinSampleShading); - fn_glBlendEquationi = new Deno.UnsafeFnPointer(proc("glBlendEquationi"), def_glBlendEquationi); - fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparatei"), def_glBlendEquationSeparatei); - fn_glBlendFunci = new Deno.UnsafeFnPointer(proc("glBlendFunci"), def_glBlendFunci); - fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparatei"), def_glBlendFuncSeparatei); - fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glDrawArraysIndirect"), def_glDrawArraysIndirect); - fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glDrawElementsIndirect"), def_glDrawElementsIndirect); - fn_glUniform1d = new Deno.UnsafeFnPointer(proc("glUniform1d"), def_glUniform1d); - fn_glUniform2d = new Deno.UnsafeFnPointer(proc("glUniform2d"), def_glUniform2d); - fn_glUniform3d = new Deno.UnsafeFnPointer(proc("glUniform3d"), def_glUniform3d); - fn_glUniform4d = new Deno.UnsafeFnPointer(proc("glUniform4d"), def_glUniform4d); - fn_glUniform1dv = new Deno.UnsafeFnPointer(proc("glUniform1dv"), def_glUniform1dv); - fn_glUniform2dv = new Deno.UnsafeFnPointer(proc("glUniform2dv"), def_glUniform2dv); - fn_glUniform3dv = new Deno.UnsafeFnPointer(proc("glUniform3dv"), def_glUniform3dv); - fn_glUniform4dv = new Deno.UnsafeFnPointer(proc("glUniform4dv"), def_glUniform4dv); - fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2dv"), def_glUniformMatrix2dv); - fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3dv"), def_glUniformMatrix3dv); - fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4dv"), def_glUniformMatrix4dv); - fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3dv"), def_glUniformMatrix2x3dv); - fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4dv"), def_glUniformMatrix2x4dv); - fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2dv"), def_glUniformMatrix3x2dv); - fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4dv"), def_glUniformMatrix3x4dv); - fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2dv"), def_glUniformMatrix4x2dv); - fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3dv"), def_glUniformMatrix4x3dv); - fn_glGetUniformdv = new Deno.UnsafeFnPointer(proc("glGetUniformdv"), def_glGetUniformdv); - fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer(proc("glGetSubroutineUniformLocation"), def_glGetSubroutineUniformLocation); - fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer(proc("glGetSubroutineIndex"), def_glGetSubroutineIndex); - fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformiv"), def_glGetActiveSubroutineUniformiv); - fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformName"), def_glGetActiveSubroutineUniformName); - fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineName"), def_glGetActiveSubroutineName); - fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer(proc("glUniformSubroutinesuiv"), def_glUniformSubroutinesuiv); - fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer(proc("glGetUniformSubroutineuiv"), def_glGetUniformSubroutineuiv); - fn_glGetProgramStageiv = new Deno.UnsafeFnPointer(proc("glGetProgramStageiv"), def_glGetProgramStageiv); - fn_glPatchParameteri = new Deno.UnsafeFnPointer(proc("glPatchParameteri"), def_glPatchParameteri); - fn_glPatchParameterfv = new Deno.UnsafeFnPointer(proc("glPatchParameterfv"), def_glPatchParameterfv); - fn_glBindTransformFeedback = new Deno.UnsafeFnPointer(proc("glBindTransformFeedback"), def_glBindTransformFeedback); - fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacks"), def_glDeleteTransformFeedbacks); - fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacks"), def_glGenTransformFeedbacks); - fn_glIsTransformFeedback = new Deno.UnsafeFnPointer(proc("glIsTransformFeedback"), def_glIsTransformFeedback); - fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedback"), def_glPauseTransformFeedback); - fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedback"), def_glResumeTransformFeedback); - fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedback"), def_glDrawTransformFeedback); - fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStream"), def_glDrawTransformFeedbackStream); - fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer(proc("glBeginQueryIndexed"), def_glBeginQueryIndexed); - fn_glEndQueryIndexed = new Deno.UnsafeFnPointer(proc("glEndQueryIndexed"), def_glEndQueryIndexed); - fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer(proc("glGetQueryIndexediv"), def_glGetQueryIndexediv); - fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer(proc("glReleaseShaderCompiler"), def_glReleaseShaderCompiler); - fn_glShaderBinary = new Deno.UnsafeFnPointer(proc("glShaderBinary"), def_glShaderBinary); - fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer(proc("glGetShaderPrecisionFormat"), def_glGetShaderPrecisionFormat); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glGetProgramBinary = new Deno.UnsafeFnPointer(proc("glGetProgramBinary"), def_glGetProgramBinary); - fn_glProgramBinary = new Deno.UnsafeFnPointer(proc("glProgramBinary"), def_glProgramBinary); - fn_glProgramParameteri = new Deno.UnsafeFnPointer(proc("glProgramParameteri"), def_glProgramParameteri); - fn_glUseProgramStages = new Deno.UnsafeFnPointer(proc("glUseProgramStages"), def_glUseProgramStages); - fn_glActiveShaderProgram = new Deno.UnsafeFnPointer(proc("glActiveShaderProgram"), def_glActiveShaderProgram); - fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer(proc("glCreateShaderProgramv"), def_glCreateShaderProgramv); - fn_glBindProgramPipeline = new Deno.UnsafeFnPointer(proc("glBindProgramPipeline"), def_glBindProgramPipeline); - fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer(proc("glDeleteProgramPipelines"), def_glDeleteProgramPipelines); - fn_glGenProgramPipelines = new Deno.UnsafeFnPointer(proc("glGenProgramPipelines"), def_glGenProgramPipelines); - fn_glIsProgramPipeline = new Deno.UnsafeFnPointer(proc("glIsProgramPipeline"), def_glIsProgramPipeline); - fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineiv"), def_glGetProgramPipelineiv); - fn_glProgramUniform1i = new Deno.UnsafeFnPointer(proc("glProgramUniform1i"), def_glProgramUniform1i); - fn_glProgramUniform1iv = new Deno.UnsafeFnPointer(proc("glProgramUniform1iv"), def_glProgramUniform1iv); - fn_glProgramUniform1f = new Deno.UnsafeFnPointer(proc("glProgramUniform1f"), def_glProgramUniform1f); - fn_glProgramUniform1fv = new Deno.UnsafeFnPointer(proc("glProgramUniform1fv"), def_glProgramUniform1fv); - fn_glProgramUniform1d = new Deno.UnsafeFnPointer(proc("glProgramUniform1d"), def_glProgramUniform1d); - fn_glProgramUniform1dv = new Deno.UnsafeFnPointer(proc("glProgramUniform1dv"), def_glProgramUniform1dv); - fn_glProgramUniform1ui = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui"), def_glProgramUniform1ui); - fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform1uiv"), def_glProgramUniform1uiv); - fn_glProgramUniform2i = new Deno.UnsafeFnPointer(proc("glProgramUniform2i"), def_glProgramUniform2i); - fn_glProgramUniform2iv = new Deno.UnsafeFnPointer(proc("glProgramUniform2iv"), def_glProgramUniform2iv); - fn_glProgramUniform2f = new Deno.UnsafeFnPointer(proc("glProgramUniform2f"), def_glProgramUniform2f); - fn_glProgramUniform2fv = new Deno.UnsafeFnPointer(proc("glProgramUniform2fv"), def_glProgramUniform2fv); - fn_glProgramUniform2d = new Deno.UnsafeFnPointer(proc("glProgramUniform2d"), def_glProgramUniform2d); - fn_glProgramUniform2dv = new Deno.UnsafeFnPointer(proc("glProgramUniform2dv"), def_glProgramUniform2dv); - fn_glProgramUniform2ui = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui"), def_glProgramUniform2ui); - fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform2uiv"), def_glProgramUniform2uiv); - fn_glProgramUniform3i = new Deno.UnsafeFnPointer(proc("glProgramUniform3i"), def_glProgramUniform3i); - fn_glProgramUniform3iv = new Deno.UnsafeFnPointer(proc("glProgramUniform3iv"), def_glProgramUniform3iv); - fn_glProgramUniform3f = new Deno.UnsafeFnPointer(proc("glProgramUniform3f"), def_glProgramUniform3f); - fn_glProgramUniform3fv = new Deno.UnsafeFnPointer(proc("glProgramUniform3fv"), def_glProgramUniform3fv); - fn_glProgramUniform3d = new Deno.UnsafeFnPointer(proc("glProgramUniform3d"), def_glProgramUniform3d); - fn_glProgramUniform3dv = new Deno.UnsafeFnPointer(proc("glProgramUniform3dv"), def_glProgramUniform3dv); - fn_glProgramUniform3ui = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui"), def_glProgramUniform3ui); - fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform3uiv"), def_glProgramUniform3uiv); - fn_glProgramUniform4i = new Deno.UnsafeFnPointer(proc("glProgramUniform4i"), def_glProgramUniform4i); - fn_glProgramUniform4iv = new Deno.UnsafeFnPointer(proc("glProgramUniform4iv"), def_glProgramUniform4iv); - fn_glProgramUniform4f = new Deno.UnsafeFnPointer(proc("glProgramUniform4f"), def_glProgramUniform4f); - fn_glProgramUniform4fv = new Deno.UnsafeFnPointer(proc("glProgramUniform4fv"), def_glProgramUniform4fv); - fn_glProgramUniform4d = new Deno.UnsafeFnPointer(proc("glProgramUniform4d"), def_glProgramUniform4d); - fn_glProgramUniform4dv = new Deno.UnsafeFnPointer(proc("glProgramUniform4dv"), def_glProgramUniform4dv); - fn_glProgramUniform4ui = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui"), def_glProgramUniform4ui); - fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform4uiv"), def_glProgramUniform4uiv); - fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2fv"), def_glProgramUniformMatrix2fv); - fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3fv"), def_glProgramUniformMatrix3fv); - fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4fv"), def_glProgramUniformMatrix4fv); - fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2dv"), def_glProgramUniformMatrix2dv); - fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3dv"), def_glProgramUniformMatrix3dv); - fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4dv"), def_glProgramUniformMatrix4dv); - fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3fv"), def_glProgramUniformMatrix2x3fv); - fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2fv"), def_glProgramUniformMatrix3x2fv); - fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4fv"), def_glProgramUniformMatrix2x4fv); - fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2fv"), def_glProgramUniformMatrix4x2fv); - fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4fv"), def_glProgramUniformMatrix3x4fv); - fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3fv"), def_glProgramUniformMatrix4x3fv); - fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3dv"), def_glProgramUniformMatrix2x3dv); - fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2dv"), def_glProgramUniformMatrix3x2dv); - fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4dv"), def_glProgramUniformMatrix2x4dv); - fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2dv"), def_glProgramUniformMatrix4x2dv); - fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4dv"), def_glProgramUniformMatrix3x4dv); - fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3dv"), def_glProgramUniformMatrix4x3dv); - fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer(proc("glValidateProgramPipeline"), def_glValidateProgramPipeline); - fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineInfoLog"), def_glGetProgramPipelineInfoLog); - fn_glVertexAttribL1d = new Deno.UnsafeFnPointer(proc("glVertexAttribL1d"), def_glVertexAttribL1d); - fn_glVertexAttribL2d = new Deno.UnsafeFnPointer(proc("glVertexAttribL2d"), def_glVertexAttribL2d); - fn_glVertexAttribL3d = new Deno.UnsafeFnPointer(proc("glVertexAttribL3d"), def_glVertexAttribL3d); - fn_glVertexAttribL4d = new Deno.UnsafeFnPointer(proc("glVertexAttribL4d"), def_glVertexAttribL4d); - fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL1dv"), def_glVertexAttribL1dv); - fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL2dv"), def_glVertexAttribL2dv); - fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL3dv"), def_glVertexAttribL3dv); - fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL4dv"), def_glVertexAttribL4dv); - fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribLPointer"), def_glVertexAttribLPointer); - fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribLdv"), def_glGetVertexAttribLdv); - fn_glViewportArrayv = new Deno.UnsafeFnPointer(proc("glViewportArrayv"), def_glViewportArrayv); - fn_glViewportIndexedf = new Deno.UnsafeFnPointer(proc("glViewportIndexedf"), def_glViewportIndexedf); - fn_glViewportIndexedfv = new Deno.UnsafeFnPointer(proc("glViewportIndexedfv"), def_glViewportIndexedfv); - fn_glScissorArrayv = new Deno.UnsafeFnPointer(proc("glScissorArrayv"), def_glScissorArrayv); - fn_glScissorIndexed = new Deno.UnsafeFnPointer(proc("glScissorIndexed"), def_glScissorIndexed); - fn_glScissorIndexedv = new Deno.UnsafeFnPointer(proc("glScissorIndexedv"), def_glScissorIndexedv); - fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer(proc("glDepthRangeArrayv"), def_glDepthRangeArrayv); - fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer(proc("glDepthRangeIndexed"), def_glDepthRangeIndexed); - fn_glGetFloati_v = new Deno.UnsafeFnPointer(proc("glGetFloati_v"), def_glGetFloati_v); - fn_glGetDoublei_v = new Deno.UnsafeFnPointer(proc("glGetDoublei_v"), def_glGetDoublei_v); - fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedBaseInstance"), def_glDrawArraysInstancedBaseInstance); - fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseInstance"), def_glDrawElementsInstancedBaseInstance); - fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertexBaseInstance"), def_glDrawElementsInstancedBaseVertexBaseInstance); - fn_glGetInternalformativ = new Deno.UnsafeFnPointer(proc("glGetInternalformativ"), def_glGetInternalformativ); - fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer(proc("glGetActiveAtomicCounterBufferiv"), def_glGetActiveAtomicCounterBufferiv); - fn_glBindImageTexture = new Deno.UnsafeFnPointer(proc("glBindImageTexture"), def_glBindImageTexture); - fn_glMemoryBarrier = new Deno.UnsafeFnPointer(proc("glMemoryBarrier"), def_glMemoryBarrier); - fn_glTexStorage1D = new Deno.UnsafeFnPointer(proc("glTexStorage1D"), def_glTexStorage1D); - fn_glTexStorage2D = new Deno.UnsafeFnPointer(proc("glTexStorage2D"), def_glTexStorage2D); - fn_glTexStorage3D = new Deno.UnsafeFnPointer(proc("glTexStorage3D"), def_glTexStorage3D); - fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackInstanced"), def_glDrawTransformFeedbackInstanced); - fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStreamInstanced"), def_glDrawTransformFeedbackStreamInstanced); - fn_glClearBufferData = new Deno.UnsafeFnPointer(proc("glClearBufferData"), def_glClearBufferData); - fn_glClearBufferSubData = new Deno.UnsafeFnPointer(proc("glClearBufferSubData"), def_glClearBufferSubData); - fn_glDispatchCompute = new Deno.UnsafeFnPointer(proc("glDispatchCompute"), def_glDispatchCompute); - fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer(proc("glDispatchComputeIndirect"), def_glDispatchComputeIndirect); - fn_glCopyImageSubData = new Deno.UnsafeFnPointer(proc("glCopyImageSubData"), def_glCopyImageSubData); - fn_glFramebufferParameteri = new Deno.UnsafeFnPointer(proc("glFramebufferParameteri"), def_glFramebufferParameteri); - fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferParameteriv"), def_glGetFramebufferParameteriv); - fn_glGetInternalformati64v = new Deno.UnsafeFnPointer(proc("glGetInternalformati64v"), def_glGetInternalformati64v); - fn_glInvalidateTexSubImage = new Deno.UnsafeFnPointer(proc("glInvalidateTexSubImage"), def_glInvalidateTexSubImage); - fn_glInvalidateTexImage = new Deno.UnsafeFnPointer(proc("glInvalidateTexImage"), def_glInvalidateTexImage); - fn_glInvalidateBufferSubData = new Deno.UnsafeFnPointer(proc("glInvalidateBufferSubData"), def_glInvalidateBufferSubData); - fn_glInvalidateBufferData = new Deno.UnsafeFnPointer(proc("glInvalidateBufferData"), def_glInvalidateBufferData); - fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateFramebuffer"), def_glInvalidateFramebuffer); - fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateSubFramebuffer"), def_glInvalidateSubFramebuffer); - fn_glMultiDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysIndirect"), def_glMultiDrawArraysIndirect); - fn_glMultiDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsIndirect"), def_glMultiDrawElementsIndirect); - fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer(proc("glGetProgramInterfaceiv"), def_glGetProgramInterfaceiv); - fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceIndex"), def_glGetProgramResourceIndex); - fn_glGetProgramResourceName = new Deno.UnsafeFnPointer(proc("glGetProgramResourceName"), def_glGetProgramResourceName); - fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer(proc("glGetProgramResourceiv"), def_glGetProgramResourceiv); - fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocation"), def_glGetProgramResourceLocation); - fn_glGetProgramResourceLocationIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocationIndex"), def_glGetProgramResourceLocationIndex); - fn_glShaderStorageBlockBinding = new Deno.UnsafeFnPointer(proc("glShaderStorageBlockBinding"), def_glShaderStorageBlockBinding); - fn_glTexBufferRange = new Deno.UnsafeFnPointer(proc("glTexBufferRange"), def_glTexBufferRange); - fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage2DMultisample"), def_glTexStorage2DMultisample); - fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage3DMultisample"), def_glTexStorage3DMultisample); - fn_glTextureView = new Deno.UnsafeFnPointer(proc("glTextureView"), def_glTextureView); - fn_glBindVertexBuffer = new Deno.UnsafeFnPointer(proc("glBindVertexBuffer"), def_glBindVertexBuffer); - fn_glVertexAttribFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribFormat"), def_glVertexAttribFormat); - fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribIFormat"), def_glVertexAttribIFormat); - fn_glVertexAttribLFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribLFormat"), def_glVertexAttribLFormat); - fn_glVertexAttribBinding = new Deno.UnsafeFnPointer(proc("glVertexAttribBinding"), def_glVertexAttribBinding); - fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer(proc("glVertexBindingDivisor"), def_glVertexBindingDivisor); - fn_glDebugMessageControl = new Deno.UnsafeFnPointer(proc("glDebugMessageControl"), def_glDebugMessageControl); - fn_glDebugMessageInsert = new Deno.UnsafeFnPointer(proc("glDebugMessageInsert"), def_glDebugMessageInsert); - fn_glDebugMessageCallback = new Deno.UnsafeFnPointer(proc("glDebugMessageCallback"), def_glDebugMessageCallback); - fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer(proc("glGetDebugMessageLog"), def_glGetDebugMessageLog); - fn_glPushDebugGroup = new Deno.UnsafeFnPointer(proc("glPushDebugGroup"), def_glPushDebugGroup); - fn_glPopDebugGroup = new Deno.UnsafeFnPointer(proc("glPopDebugGroup"), def_glPopDebugGroup); - fn_glObjectLabel = new Deno.UnsafeFnPointer(proc("glObjectLabel"), def_glObjectLabel); - fn_glGetObjectLabel = new Deno.UnsafeFnPointer(proc("glGetObjectLabel"), def_glGetObjectLabel); - fn_glObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glObjectPtrLabel"), def_glObjectPtrLabel); - fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glGetObjectPtrLabel"), def_glGetObjectPtrLabel); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glBufferStorage = new Deno.UnsafeFnPointer(proc("glBufferStorage"), def_glBufferStorage); - fn_glClearTexImage = new Deno.UnsafeFnPointer(proc("glClearTexImage"), def_glClearTexImage); - fn_glClearTexSubImage = new Deno.UnsafeFnPointer(proc("glClearTexSubImage"), def_glClearTexSubImage); - fn_glBindBuffersBase = new Deno.UnsafeFnPointer(proc("glBindBuffersBase"), def_glBindBuffersBase); - fn_glBindBuffersRange = new Deno.UnsafeFnPointer(proc("glBindBuffersRange"), def_glBindBuffersRange); - fn_glBindTextures = new Deno.UnsafeFnPointer(proc("glBindTextures"), def_glBindTextures); - fn_glBindSamplers = new Deno.UnsafeFnPointer(proc("glBindSamplers"), def_glBindSamplers); - fn_glBindImageTextures = new Deno.UnsafeFnPointer(proc("glBindImageTextures"), def_glBindImageTextures); - fn_glBindVertexBuffers = new Deno.UnsafeFnPointer(proc("glBindVertexBuffers"), def_glBindVertexBuffers); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glClampColor = new Deno.UnsafeFnPointer( + proc("glClampColor"), + def_glClampColor, + ); + fn_glBeginConditionalRender = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRender"), + def_glBeginConditionalRender, + ); + fn_glEndConditionalRender = new Deno.UnsafeFnPointer( + proc("glEndConditionalRender"), + def_glEndConditionalRender, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI1i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1i"), + def_glVertexAttribI1i, + ); + fn_glVertexAttribI2i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2i"), + def_glVertexAttribI2i, + ); + fn_glVertexAttribI3i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3i"), + def_glVertexAttribI3i, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ui"), + def_glVertexAttribI1ui, + ); + fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ui"), + def_glVertexAttribI2ui, + ); + fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ui"), + def_glVertexAttribI3ui, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iv"), + def_glVertexAttribI1iv, + ); + fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iv"), + def_glVertexAttribI2iv, + ); + fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iv"), + def_glVertexAttribI3iv, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiv"), + def_glVertexAttribI1uiv, + ); + fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiv"), + def_glVertexAttribI2uiv, + ); + fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiv"), + def_glVertexAttribI3uiv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bv"), + def_glVertexAttribI4bv, + ); + fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4sv"), + def_glVertexAttribI4sv, + ); + fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubv"), + def_glVertexAttribI4ubv, + ); + fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usv"), + def_glVertexAttribI4usv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glBindFragDataLocation = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocation"), + def_glBindFragDataLocation, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glTexBuffer = new Deno.UnsafeFnPointer( + proc("glTexBuffer"), + def_glTexBuffer, + ); + fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartIndex"), + def_glPrimitiveRestartIndex, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetActiveUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformName"), + def_glGetActiveUniformName, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertex"), + def_glDrawElementsBaseVertex, + ); + fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertex"), + def_glDrawRangeElementsBaseVertex, + ); + fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertex"), + def_glDrawElementsInstancedBaseVertex, + ); + fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertex"), + def_glMultiDrawElementsBaseVertex, + ); + fn_glProvokingVertex = new Deno.UnsafeFnPointer( + proc("glProvokingVertex"), + def_glProvokingVertex, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); + fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); + fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture"), + def_glFramebufferTexture, + ); + fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage2DMultisample"), + def_glTexImage2DMultisample, + ); + fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage3DMultisample"), + def_glTexImage3DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); + fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationIndexed"), + def_glBindFragDataLocationIndexed, + ); + fn_glGetFragDataIndex = new Deno.UnsafeFnPointer( + proc("glGetFragDataIndex"), + def_glGetFragDataIndex, + ); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIiv"), + def_glSamplerParameterIiv, + ); + fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuiv"), + def_glSamplerParameterIuiv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIiv"), + def_glGetSamplerParameterIiv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuiv"), + def_glGetSamplerParameterIuiv, + ); + fn_glQueryCounter = new Deno.UnsafeFnPointer( + proc("glQueryCounter"), + def_glQueryCounter, + ); + fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjecti64v"), + def_glGetQueryObjecti64v, + ); + fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectui64v"), + def_glGetQueryObjectui64v, + ); + fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisor"), + def_glVertexAttribDivisor, + ); + fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1ui"), + def_glVertexAttribP1ui, + ); + fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1uiv"), + def_glVertexAttribP1uiv, + ); + fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2ui"), + def_glVertexAttribP2ui, + ); + fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2uiv"), + def_glVertexAttribP2uiv, + ); + fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3ui"), + def_glVertexAttribP3ui, + ); + fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3uiv"), + def_glVertexAttribP3uiv, + ); + fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4ui"), + def_glVertexAttribP4ui, + ); + fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4uiv"), + def_glVertexAttribP4uiv, + ); + fn_glVertexP2ui = new Deno.UnsafeFnPointer( + proc("glVertexP2ui"), + def_glVertexP2ui, + ); + fn_glVertexP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexP2uiv"), + def_glVertexP2uiv, + ); + fn_glVertexP3ui = new Deno.UnsafeFnPointer( + proc("glVertexP3ui"), + def_glVertexP3ui, + ); + fn_glVertexP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexP3uiv"), + def_glVertexP3uiv, + ); + fn_glVertexP4ui = new Deno.UnsafeFnPointer( + proc("glVertexP4ui"), + def_glVertexP4ui, + ); + fn_glVertexP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexP4uiv"), + def_glVertexP4uiv, + ); + fn_glTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP1ui"), + def_glTexCoordP1ui, + ); + fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP1uiv"), + def_glTexCoordP1uiv, + ); + fn_glTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP2ui"), + def_glTexCoordP2ui, + ); + fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP2uiv"), + def_glTexCoordP2uiv, + ); + fn_glTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP3ui"), + def_glTexCoordP3ui, + ); + fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP3uiv"), + def_glTexCoordP3uiv, + ); + fn_glTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP4ui"), + def_glTexCoordP4ui, + ); + fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP4uiv"), + def_glTexCoordP4uiv, + ); + fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1ui"), + def_glMultiTexCoordP1ui, + ); + fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1uiv"), + def_glMultiTexCoordP1uiv, + ); + fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2ui"), + def_glMultiTexCoordP2ui, + ); + fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2uiv"), + def_glMultiTexCoordP2uiv, + ); + fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3ui"), + def_glMultiTexCoordP3ui, + ); + fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3uiv"), + def_glMultiTexCoordP3uiv, + ); + fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4ui"), + def_glMultiTexCoordP4ui, + ); + fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4uiv"), + def_glMultiTexCoordP4uiv, + ); + fn_glNormalP3ui = new Deno.UnsafeFnPointer( + proc("glNormalP3ui"), + def_glNormalP3ui, + ); + fn_glNormalP3uiv = new Deno.UnsafeFnPointer( + proc("glNormalP3uiv"), + def_glNormalP3uiv, + ); + fn_glColorP3ui = new Deno.UnsafeFnPointer( + proc("glColorP3ui"), + def_glColorP3ui, + ); + fn_glColorP3uiv = new Deno.UnsafeFnPointer( + proc("glColorP3uiv"), + def_glColorP3uiv, + ); + fn_glColorP4ui = new Deno.UnsafeFnPointer( + proc("glColorP4ui"), + def_glColorP4ui, + ); + fn_glColorP4uiv = new Deno.UnsafeFnPointer( + proc("glColorP4uiv"), + def_glColorP4uiv, + ); + fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3ui"), + def_glSecondaryColorP3ui, + ); + fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3uiv"), + def_glSecondaryColorP3uiv, + ); + fn_glMinSampleShading = new Deno.UnsafeFnPointer( + proc("glMinSampleShading"), + def_glMinSampleShading, + ); + fn_glBlendEquationi = new Deno.UnsafeFnPointer( + proc("glBlendEquationi"), + def_glBlendEquationi, + ); + fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparatei"), + def_glBlendEquationSeparatei, + ); + fn_glBlendFunci = new Deno.UnsafeFnPointer( + proc("glBlendFunci"), + def_glBlendFunci, + ); + fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparatei"), + def_glBlendFuncSeparatei, + ); + fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glDrawArraysIndirect"), + def_glDrawArraysIndirect, + ); + fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glDrawElementsIndirect"), + def_glDrawElementsIndirect, + ); + fn_glUniform1d = new Deno.UnsafeFnPointer( + proc("glUniform1d"), + def_glUniform1d, + ); + fn_glUniform2d = new Deno.UnsafeFnPointer( + proc("glUniform2d"), + def_glUniform2d, + ); + fn_glUniform3d = new Deno.UnsafeFnPointer( + proc("glUniform3d"), + def_glUniform3d, + ); + fn_glUniform4d = new Deno.UnsafeFnPointer( + proc("glUniform4d"), + def_glUniform4d, + ); + fn_glUniform1dv = new Deno.UnsafeFnPointer( + proc("glUniform1dv"), + def_glUniform1dv, + ); + fn_glUniform2dv = new Deno.UnsafeFnPointer( + proc("glUniform2dv"), + def_glUniform2dv, + ); + fn_glUniform3dv = new Deno.UnsafeFnPointer( + proc("glUniform3dv"), + def_glUniform3dv, + ); + fn_glUniform4dv = new Deno.UnsafeFnPointer( + proc("glUniform4dv"), + def_glUniform4dv, + ); + fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2dv"), + def_glUniformMatrix2dv, + ); + fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3dv"), + def_glUniformMatrix3dv, + ); + fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4dv"), + def_glUniformMatrix4dv, + ); + fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3dv"), + def_glUniformMatrix2x3dv, + ); + fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4dv"), + def_glUniformMatrix2x4dv, + ); + fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2dv"), + def_glUniformMatrix3x2dv, + ); + fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4dv"), + def_glUniformMatrix3x4dv, + ); + fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2dv"), + def_glUniformMatrix4x2dv, + ); + fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3dv"), + def_glUniformMatrix4x3dv, + ); + fn_glGetUniformdv = new Deno.UnsafeFnPointer( + proc("glGetUniformdv"), + def_glGetUniformdv, + ); + fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetSubroutineUniformLocation"), + def_glGetSubroutineUniformLocation, + ); + fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer( + proc("glGetSubroutineIndex"), + def_glGetSubroutineIndex, + ); + fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformiv"), + def_glGetActiveSubroutineUniformiv, + ); + fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformName"), + def_glGetActiveSubroutineUniformName, + ); + fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineName"), + def_glGetActiveSubroutineName, + ); + fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer( + proc("glUniformSubroutinesuiv"), + def_glUniformSubroutinesuiv, + ); + fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformSubroutineuiv"), + def_glGetUniformSubroutineuiv, + ); + fn_glGetProgramStageiv = new Deno.UnsafeFnPointer( + proc("glGetProgramStageiv"), + def_glGetProgramStageiv, + ); + fn_glPatchParameteri = new Deno.UnsafeFnPointer( + proc("glPatchParameteri"), + def_glPatchParameteri, + ); + fn_glPatchParameterfv = new Deno.UnsafeFnPointer( + proc("glPatchParameterfv"), + def_glPatchParameterfv, + ); + fn_glBindTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedback"), + def_glBindTransformFeedback, + ); + fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacks"), + def_glDeleteTransformFeedbacks, + ); + fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacks"), + def_glGenTransformFeedbacks, + ); + fn_glIsTransformFeedback = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedback"), + def_glIsTransformFeedback, + ); + fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedback"), + def_glPauseTransformFeedback, + ); + fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedback"), + def_glResumeTransformFeedback, + ); + fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedback"), + def_glDrawTransformFeedback, + ); + fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStream"), + def_glDrawTransformFeedbackStream, + ); + fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer( + proc("glBeginQueryIndexed"), + def_glBeginQueryIndexed, + ); + fn_glEndQueryIndexed = new Deno.UnsafeFnPointer( + proc("glEndQueryIndexed"), + def_glEndQueryIndexed, + ); + fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer( + proc("glGetQueryIndexediv"), + def_glGetQueryIndexediv, + ); + fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer( + proc("glReleaseShaderCompiler"), + def_glReleaseShaderCompiler, + ); + fn_glShaderBinary = new Deno.UnsafeFnPointer( + proc("glShaderBinary"), + def_glShaderBinary, + ); + fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer( + proc("glGetShaderPrecisionFormat"), + def_glGetShaderPrecisionFormat, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glGetProgramBinary = new Deno.UnsafeFnPointer( + proc("glGetProgramBinary"), + def_glGetProgramBinary, + ); + fn_glProgramBinary = new Deno.UnsafeFnPointer( + proc("glProgramBinary"), + def_glProgramBinary, + ); + fn_glProgramParameteri = new Deno.UnsafeFnPointer( + proc("glProgramParameteri"), + def_glProgramParameteri, + ); + fn_glUseProgramStages = new Deno.UnsafeFnPointer( + proc("glUseProgramStages"), + def_glUseProgramStages, + ); + fn_glActiveShaderProgram = new Deno.UnsafeFnPointer( + proc("glActiveShaderProgram"), + def_glActiveShaderProgram, + ); + fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer( + proc("glCreateShaderProgramv"), + def_glCreateShaderProgramv, + ); + fn_glBindProgramPipeline = new Deno.UnsafeFnPointer( + proc("glBindProgramPipeline"), + def_glBindProgramPipeline, + ); + fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer( + proc("glDeleteProgramPipelines"), + def_glDeleteProgramPipelines, + ); + fn_glGenProgramPipelines = new Deno.UnsafeFnPointer( + proc("glGenProgramPipelines"), + def_glGenProgramPipelines, + ); + fn_glIsProgramPipeline = new Deno.UnsafeFnPointer( + proc("glIsProgramPipeline"), + def_glIsProgramPipeline, + ); + fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineiv"), + def_glGetProgramPipelineiv, + ); + fn_glProgramUniform1i = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i"), + def_glProgramUniform1i, + ); + fn_glProgramUniform1iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1iv"), + def_glProgramUniform1iv, + ); + fn_glProgramUniform1f = new Deno.UnsafeFnPointer( + proc("glProgramUniform1f"), + def_glProgramUniform1f, + ); + fn_glProgramUniform1fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fv"), + def_glProgramUniform1fv, + ); + fn_glProgramUniform1d = new Deno.UnsafeFnPointer( + proc("glProgramUniform1d"), + def_glProgramUniform1d, + ); + fn_glProgramUniform1dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1dv"), + def_glProgramUniform1dv, + ); + fn_glProgramUniform1ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui"), + def_glProgramUniform1ui, + ); + fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uiv"), + def_glProgramUniform1uiv, + ); + fn_glProgramUniform2i = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i"), + def_glProgramUniform2i, + ); + fn_glProgramUniform2iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2iv"), + def_glProgramUniform2iv, + ); + fn_glProgramUniform2f = new Deno.UnsafeFnPointer( + proc("glProgramUniform2f"), + def_glProgramUniform2f, + ); + fn_glProgramUniform2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fv"), + def_glProgramUniform2fv, + ); + fn_glProgramUniform2d = new Deno.UnsafeFnPointer( + proc("glProgramUniform2d"), + def_glProgramUniform2d, + ); + fn_glProgramUniform2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2dv"), + def_glProgramUniform2dv, + ); + fn_glProgramUniform2ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui"), + def_glProgramUniform2ui, + ); + fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uiv"), + def_glProgramUniform2uiv, + ); + fn_glProgramUniform3i = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i"), + def_glProgramUniform3i, + ); + fn_glProgramUniform3iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3iv"), + def_glProgramUniform3iv, + ); + fn_glProgramUniform3f = new Deno.UnsafeFnPointer( + proc("glProgramUniform3f"), + def_glProgramUniform3f, + ); + fn_glProgramUniform3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fv"), + def_glProgramUniform3fv, + ); + fn_glProgramUniform3d = new Deno.UnsafeFnPointer( + proc("glProgramUniform3d"), + def_glProgramUniform3d, + ); + fn_glProgramUniform3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3dv"), + def_glProgramUniform3dv, + ); + fn_glProgramUniform3ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui"), + def_glProgramUniform3ui, + ); + fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uiv"), + def_glProgramUniform3uiv, + ); + fn_glProgramUniform4i = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i"), + def_glProgramUniform4i, + ); + fn_glProgramUniform4iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4iv"), + def_glProgramUniform4iv, + ); + fn_glProgramUniform4f = new Deno.UnsafeFnPointer( + proc("glProgramUniform4f"), + def_glProgramUniform4f, + ); + fn_glProgramUniform4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fv"), + def_glProgramUniform4fv, + ); + fn_glProgramUniform4d = new Deno.UnsafeFnPointer( + proc("glProgramUniform4d"), + def_glProgramUniform4d, + ); + fn_glProgramUniform4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4dv"), + def_glProgramUniform4dv, + ); + fn_glProgramUniform4ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui"), + def_glProgramUniform4ui, + ); + fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uiv"), + def_glProgramUniform4uiv, + ); + fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2fv"), + def_glProgramUniformMatrix2fv, + ); + fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3fv"), + def_glProgramUniformMatrix3fv, + ); + fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4fv"), + def_glProgramUniformMatrix4fv, + ); + fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2dv"), + def_glProgramUniformMatrix2dv, + ); + fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3dv"), + def_glProgramUniformMatrix3dv, + ); + fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4dv"), + def_glProgramUniformMatrix4dv, + ); + fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3fv"), + def_glProgramUniformMatrix2x3fv, + ); + fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2fv"), + def_glProgramUniformMatrix3x2fv, + ); + fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4fv"), + def_glProgramUniformMatrix2x4fv, + ); + fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2fv"), + def_glProgramUniformMatrix4x2fv, + ); + fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4fv"), + def_glProgramUniformMatrix3x4fv, + ); + fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3fv"), + def_glProgramUniformMatrix4x3fv, + ); + fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3dv"), + def_glProgramUniformMatrix2x3dv, + ); + fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2dv"), + def_glProgramUniformMatrix3x2dv, + ); + fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4dv"), + def_glProgramUniformMatrix2x4dv, + ); + fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2dv"), + def_glProgramUniformMatrix4x2dv, + ); + fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4dv"), + def_glProgramUniformMatrix3x4dv, + ); + fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3dv"), + def_glProgramUniformMatrix4x3dv, + ); + fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer( + proc("glValidateProgramPipeline"), + def_glValidateProgramPipeline, + ); + fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineInfoLog"), + def_glGetProgramPipelineInfoLog, + ); + fn_glVertexAttribL1d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1d"), + def_glVertexAttribL1d, + ); + fn_glVertexAttribL2d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2d"), + def_glVertexAttribL2d, + ); + fn_glVertexAttribL3d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3d"), + def_glVertexAttribL3d, + ); + fn_glVertexAttribL4d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4d"), + def_glVertexAttribL4d, + ); + fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1dv"), + def_glVertexAttribL1dv, + ); + fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2dv"), + def_glVertexAttribL2dv, + ); + fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3dv"), + def_glVertexAttribL3dv, + ); + fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4dv"), + def_glVertexAttribL4dv, + ); + fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribLPointer"), + def_glVertexAttribLPointer, + ); + fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribLdv"), + def_glGetVertexAttribLdv, + ); + fn_glViewportArrayv = new Deno.UnsafeFnPointer( + proc("glViewportArrayv"), + def_glViewportArrayv, + ); + fn_glViewportIndexedf = new Deno.UnsafeFnPointer( + proc("glViewportIndexedf"), + def_glViewportIndexedf, + ); + fn_glViewportIndexedfv = new Deno.UnsafeFnPointer( + proc("glViewportIndexedfv"), + def_glViewportIndexedfv, + ); + fn_glScissorArrayv = new Deno.UnsafeFnPointer( + proc("glScissorArrayv"), + def_glScissorArrayv, + ); + fn_glScissorIndexed = new Deno.UnsafeFnPointer( + proc("glScissorIndexed"), + def_glScissorIndexed, + ); + fn_glScissorIndexedv = new Deno.UnsafeFnPointer( + proc("glScissorIndexedv"), + def_glScissorIndexedv, + ); + fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer( + proc("glDepthRangeArrayv"), + def_glDepthRangeArrayv, + ); + fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer( + proc("glDepthRangeIndexed"), + def_glDepthRangeIndexed, + ); + fn_glGetFloati_v = new Deno.UnsafeFnPointer( + proc("glGetFloati_v"), + def_glGetFloati_v, + ); + fn_glGetDoublei_v = new Deno.UnsafeFnPointer( + proc("glGetDoublei_v"), + def_glGetDoublei_v, + ); + fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedBaseInstance"), + def_glDrawArraysInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseInstance"), + def_glDrawElementsInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertexBaseInstance"), + def_glDrawElementsInstancedBaseVertexBaseInstance, + ); + fn_glGetInternalformativ = new Deno.UnsafeFnPointer( + proc("glGetInternalformativ"), + def_glGetInternalformativ, + ); + fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer( + proc("glGetActiveAtomicCounterBufferiv"), + def_glGetActiveAtomicCounterBufferiv, + ); + fn_glBindImageTexture = new Deno.UnsafeFnPointer( + proc("glBindImageTexture"), + def_glBindImageTexture, + ); + fn_glMemoryBarrier = new Deno.UnsafeFnPointer( + proc("glMemoryBarrier"), + def_glMemoryBarrier, + ); + fn_glTexStorage1D = new Deno.UnsafeFnPointer( + proc("glTexStorage1D"), + def_glTexStorage1D, + ); + fn_glTexStorage2D = new Deno.UnsafeFnPointer( + proc("glTexStorage2D"), + def_glTexStorage2D, + ); + fn_glTexStorage3D = new Deno.UnsafeFnPointer( + proc("glTexStorage3D"), + def_glTexStorage3D, + ); + fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackInstanced"), + def_glDrawTransformFeedbackInstanced, + ); + fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStreamInstanced"), + def_glDrawTransformFeedbackStreamInstanced, + ); + fn_glClearBufferData = new Deno.UnsafeFnPointer( + proc("glClearBufferData"), + def_glClearBufferData, + ); + fn_glClearBufferSubData = new Deno.UnsafeFnPointer( + proc("glClearBufferSubData"), + def_glClearBufferSubData, + ); + fn_glDispatchCompute = new Deno.UnsafeFnPointer( + proc("glDispatchCompute"), + def_glDispatchCompute, + ); + fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer( + proc("glDispatchComputeIndirect"), + def_glDispatchComputeIndirect, + ); + fn_glCopyImageSubData = new Deno.UnsafeFnPointer( + proc("glCopyImageSubData"), + def_glCopyImageSubData, + ); + fn_glFramebufferParameteri = new Deno.UnsafeFnPointer( + proc("glFramebufferParameteri"), + def_glFramebufferParameteri, + ); + fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferParameteriv"), + def_glGetFramebufferParameteriv, + ); + fn_glGetInternalformati64v = new Deno.UnsafeFnPointer( + proc("glGetInternalformati64v"), + def_glGetInternalformati64v, + ); + fn_glInvalidateTexSubImage = new Deno.UnsafeFnPointer( + proc("glInvalidateTexSubImage"), + def_glInvalidateTexSubImage, + ); + fn_glInvalidateTexImage = new Deno.UnsafeFnPointer( + proc("glInvalidateTexImage"), + def_glInvalidateTexImage, + ); + fn_glInvalidateBufferSubData = new Deno.UnsafeFnPointer( + proc("glInvalidateBufferSubData"), + def_glInvalidateBufferSubData, + ); + fn_glInvalidateBufferData = new Deno.UnsafeFnPointer( + proc("glInvalidateBufferData"), + def_glInvalidateBufferData, + ); + fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateFramebuffer"), + def_glInvalidateFramebuffer, + ); + fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateSubFramebuffer"), + def_glInvalidateSubFramebuffer, + ); + fn_glMultiDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysIndirect"), + def_glMultiDrawArraysIndirect, + ); + fn_glMultiDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsIndirect"), + def_glMultiDrawElementsIndirect, + ); + fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramInterfaceiv"), + def_glGetProgramInterfaceiv, + ); + fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceIndex"), + def_glGetProgramResourceIndex, + ); + fn_glGetProgramResourceName = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceName"), + def_glGetProgramResourceName, + ); + fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceiv"), + def_glGetProgramResourceiv, + ); + fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocation"), + def_glGetProgramResourceLocation, + ); + fn_glGetProgramResourceLocationIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocationIndex"), + def_glGetProgramResourceLocationIndex, + ); + fn_glShaderStorageBlockBinding = new Deno.UnsafeFnPointer( + proc("glShaderStorageBlockBinding"), + def_glShaderStorageBlockBinding, + ); + fn_glTexBufferRange = new Deno.UnsafeFnPointer( + proc("glTexBufferRange"), + def_glTexBufferRange, + ); + fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage2DMultisample"), + def_glTexStorage2DMultisample, + ); + fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage3DMultisample"), + def_glTexStorage3DMultisample, + ); + fn_glTextureView = new Deno.UnsafeFnPointer( + proc("glTextureView"), + def_glTextureView, + ); + fn_glBindVertexBuffer = new Deno.UnsafeFnPointer( + proc("glBindVertexBuffer"), + def_glBindVertexBuffer, + ); + fn_glVertexAttribFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribFormat"), + def_glVertexAttribFormat, + ); + fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribIFormat"), + def_glVertexAttribIFormat, + ); + fn_glVertexAttribLFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribLFormat"), + def_glVertexAttribLFormat, + ); + fn_glVertexAttribBinding = new Deno.UnsafeFnPointer( + proc("glVertexAttribBinding"), + def_glVertexAttribBinding, + ); + fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer( + proc("glVertexBindingDivisor"), + def_glVertexBindingDivisor, + ); + fn_glDebugMessageControl = new Deno.UnsafeFnPointer( + proc("glDebugMessageControl"), + def_glDebugMessageControl, + ); + fn_glDebugMessageInsert = new Deno.UnsafeFnPointer( + proc("glDebugMessageInsert"), + def_glDebugMessageInsert, + ); + fn_glDebugMessageCallback = new Deno.UnsafeFnPointer( + proc("glDebugMessageCallback"), + def_glDebugMessageCallback, + ); + fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer( + proc("glGetDebugMessageLog"), + def_glGetDebugMessageLog, + ); + fn_glPushDebugGroup = new Deno.UnsafeFnPointer( + proc("glPushDebugGroup"), + def_glPushDebugGroup, + ); + fn_glPopDebugGroup = new Deno.UnsafeFnPointer( + proc("glPopDebugGroup"), + def_glPopDebugGroup, + ); + fn_glObjectLabel = new Deno.UnsafeFnPointer( + proc("glObjectLabel"), + def_glObjectLabel, + ); + fn_glGetObjectLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectLabel"), + def_glGetObjectLabel, + ); + fn_glObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glObjectPtrLabel"), + def_glObjectPtrLabel, + ); + fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectPtrLabel"), + def_glGetObjectPtrLabel, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glBufferStorage = new Deno.UnsafeFnPointer( + proc("glBufferStorage"), + def_glBufferStorage, + ); + fn_glClearTexImage = new Deno.UnsafeFnPointer( + proc("glClearTexImage"), + def_glClearTexImage, + ); + fn_glClearTexSubImage = new Deno.UnsafeFnPointer( + proc("glClearTexSubImage"), + def_glClearTexSubImage, + ); + fn_glBindBuffersBase = new Deno.UnsafeFnPointer( + proc("glBindBuffersBase"), + def_glBindBuffersBase, + ); + fn_glBindBuffersRange = new Deno.UnsafeFnPointer( + proc("glBindBuffersRange"), + def_glBindBuffersRange, + ); + fn_glBindTextures = new Deno.UnsafeFnPointer( + proc("glBindTextures"), + def_glBindTextures, + ); + fn_glBindSamplers = new Deno.UnsafeFnPointer( + proc("glBindSamplers"), + def_glBindSamplers, + ); + fn_glBindImageTextures = new Deno.UnsafeFnPointer( + proc("glBindImageTextures"), + def_glBindImageTextures, + ); + fn_glBindVertexBuffers = new Deno.UnsafeFnPointer( + proc("glBindVertexBuffers"), + def_glBindVertexBuffers, + ); } diff --git a/api/gl4.5.ts b/api/gl4.5.ts index a6de7af..34e04d3 100644 --- a/api/gl4.5.ts +++ b/api/gl4.5.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1014,7 +1022,8 @@ export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS = 0x92c5; export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES = 0x92c6; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER = 0x92c7; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER = 0x92c8; -export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x92c9; +export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = + 0x92c9; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER = 0x92ca; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER = 0x92cb; export const MAX_VERTEX_ATOMIC_COUNTER_BUFFERS = 0x92cc; @@ -1642,7 +1651,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2139,7 +2158,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -2158,7 +2179,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -2177,7 +2200,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -2198,7 +2223,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -2385,7 +2412,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -2410,7 +2439,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -2462,7 +2493,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2563,7 +2604,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -2584,7 +2627,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2617,7 +2671,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2656,7 +2722,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -2715,11 +2783,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -2750,7 +2830,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -2779,7 +2861,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -2802,11 +2886,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -2837,11 +2935,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -2872,7 +2982,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -2899,7 +3011,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -2918,7 +3032,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -2960,7 +3076,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -3206,7 +3324,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -3386,7 +3506,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -3405,7 +3527,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -3424,7 +3548,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -3458,7 +3584,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -3479,7 +3607,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -3500,7 +3630,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -3534,7 +3666,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -3641,7 +3775,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -3656,7 +3792,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -3725,7 +3863,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -3746,7 +3886,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -3782,7 +3924,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -3864,7 +4008,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -3919,7 +4065,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -3938,7 +4086,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -3957,7 +4107,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -3976,7 +4128,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -4864,7 +5018,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -4881,7 +5037,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -4898,7 +5056,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -5120,7 +5280,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -5145,7 +5307,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -5166,7 +5330,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -5187,7 +5353,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -5208,7 +5376,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -5229,7 +5399,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -5250,7 +5422,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -5383,7 +5557,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -5398,7 +5574,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -5451,7 +5629,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -5472,7 +5652,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -5516,7 +5698,9 @@ export const def_glBeginConditionalRender = { result: "void", } as const; -let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRender +>; export function BeginConditionalRender( id: GLuint, @@ -5533,7 +5717,9 @@ export const def_glEndConditionalRender = { result: "void", } as const; -let fn_glEndConditionalRender!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRender +>; export function EndConditionalRender(): void { fn_glEndConditionalRender.call(); @@ -5544,7 +5730,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -5567,7 +5755,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -5586,7 +5776,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -5833,7 +6025,9 @@ export const def_glVertexAttribI1uiv = { result: "void", } as const; -let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiv +>; export function VertexAttribI1uiv( index: GLuint, @@ -5850,7 +6044,9 @@ export const def_glVertexAttribI2uiv = { result: "void", } as const; -let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiv +>; export function VertexAttribI2uiv( index: GLuint, @@ -5867,7 +6063,9 @@ export const def_glVertexAttribI3uiv = { result: "void", } as const; -let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiv +>; export function VertexAttribI3uiv( index: GLuint, @@ -5884,7 +6082,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -5935,7 +6135,9 @@ export const def_glVertexAttribI4ubv = { result: "void", } as const; -let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubv +>; export function VertexAttribI4ubv( index: GLuint, @@ -5952,7 +6154,9 @@ export const def_glVertexAttribI4usv = { result: "void", } as const; -let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usv +>; export function VertexAttribI4usv( index: GLuint, @@ -5988,7 +6192,9 @@ export const def_glBindFragDataLocation = { result: "void", } as const; -let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocation +>; export function BindFragDataLocation( program: GLuint, @@ -6007,7 +6213,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -6218,7 +6426,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -6237,7 +6447,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -6383,7 +6595,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -6417,7 +6631,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -6438,7 +6654,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -6489,7 +6707,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -6523,7 +6743,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -6538,7 +6760,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -6561,7 +6785,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -6584,7 +6810,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -6609,7 +6837,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -6630,7 +6860,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -6662,7 +6894,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -6699,7 +6942,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -6722,7 +6967,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -6766,7 +7013,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -6800,7 +7049,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -6849,7 +7100,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -6870,7 +7123,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -6912,7 +7167,9 @@ export const def_glPrimitiveRestartIndex = { result: "void", } as const; -let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartIndex +>; export function PrimitiveRestartIndex( index: GLuint, @@ -6927,7 +7184,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -6950,7 +7209,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -6971,7 +7232,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -6994,7 +7257,9 @@ export const def_glGetActiveUniformName = { result: "void", } as const; -let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformName +>; export function GetActiveUniformName( program: GLuint, @@ -7017,7 +7282,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -7034,7 +7301,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -7055,7 +7324,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -7078,7 +7349,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -7097,7 +7370,9 @@ export const def_glDrawElementsBaseVertex = { result: "void", } as const; -let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertex +>; export function DrawElementsBaseVertex( mode: GLenum, @@ -7120,7 +7395,9 @@ export const def_glDrawRangeElementsBaseVertex = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertex +>; export function DrawRangeElementsBaseVertex( mode: GLenum, @@ -7147,7 +7424,9 @@ export const def_glDrawElementsInstancedBaseVertex = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertex +>; export function DrawElementsInstancedBaseVertex( mode: GLenum, @@ -7172,7 +7451,9 @@ export const def_glMultiDrawElementsBaseVertex = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertex +>; export function MultiDrawElementsBaseVertex( mode: GLenum, @@ -7356,7 +7637,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -7375,7 +7658,9 @@ export const def_glFramebufferTexture = { result: "void", } as const; -let fn_glFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture +>; export function FramebufferTexture( target: GLenum, @@ -7396,7 +7681,9 @@ export const def_glTexImage2DMultisample = { result: "void", } as const; -let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage2DMultisample +>; export function TexImage2DMultisample( target: GLenum, @@ -7421,7 +7708,9 @@ export const def_glTexImage3DMultisample = { result: "void", } as const; -let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage3DMultisample +>; export function TexImage3DMultisample( target: GLenum, @@ -7484,7 +7773,9 @@ export const def_glBindFragDataLocationIndexed = { result: "void", } as const; -let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationIndexed +>; export function BindFragDataLocationIndexed( program: GLuint, @@ -7588,7 +7879,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -7607,7 +7900,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -7626,7 +7921,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -7645,7 +7942,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -7664,7 +7963,9 @@ export const def_glSamplerParameterIiv = { result: "void", } as const; -let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIiv +>; export function SamplerParameterIiv( sampler: GLuint, @@ -7683,7 +7984,9 @@ export const def_glSamplerParameterIuiv = { result: "void", } as const; -let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuiv +>; export function SamplerParameterIuiv( sampler: GLuint, @@ -7702,7 +8005,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -7721,7 +8026,9 @@ export const def_glGetSamplerParameterIiv = { result: "void", } as const; -let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIiv +>; export function GetSamplerParameterIiv( sampler: GLuint, @@ -7740,7 +8047,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -7759,7 +8068,9 @@ export const def_glGetSamplerParameterIuiv = { result: "void", } as const; -let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuiv +>; export function GetSamplerParameterIuiv( sampler: GLuint, @@ -7795,7 +8106,9 @@ export const def_glGetQueryObjecti64v = { result: "void", } as const; -let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjecti64v +>; export function GetQueryObjecti64v( id: GLuint, @@ -7814,7 +8127,9 @@ export const def_glGetQueryObjectui64v = { result: "void", } as const; -let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectui64v +>; export function GetQueryObjectui64v( id: GLuint, @@ -7833,7 +8148,9 @@ export const def_glVertexAttribDivisor = { result: "void", } as const; -let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisor +>; export function VertexAttribDivisor( index: GLuint, @@ -7871,7 +8188,9 @@ export const def_glVertexAttribP1uiv = { result: "void", } as const; -let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP1uiv +>; export function VertexAttribP1uiv( index: GLuint, @@ -7913,7 +8232,9 @@ export const def_glVertexAttribP2uiv = { result: "void", } as const; -let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP2uiv +>; export function VertexAttribP2uiv( index: GLuint, @@ -7955,7 +8276,9 @@ export const def_glVertexAttribP3uiv = { result: "void", } as const; -let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP3uiv +>; export function VertexAttribP3uiv( index: GLuint, @@ -7997,7 +8320,9 @@ export const def_glVertexAttribP4uiv = { result: "void", } as const; -let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP4uiv +>; export function VertexAttribP4uiv( index: GLuint, @@ -8256,7 +8581,9 @@ export const def_glMultiTexCoordP1ui = { result: "void", } as const; -let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1ui +>; export function MultiTexCoordP1ui( texture: GLenum, @@ -8275,7 +8602,9 @@ export const def_glMultiTexCoordP1uiv = { result: "void", } as const; -let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1uiv +>; export function MultiTexCoordP1uiv( texture: GLenum, @@ -8294,7 +8623,9 @@ export const def_glMultiTexCoordP2ui = { result: "void", } as const; -let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2ui +>; export function MultiTexCoordP2ui( texture: GLenum, @@ -8313,7 +8644,9 @@ export const def_glMultiTexCoordP2uiv = { result: "void", } as const; -let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2uiv +>; export function MultiTexCoordP2uiv( texture: GLenum, @@ -8332,7 +8665,9 @@ export const def_glMultiTexCoordP3ui = { result: "void", } as const; -let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3ui +>; export function MultiTexCoordP3ui( texture: GLenum, @@ -8351,7 +8686,9 @@ export const def_glMultiTexCoordP3uiv = { result: "void", } as const; -let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3uiv +>; export function MultiTexCoordP3uiv( texture: GLenum, @@ -8370,7 +8707,9 @@ export const def_glMultiTexCoordP4ui = { result: "void", } as const; -let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4ui +>; export function MultiTexCoordP4ui( texture: GLenum, @@ -8389,7 +8728,9 @@ export const def_glMultiTexCoordP4uiv = { result: "void", } as const; -let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4uiv +>; export function MultiTexCoordP4uiv( texture: GLenum, @@ -8510,7 +8851,9 @@ export const def_glSecondaryColorP3ui = { result: "void", } as const; -let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3ui +>; export function SecondaryColorP3ui( type: GLenum, @@ -8527,7 +8870,9 @@ export const def_glSecondaryColorP3uiv = { result: "void", } as const; -let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3uiv +>; export function SecondaryColorP3uiv( type: GLenum, @@ -8576,7 +8921,9 @@ export const def_glBlendEquationSeparatei = { result: "void", } as const; -let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparatei +>; export function BlendEquationSeparatei( buf: GLuint, @@ -8614,7 +8961,9 @@ export const def_glBlendFuncSeparatei = { result: "void", } as const; -let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparatei +>; export function BlendFuncSeparatei( buf: GLuint, @@ -8637,7 +8986,9 @@ export const def_glDrawArraysIndirect = { result: "void", } as const; -let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysIndirect +>; export function DrawArraysIndirect( mode: GLenum, @@ -8654,7 +9005,9 @@ export const def_glDrawElementsIndirect = { result: "void", } as const; -let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsIndirect +>; export function DrawElementsIndirect( mode: GLenum, @@ -8892,7 +9245,9 @@ export const def_glUniformMatrix2x3dv = { result: "void", } as const; -let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3dv +>; export function UniformMatrix2x3dv( location: GLint, @@ -8913,7 +9268,9 @@ export const def_glUniformMatrix2x4dv = { result: "void", } as const; -let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4dv +>; export function UniformMatrix2x4dv( location: GLint, @@ -8934,7 +9291,9 @@ export const def_glUniformMatrix3x2dv = { result: "void", } as const; -let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2dv +>; export function UniformMatrix3x2dv( location: GLint, @@ -8955,7 +9314,9 @@ export const def_glUniformMatrix3x4dv = { result: "void", } as const; -let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4dv +>; export function UniformMatrix3x4dv( location: GLint, @@ -8976,7 +9337,9 @@ export const def_glUniformMatrix4x2dv = { result: "void", } as const; -let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2dv +>; export function UniformMatrix4x2dv( location: GLint, @@ -8997,7 +9360,9 @@ export const def_glUniformMatrix4x3dv = { result: "void", } as const; -let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3dv +>; export function UniformMatrix4x3dv( location: GLint, @@ -9037,7 +9402,9 @@ export const def_glGetSubroutineUniformLocation = { result: "i32", } as const; -let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineUniformLocation +>; export function GetSubroutineUniformLocation( program: GLuint, @@ -9056,7 +9423,9 @@ export const def_glGetSubroutineIndex = { result: "u32", } as const; -let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineIndex +>; export function GetSubroutineIndex( program: GLuint, @@ -9075,7 +9444,9 @@ export const def_glGetActiveSubroutineUniformiv = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformiv +>; export function GetActiveSubroutineUniformiv( program: GLuint, @@ -9098,7 +9469,9 @@ export const def_glGetActiveSubroutineUniformName = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformName +>; export function GetActiveSubroutineUniformName( program: GLuint, @@ -9123,7 +9496,9 @@ export const def_glGetActiveSubroutineName = { result: "void", } as const; -let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineName +>; export function GetActiveSubroutineName( program: GLuint, @@ -9148,7 +9523,9 @@ export const def_glUniformSubroutinesuiv = { result: "void", } as const; -let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer; +let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer< + typeof def_glUniformSubroutinesuiv +>; export function UniformSubroutinesuiv( shadertype: GLenum, @@ -9167,7 +9544,9 @@ export const def_glGetUniformSubroutineuiv = { result: "void", } as const; -let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer; +let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer< + typeof def_glGetUniformSubroutineuiv +>; export function GetUniformSubroutineuiv( shadertype: GLenum, @@ -9186,7 +9565,9 @@ export const def_glGetProgramStageiv = { result: "void", } as const; -let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramStageiv +>; export function GetProgramStageiv( program: GLuint, @@ -9241,7 +9622,9 @@ export const def_glBindTransformFeedback = { result: "void", } as const; -let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedback +>; export function BindTransformFeedback( target: GLenum, @@ -9258,7 +9641,9 @@ export const def_glDeleteTransformFeedbacks = { result: "void", } as const; -let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacks +>; export function DeleteTransformFeedbacks( n: GLsizei, @@ -9275,7 +9660,9 @@ export const def_glGenTransformFeedbacks = { result: "void", } as const; -let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacks +>; export function GenTransformFeedbacks( n: GLsizei, @@ -9292,7 +9679,9 @@ export const def_glIsTransformFeedback = { result: "u8", } as const; -let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedback +>; export function IsTransformFeedback( id: GLuint, @@ -9307,7 +9696,9 @@ export const def_glPauseTransformFeedback = { result: "void", } as const; -let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedback +>; export function PauseTransformFeedback(): void { fn_glPauseTransformFeedback.call(); @@ -9318,7 +9709,9 @@ export const def_glResumeTransformFeedback = { result: "void", } as const; -let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedback +>; export function ResumeTransformFeedback(): void { fn_glResumeTransformFeedback.call(); @@ -9329,7 +9722,9 @@ export const def_glDrawTransformFeedback = { result: "void", } as const; -let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedback +>; export function DrawTransformFeedback( mode: GLenum, @@ -9346,7 +9741,9 @@ export const def_glDrawTransformFeedbackStream = { result: "void", } as const; -let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStream +>; export function DrawTransformFeedbackStream( mode: GLenum, @@ -9365,7 +9762,9 @@ export const def_glBeginQueryIndexed = { result: "void", } as const; -let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer; +let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer< + typeof def_glBeginQueryIndexed +>; export function BeginQueryIndexed( target: GLenum, @@ -9401,7 +9800,9 @@ export const def_glGetQueryIndexediv = { result: "void", } as const; -let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer; +let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryIndexediv +>; export function GetQueryIndexediv( target: GLenum, @@ -9422,7 +9823,9 @@ export const def_glReleaseShaderCompiler = { result: "void", } as const; -let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer; +let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer< + typeof def_glReleaseShaderCompiler +>; export function ReleaseShaderCompiler(): void { fn_glReleaseShaderCompiler.call(); @@ -9456,7 +9859,9 @@ export const def_glGetShaderPrecisionFormat = { result: "void", } as const; -let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer; +let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer< + typeof def_glGetShaderPrecisionFormat +>; export function GetShaderPrecisionFormat( shadertype: GLenum, @@ -9553,7 +9958,9 @@ export const def_glProgramParameteri = { result: "void", } as const; -let fn_glProgramParameteri!: Deno.UnsafeFnPointer; +let fn_glProgramParameteri!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteri +>; export function ProgramParameteri( program: GLuint, @@ -9591,7 +9998,9 @@ export const def_glActiveShaderProgram = { result: "void", } as const; -let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer; +let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer< + typeof def_glActiveShaderProgram +>; export function ActiveShaderProgram( pipeline: GLuint, @@ -9608,7 +10017,9 @@ export const def_glCreateShaderProgramv = { result: "u32", } as const; -let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer; +let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderProgramv +>; export function CreateShaderProgramv( type: GLenum, @@ -9627,7 +10038,9 @@ export const def_glBindProgramPipeline = { result: "void", } as const; -let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glBindProgramPipeline +>; export function BindProgramPipeline( pipeline: GLuint, @@ -9642,7 +10055,9 @@ export const def_glDeleteProgramPipelines = { result: "void", } as const; -let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramPipelines +>; export function DeleteProgramPipelines( n: GLsizei, @@ -9659,7 +10074,9 @@ export const def_glGenProgramPipelines = { result: "void", } as const; -let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glGenProgramPipelines +>; export function GenProgramPipelines( n: GLsizei, @@ -9676,7 +10093,9 @@ export const def_glIsProgramPipeline = { result: "u8", } as const; -let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glIsProgramPipeline +>; export function IsProgramPipeline( pipeline: GLuint, @@ -9691,7 +10110,9 @@ export const def_glGetProgramPipelineiv = { result: "void", } as const; -let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineiv +>; export function GetProgramPipelineiv( pipeline: GLuint, @@ -9729,7 +10150,9 @@ export const def_glProgramUniform1iv = { result: "void", } as const; -let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1iv +>; export function ProgramUniform1iv( program: GLuint, @@ -9769,7 +10192,9 @@ export const def_glProgramUniform1fv = { result: "void", } as const; -let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fv +>; export function ProgramUniform1fv( program: GLuint, @@ -9809,7 +10234,9 @@ export const def_glProgramUniform1dv = { result: "void", } as const; -let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1dv +>; export function ProgramUniform1dv( program: GLuint, @@ -9830,7 +10257,9 @@ export const def_glProgramUniform1ui = { result: "void", } as const; -let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui +>; export function ProgramUniform1ui( program: GLuint, @@ -9849,7 +10278,9 @@ export const def_glProgramUniform1uiv = { result: "void", } as const; -let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uiv +>; export function ProgramUniform1uiv( program: GLuint, @@ -9891,7 +10322,9 @@ export const def_glProgramUniform2iv = { result: "void", } as const; -let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2iv +>; export function ProgramUniform2iv( program: GLuint, @@ -9933,7 +10366,9 @@ export const def_glProgramUniform2fv = { result: "void", } as const; -let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fv +>; export function ProgramUniform2fv( program: GLuint, @@ -9975,7 +10410,9 @@ export const def_glProgramUniform2dv = { result: "void", } as const; -let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2dv +>; export function ProgramUniform2dv( program: GLuint, @@ -9996,7 +10433,9 @@ export const def_glProgramUniform2ui = { result: "void", } as const; -let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui +>; export function ProgramUniform2ui( program: GLuint, @@ -10017,7 +10456,9 @@ export const def_glProgramUniform2uiv = { result: "void", } as const; -let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uiv +>; export function ProgramUniform2uiv( program: GLuint, @@ -10061,7 +10502,9 @@ export const def_glProgramUniform3iv = { result: "void", } as const; -let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3iv +>; export function ProgramUniform3iv( program: GLuint, @@ -10105,7 +10548,9 @@ export const def_glProgramUniform3fv = { result: "void", } as const; -let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fv +>; export function ProgramUniform3fv( program: GLuint, @@ -10149,7 +10594,9 @@ export const def_glProgramUniform3dv = { result: "void", } as const; -let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3dv +>; export function ProgramUniform3dv( program: GLuint, @@ -10170,7 +10617,9 @@ export const def_glProgramUniform3ui = { result: "void", } as const; -let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui +>; export function ProgramUniform3ui( program: GLuint, @@ -10193,7 +10642,9 @@ export const def_glProgramUniform3uiv = { result: "void", } as const; -let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uiv +>; export function ProgramUniform3uiv( program: GLuint, @@ -10239,7 +10690,9 @@ export const def_glProgramUniform4iv = { result: "void", } as const; -let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4iv +>; export function ProgramUniform4iv( program: GLuint, @@ -10285,7 +10738,9 @@ export const def_glProgramUniform4fv = { result: "void", } as const; -let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fv +>; export function ProgramUniform4fv( program: GLuint, @@ -10331,7 +10786,9 @@ export const def_glProgramUniform4dv = { result: "void", } as const; -let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4dv +>; export function ProgramUniform4dv( program: GLuint, @@ -10352,7 +10809,9 @@ export const def_glProgramUniform4ui = { result: "void", } as const; -let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui +>; export function ProgramUniform4ui( program: GLuint, @@ -10377,7 +10836,9 @@ export const def_glProgramUniform4uiv = { result: "void", } as const; -let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uiv +>; export function ProgramUniform4uiv( program: GLuint, @@ -10398,7 +10859,9 @@ export const def_glProgramUniformMatrix2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2fv +>; export function ProgramUniformMatrix2fv( program: GLuint, @@ -10421,7 +10884,9 @@ export const def_glProgramUniformMatrix3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3fv +>; export function ProgramUniformMatrix3fv( program: GLuint, @@ -10444,7 +10909,9 @@ export const def_glProgramUniformMatrix4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4fv +>; export function ProgramUniformMatrix4fv( program: GLuint, @@ -10467,7 +10934,9 @@ export const def_glProgramUniformMatrix2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2dv +>; export function ProgramUniformMatrix2dv( program: GLuint, @@ -10490,7 +10959,9 @@ export const def_glProgramUniformMatrix3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3dv +>; export function ProgramUniformMatrix3dv( program: GLuint, @@ -10513,7 +10984,9 @@ export const def_glProgramUniformMatrix4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4dv +>; export function ProgramUniformMatrix4dv( program: GLuint, @@ -10536,7 +11009,9 @@ export const def_glProgramUniformMatrix2x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3fv +>; export function ProgramUniformMatrix2x3fv( program: GLuint, @@ -10559,7 +11034,9 @@ export const def_glProgramUniformMatrix3x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2fv +>; export function ProgramUniformMatrix3x2fv( program: GLuint, @@ -10582,7 +11059,9 @@ export const def_glProgramUniformMatrix2x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4fv +>; export function ProgramUniformMatrix2x4fv( program: GLuint, @@ -10605,7 +11084,9 @@ export const def_glProgramUniformMatrix4x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2fv +>; export function ProgramUniformMatrix4x2fv( program: GLuint, @@ -10628,7 +11109,9 @@ export const def_glProgramUniformMatrix3x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4fv +>; export function ProgramUniformMatrix3x4fv( program: GLuint, @@ -10651,7 +11134,9 @@ export const def_glProgramUniformMatrix4x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3fv +>; export function ProgramUniformMatrix4x3fv( program: GLuint, @@ -10674,7 +11159,9 @@ export const def_glProgramUniformMatrix2x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3dv +>; export function ProgramUniformMatrix2x3dv( program: GLuint, @@ -10697,7 +11184,9 @@ export const def_glProgramUniformMatrix3x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2dv +>; export function ProgramUniformMatrix3x2dv( program: GLuint, @@ -10720,7 +11209,9 @@ export const def_glProgramUniformMatrix2x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4dv +>; export function ProgramUniformMatrix2x4dv( program: GLuint, @@ -10743,7 +11234,9 @@ export const def_glProgramUniformMatrix4x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2dv +>; export function ProgramUniformMatrix4x2dv( program: GLuint, @@ -10766,7 +11259,9 @@ export const def_glProgramUniformMatrix3x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4dv +>; export function ProgramUniformMatrix3x4dv( program: GLuint, @@ -10789,7 +11284,9 @@ export const def_glProgramUniformMatrix4x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3dv +>; export function ProgramUniformMatrix4x3dv( program: GLuint, @@ -10812,7 +11309,9 @@ export const def_glValidateProgramPipeline = { result: "void", } as const; -let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glValidateProgramPipeline +>; export function ValidateProgramPipeline( pipeline: GLuint, @@ -10827,7 +11326,9 @@ export const def_glGetProgramPipelineInfoLog = { result: "void", } as const; -let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineInfoLog +>; export function GetProgramPipelineInfoLog( pipeline: GLuint, @@ -10996,7 +11497,9 @@ export const def_glVertexAttribLPointer = { result: "void", } as const; -let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLPointer +>; export function VertexAttribLPointer( index: GLuint, @@ -11019,7 +11522,9 @@ export const def_glGetVertexAttribLdv = { result: "void", } as const; -let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribLdv +>; export function GetVertexAttribLdv( index: GLuint, @@ -11080,7 +11585,9 @@ export const def_glViewportIndexedfv = { result: "void", } as const; -let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer; +let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer< + typeof def_glViewportIndexedfv +>; export function ViewportIndexedfv( index: GLuint, @@ -11175,7 +11682,9 @@ export const def_glDepthRangeIndexed = { result: "void", } as const; -let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer; +let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeIndexed +>; export function DepthRangeIndexed( index: GLuint, @@ -11232,7 +11741,9 @@ export const def_glDrawArraysInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedBaseInstance +>; export function DrawArraysInstancedBaseInstance( mode: GLenum, @@ -11255,7 +11766,9 @@ export const def_glDrawElementsInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseInstance +>; export function DrawElementsInstancedBaseInstance( mode: GLenum, @@ -11280,7 +11793,9 @@ export const def_glDrawElementsInstancedBaseVertexBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertexBaseInstance +>; export function DrawElementsInstancedBaseVertexBaseInstance( mode: GLenum, @@ -11307,7 +11822,9 @@ export const def_glGetInternalformativ = { result: "void", } as const; -let fn_glGetInternalformativ!: Deno.UnsafeFnPointer; +let fn_glGetInternalformativ!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformativ +>; export function GetInternalformativ( target: GLenum, @@ -11330,7 +11847,9 @@ export const def_glGetActiveAtomicCounterBufferiv = { result: "void", } as const; -let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveAtomicCounterBufferiv +>; export function GetActiveAtomicCounterBufferiv( program: GLuint, @@ -11462,7 +11981,9 @@ export const def_glDrawTransformFeedbackInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackInstanced +>; export function DrawTransformFeedbackInstanced( mode: GLenum, @@ -11481,7 +12002,9 @@ export const def_glDrawTransformFeedbackStreamInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStreamInstanced +>; export function DrawTransformFeedbackStreamInstanced( mode: GLenum, @@ -11525,7 +12048,9 @@ export const def_glClearBufferSubData = { result: "void", } as const; -let fn_glClearBufferSubData!: Deno.UnsafeFnPointer; +let fn_glClearBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glClearBufferSubData +>; export function ClearBufferSubData( target: GLenum, @@ -11571,7 +12096,9 @@ export const def_glDispatchComputeIndirect = { result: "void", } as const; -let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer; +let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer< + typeof def_glDispatchComputeIndirect +>; export function DispatchComputeIndirect( indirect: GLintptr, @@ -11582,7 +12109,23 @@ export function DispatchComputeIndirect( } export const def_glCopyImageSubData = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; @@ -11629,7 +12172,9 @@ export const def_glFramebufferParameteri = { result: "void", } as const; -let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer; +let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer< + typeof def_glFramebufferParameteri +>; export function FramebufferParameteri( target: GLenum, @@ -11648,7 +12193,9 @@ export const def_glGetFramebufferParameteriv = { result: "void", } as const; -let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferParameteriv +>; export function GetFramebufferParameteriv( target: GLenum, @@ -11667,7 +12214,9 @@ export const def_glGetInternalformati64v = { result: "void", } as const; -let fn_glGetInternalformati64v!: Deno.UnsafeFnPointer; +let fn_glGetInternalformati64v!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformati64v +>; export function GetInternalformati64v( target: GLenum, @@ -11690,7 +12239,9 @@ export const def_glInvalidateTexSubImage = { result: "void", } as const; -let fn_glInvalidateTexSubImage!: Deno.UnsafeFnPointer; +let fn_glInvalidateTexSubImage!: Deno.UnsafeFnPointer< + typeof def_glInvalidateTexSubImage +>; export function InvalidateTexSubImage( texture: GLuint, @@ -11719,7 +12270,9 @@ export const def_glInvalidateTexImage = { result: "void", } as const; -let fn_glInvalidateTexImage!: Deno.UnsafeFnPointer; +let fn_glInvalidateTexImage!: Deno.UnsafeFnPointer< + typeof def_glInvalidateTexImage +>; export function InvalidateTexImage( texture: GLuint, @@ -11736,7 +12289,9 @@ export const def_glInvalidateBufferSubData = { result: "void", } as const; -let fn_glInvalidateBufferSubData!: Deno.UnsafeFnPointer; +let fn_glInvalidateBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateBufferSubData +>; export function InvalidateBufferSubData( buffer: GLuint, @@ -11755,7 +12310,9 @@ export const def_glInvalidateBufferData = { result: "void", } as const; -let fn_glInvalidateBufferData!: Deno.UnsafeFnPointer; +let fn_glInvalidateBufferData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateBufferData +>; export function InvalidateBufferData( buffer: GLuint, @@ -11770,7 +12327,9 @@ export const def_glInvalidateFramebuffer = { result: "void", } as const; -let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateFramebuffer +>; export function InvalidateFramebuffer( target: GLenum, @@ -11789,7 +12348,9 @@ export const def_glInvalidateSubFramebuffer = { result: "void", } as const; -let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateSubFramebuffer +>; export function InvalidateSubFramebuffer( target: GLenum, @@ -11816,7 +12377,9 @@ export const def_glMultiDrawArraysIndirect = { result: "void", } as const; -let fn_glMultiDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysIndirect +>; export function MultiDrawArraysIndirect( mode: GLenum, @@ -11837,7 +12400,9 @@ export const def_glMultiDrawElementsIndirect = { result: "void", } as const; -let fn_glMultiDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsIndirect +>; export function MultiDrawElementsIndirect( mode: GLenum, @@ -11860,7 +12425,9 @@ export const def_glGetProgramInterfaceiv = { result: "void", } as const; -let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInterfaceiv +>; export function GetProgramInterfaceiv( program: GLuint, @@ -11881,7 +12448,9 @@ export const def_glGetProgramResourceIndex = { result: "u32", } as const; -let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceIndex +>; export function GetProgramResourceIndex( program: GLuint, @@ -11900,7 +12469,9 @@ export const def_glGetProgramResourceName = { result: "void", } as const; -let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceName +>; export function GetProgramResourceName( program: GLuint, @@ -11925,7 +12496,9 @@ export const def_glGetProgramResourceiv = { result: "void", } as const; -let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceiv +>; export function GetProgramResourceiv( program: GLuint, @@ -11954,7 +12527,9 @@ export const def_glGetProgramResourceLocation = { result: "i32", } as const; -let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocation +>; export function GetProgramResourceLocation( program: GLuint, @@ -11973,7 +12548,9 @@ export const def_glGetProgramResourceLocationIndex = { result: "i32", } as const; -let fn_glGetProgramResourceLocationIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocationIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocationIndex +>; export function GetProgramResourceLocationIndex( program: GLuint, @@ -11992,7 +12569,9 @@ export const def_glShaderStorageBlockBinding = { result: "void", } as const; -let fn_glShaderStorageBlockBinding!: Deno.UnsafeFnPointer; +let fn_glShaderStorageBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glShaderStorageBlockBinding +>; export function ShaderStorageBlockBinding( program: GLuint, @@ -12034,7 +12613,9 @@ export const def_glTexStorage2DMultisample = { result: "void", } as const; -let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage2DMultisample +>; export function TexStorage2DMultisample( target: GLenum, @@ -12059,7 +12640,9 @@ export const def_glTexStorage3DMultisample = { result: "void", } as const; -let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage3DMultisample +>; export function TexStorage3DMultisample( target: GLenum, @@ -12136,7 +12719,9 @@ export const def_glVertexAttribFormat = { result: "void", } as const; -let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribFormat +>; export function VertexAttribFormat( attribindex: GLuint, @@ -12159,7 +12744,9 @@ export const def_glVertexAttribIFormat = { result: "void", } as const; -let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIFormat +>; export function VertexAttribIFormat( attribindex: GLuint, @@ -12180,7 +12767,9 @@ export const def_glVertexAttribLFormat = { result: "void", } as const; -let fn_glVertexAttribLFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLFormat +>; export function VertexAttribLFormat( attribindex: GLuint, @@ -12201,7 +12790,9 @@ export const def_glVertexAttribBinding = { result: "void", } as const; -let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer; +let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribBinding +>; export function VertexAttribBinding( attribindex: GLuint, @@ -12218,7 +12809,9 @@ export const def_glVertexBindingDivisor = { result: "void", } as const; -let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexBindingDivisor +>; export function VertexBindingDivisor( bindingindex: GLuint, @@ -12235,7 +12828,9 @@ export const def_glDebugMessageControl = { result: "void", } as const; -let fn_glDebugMessageControl!: Deno.UnsafeFnPointer; +let fn_glDebugMessageControl!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageControl +>; export function DebugMessageControl( source: GLenum, @@ -12260,7 +12855,9 @@ export const def_glDebugMessageInsert = { result: "void", } as const; -let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer; +let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageInsert +>; export function DebugMessageInsert( source: GLenum, @@ -12285,7 +12882,9 @@ export const def_glDebugMessageCallback = { result: "void", } as const; -let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer; +let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageCallback +>; export function DebugMessageCallback( callback: GLDEBUGPROC, @@ -12298,11 +12897,22 @@ export function DebugMessageCallback( } export const def_glGetDebugMessageLog = { - parameters: ["u32", "i32", "buffer", "buffer", "buffer", "buffer", "buffer", "buffer"], + parameters: [ + "u32", + "i32", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + ], result: "u32", } as const; -let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer; +let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer< + typeof def_glGetDebugMessageLog +>; export function GetDebugMessageLog( count: GLuint, @@ -12426,7 +13036,9 @@ export const def_glGetObjectPtrLabel = { result: "void", } as const; -let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer; +let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer< + typeof def_glGetObjectPtrLabel +>; export function GetObjectPtrLabel( ptr: Buffer, @@ -12504,7 +13116,19 @@ export function ClearTexImage( } export const def_glClearTexSubImage = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -12627,7 +13251,9 @@ export const def_glBindImageTextures = { result: "void", } as const; -let fn_glBindImageTextures!: Deno.UnsafeFnPointer; +let fn_glBindImageTextures!: Deno.UnsafeFnPointer< + typeof def_glBindImageTextures +>; export function BindImageTextures( first: GLuint, @@ -12646,7 +13272,9 @@ export const def_glBindVertexBuffers = { result: "void", } as const; -let fn_glBindVertexBuffers!: Deno.UnsafeFnPointer; +let fn_glBindVertexBuffers!: Deno.UnsafeFnPointer< + typeof def_glBindVertexBuffers +>; export function BindVertexBuffers( first: GLuint, @@ -12686,7 +13314,9 @@ export const def_glCreateTransformFeedbacks = { result: "void", } as const; -let fn_glCreateTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glCreateTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glCreateTransformFeedbacks +>; export function CreateTransformFeedbacks( n: GLsizei, @@ -12703,7 +13333,9 @@ export const def_glTransformFeedbackBufferBase = { result: "void", } as const; -let fn_glTransformFeedbackBufferBase!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackBufferBase!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackBufferBase +>; export function TransformFeedbackBufferBase( xfb: GLuint, @@ -12722,7 +13354,9 @@ export const def_glTransformFeedbackBufferRange = { result: "void", } as const; -let fn_glTransformFeedbackBufferRange!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackBufferRange!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackBufferRange +>; export function TransformFeedbackBufferRange( xfb: GLuint, @@ -12745,7 +13379,9 @@ export const def_glGetTransformFeedbackiv = { result: "void", } as const; -let fn_glGetTransformFeedbackiv!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackiv!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackiv +>; export function GetTransformFeedbackiv( xfb: GLuint, @@ -12764,7 +13400,9 @@ export const def_glGetTransformFeedbacki_v = { result: "void", } as const; -let fn_glGetTransformFeedbacki_v!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbacki_v!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbacki_v +>; export function GetTransformFeedbacki_v( xfb: GLuint, @@ -12785,7 +13423,9 @@ export const def_glGetTransformFeedbacki64_v = { result: "void", } as const; -let fn_glGetTransformFeedbacki64_v!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbacki64_v!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbacki64_v +>; export function GetTransformFeedbacki64_v( xfb: GLuint, @@ -12823,7 +13463,9 @@ export const def_glNamedBufferStorage = { result: "void", } as const; -let fn_glNamedBufferStorage!: Deno.UnsafeFnPointer; +let fn_glNamedBufferStorage!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferStorage +>; export function NamedBufferStorage( buffer: GLuint, @@ -12865,7 +13507,9 @@ export const def_glNamedBufferSubData = { result: "void", } as const; -let fn_glNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferSubData +>; export function NamedBufferSubData( buffer: GLuint, @@ -12886,7 +13530,9 @@ export const def_glCopyNamedBufferSubData = { result: "void", } as const; -let fn_glCopyNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyNamedBufferSubData +>; export function CopyNamedBufferSubData( readBuffer: GLuint, @@ -12909,7 +13555,9 @@ export const def_glClearNamedBufferData = { result: "void", } as const; -let fn_glClearNamedBufferData!: Deno.UnsafeFnPointer; +let fn_glClearNamedBufferData!: Deno.UnsafeFnPointer< + typeof def_glClearNamedBufferData +>; export function ClearNamedBufferData( buffer: GLuint, @@ -12932,7 +13580,9 @@ export const def_glClearNamedBufferSubData = { result: "void", } as const; -let fn_glClearNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glClearNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glClearNamedBufferSubData +>; export function ClearNamedBufferSubData( buffer: GLuint, @@ -12976,7 +13626,9 @@ export const def_glMapNamedBufferRange = { result: "buffer", } as const; -let fn_glMapNamedBufferRange!: Deno.UnsafeFnPointer; +let fn_glMapNamedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glMapNamedBufferRange +>; export function MapNamedBufferRange( buffer: GLuint, @@ -13012,7 +13664,9 @@ export const def_glFlushMappedNamedBufferRange = { result: "void", } as const; -let fn_glFlushMappedNamedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedNamedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedNamedBufferRange +>; export function FlushMappedNamedBufferRange( buffer: GLuint, @@ -13031,7 +13685,9 @@ export const def_glGetNamedBufferParameteriv = { result: "void", } as const; -let fn_glGetNamedBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferParameteriv +>; export function GetNamedBufferParameteriv( buffer: GLuint, @@ -13050,7 +13706,9 @@ export const def_glGetNamedBufferParameteri64v = { result: "void", } as const; -let fn_glGetNamedBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferParameteri64v +>; export function GetNamedBufferParameteri64v( buffer: GLuint, @@ -13069,7 +13727,9 @@ export const def_glGetNamedBufferPointerv = { result: "void", } as const; -let fn_glGetNamedBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferPointerv +>; export function GetNamedBufferPointerv( buffer: GLuint, @@ -13088,7 +13748,9 @@ export const def_glGetNamedBufferSubData = { result: "void", } as const; -let fn_glGetNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferSubData +>; export function GetNamedBufferSubData( buffer: GLuint, @@ -13109,7 +13771,9 @@ export const def_glCreateFramebuffers = { result: "void", } as const; -let fn_glCreateFramebuffers!: Deno.UnsafeFnPointer; +let fn_glCreateFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glCreateFramebuffers +>; export function CreateFramebuffers( n: GLsizei, @@ -13126,7 +13790,9 @@ export const def_glNamedFramebufferRenderbuffer = { result: "void", } as const; -let fn_glNamedFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferRenderbuffer +>; export function NamedFramebufferRenderbuffer( framebuffer: GLuint, @@ -13147,7 +13813,9 @@ export const def_glNamedFramebufferParameteri = { result: "void", } as const; -let fn_glNamedFramebufferParameteri!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferParameteri!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferParameteri +>; export function NamedFramebufferParameteri( framebuffer: GLuint, @@ -13166,7 +13834,9 @@ export const def_glNamedFramebufferTexture = { result: "void", } as const; -let fn_glNamedFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTexture +>; export function NamedFramebufferTexture( framebuffer: GLuint, @@ -13187,7 +13857,9 @@ export const def_glNamedFramebufferTextureLayer = { result: "void", } as const; -let fn_glNamedFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTextureLayer +>; export function NamedFramebufferTextureLayer( framebuffer: GLuint, @@ -13210,7 +13882,9 @@ export const def_glNamedFramebufferDrawBuffer = { result: "void", } as const; -let fn_glNamedFramebufferDrawBuffer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferDrawBuffer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferDrawBuffer +>; export function NamedFramebufferDrawBuffer( framebuffer: GLuint, @@ -13227,7 +13901,9 @@ export const def_glNamedFramebufferDrawBuffers = { result: "void", } as const; -let fn_glNamedFramebufferDrawBuffers!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferDrawBuffers!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferDrawBuffers +>; export function NamedFramebufferDrawBuffers( framebuffer: GLuint, @@ -13246,7 +13922,9 @@ export const def_glNamedFramebufferReadBuffer = { result: "void", } as const; -let fn_glNamedFramebufferReadBuffer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferReadBuffer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferReadBuffer +>; export function NamedFramebufferReadBuffer( framebuffer: GLuint, @@ -13263,7 +13941,9 @@ export const def_glInvalidateNamedFramebufferData = { result: "void", } as const; -let fn_glInvalidateNamedFramebufferData!: Deno.UnsafeFnPointer; +let fn_glInvalidateNamedFramebufferData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateNamedFramebufferData +>; export function InvalidateNamedFramebufferData( framebuffer: GLuint, @@ -13282,7 +13962,9 @@ export const def_glInvalidateNamedFramebufferSubData = { result: "void", } as const; -let fn_glInvalidateNamedFramebufferSubData!: Deno.UnsafeFnPointer; +let fn_glInvalidateNamedFramebufferSubData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateNamedFramebufferSubData +>; export function InvalidateNamedFramebufferSubData( framebuffer: GLuint, @@ -13309,7 +13991,9 @@ export const def_glClearNamedFramebufferiv = { result: "void", } as const; -let fn_glClearNamedFramebufferiv!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferiv!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferiv +>; export function ClearNamedFramebufferiv( framebuffer: GLuint, @@ -13330,7 +14014,9 @@ export const def_glClearNamedFramebufferuiv = { result: "void", } as const; -let fn_glClearNamedFramebufferuiv!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferuiv!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferuiv +>; export function ClearNamedFramebufferuiv( framebuffer: GLuint, @@ -13351,7 +14037,9 @@ export const def_glClearNamedFramebufferfv = { result: "void", } as const; -let fn_glClearNamedFramebufferfv!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferfv!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferfv +>; export function ClearNamedFramebufferfv( framebuffer: GLuint, @@ -13372,7 +14060,9 @@ export const def_glClearNamedFramebufferfi = { result: "void", } as const; -let fn_glClearNamedFramebufferfi!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferfi!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferfi +>; export function ClearNamedFramebufferfi( framebuffer: GLuint, @@ -13391,11 +14081,26 @@ export function ClearNamedFramebufferfi( } export const def_glBlitNamedFramebuffer = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], - result: "void", -} as const; - -let fn_glBlitNamedFramebuffer!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], + result: "void", +} as const; + +let fn_glBlitNamedFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glBlitNamedFramebuffer +>; export function BlitNamedFramebuffer( readFramebuffer: GLuint, @@ -13432,7 +14137,9 @@ export const def_glCheckNamedFramebufferStatus = { result: "u32", } as const; -let fn_glCheckNamedFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckNamedFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckNamedFramebufferStatus +>; export function CheckNamedFramebufferStatus( framebuffer: GLuint, @@ -13449,7 +14156,9 @@ export const def_glGetNamedFramebufferParameteriv = { result: "void", } as const; -let fn_glGetNamedFramebufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedFramebufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedFramebufferParameteriv +>; export function GetNamedFramebufferParameteriv( framebuffer: GLuint, @@ -13468,7 +14177,9 @@ export const def_glGetNamedFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetNamedFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedFramebufferAttachmentParameteriv +>; export function GetNamedFramebufferAttachmentParameteriv( framebuffer: GLuint, @@ -13489,7 +14200,9 @@ export const def_glCreateRenderbuffers = { result: "void", } as const; -let fn_glCreateRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glCreateRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glCreateRenderbuffers +>; export function CreateRenderbuffers( n: GLsizei, @@ -13506,7 +14219,9 @@ export const def_glNamedRenderbufferStorage = { result: "void", } as const; -let fn_glNamedRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glNamedRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glNamedRenderbufferStorage +>; export function NamedRenderbufferStorage( renderbuffer: GLuint, @@ -13527,7 +14242,9 @@ export const def_glNamedRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glNamedRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glNamedRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glNamedRenderbufferStorageMultisample +>; export function NamedRenderbufferStorageMultisample( renderbuffer: GLuint, @@ -13550,7 +14267,9 @@ export const def_glGetNamedRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetNamedRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedRenderbufferParameteriv +>; export function GetNamedRenderbufferParameteriv( renderbuffer: GLuint, @@ -13607,7 +14326,9 @@ export const def_glTextureBufferRange = { result: "void", } as const; -let fn_glTextureBufferRange!: Deno.UnsafeFnPointer; +let fn_glTextureBufferRange!: Deno.UnsafeFnPointer< + typeof def_glTextureBufferRange +>; export function TextureBufferRange( texture: GLuint, @@ -13699,7 +14420,9 @@ export const def_glTextureStorage2DMultisample = { result: "void", } as const; -let fn_glTextureStorage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTextureStorage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage2DMultisample +>; export function TextureStorage2DMultisample( texture: GLuint, @@ -13724,7 +14447,9 @@ export const def_glTextureStorage3DMultisample = { result: "void", } as const; -let fn_glTextureStorage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTextureStorage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage3DMultisample +>; export function TextureStorage3DMultisample( texture: GLuint, @@ -13751,7 +14476,9 @@ export const def_glTextureSubImage1D = { result: "void", } as const; -let fn_glTextureSubImage1D!: Deno.UnsafeFnPointer; +let fn_glTextureSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage1D +>; export function TextureSubImage1D( texture: GLuint, @@ -13774,11 +14501,23 @@ export function TextureSubImage1D( } export const def_glTextureSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glTextureSubImage2D!: Deno.UnsafeFnPointer; +let fn_glTextureSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage2D +>; export function TextureSubImage2D( texture: GLuint, @@ -13805,11 +14544,25 @@ export function TextureSubImage2D( } export const def_glTextureSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], - result: "void", -} as const; - -let fn_glTextureSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], + result: "void", +} as const; + +let fn_glTextureSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage3D +>; export function TextureSubImage3D( texture: GLuint, @@ -13844,7 +14597,9 @@ export const def_glCompressedTextureSubImage1D = { result: "void", } as const; -let fn_glCompressedTextureSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTextureSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage1D +>; export function CompressedTextureSubImage1D( texture: GLuint, @@ -13867,11 +14622,23 @@ export function CompressedTextureSubImage1D( } export const def_glCompressedTextureSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTextureSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTextureSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage2D +>; export function CompressedTextureSubImage2D( texture: GLuint, @@ -13898,11 +14665,25 @@ export function CompressedTextureSubImage2D( } export const def_glCompressedTextureSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTextureSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTextureSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage3D +>; export function CompressedTextureSubImage3D( texture: GLuint, @@ -13937,7 +14718,9 @@ export const def_glCopyTextureSubImage1D = { result: "void", } as const; -let fn_glCopyTextureSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage1D +>; export function CopyTextureSubImage1D( texture: GLuint, @@ -13962,7 +14745,9 @@ export const def_glCopyTextureSubImage2D = { result: "void", } as const; -let fn_glCopyTextureSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage2D +>; export function CopyTextureSubImage2D( texture: GLuint, @@ -13991,7 +14776,9 @@ export const def_glCopyTextureSubImage3D = { result: "void", } as const; -let fn_glCopyTextureSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage3D +>; export function CopyTextureSubImage3D( texture: GLuint, @@ -14022,7 +14809,9 @@ export const def_glTextureParameterf = { result: "void", } as const; -let fn_glTextureParameterf!: Deno.UnsafeFnPointer; +let fn_glTextureParameterf!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterf +>; export function TextureParameterf( texture: GLuint, @@ -14041,7 +14830,9 @@ export const def_glTextureParameterfv = { result: "void", } as const; -let fn_glTextureParameterfv!: Deno.UnsafeFnPointer; +let fn_glTextureParameterfv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterfv +>; export function TextureParameterfv( texture: GLuint, @@ -14060,7 +14851,9 @@ export const def_glTextureParameteri = { result: "void", } as const; -let fn_glTextureParameteri!: Deno.UnsafeFnPointer; +let fn_glTextureParameteri!: Deno.UnsafeFnPointer< + typeof def_glTextureParameteri +>; export function TextureParameteri( texture: GLuint, @@ -14079,7 +14872,9 @@ export const def_glTextureParameterIiv = { result: "void", } as const; -let fn_glTextureParameterIiv!: Deno.UnsafeFnPointer; +let fn_glTextureParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterIiv +>; export function TextureParameterIiv( texture: GLuint, @@ -14098,7 +14893,9 @@ export const def_glTextureParameterIuiv = { result: "void", } as const; -let fn_glTextureParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glTextureParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterIuiv +>; export function TextureParameterIuiv( texture: GLuint, @@ -14117,7 +14914,9 @@ export const def_glTextureParameteriv = { result: "void", } as const; -let fn_glTextureParameteriv!: Deno.UnsafeFnPointer; +let fn_glTextureParameteriv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameteriv +>; export function TextureParameteriv( texture: GLuint, @@ -14136,7 +14935,9 @@ export const def_glGenerateTextureMipmap = { result: "void", } as const; -let fn_glGenerateTextureMipmap!: Deno.UnsafeFnPointer; +let fn_glGenerateTextureMipmap!: Deno.UnsafeFnPointer< + typeof def_glGenerateTextureMipmap +>; export function GenerateTextureMipmap( texture: GLuint, @@ -14193,7 +14994,9 @@ export const def_glGetCompressedTextureImage = { result: "void", } as const; -let fn_glGetCompressedTextureImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTextureImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTextureImage +>; export function GetCompressedTextureImage( texture: GLuint, @@ -14214,7 +15017,9 @@ export const def_glGetTextureLevelParameterfv = { result: "void", } as const; -let fn_glGetTextureLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTextureLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureLevelParameterfv +>; export function GetTextureLevelParameterfv( texture: GLuint, @@ -14235,7 +15040,9 @@ export const def_glGetTextureLevelParameteriv = { result: "void", } as const; -let fn_glGetTextureLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTextureLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureLevelParameteriv +>; export function GetTextureLevelParameteriv( texture: GLuint, @@ -14256,7 +15063,9 @@ export const def_glGetTextureParameterfv = { result: "void", } as const; -let fn_glGetTextureParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterfv +>; export function GetTextureParameterfv( texture: GLuint, @@ -14275,7 +15084,9 @@ export const def_glGetTextureParameterIiv = { result: "void", } as const; -let fn_glGetTextureParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterIiv +>; export function GetTextureParameterIiv( texture: GLuint, @@ -14294,7 +15105,9 @@ export const def_glGetTextureParameterIuiv = { result: "void", } as const; -let fn_glGetTextureParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterIuiv +>; export function GetTextureParameterIuiv( texture: GLuint, @@ -14313,7 +15126,9 @@ export const def_glGetTextureParameteriv = { result: "void", } as const; -let fn_glGetTextureParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameteriv +>; export function GetTextureParameteriv( texture: GLuint, @@ -14332,7 +15147,9 @@ export const def_glCreateVertexArrays = { result: "void", } as const; -let fn_glCreateVertexArrays!: Deno.UnsafeFnPointer; +let fn_glCreateVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glCreateVertexArrays +>; export function CreateVertexArrays( n: GLsizei, @@ -14349,7 +15166,9 @@ export const def_glDisableVertexArrayAttrib = { result: "void", } as const; -let fn_glDisableVertexArrayAttrib!: Deno.UnsafeFnPointer; +let fn_glDisableVertexArrayAttrib!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexArrayAttrib +>; export function DisableVertexArrayAttrib( vaobj: GLuint, @@ -14366,7 +15185,9 @@ export const def_glEnableVertexArrayAttrib = { result: "void", } as const; -let fn_glEnableVertexArrayAttrib!: Deno.UnsafeFnPointer; +let fn_glEnableVertexArrayAttrib!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexArrayAttrib +>; export function EnableVertexArrayAttrib( vaobj: GLuint, @@ -14383,7 +15204,9 @@ export const def_glVertexArrayElementBuffer = { result: "void", } as const; -let fn_glVertexArrayElementBuffer!: Deno.UnsafeFnPointer; +let fn_glVertexArrayElementBuffer!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayElementBuffer +>; export function VertexArrayElementBuffer( vaobj: GLuint, @@ -14400,7 +15223,9 @@ export const def_glVertexArrayVertexBuffer = { result: "void", } as const; -let fn_glVertexArrayVertexBuffer!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexBuffer!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexBuffer +>; export function VertexArrayVertexBuffer( vaobj: GLuint, @@ -14423,7 +15248,9 @@ export const def_glVertexArrayVertexBuffers = { result: "void", } as const; -let fn_glVertexArrayVertexBuffers!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexBuffers!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexBuffers +>; export function VertexArrayVertexBuffers( vaobj: GLuint, @@ -14448,7 +15275,9 @@ export const def_glVertexArrayAttribBinding = { result: "void", } as const; -let fn_glVertexArrayAttribBinding!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribBinding!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribBinding +>; export function VertexArrayAttribBinding( vaobj: GLuint, @@ -14467,7 +15296,9 @@ export const def_glVertexArrayAttribFormat = { result: "void", } as const; -let fn_glVertexArrayAttribFormat!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribFormat +>; export function VertexArrayAttribFormat( vaobj: GLuint, @@ -14492,7 +15323,9 @@ export const def_glVertexArrayAttribIFormat = { result: "void", } as const; -let fn_glVertexArrayAttribIFormat!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribIFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribIFormat +>; export function VertexArrayAttribIFormat( vaobj: GLuint, @@ -14515,7 +15348,9 @@ export const def_glVertexArrayAttribLFormat = { result: "void", } as const; -let fn_glVertexArrayAttribLFormat!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribLFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribLFormat +>; export function VertexArrayAttribLFormat( vaobj: GLuint, @@ -14538,7 +15373,9 @@ export const def_glVertexArrayBindingDivisor = { result: "void", } as const; -let fn_glVertexArrayBindingDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexArrayBindingDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayBindingDivisor +>; export function VertexArrayBindingDivisor( vaobj: GLuint, @@ -14576,7 +15413,9 @@ export const def_glGetVertexArrayIndexediv = { result: "void", } as const; -let fn_glGetVertexArrayIndexediv!: Deno.UnsafeFnPointer; +let fn_glGetVertexArrayIndexediv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexArrayIndexediv +>; export function GetVertexArrayIndexediv( vaobj: GLuint, @@ -14597,7 +15436,9 @@ export const def_glGetVertexArrayIndexed64iv = { result: "void", } as const; -let fn_glGetVertexArrayIndexed64iv!: Deno.UnsafeFnPointer; +let fn_glGetVertexArrayIndexed64iv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexArrayIndexed64iv +>; export function GetVertexArrayIndexed64iv( vaobj: GLuint, @@ -14635,7 +15476,9 @@ export const def_glCreateProgramPipelines = { result: "void", } as const; -let fn_glCreateProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glCreateProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glCreateProgramPipelines +>; export function CreateProgramPipelines( n: GLsizei, @@ -14671,7 +15514,9 @@ export const def_glGetQueryBufferObjecti64v = { result: "void", } as const; -let fn_glGetQueryBufferObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjecti64v +>; export function GetQueryBufferObjecti64v( id: GLuint, @@ -14692,7 +15537,9 @@ export const def_glGetQueryBufferObjectiv = { result: "void", } as const; -let fn_glGetQueryBufferObjectiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjectiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjectiv +>; export function GetQueryBufferObjectiv( id: GLuint, @@ -14713,7 +15560,9 @@ export const def_glGetQueryBufferObjectui64v = { result: "void", } as const; -let fn_glGetQueryBufferObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjectui64v +>; export function GetQueryBufferObjectui64v( id: GLuint, @@ -14734,7 +15583,9 @@ export const def_glGetQueryBufferObjectuiv = { result: "void", } as const; -let fn_glGetQueryBufferObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjectuiv +>; export function GetQueryBufferObjectuiv( id: GLuint, @@ -14755,7 +15606,9 @@ export const def_glMemoryBarrierByRegion = { result: "void", } as const; -let fn_glMemoryBarrierByRegion!: Deno.UnsafeFnPointer; +let fn_glMemoryBarrierByRegion!: Deno.UnsafeFnPointer< + typeof def_glMemoryBarrierByRegion +>; export function MemoryBarrierByRegion( barriers: GLbitfield, @@ -14766,11 +15619,26 @@ export function MemoryBarrierByRegion( } export const def_glGetTextureSubImage = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glGetTextureSubImage!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glGetTextureSubImage!: Deno.UnsafeFnPointer< + typeof def_glGetTextureSubImage +>; export function GetTextureSubImage( texture: GLuint, @@ -14803,11 +15671,24 @@ export function GetTextureSubImage( } export const def_glGetCompressedTextureSubImage = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glGetCompressedTextureSubImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTextureSubImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTextureSubImage +>; export function GetCompressedTextureSubImage( texture: GLuint, @@ -14840,7 +15721,9 @@ export const def_glGetGraphicsResetStatus = { result: "u32", } as const; -let fn_glGetGraphicsResetStatus!: Deno.UnsafeFnPointer; +let fn_glGetGraphicsResetStatus!: Deno.UnsafeFnPointer< + typeof def_glGetGraphicsResetStatus +>; export function GetGraphicsResetStatus(): GLenum { return fn_glGetGraphicsResetStatus.call(); @@ -14851,7 +15734,9 @@ export const def_glGetnCompressedTexImage = { result: "void", } as const; -let fn_glGetnCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetnCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetnCompressedTexImage +>; export function GetnCompressedTexImage( target: GLenum, @@ -15130,7 +16015,9 @@ export const def_glGetnPolygonStipple = { result: "void", } as const; -let fn_glGetnPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetnPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetnPolygonStipple +>; export function GetnPolygonStipple( bufSize: GLsizei, @@ -15170,7 +16057,9 @@ export const def_glGetnConvolutionFilter = { result: "void", } as const; -let fn_glGetnConvolutionFilter!: Deno.UnsafeFnPointer; +let fn_glGetnConvolutionFilter!: Deno.UnsafeFnPointer< + typeof def_glGetnConvolutionFilter +>; export function GetnConvolutionFilter( target: GLenum, @@ -15193,7 +16082,9 @@ export const def_glGetnSeparableFilter = { result: "void", } as const; -let fn_glGetnSeparableFilter!: Deno.UnsafeFnPointer; +let fn_glGetnSeparableFilter!: Deno.UnsafeFnPointer< + typeof def_glGetnSeparableFilter +>; export function GetnSeparableFilter( target: GLenum, @@ -15281,698 +16172,2726 @@ export function TextureBarrier(): void { /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glClampColor = new Deno.UnsafeFnPointer(proc("glClampColor"), def_glClampColor); - fn_glBeginConditionalRender = new Deno.UnsafeFnPointer(proc("glBeginConditionalRender"), def_glBeginConditionalRender); - fn_glEndConditionalRender = new Deno.UnsafeFnPointer(proc("glEndConditionalRender"), def_glEndConditionalRender); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI1i = new Deno.UnsafeFnPointer(proc("glVertexAttribI1i"), def_glVertexAttribI1i); - fn_glVertexAttribI2i = new Deno.UnsafeFnPointer(proc("glVertexAttribI2i"), def_glVertexAttribI2i); - fn_glVertexAttribI3i = new Deno.UnsafeFnPointer(proc("glVertexAttribI3i"), def_glVertexAttribI3i); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ui"), def_glVertexAttribI1ui); - fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ui"), def_glVertexAttribI2ui); - fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ui"), def_glVertexAttribI3ui); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iv"), def_glVertexAttribI1iv); - fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iv"), def_glVertexAttribI2iv); - fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iv"), def_glVertexAttribI3iv); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiv"), def_glVertexAttribI1uiv); - fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiv"), def_glVertexAttribI2uiv); - fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiv"), def_glVertexAttribI3uiv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bv"), def_glVertexAttribI4bv); - fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4sv"), def_glVertexAttribI4sv); - fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubv"), def_glVertexAttribI4ubv); - fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usv"), def_glVertexAttribI4usv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glBindFragDataLocation = new Deno.UnsafeFnPointer(proc("glBindFragDataLocation"), def_glBindFragDataLocation); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glTexBuffer = new Deno.UnsafeFnPointer(proc("glTexBuffer"), def_glTexBuffer); - fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartIndex"), def_glPrimitiveRestartIndex); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetActiveUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformName"), def_glGetActiveUniformName); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertex"), def_glDrawElementsBaseVertex); - fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertex"), def_glDrawRangeElementsBaseVertex); - fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertex"), def_glDrawElementsInstancedBaseVertex); - fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertex"), def_glMultiDrawElementsBaseVertex); - fn_glProvokingVertex = new Deno.UnsafeFnPointer(proc("glProvokingVertex"), def_glProvokingVertex); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); - fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); - fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glFramebufferTexture = new Deno.UnsafeFnPointer(proc("glFramebufferTexture"), def_glFramebufferTexture); - fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage2DMultisample"), def_glTexImage2DMultisample); - fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage3DMultisample"), def_glTexImage3DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); - fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationIndexed"), def_glBindFragDataLocationIndexed); - fn_glGetFragDataIndex = new Deno.UnsafeFnPointer(proc("glGetFragDataIndex"), def_glGetFragDataIndex); - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIiv"), def_glSamplerParameterIiv); - fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuiv"), def_glSamplerParameterIuiv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIiv"), def_glGetSamplerParameterIiv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuiv"), def_glGetSamplerParameterIuiv); - fn_glQueryCounter = new Deno.UnsafeFnPointer(proc("glQueryCounter"), def_glQueryCounter); - fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjecti64v"), def_glGetQueryObjecti64v); - fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjectui64v"), def_glGetQueryObjectui64v); - fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisor"), def_glVertexAttribDivisor); - fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP1ui"), def_glVertexAttribP1ui); - fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP1uiv"), def_glVertexAttribP1uiv); - fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP2ui"), def_glVertexAttribP2ui); - fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP2uiv"), def_glVertexAttribP2uiv); - fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP3ui"), def_glVertexAttribP3ui); - fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP3uiv"), def_glVertexAttribP3uiv); - fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP4ui"), def_glVertexAttribP4ui); - fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP4uiv"), def_glVertexAttribP4uiv); - fn_glVertexP2ui = new Deno.UnsafeFnPointer(proc("glVertexP2ui"), def_glVertexP2ui); - fn_glVertexP2uiv = new Deno.UnsafeFnPointer(proc("glVertexP2uiv"), def_glVertexP2uiv); - fn_glVertexP3ui = new Deno.UnsafeFnPointer(proc("glVertexP3ui"), def_glVertexP3ui); - fn_glVertexP3uiv = new Deno.UnsafeFnPointer(proc("glVertexP3uiv"), def_glVertexP3uiv); - fn_glVertexP4ui = new Deno.UnsafeFnPointer(proc("glVertexP4ui"), def_glVertexP4ui); - fn_glVertexP4uiv = new Deno.UnsafeFnPointer(proc("glVertexP4uiv"), def_glVertexP4uiv); - fn_glTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glTexCoordP1ui"), def_glTexCoordP1ui); - fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP1uiv"), def_glTexCoordP1uiv); - fn_glTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glTexCoordP2ui"), def_glTexCoordP2ui); - fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP2uiv"), def_glTexCoordP2uiv); - fn_glTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glTexCoordP3ui"), def_glTexCoordP3ui); - fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP3uiv"), def_glTexCoordP3uiv); - fn_glTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glTexCoordP4ui"), def_glTexCoordP4ui); - fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP4uiv"), def_glTexCoordP4uiv); - fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1ui"), def_glMultiTexCoordP1ui); - fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1uiv"), def_glMultiTexCoordP1uiv); - fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2ui"), def_glMultiTexCoordP2ui); - fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2uiv"), def_glMultiTexCoordP2uiv); - fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3ui"), def_glMultiTexCoordP3ui); - fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3uiv"), def_glMultiTexCoordP3uiv); - fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4ui"), def_glMultiTexCoordP4ui); - fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4uiv"), def_glMultiTexCoordP4uiv); - fn_glNormalP3ui = new Deno.UnsafeFnPointer(proc("glNormalP3ui"), def_glNormalP3ui); - fn_glNormalP3uiv = new Deno.UnsafeFnPointer(proc("glNormalP3uiv"), def_glNormalP3uiv); - fn_glColorP3ui = new Deno.UnsafeFnPointer(proc("glColorP3ui"), def_glColorP3ui); - fn_glColorP3uiv = new Deno.UnsafeFnPointer(proc("glColorP3uiv"), def_glColorP3uiv); - fn_glColorP4ui = new Deno.UnsafeFnPointer(proc("glColorP4ui"), def_glColorP4ui); - fn_glColorP4uiv = new Deno.UnsafeFnPointer(proc("glColorP4uiv"), def_glColorP4uiv); - fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3ui"), def_glSecondaryColorP3ui); - fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3uiv"), def_glSecondaryColorP3uiv); - fn_glMinSampleShading = new Deno.UnsafeFnPointer(proc("glMinSampleShading"), def_glMinSampleShading); - fn_glBlendEquationi = new Deno.UnsafeFnPointer(proc("glBlendEquationi"), def_glBlendEquationi); - fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparatei"), def_glBlendEquationSeparatei); - fn_glBlendFunci = new Deno.UnsafeFnPointer(proc("glBlendFunci"), def_glBlendFunci); - fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparatei"), def_glBlendFuncSeparatei); - fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glDrawArraysIndirect"), def_glDrawArraysIndirect); - fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glDrawElementsIndirect"), def_glDrawElementsIndirect); - fn_glUniform1d = new Deno.UnsafeFnPointer(proc("glUniform1d"), def_glUniform1d); - fn_glUniform2d = new Deno.UnsafeFnPointer(proc("glUniform2d"), def_glUniform2d); - fn_glUniform3d = new Deno.UnsafeFnPointer(proc("glUniform3d"), def_glUniform3d); - fn_glUniform4d = new Deno.UnsafeFnPointer(proc("glUniform4d"), def_glUniform4d); - fn_glUniform1dv = new Deno.UnsafeFnPointer(proc("glUniform1dv"), def_glUniform1dv); - fn_glUniform2dv = new Deno.UnsafeFnPointer(proc("glUniform2dv"), def_glUniform2dv); - fn_glUniform3dv = new Deno.UnsafeFnPointer(proc("glUniform3dv"), def_glUniform3dv); - fn_glUniform4dv = new Deno.UnsafeFnPointer(proc("glUniform4dv"), def_glUniform4dv); - fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2dv"), def_glUniformMatrix2dv); - fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3dv"), def_glUniformMatrix3dv); - fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4dv"), def_glUniformMatrix4dv); - fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3dv"), def_glUniformMatrix2x3dv); - fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4dv"), def_glUniformMatrix2x4dv); - fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2dv"), def_glUniformMatrix3x2dv); - fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4dv"), def_glUniformMatrix3x4dv); - fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2dv"), def_glUniformMatrix4x2dv); - fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3dv"), def_glUniformMatrix4x3dv); - fn_glGetUniformdv = new Deno.UnsafeFnPointer(proc("glGetUniformdv"), def_glGetUniformdv); - fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer(proc("glGetSubroutineUniformLocation"), def_glGetSubroutineUniformLocation); - fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer(proc("glGetSubroutineIndex"), def_glGetSubroutineIndex); - fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformiv"), def_glGetActiveSubroutineUniformiv); - fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformName"), def_glGetActiveSubroutineUniformName); - fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineName"), def_glGetActiveSubroutineName); - fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer(proc("glUniformSubroutinesuiv"), def_glUniformSubroutinesuiv); - fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer(proc("glGetUniformSubroutineuiv"), def_glGetUniformSubroutineuiv); - fn_glGetProgramStageiv = new Deno.UnsafeFnPointer(proc("glGetProgramStageiv"), def_glGetProgramStageiv); - fn_glPatchParameteri = new Deno.UnsafeFnPointer(proc("glPatchParameteri"), def_glPatchParameteri); - fn_glPatchParameterfv = new Deno.UnsafeFnPointer(proc("glPatchParameterfv"), def_glPatchParameterfv); - fn_glBindTransformFeedback = new Deno.UnsafeFnPointer(proc("glBindTransformFeedback"), def_glBindTransformFeedback); - fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacks"), def_glDeleteTransformFeedbacks); - fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacks"), def_glGenTransformFeedbacks); - fn_glIsTransformFeedback = new Deno.UnsafeFnPointer(proc("glIsTransformFeedback"), def_glIsTransformFeedback); - fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedback"), def_glPauseTransformFeedback); - fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedback"), def_glResumeTransformFeedback); - fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedback"), def_glDrawTransformFeedback); - fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStream"), def_glDrawTransformFeedbackStream); - fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer(proc("glBeginQueryIndexed"), def_glBeginQueryIndexed); - fn_glEndQueryIndexed = new Deno.UnsafeFnPointer(proc("glEndQueryIndexed"), def_glEndQueryIndexed); - fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer(proc("glGetQueryIndexediv"), def_glGetQueryIndexediv); - fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer(proc("glReleaseShaderCompiler"), def_glReleaseShaderCompiler); - fn_glShaderBinary = new Deno.UnsafeFnPointer(proc("glShaderBinary"), def_glShaderBinary); - fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer(proc("glGetShaderPrecisionFormat"), def_glGetShaderPrecisionFormat); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glGetProgramBinary = new Deno.UnsafeFnPointer(proc("glGetProgramBinary"), def_glGetProgramBinary); - fn_glProgramBinary = new Deno.UnsafeFnPointer(proc("glProgramBinary"), def_glProgramBinary); - fn_glProgramParameteri = new Deno.UnsafeFnPointer(proc("glProgramParameteri"), def_glProgramParameteri); - fn_glUseProgramStages = new Deno.UnsafeFnPointer(proc("glUseProgramStages"), def_glUseProgramStages); - fn_glActiveShaderProgram = new Deno.UnsafeFnPointer(proc("glActiveShaderProgram"), def_glActiveShaderProgram); - fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer(proc("glCreateShaderProgramv"), def_glCreateShaderProgramv); - fn_glBindProgramPipeline = new Deno.UnsafeFnPointer(proc("glBindProgramPipeline"), def_glBindProgramPipeline); - fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer(proc("glDeleteProgramPipelines"), def_glDeleteProgramPipelines); - fn_glGenProgramPipelines = new Deno.UnsafeFnPointer(proc("glGenProgramPipelines"), def_glGenProgramPipelines); - fn_glIsProgramPipeline = new Deno.UnsafeFnPointer(proc("glIsProgramPipeline"), def_glIsProgramPipeline); - fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineiv"), def_glGetProgramPipelineiv); - fn_glProgramUniform1i = new Deno.UnsafeFnPointer(proc("glProgramUniform1i"), def_glProgramUniform1i); - fn_glProgramUniform1iv = new Deno.UnsafeFnPointer(proc("glProgramUniform1iv"), def_glProgramUniform1iv); - fn_glProgramUniform1f = new Deno.UnsafeFnPointer(proc("glProgramUniform1f"), def_glProgramUniform1f); - fn_glProgramUniform1fv = new Deno.UnsafeFnPointer(proc("glProgramUniform1fv"), def_glProgramUniform1fv); - fn_glProgramUniform1d = new Deno.UnsafeFnPointer(proc("glProgramUniform1d"), def_glProgramUniform1d); - fn_glProgramUniform1dv = new Deno.UnsafeFnPointer(proc("glProgramUniform1dv"), def_glProgramUniform1dv); - fn_glProgramUniform1ui = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui"), def_glProgramUniform1ui); - fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform1uiv"), def_glProgramUniform1uiv); - fn_glProgramUniform2i = new Deno.UnsafeFnPointer(proc("glProgramUniform2i"), def_glProgramUniform2i); - fn_glProgramUniform2iv = new Deno.UnsafeFnPointer(proc("glProgramUniform2iv"), def_glProgramUniform2iv); - fn_glProgramUniform2f = new Deno.UnsafeFnPointer(proc("glProgramUniform2f"), def_glProgramUniform2f); - fn_glProgramUniform2fv = new Deno.UnsafeFnPointer(proc("glProgramUniform2fv"), def_glProgramUniform2fv); - fn_glProgramUniform2d = new Deno.UnsafeFnPointer(proc("glProgramUniform2d"), def_glProgramUniform2d); - fn_glProgramUniform2dv = new Deno.UnsafeFnPointer(proc("glProgramUniform2dv"), def_glProgramUniform2dv); - fn_glProgramUniform2ui = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui"), def_glProgramUniform2ui); - fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform2uiv"), def_glProgramUniform2uiv); - fn_glProgramUniform3i = new Deno.UnsafeFnPointer(proc("glProgramUniform3i"), def_glProgramUniform3i); - fn_glProgramUniform3iv = new Deno.UnsafeFnPointer(proc("glProgramUniform3iv"), def_glProgramUniform3iv); - fn_glProgramUniform3f = new Deno.UnsafeFnPointer(proc("glProgramUniform3f"), def_glProgramUniform3f); - fn_glProgramUniform3fv = new Deno.UnsafeFnPointer(proc("glProgramUniform3fv"), def_glProgramUniform3fv); - fn_glProgramUniform3d = new Deno.UnsafeFnPointer(proc("glProgramUniform3d"), def_glProgramUniform3d); - fn_glProgramUniform3dv = new Deno.UnsafeFnPointer(proc("glProgramUniform3dv"), def_glProgramUniform3dv); - fn_glProgramUniform3ui = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui"), def_glProgramUniform3ui); - fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform3uiv"), def_glProgramUniform3uiv); - fn_glProgramUniform4i = new Deno.UnsafeFnPointer(proc("glProgramUniform4i"), def_glProgramUniform4i); - fn_glProgramUniform4iv = new Deno.UnsafeFnPointer(proc("glProgramUniform4iv"), def_glProgramUniform4iv); - fn_glProgramUniform4f = new Deno.UnsafeFnPointer(proc("glProgramUniform4f"), def_glProgramUniform4f); - fn_glProgramUniform4fv = new Deno.UnsafeFnPointer(proc("glProgramUniform4fv"), def_glProgramUniform4fv); - fn_glProgramUniform4d = new Deno.UnsafeFnPointer(proc("glProgramUniform4d"), def_glProgramUniform4d); - fn_glProgramUniform4dv = new Deno.UnsafeFnPointer(proc("glProgramUniform4dv"), def_glProgramUniform4dv); - fn_glProgramUniform4ui = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui"), def_glProgramUniform4ui); - fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform4uiv"), def_glProgramUniform4uiv); - fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2fv"), def_glProgramUniformMatrix2fv); - fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3fv"), def_glProgramUniformMatrix3fv); - fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4fv"), def_glProgramUniformMatrix4fv); - fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2dv"), def_glProgramUniformMatrix2dv); - fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3dv"), def_glProgramUniformMatrix3dv); - fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4dv"), def_glProgramUniformMatrix4dv); - fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3fv"), def_glProgramUniformMatrix2x3fv); - fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2fv"), def_glProgramUniformMatrix3x2fv); - fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4fv"), def_glProgramUniformMatrix2x4fv); - fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2fv"), def_glProgramUniformMatrix4x2fv); - fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4fv"), def_glProgramUniformMatrix3x4fv); - fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3fv"), def_glProgramUniformMatrix4x3fv); - fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3dv"), def_glProgramUniformMatrix2x3dv); - fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2dv"), def_glProgramUniformMatrix3x2dv); - fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4dv"), def_glProgramUniformMatrix2x4dv); - fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2dv"), def_glProgramUniformMatrix4x2dv); - fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4dv"), def_glProgramUniformMatrix3x4dv); - fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3dv"), def_glProgramUniformMatrix4x3dv); - fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer(proc("glValidateProgramPipeline"), def_glValidateProgramPipeline); - fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineInfoLog"), def_glGetProgramPipelineInfoLog); - fn_glVertexAttribL1d = new Deno.UnsafeFnPointer(proc("glVertexAttribL1d"), def_glVertexAttribL1d); - fn_glVertexAttribL2d = new Deno.UnsafeFnPointer(proc("glVertexAttribL2d"), def_glVertexAttribL2d); - fn_glVertexAttribL3d = new Deno.UnsafeFnPointer(proc("glVertexAttribL3d"), def_glVertexAttribL3d); - fn_glVertexAttribL4d = new Deno.UnsafeFnPointer(proc("glVertexAttribL4d"), def_glVertexAttribL4d); - fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL1dv"), def_glVertexAttribL1dv); - fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL2dv"), def_glVertexAttribL2dv); - fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL3dv"), def_glVertexAttribL3dv); - fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL4dv"), def_glVertexAttribL4dv); - fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribLPointer"), def_glVertexAttribLPointer); - fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribLdv"), def_glGetVertexAttribLdv); - fn_glViewportArrayv = new Deno.UnsafeFnPointer(proc("glViewportArrayv"), def_glViewportArrayv); - fn_glViewportIndexedf = new Deno.UnsafeFnPointer(proc("glViewportIndexedf"), def_glViewportIndexedf); - fn_glViewportIndexedfv = new Deno.UnsafeFnPointer(proc("glViewportIndexedfv"), def_glViewportIndexedfv); - fn_glScissorArrayv = new Deno.UnsafeFnPointer(proc("glScissorArrayv"), def_glScissorArrayv); - fn_glScissorIndexed = new Deno.UnsafeFnPointer(proc("glScissorIndexed"), def_glScissorIndexed); - fn_glScissorIndexedv = new Deno.UnsafeFnPointer(proc("glScissorIndexedv"), def_glScissorIndexedv); - fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer(proc("glDepthRangeArrayv"), def_glDepthRangeArrayv); - fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer(proc("glDepthRangeIndexed"), def_glDepthRangeIndexed); - fn_glGetFloati_v = new Deno.UnsafeFnPointer(proc("glGetFloati_v"), def_glGetFloati_v); - fn_glGetDoublei_v = new Deno.UnsafeFnPointer(proc("glGetDoublei_v"), def_glGetDoublei_v); - fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedBaseInstance"), def_glDrawArraysInstancedBaseInstance); - fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseInstance"), def_glDrawElementsInstancedBaseInstance); - fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertexBaseInstance"), def_glDrawElementsInstancedBaseVertexBaseInstance); - fn_glGetInternalformativ = new Deno.UnsafeFnPointer(proc("glGetInternalformativ"), def_glGetInternalformativ); - fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer(proc("glGetActiveAtomicCounterBufferiv"), def_glGetActiveAtomicCounterBufferiv); - fn_glBindImageTexture = new Deno.UnsafeFnPointer(proc("glBindImageTexture"), def_glBindImageTexture); - fn_glMemoryBarrier = new Deno.UnsafeFnPointer(proc("glMemoryBarrier"), def_glMemoryBarrier); - fn_glTexStorage1D = new Deno.UnsafeFnPointer(proc("glTexStorage1D"), def_glTexStorage1D); - fn_glTexStorage2D = new Deno.UnsafeFnPointer(proc("glTexStorage2D"), def_glTexStorage2D); - fn_glTexStorage3D = new Deno.UnsafeFnPointer(proc("glTexStorage3D"), def_glTexStorage3D); - fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackInstanced"), def_glDrawTransformFeedbackInstanced); - fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStreamInstanced"), def_glDrawTransformFeedbackStreamInstanced); - fn_glClearBufferData = new Deno.UnsafeFnPointer(proc("glClearBufferData"), def_glClearBufferData); - fn_glClearBufferSubData = new Deno.UnsafeFnPointer(proc("glClearBufferSubData"), def_glClearBufferSubData); - fn_glDispatchCompute = new Deno.UnsafeFnPointer(proc("glDispatchCompute"), def_glDispatchCompute); - fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer(proc("glDispatchComputeIndirect"), def_glDispatchComputeIndirect); - fn_glCopyImageSubData = new Deno.UnsafeFnPointer(proc("glCopyImageSubData"), def_glCopyImageSubData); - fn_glFramebufferParameteri = new Deno.UnsafeFnPointer(proc("glFramebufferParameteri"), def_glFramebufferParameteri); - fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferParameteriv"), def_glGetFramebufferParameteriv); - fn_glGetInternalformati64v = new Deno.UnsafeFnPointer(proc("glGetInternalformati64v"), def_glGetInternalformati64v); - fn_glInvalidateTexSubImage = new Deno.UnsafeFnPointer(proc("glInvalidateTexSubImage"), def_glInvalidateTexSubImage); - fn_glInvalidateTexImage = new Deno.UnsafeFnPointer(proc("glInvalidateTexImage"), def_glInvalidateTexImage); - fn_glInvalidateBufferSubData = new Deno.UnsafeFnPointer(proc("glInvalidateBufferSubData"), def_glInvalidateBufferSubData); - fn_glInvalidateBufferData = new Deno.UnsafeFnPointer(proc("glInvalidateBufferData"), def_glInvalidateBufferData); - fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateFramebuffer"), def_glInvalidateFramebuffer); - fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateSubFramebuffer"), def_glInvalidateSubFramebuffer); - fn_glMultiDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysIndirect"), def_glMultiDrawArraysIndirect); - fn_glMultiDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsIndirect"), def_glMultiDrawElementsIndirect); - fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer(proc("glGetProgramInterfaceiv"), def_glGetProgramInterfaceiv); - fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceIndex"), def_glGetProgramResourceIndex); - fn_glGetProgramResourceName = new Deno.UnsafeFnPointer(proc("glGetProgramResourceName"), def_glGetProgramResourceName); - fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer(proc("glGetProgramResourceiv"), def_glGetProgramResourceiv); - fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocation"), def_glGetProgramResourceLocation); - fn_glGetProgramResourceLocationIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocationIndex"), def_glGetProgramResourceLocationIndex); - fn_glShaderStorageBlockBinding = new Deno.UnsafeFnPointer(proc("glShaderStorageBlockBinding"), def_glShaderStorageBlockBinding); - fn_glTexBufferRange = new Deno.UnsafeFnPointer(proc("glTexBufferRange"), def_glTexBufferRange); - fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage2DMultisample"), def_glTexStorage2DMultisample); - fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage3DMultisample"), def_glTexStorage3DMultisample); - fn_glTextureView = new Deno.UnsafeFnPointer(proc("glTextureView"), def_glTextureView); - fn_glBindVertexBuffer = new Deno.UnsafeFnPointer(proc("glBindVertexBuffer"), def_glBindVertexBuffer); - fn_glVertexAttribFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribFormat"), def_glVertexAttribFormat); - fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribIFormat"), def_glVertexAttribIFormat); - fn_glVertexAttribLFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribLFormat"), def_glVertexAttribLFormat); - fn_glVertexAttribBinding = new Deno.UnsafeFnPointer(proc("glVertexAttribBinding"), def_glVertexAttribBinding); - fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer(proc("glVertexBindingDivisor"), def_glVertexBindingDivisor); - fn_glDebugMessageControl = new Deno.UnsafeFnPointer(proc("glDebugMessageControl"), def_glDebugMessageControl); - fn_glDebugMessageInsert = new Deno.UnsafeFnPointer(proc("glDebugMessageInsert"), def_glDebugMessageInsert); - fn_glDebugMessageCallback = new Deno.UnsafeFnPointer(proc("glDebugMessageCallback"), def_glDebugMessageCallback); - fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer(proc("glGetDebugMessageLog"), def_glGetDebugMessageLog); - fn_glPushDebugGroup = new Deno.UnsafeFnPointer(proc("glPushDebugGroup"), def_glPushDebugGroup); - fn_glPopDebugGroup = new Deno.UnsafeFnPointer(proc("glPopDebugGroup"), def_glPopDebugGroup); - fn_glObjectLabel = new Deno.UnsafeFnPointer(proc("glObjectLabel"), def_glObjectLabel); - fn_glGetObjectLabel = new Deno.UnsafeFnPointer(proc("glGetObjectLabel"), def_glGetObjectLabel); - fn_glObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glObjectPtrLabel"), def_glObjectPtrLabel); - fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glGetObjectPtrLabel"), def_glGetObjectPtrLabel); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glBufferStorage = new Deno.UnsafeFnPointer(proc("glBufferStorage"), def_glBufferStorage); - fn_glClearTexImage = new Deno.UnsafeFnPointer(proc("glClearTexImage"), def_glClearTexImage); - fn_glClearTexSubImage = new Deno.UnsafeFnPointer(proc("glClearTexSubImage"), def_glClearTexSubImage); - fn_glBindBuffersBase = new Deno.UnsafeFnPointer(proc("glBindBuffersBase"), def_glBindBuffersBase); - fn_glBindBuffersRange = new Deno.UnsafeFnPointer(proc("glBindBuffersRange"), def_glBindBuffersRange); - fn_glBindTextures = new Deno.UnsafeFnPointer(proc("glBindTextures"), def_glBindTextures); - fn_glBindSamplers = new Deno.UnsafeFnPointer(proc("glBindSamplers"), def_glBindSamplers); - fn_glBindImageTextures = new Deno.UnsafeFnPointer(proc("glBindImageTextures"), def_glBindImageTextures); - fn_glBindVertexBuffers = new Deno.UnsafeFnPointer(proc("glBindVertexBuffers"), def_glBindVertexBuffers); - fn_glClipControl = new Deno.UnsafeFnPointer(proc("glClipControl"), def_glClipControl); - fn_glCreateTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glCreateTransformFeedbacks"), def_glCreateTransformFeedbacks); - fn_glTransformFeedbackBufferBase = new Deno.UnsafeFnPointer(proc("glTransformFeedbackBufferBase"), def_glTransformFeedbackBufferBase); - fn_glTransformFeedbackBufferRange = new Deno.UnsafeFnPointer(proc("glTransformFeedbackBufferRange"), def_glTransformFeedbackBufferRange); - fn_glGetTransformFeedbackiv = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackiv"), def_glGetTransformFeedbackiv); - fn_glGetTransformFeedbacki_v = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbacki_v"), def_glGetTransformFeedbacki_v); - fn_glGetTransformFeedbacki64_v = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbacki64_v"), def_glGetTransformFeedbacki64_v); - fn_glCreateBuffers = new Deno.UnsafeFnPointer(proc("glCreateBuffers"), def_glCreateBuffers); - fn_glNamedBufferStorage = new Deno.UnsafeFnPointer(proc("glNamedBufferStorage"), def_glNamedBufferStorage); - fn_glNamedBufferData = new Deno.UnsafeFnPointer(proc("glNamedBufferData"), def_glNamedBufferData); - fn_glNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glNamedBufferSubData"), def_glNamedBufferSubData); - fn_glCopyNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyNamedBufferSubData"), def_glCopyNamedBufferSubData); - fn_glClearNamedBufferData = new Deno.UnsafeFnPointer(proc("glClearNamedBufferData"), def_glClearNamedBufferData); - fn_glClearNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glClearNamedBufferSubData"), def_glClearNamedBufferSubData); - fn_glMapNamedBuffer = new Deno.UnsafeFnPointer(proc("glMapNamedBuffer"), def_glMapNamedBuffer); - fn_glMapNamedBufferRange = new Deno.UnsafeFnPointer(proc("glMapNamedBufferRange"), def_glMapNamedBufferRange); - fn_glUnmapNamedBuffer = new Deno.UnsafeFnPointer(proc("glUnmapNamedBuffer"), def_glUnmapNamedBuffer); - fn_glFlushMappedNamedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedNamedBufferRange"), def_glFlushMappedNamedBufferRange); - fn_glGetNamedBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedBufferParameteriv"), def_glGetNamedBufferParameteriv); - fn_glGetNamedBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetNamedBufferParameteri64v"), def_glGetNamedBufferParameteri64v); - fn_glGetNamedBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetNamedBufferPointerv"), def_glGetNamedBufferPointerv); - fn_glGetNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glGetNamedBufferSubData"), def_glGetNamedBufferSubData); - fn_glCreateFramebuffers = new Deno.UnsafeFnPointer(proc("glCreateFramebuffers"), def_glCreateFramebuffers); - fn_glNamedFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferRenderbuffer"), def_glNamedFramebufferRenderbuffer); - fn_glNamedFramebufferParameteri = new Deno.UnsafeFnPointer(proc("glNamedFramebufferParameteri"), def_glNamedFramebufferParameteri); - fn_glNamedFramebufferTexture = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTexture"), def_glNamedFramebufferTexture); - fn_glNamedFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTextureLayer"), def_glNamedFramebufferTextureLayer); - fn_glNamedFramebufferDrawBuffer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferDrawBuffer"), def_glNamedFramebufferDrawBuffer); - fn_glNamedFramebufferDrawBuffers = new Deno.UnsafeFnPointer(proc("glNamedFramebufferDrawBuffers"), def_glNamedFramebufferDrawBuffers); - fn_glNamedFramebufferReadBuffer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferReadBuffer"), def_glNamedFramebufferReadBuffer); - fn_glInvalidateNamedFramebufferData = new Deno.UnsafeFnPointer(proc("glInvalidateNamedFramebufferData"), def_glInvalidateNamedFramebufferData); - fn_glInvalidateNamedFramebufferSubData = new Deno.UnsafeFnPointer(proc("glInvalidateNamedFramebufferSubData"), def_glInvalidateNamedFramebufferSubData); - fn_glClearNamedFramebufferiv = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferiv"), def_glClearNamedFramebufferiv); - fn_glClearNamedFramebufferuiv = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferuiv"), def_glClearNamedFramebufferuiv); - fn_glClearNamedFramebufferfv = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferfv"), def_glClearNamedFramebufferfv); - fn_glClearNamedFramebufferfi = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferfi"), def_glClearNamedFramebufferfi); - fn_glBlitNamedFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitNamedFramebuffer"), def_glBlitNamedFramebuffer); - fn_glCheckNamedFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckNamedFramebufferStatus"), def_glCheckNamedFramebufferStatus); - fn_glGetNamedFramebufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedFramebufferParameteriv"), def_glGetNamedFramebufferParameteriv); - fn_glGetNamedFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedFramebufferAttachmentParameteriv"), def_glGetNamedFramebufferAttachmentParameteriv); - fn_glCreateRenderbuffers = new Deno.UnsafeFnPointer(proc("glCreateRenderbuffers"), def_glCreateRenderbuffers); - fn_glNamedRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glNamedRenderbufferStorage"), def_glNamedRenderbufferStorage); - fn_glNamedRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glNamedRenderbufferStorageMultisample"), def_glNamedRenderbufferStorageMultisample); - fn_glGetNamedRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedRenderbufferParameteriv"), def_glGetNamedRenderbufferParameteriv); - fn_glCreateTextures = new Deno.UnsafeFnPointer(proc("glCreateTextures"), def_glCreateTextures); - fn_glTextureBuffer = new Deno.UnsafeFnPointer(proc("glTextureBuffer"), def_glTextureBuffer); - fn_glTextureBufferRange = new Deno.UnsafeFnPointer(proc("glTextureBufferRange"), def_glTextureBufferRange); - fn_glTextureStorage1D = new Deno.UnsafeFnPointer(proc("glTextureStorage1D"), def_glTextureStorage1D); - fn_glTextureStorage2D = new Deno.UnsafeFnPointer(proc("glTextureStorage2D"), def_glTextureStorage2D); - fn_glTextureStorage3D = new Deno.UnsafeFnPointer(proc("glTextureStorage3D"), def_glTextureStorage3D); - fn_glTextureStorage2DMultisample = new Deno.UnsafeFnPointer(proc("glTextureStorage2DMultisample"), def_glTextureStorage2DMultisample); - fn_glTextureStorage3DMultisample = new Deno.UnsafeFnPointer(proc("glTextureStorage3DMultisample"), def_glTextureStorage3DMultisample); - fn_glTextureSubImage1D = new Deno.UnsafeFnPointer(proc("glTextureSubImage1D"), def_glTextureSubImage1D); - fn_glTextureSubImage2D = new Deno.UnsafeFnPointer(proc("glTextureSubImage2D"), def_glTextureSubImage2D); - fn_glTextureSubImage3D = new Deno.UnsafeFnPointer(proc("glTextureSubImage3D"), def_glTextureSubImage3D); - fn_glCompressedTextureSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage1D"), def_glCompressedTextureSubImage1D); - fn_glCompressedTextureSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage2D"), def_glCompressedTextureSubImage2D); - fn_glCompressedTextureSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage3D"), def_glCompressedTextureSubImage3D); - fn_glCopyTextureSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage1D"), def_glCopyTextureSubImage1D); - fn_glCopyTextureSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage2D"), def_glCopyTextureSubImage2D); - fn_glCopyTextureSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage3D"), def_glCopyTextureSubImage3D); - fn_glTextureParameterf = new Deno.UnsafeFnPointer(proc("glTextureParameterf"), def_glTextureParameterf); - fn_glTextureParameterfv = new Deno.UnsafeFnPointer(proc("glTextureParameterfv"), def_glTextureParameterfv); - fn_glTextureParameteri = new Deno.UnsafeFnPointer(proc("glTextureParameteri"), def_glTextureParameteri); - fn_glTextureParameterIiv = new Deno.UnsafeFnPointer(proc("glTextureParameterIiv"), def_glTextureParameterIiv); - fn_glTextureParameterIuiv = new Deno.UnsafeFnPointer(proc("glTextureParameterIuiv"), def_glTextureParameterIuiv); - fn_glTextureParameteriv = new Deno.UnsafeFnPointer(proc("glTextureParameteriv"), def_glTextureParameteriv); - fn_glGenerateTextureMipmap = new Deno.UnsafeFnPointer(proc("glGenerateTextureMipmap"), def_glGenerateTextureMipmap); - fn_glBindTextureUnit = new Deno.UnsafeFnPointer(proc("glBindTextureUnit"), def_glBindTextureUnit); - fn_glGetTextureImage = new Deno.UnsafeFnPointer(proc("glGetTextureImage"), def_glGetTextureImage); - fn_glGetCompressedTextureImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTextureImage"), def_glGetCompressedTextureImage); - fn_glGetTextureLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTextureLevelParameterfv"), def_glGetTextureLevelParameterfv); - fn_glGetTextureLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTextureLevelParameteriv"), def_glGetTextureLevelParameteriv); - fn_glGetTextureParameterfv = new Deno.UnsafeFnPointer(proc("glGetTextureParameterfv"), def_glGetTextureParameterfv); - fn_glGetTextureParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTextureParameterIiv"), def_glGetTextureParameterIiv); - fn_glGetTextureParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTextureParameterIuiv"), def_glGetTextureParameterIuiv); - fn_glGetTextureParameteriv = new Deno.UnsafeFnPointer(proc("glGetTextureParameteriv"), def_glGetTextureParameteriv); - fn_glCreateVertexArrays = new Deno.UnsafeFnPointer(proc("glCreateVertexArrays"), def_glCreateVertexArrays); - fn_glDisableVertexArrayAttrib = new Deno.UnsafeFnPointer(proc("glDisableVertexArrayAttrib"), def_glDisableVertexArrayAttrib); - fn_glEnableVertexArrayAttrib = new Deno.UnsafeFnPointer(proc("glEnableVertexArrayAttrib"), def_glEnableVertexArrayAttrib); - fn_glVertexArrayElementBuffer = new Deno.UnsafeFnPointer(proc("glVertexArrayElementBuffer"), def_glVertexArrayElementBuffer); - fn_glVertexArrayVertexBuffer = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexBuffer"), def_glVertexArrayVertexBuffer); - fn_glVertexArrayVertexBuffers = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexBuffers"), def_glVertexArrayVertexBuffers); - fn_glVertexArrayAttribBinding = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribBinding"), def_glVertexArrayAttribBinding); - fn_glVertexArrayAttribFormat = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribFormat"), def_glVertexArrayAttribFormat); - fn_glVertexArrayAttribIFormat = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribIFormat"), def_glVertexArrayAttribIFormat); - fn_glVertexArrayAttribLFormat = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribLFormat"), def_glVertexArrayAttribLFormat); - fn_glVertexArrayBindingDivisor = new Deno.UnsafeFnPointer(proc("glVertexArrayBindingDivisor"), def_glVertexArrayBindingDivisor); - fn_glGetVertexArrayiv = new Deno.UnsafeFnPointer(proc("glGetVertexArrayiv"), def_glGetVertexArrayiv); - fn_glGetVertexArrayIndexediv = new Deno.UnsafeFnPointer(proc("glGetVertexArrayIndexediv"), def_glGetVertexArrayIndexediv); - fn_glGetVertexArrayIndexed64iv = new Deno.UnsafeFnPointer(proc("glGetVertexArrayIndexed64iv"), def_glGetVertexArrayIndexed64iv); - fn_glCreateSamplers = new Deno.UnsafeFnPointer(proc("glCreateSamplers"), def_glCreateSamplers); - fn_glCreateProgramPipelines = new Deno.UnsafeFnPointer(proc("glCreateProgramPipelines"), def_glCreateProgramPipelines); - fn_glCreateQueries = new Deno.UnsafeFnPointer(proc("glCreateQueries"), def_glCreateQueries); - fn_glGetQueryBufferObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjecti64v"), def_glGetQueryBufferObjecti64v); - fn_glGetQueryBufferObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjectiv"), def_glGetQueryBufferObjectiv); - fn_glGetQueryBufferObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjectui64v"), def_glGetQueryBufferObjectui64v); - fn_glGetQueryBufferObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjectuiv"), def_glGetQueryBufferObjectuiv); - fn_glMemoryBarrierByRegion = new Deno.UnsafeFnPointer(proc("glMemoryBarrierByRegion"), def_glMemoryBarrierByRegion); - fn_glGetTextureSubImage = new Deno.UnsafeFnPointer(proc("glGetTextureSubImage"), def_glGetTextureSubImage); - fn_glGetCompressedTextureSubImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTextureSubImage"), def_glGetCompressedTextureSubImage); - fn_glGetGraphicsResetStatus = new Deno.UnsafeFnPointer(proc("glGetGraphicsResetStatus"), def_glGetGraphicsResetStatus); - fn_glGetnCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetnCompressedTexImage"), def_glGetnCompressedTexImage); - fn_glGetnTexImage = new Deno.UnsafeFnPointer(proc("glGetnTexImage"), def_glGetnTexImage); - fn_glGetnUniformdv = new Deno.UnsafeFnPointer(proc("glGetnUniformdv"), def_glGetnUniformdv); - fn_glGetnUniformfv = new Deno.UnsafeFnPointer(proc("glGetnUniformfv"), def_glGetnUniformfv); - fn_glGetnUniformiv = new Deno.UnsafeFnPointer(proc("glGetnUniformiv"), def_glGetnUniformiv); - fn_glGetnUniformuiv = new Deno.UnsafeFnPointer(proc("glGetnUniformuiv"), def_glGetnUniformuiv); - fn_glReadnPixels = new Deno.UnsafeFnPointer(proc("glReadnPixels"), def_glReadnPixels); - fn_glGetnMapdv = new Deno.UnsafeFnPointer(proc("glGetnMapdv"), def_glGetnMapdv); - fn_glGetnMapfv = new Deno.UnsafeFnPointer(proc("glGetnMapfv"), def_glGetnMapfv); - fn_glGetnMapiv = new Deno.UnsafeFnPointer(proc("glGetnMapiv"), def_glGetnMapiv); - fn_glGetnPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetnPixelMapfv"), def_glGetnPixelMapfv); - fn_glGetnPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetnPixelMapuiv"), def_glGetnPixelMapuiv); - fn_glGetnPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetnPixelMapusv"), def_glGetnPixelMapusv); - fn_glGetnPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetnPolygonStipple"), def_glGetnPolygonStipple); - fn_glGetnColorTable = new Deno.UnsafeFnPointer(proc("glGetnColorTable"), def_glGetnColorTable); - fn_glGetnConvolutionFilter = new Deno.UnsafeFnPointer(proc("glGetnConvolutionFilter"), def_glGetnConvolutionFilter); - fn_glGetnSeparableFilter = new Deno.UnsafeFnPointer(proc("glGetnSeparableFilter"), def_glGetnSeparableFilter); - fn_glGetnHistogram = new Deno.UnsafeFnPointer(proc("glGetnHistogram"), def_glGetnHistogram); - fn_glGetnMinmax = new Deno.UnsafeFnPointer(proc("glGetnMinmax"), def_glGetnMinmax); - fn_glTextureBarrier = new Deno.UnsafeFnPointer(proc("glTextureBarrier"), def_glTextureBarrier); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glClampColor = new Deno.UnsafeFnPointer( + proc("glClampColor"), + def_glClampColor, + ); + fn_glBeginConditionalRender = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRender"), + def_glBeginConditionalRender, + ); + fn_glEndConditionalRender = new Deno.UnsafeFnPointer( + proc("glEndConditionalRender"), + def_glEndConditionalRender, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI1i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1i"), + def_glVertexAttribI1i, + ); + fn_glVertexAttribI2i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2i"), + def_glVertexAttribI2i, + ); + fn_glVertexAttribI3i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3i"), + def_glVertexAttribI3i, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ui"), + def_glVertexAttribI1ui, + ); + fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ui"), + def_glVertexAttribI2ui, + ); + fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ui"), + def_glVertexAttribI3ui, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iv"), + def_glVertexAttribI1iv, + ); + fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iv"), + def_glVertexAttribI2iv, + ); + fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iv"), + def_glVertexAttribI3iv, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiv"), + def_glVertexAttribI1uiv, + ); + fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiv"), + def_glVertexAttribI2uiv, + ); + fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiv"), + def_glVertexAttribI3uiv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bv"), + def_glVertexAttribI4bv, + ); + fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4sv"), + def_glVertexAttribI4sv, + ); + fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubv"), + def_glVertexAttribI4ubv, + ); + fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usv"), + def_glVertexAttribI4usv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glBindFragDataLocation = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocation"), + def_glBindFragDataLocation, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glTexBuffer = new Deno.UnsafeFnPointer( + proc("glTexBuffer"), + def_glTexBuffer, + ); + fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartIndex"), + def_glPrimitiveRestartIndex, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetActiveUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformName"), + def_glGetActiveUniformName, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertex"), + def_glDrawElementsBaseVertex, + ); + fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertex"), + def_glDrawRangeElementsBaseVertex, + ); + fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertex"), + def_glDrawElementsInstancedBaseVertex, + ); + fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertex"), + def_glMultiDrawElementsBaseVertex, + ); + fn_glProvokingVertex = new Deno.UnsafeFnPointer( + proc("glProvokingVertex"), + def_glProvokingVertex, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); + fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); + fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture"), + def_glFramebufferTexture, + ); + fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage2DMultisample"), + def_glTexImage2DMultisample, + ); + fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage3DMultisample"), + def_glTexImage3DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); + fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationIndexed"), + def_glBindFragDataLocationIndexed, + ); + fn_glGetFragDataIndex = new Deno.UnsafeFnPointer( + proc("glGetFragDataIndex"), + def_glGetFragDataIndex, + ); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIiv"), + def_glSamplerParameterIiv, + ); + fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuiv"), + def_glSamplerParameterIuiv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIiv"), + def_glGetSamplerParameterIiv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuiv"), + def_glGetSamplerParameterIuiv, + ); + fn_glQueryCounter = new Deno.UnsafeFnPointer( + proc("glQueryCounter"), + def_glQueryCounter, + ); + fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjecti64v"), + def_glGetQueryObjecti64v, + ); + fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectui64v"), + def_glGetQueryObjectui64v, + ); + fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisor"), + def_glVertexAttribDivisor, + ); + fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1ui"), + def_glVertexAttribP1ui, + ); + fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1uiv"), + def_glVertexAttribP1uiv, + ); + fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2ui"), + def_glVertexAttribP2ui, + ); + fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2uiv"), + def_glVertexAttribP2uiv, + ); + fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3ui"), + def_glVertexAttribP3ui, + ); + fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3uiv"), + def_glVertexAttribP3uiv, + ); + fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4ui"), + def_glVertexAttribP4ui, + ); + fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4uiv"), + def_glVertexAttribP4uiv, + ); + fn_glVertexP2ui = new Deno.UnsafeFnPointer( + proc("glVertexP2ui"), + def_glVertexP2ui, + ); + fn_glVertexP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexP2uiv"), + def_glVertexP2uiv, + ); + fn_glVertexP3ui = new Deno.UnsafeFnPointer( + proc("glVertexP3ui"), + def_glVertexP3ui, + ); + fn_glVertexP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexP3uiv"), + def_glVertexP3uiv, + ); + fn_glVertexP4ui = new Deno.UnsafeFnPointer( + proc("glVertexP4ui"), + def_glVertexP4ui, + ); + fn_glVertexP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexP4uiv"), + def_glVertexP4uiv, + ); + fn_glTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP1ui"), + def_glTexCoordP1ui, + ); + fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP1uiv"), + def_glTexCoordP1uiv, + ); + fn_glTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP2ui"), + def_glTexCoordP2ui, + ); + fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP2uiv"), + def_glTexCoordP2uiv, + ); + fn_glTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP3ui"), + def_glTexCoordP3ui, + ); + fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP3uiv"), + def_glTexCoordP3uiv, + ); + fn_glTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP4ui"), + def_glTexCoordP4ui, + ); + fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP4uiv"), + def_glTexCoordP4uiv, + ); + fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1ui"), + def_glMultiTexCoordP1ui, + ); + fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1uiv"), + def_glMultiTexCoordP1uiv, + ); + fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2ui"), + def_glMultiTexCoordP2ui, + ); + fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2uiv"), + def_glMultiTexCoordP2uiv, + ); + fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3ui"), + def_glMultiTexCoordP3ui, + ); + fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3uiv"), + def_glMultiTexCoordP3uiv, + ); + fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4ui"), + def_glMultiTexCoordP4ui, + ); + fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4uiv"), + def_glMultiTexCoordP4uiv, + ); + fn_glNormalP3ui = new Deno.UnsafeFnPointer( + proc("glNormalP3ui"), + def_glNormalP3ui, + ); + fn_glNormalP3uiv = new Deno.UnsafeFnPointer( + proc("glNormalP3uiv"), + def_glNormalP3uiv, + ); + fn_glColorP3ui = new Deno.UnsafeFnPointer( + proc("glColorP3ui"), + def_glColorP3ui, + ); + fn_glColorP3uiv = new Deno.UnsafeFnPointer( + proc("glColorP3uiv"), + def_glColorP3uiv, + ); + fn_glColorP4ui = new Deno.UnsafeFnPointer( + proc("glColorP4ui"), + def_glColorP4ui, + ); + fn_glColorP4uiv = new Deno.UnsafeFnPointer( + proc("glColorP4uiv"), + def_glColorP4uiv, + ); + fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3ui"), + def_glSecondaryColorP3ui, + ); + fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3uiv"), + def_glSecondaryColorP3uiv, + ); + fn_glMinSampleShading = new Deno.UnsafeFnPointer( + proc("glMinSampleShading"), + def_glMinSampleShading, + ); + fn_glBlendEquationi = new Deno.UnsafeFnPointer( + proc("glBlendEquationi"), + def_glBlendEquationi, + ); + fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparatei"), + def_glBlendEquationSeparatei, + ); + fn_glBlendFunci = new Deno.UnsafeFnPointer( + proc("glBlendFunci"), + def_glBlendFunci, + ); + fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparatei"), + def_glBlendFuncSeparatei, + ); + fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glDrawArraysIndirect"), + def_glDrawArraysIndirect, + ); + fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glDrawElementsIndirect"), + def_glDrawElementsIndirect, + ); + fn_glUniform1d = new Deno.UnsafeFnPointer( + proc("glUniform1d"), + def_glUniform1d, + ); + fn_glUniform2d = new Deno.UnsafeFnPointer( + proc("glUniform2d"), + def_glUniform2d, + ); + fn_glUniform3d = new Deno.UnsafeFnPointer( + proc("glUniform3d"), + def_glUniform3d, + ); + fn_glUniform4d = new Deno.UnsafeFnPointer( + proc("glUniform4d"), + def_glUniform4d, + ); + fn_glUniform1dv = new Deno.UnsafeFnPointer( + proc("glUniform1dv"), + def_glUniform1dv, + ); + fn_glUniform2dv = new Deno.UnsafeFnPointer( + proc("glUniform2dv"), + def_glUniform2dv, + ); + fn_glUniform3dv = new Deno.UnsafeFnPointer( + proc("glUniform3dv"), + def_glUniform3dv, + ); + fn_glUniform4dv = new Deno.UnsafeFnPointer( + proc("glUniform4dv"), + def_glUniform4dv, + ); + fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2dv"), + def_glUniformMatrix2dv, + ); + fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3dv"), + def_glUniformMatrix3dv, + ); + fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4dv"), + def_glUniformMatrix4dv, + ); + fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3dv"), + def_glUniformMatrix2x3dv, + ); + fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4dv"), + def_glUniformMatrix2x4dv, + ); + fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2dv"), + def_glUniformMatrix3x2dv, + ); + fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4dv"), + def_glUniformMatrix3x4dv, + ); + fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2dv"), + def_glUniformMatrix4x2dv, + ); + fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3dv"), + def_glUniformMatrix4x3dv, + ); + fn_glGetUniformdv = new Deno.UnsafeFnPointer( + proc("glGetUniformdv"), + def_glGetUniformdv, + ); + fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetSubroutineUniformLocation"), + def_glGetSubroutineUniformLocation, + ); + fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer( + proc("glGetSubroutineIndex"), + def_glGetSubroutineIndex, + ); + fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformiv"), + def_glGetActiveSubroutineUniformiv, + ); + fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformName"), + def_glGetActiveSubroutineUniformName, + ); + fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineName"), + def_glGetActiveSubroutineName, + ); + fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer( + proc("glUniformSubroutinesuiv"), + def_glUniformSubroutinesuiv, + ); + fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformSubroutineuiv"), + def_glGetUniformSubroutineuiv, + ); + fn_glGetProgramStageiv = new Deno.UnsafeFnPointer( + proc("glGetProgramStageiv"), + def_glGetProgramStageiv, + ); + fn_glPatchParameteri = new Deno.UnsafeFnPointer( + proc("glPatchParameteri"), + def_glPatchParameteri, + ); + fn_glPatchParameterfv = new Deno.UnsafeFnPointer( + proc("glPatchParameterfv"), + def_glPatchParameterfv, + ); + fn_glBindTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedback"), + def_glBindTransformFeedback, + ); + fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacks"), + def_glDeleteTransformFeedbacks, + ); + fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacks"), + def_glGenTransformFeedbacks, + ); + fn_glIsTransformFeedback = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedback"), + def_glIsTransformFeedback, + ); + fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedback"), + def_glPauseTransformFeedback, + ); + fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedback"), + def_glResumeTransformFeedback, + ); + fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedback"), + def_glDrawTransformFeedback, + ); + fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStream"), + def_glDrawTransformFeedbackStream, + ); + fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer( + proc("glBeginQueryIndexed"), + def_glBeginQueryIndexed, + ); + fn_glEndQueryIndexed = new Deno.UnsafeFnPointer( + proc("glEndQueryIndexed"), + def_glEndQueryIndexed, + ); + fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer( + proc("glGetQueryIndexediv"), + def_glGetQueryIndexediv, + ); + fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer( + proc("glReleaseShaderCompiler"), + def_glReleaseShaderCompiler, + ); + fn_glShaderBinary = new Deno.UnsafeFnPointer( + proc("glShaderBinary"), + def_glShaderBinary, + ); + fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer( + proc("glGetShaderPrecisionFormat"), + def_glGetShaderPrecisionFormat, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glGetProgramBinary = new Deno.UnsafeFnPointer( + proc("glGetProgramBinary"), + def_glGetProgramBinary, + ); + fn_glProgramBinary = new Deno.UnsafeFnPointer( + proc("glProgramBinary"), + def_glProgramBinary, + ); + fn_glProgramParameteri = new Deno.UnsafeFnPointer( + proc("glProgramParameteri"), + def_glProgramParameteri, + ); + fn_glUseProgramStages = new Deno.UnsafeFnPointer( + proc("glUseProgramStages"), + def_glUseProgramStages, + ); + fn_glActiveShaderProgram = new Deno.UnsafeFnPointer( + proc("glActiveShaderProgram"), + def_glActiveShaderProgram, + ); + fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer( + proc("glCreateShaderProgramv"), + def_glCreateShaderProgramv, + ); + fn_glBindProgramPipeline = new Deno.UnsafeFnPointer( + proc("glBindProgramPipeline"), + def_glBindProgramPipeline, + ); + fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer( + proc("glDeleteProgramPipelines"), + def_glDeleteProgramPipelines, + ); + fn_glGenProgramPipelines = new Deno.UnsafeFnPointer( + proc("glGenProgramPipelines"), + def_glGenProgramPipelines, + ); + fn_glIsProgramPipeline = new Deno.UnsafeFnPointer( + proc("glIsProgramPipeline"), + def_glIsProgramPipeline, + ); + fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineiv"), + def_glGetProgramPipelineiv, + ); + fn_glProgramUniform1i = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i"), + def_glProgramUniform1i, + ); + fn_glProgramUniform1iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1iv"), + def_glProgramUniform1iv, + ); + fn_glProgramUniform1f = new Deno.UnsafeFnPointer( + proc("glProgramUniform1f"), + def_glProgramUniform1f, + ); + fn_glProgramUniform1fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fv"), + def_glProgramUniform1fv, + ); + fn_glProgramUniform1d = new Deno.UnsafeFnPointer( + proc("glProgramUniform1d"), + def_glProgramUniform1d, + ); + fn_glProgramUniform1dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1dv"), + def_glProgramUniform1dv, + ); + fn_glProgramUniform1ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui"), + def_glProgramUniform1ui, + ); + fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uiv"), + def_glProgramUniform1uiv, + ); + fn_glProgramUniform2i = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i"), + def_glProgramUniform2i, + ); + fn_glProgramUniform2iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2iv"), + def_glProgramUniform2iv, + ); + fn_glProgramUniform2f = new Deno.UnsafeFnPointer( + proc("glProgramUniform2f"), + def_glProgramUniform2f, + ); + fn_glProgramUniform2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fv"), + def_glProgramUniform2fv, + ); + fn_glProgramUniform2d = new Deno.UnsafeFnPointer( + proc("glProgramUniform2d"), + def_glProgramUniform2d, + ); + fn_glProgramUniform2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2dv"), + def_glProgramUniform2dv, + ); + fn_glProgramUniform2ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui"), + def_glProgramUniform2ui, + ); + fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uiv"), + def_glProgramUniform2uiv, + ); + fn_glProgramUniform3i = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i"), + def_glProgramUniform3i, + ); + fn_glProgramUniform3iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3iv"), + def_glProgramUniform3iv, + ); + fn_glProgramUniform3f = new Deno.UnsafeFnPointer( + proc("glProgramUniform3f"), + def_glProgramUniform3f, + ); + fn_glProgramUniform3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fv"), + def_glProgramUniform3fv, + ); + fn_glProgramUniform3d = new Deno.UnsafeFnPointer( + proc("glProgramUniform3d"), + def_glProgramUniform3d, + ); + fn_glProgramUniform3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3dv"), + def_glProgramUniform3dv, + ); + fn_glProgramUniform3ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui"), + def_glProgramUniform3ui, + ); + fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uiv"), + def_glProgramUniform3uiv, + ); + fn_glProgramUniform4i = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i"), + def_glProgramUniform4i, + ); + fn_glProgramUniform4iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4iv"), + def_glProgramUniform4iv, + ); + fn_glProgramUniform4f = new Deno.UnsafeFnPointer( + proc("glProgramUniform4f"), + def_glProgramUniform4f, + ); + fn_glProgramUniform4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fv"), + def_glProgramUniform4fv, + ); + fn_glProgramUniform4d = new Deno.UnsafeFnPointer( + proc("glProgramUniform4d"), + def_glProgramUniform4d, + ); + fn_glProgramUniform4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4dv"), + def_glProgramUniform4dv, + ); + fn_glProgramUniform4ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui"), + def_glProgramUniform4ui, + ); + fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uiv"), + def_glProgramUniform4uiv, + ); + fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2fv"), + def_glProgramUniformMatrix2fv, + ); + fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3fv"), + def_glProgramUniformMatrix3fv, + ); + fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4fv"), + def_glProgramUniformMatrix4fv, + ); + fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2dv"), + def_glProgramUniformMatrix2dv, + ); + fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3dv"), + def_glProgramUniformMatrix3dv, + ); + fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4dv"), + def_glProgramUniformMatrix4dv, + ); + fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3fv"), + def_glProgramUniformMatrix2x3fv, + ); + fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2fv"), + def_glProgramUniformMatrix3x2fv, + ); + fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4fv"), + def_glProgramUniformMatrix2x4fv, + ); + fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2fv"), + def_glProgramUniformMatrix4x2fv, + ); + fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4fv"), + def_glProgramUniformMatrix3x4fv, + ); + fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3fv"), + def_glProgramUniformMatrix4x3fv, + ); + fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3dv"), + def_glProgramUniformMatrix2x3dv, + ); + fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2dv"), + def_glProgramUniformMatrix3x2dv, + ); + fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4dv"), + def_glProgramUniformMatrix2x4dv, + ); + fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2dv"), + def_glProgramUniformMatrix4x2dv, + ); + fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4dv"), + def_glProgramUniformMatrix3x4dv, + ); + fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3dv"), + def_glProgramUniformMatrix4x3dv, + ); + fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer( + proc("glValidateProgramPipeline"), + def_glValidateProgramPipeline, + ); + fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineInfoLog"), + def_glGetProgramPipelineInfoLog, + ); + fn_glVertexAttribL1d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1d"), + def_glVertexAttribL1d, + ); + fn_glVertexAttribL2d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2d"), + def_glVertexAttribL2d, + ); + fn_glVertexAttribL3d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3d"), + def_glVertexAttribL3d, + ); + fn_glVertexAttribL4d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4d"), + def_glVertexAttribL4d, + ); + fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1dv"), + def_glVertexAttribL1dv, + ); + fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2dv"), + def_glVertexAttribL2dv, + ); + fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3dv"), + def_glVertexAttribL3dv, + ); + fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4dv"), + def_glVertexAttribL4dv, + ); + fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribLPointer"), + def_glVertexAttribLPointer, + ); + fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribLdv"), + def_glGetVertexAttribLdv, + ); + fn_glViewportArrayv = new Deno.UnsafeFnPointer( + proc("glViewportArrayv"), + def_glViewportArrayv, + ); + fn_glViewportIndexedf = new Deno.UnsafeFnPointer( + proc("glViewportIndexedf"), + def_glViewportIndexedf, + ); + fn_glViewportIndexedfv = new Deno.UnsafeFnPointer( + proc("glViewportIndexedfv"), + def_glViewportIndexedfv, + ); + fn_glScissorArrayv = new Deno.UnsafeFnPointer( + proc("glScissorArrayv"), + def_glScissorArrayv, + ); + fn_glScissorIndexed = new Deno.UnsafeFnPointer( + proc("glScissorIndexed"), + def_glScissorIndexed, + ); + fn_glScissorIndexedv = new Deno.UnsafeFnPointer( + proc("glScissorIndexedv"), + def_glScissorIndexedv, + ); + fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer( + proc("glDepthRangeArrayv"), + def_glDepthRangeArrayv, + ); + fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer( + proc("glDepthRangeIndexed"), + def_glDepthRangeIndexed, + ); + fn_glGetFloati_v = new Deno.UnsafeFnPointer( + proc("glGetFloati_v"), + def_glGetFloati_v, + ); + fn_glGetDoublei_v = new Deno.UnsafeFnPointer( + proc("glGetDoublei_v"), + def_glGetDoublei_v, + ); + fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedBaseInstance"), + def_glDrawArraysInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseInstance"), + def_glDrawElementsInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertexBaseInstance"), + def_glDrawElementsInstancedBaseVertexBaseInstance, + ); + fn_glGetInternalformativ = new Deno.UnsafeFnPointer( + proc("glGetInternalformativ"), + def_glGetInternalformativ, + ); + fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer( + proc("glGetActiveAtomicCounterBufferiv"), + def_glGetActiveAtomicCounterBufferiv, + ); + fn_glBindImageTexture = new Deno.UnsafeFnPointer( + proc("glBindImageTexture"), + def_glBindImageTexture, + ); + fn_glMemoryBarrier = new Deno.UnsafeFnPointer( + proc("glMemoryBarrier"), + def_glMemoryBarrier, + ); + fn_glTexStorage1D = new Deno.UnsafeFnPointer( + proc("glTexStorage1D"), + def_glTexStorage1D, + ); + fn_glTexStorage2D = new Deno.UnsafeFnPointer( + proc("glTexStorage2D"), + def_glTexStorage2D, + ); + fn_glTexStorage3D = new Deno.UnsafeFnPointer( + proc("glTexStorage3D"), + def_glTexStorage3D, + ); + fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackInstanced"), + def_glDrawTransformFeedbackInstanced, + ); + fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStreamInstanced"), + def_glDrawTransformFeedbackStreamInstanced, + ); + fn_glClearBufferData = new Deno.UnsafeFnPointer( + proc("glClearBufferData"), + def_glClearBufferData, + ); + fn_glClearBufferSubData = new Deno.UnsafeFnPointer( + proc("glClearBufferSubData"), + def_glClearBufferSubData, + ); + fn_glDispatchCompute = new Deno.UnsafeFnPointer( + proc("glDispatchCompute"), + def_glDispatchCompute, + ); + fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer( + proc("glDispatchComputeIndirect"), + def_glDispatchComputeIndirect, + ); + fn_glCopyImageSubData = new Deno.UnsafeFnPointer( + proc("glCopyImageSubData"), + def_glCopyImageSubData, + ); + fn_glFramebufferParameteri = new Deno.UnsafeFnPointer( + proc("glFramebufferParameteri"), + def_glFramebufferParameteri, + ); + fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferParameteriv"), + def_glGetFramebufferParameteriv, + ); + fn_glGetInternalformati64v = new Deno.UnsafeFnPointer( + proc("glGetInternalformati64v"), + def_glGetInternalformati64v, + ); + fn_glInvalidateTexSubImage = new Deno.UnsafeFnPointer( + proc("glInvalidateTexSubImage"), + def_glInvalidateTexSubImage, + ); + fn_glInvalidateTexImage = new Deno.UnsafeFnPointer( + proc("glInvalidateTexImage"), + def_glInvalidateTexImage, + ); + fn_glInvalidateBufferSubData = new Deno.UnsafeFnPointer( + proc("glInvalidateBufferSubData"), + def_glInvalidateBufferSubData, + ); + fn_glInvalidateBufferData = new Deno.UnsafeFnPointer( + proc("glInvalidateBufferData"), + def_glInvalidateBufferData, + ); + fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateFramebuffer"), + def_glInvalidateFramebuffer, + ); + fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateSubFramebuffer"), + def_glInvalidateSubFramebuffer, + ); + fn_glMultiDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysIndirect"), + def_glMultiDrawArraysIndirect, + ); + fn_glMultiDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsIndirect"), + def_glMultiDrawElementsIndirect, + ); + fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramInterfaceiv"), + def_glGetProgramInterfaceiv, + ); + fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceIndex"), + def_glGetProgramResourceIndex, + ); + fn_glGetProgramResourceName = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceName"), + def_glGetProgramResourceName, + ); + fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceiv"), + def_glGetProgramResourceiv, + ); + fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocation"), + def_glGetProgramResourceLocation, + ); + fn_glGetProgramResourceLocationIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocationIndex"), + def_glGetProgramResourceLocationIndex, + ); + fn_glShaderStorageBlockBinding = new Deno.UnsafeFnPointer( + proc("glShaderStorageBlockBinding"), + def_glShaderStorageBlockBinding, + ); + fn_glTexBufferRange = new Deno.UnsafeFnPointer( + proc("glTexBufferRange"), + def_glTexBufferRange, + ); + fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage2DMultisample"), + def_glTexStorage2DMultisample, + ); + fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage3DMultisample"), + def_glTexStorage3DMultisample, + ); + fn_glTextureView = new Deno.UnsafeFnPointer( + proc("glTextureView"), + def_glTextureView, + ); + fn_glBindVertexBuffer = new Deno.UnsafeFnPointer( + proc("glBindVertexBuffer"), + def_glBindVertexBuffer, + ); + fn_glVertexAttribFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribFormat"), + def_glVertexAttribFormat, + ); + fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribIFormat"), + def_glVertexAttribIFormat, + ); + fn_glVertexAttribLFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribLFormat"), + def_glVertexAttribLFormat, + ); + fn_glVertexAttribBinding = new Deno.UnsafeFnPointer( + proc("glVertexAttribBinding"), + def_glVertexAttribBinding, + ); + fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer( + proc("glVertexBindingDivisor"), + def_glVertexBindingDivisor, + ); + fn_glDebugMessageControl = new Deno.UnsafeFnPointer( + proc("glDebugMessageControl"), + def_glDebugMessageControl, + ); + fn_glDebugMessageInsert = new Deno.UnsafeFnPointer( + proc("glDebugMessageInsert"), + def_glDebugMessageInsert, + ); + fn_glDebugMessageCallback = new Deno.UnsafeFnPointer( + proc("glDebugMessageCallback"), + def_glDebugMessageCallback, + ); + fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer( + proc("glGetDebugMessageLog"), + def_glGetDebugMessageLog, + ); + fn_glPushDebugGroup = new Deno.UnsafeFnPointer( + proc("glPushDebugGroup"), + def_glPushDebugGroup, + ); + fn_glPopDebugGroup = new Deno.UnsafeFnPointer( + proc("glPopDebugGroup"), + def_glPopDebugGroup, + ); + fn_glObjectLabel = new Deno.UnsafeFnPointer( + proc("glObjectLabel"), + def_glObjectLabel, + ); + fn_glGetObjectLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectLabel"), + def_glGetObjectLabel, + ); + fn_glObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glObjectPtrLabel"), + def_glObjectPtrLabel, + ); + fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectPtrLabel"), + def_glGetObjectPtrLabel, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glBufferStorage = new Deno.UnsafeFnPointer( + proc("glBufferStorage"), + def_glBufferStorage, + ); + fn_glClearTexImage = new Deno.UnsafeFnPointer( + proc("glClearTexImage"), + def_glClearTexImage, + ); + fn_glClearTexSubImage = new Deno.UnsafeFnPointer( + proc("glClearTexSubImage"), + def_glClearTexSubImage, + ); + fn_glBindBuffersBase = new Deno.UnsafeFnPointer( + proc("glBindBuffersBase"), + def_glBindBuffersBase, + ); + fn_glBindBuffersRange = new Deno.UnsafeFnPointer( + proc("glBindBuffersRange"), + def_glBindBuffersRange, + ); + fn_glBindTextures = new Deno.UnsafeFnPointer( + proc("glBindTextures"), + def_glBindTextures, + ); + fn_glBindSamplers = new Deno.UnsafeFnPointer( + proc("glBindSamplers"), + def_glBindSamplers, + ); + fn_glBindImageTextures = new Deno.UnsafeFnPointer( + proc("glBindImageTextures"), + def_glBindImageTextures, + ); + fn_glBindVertexBuffers = new Deno.UnsafeFnPointer( + proc("glBindVertexBuffers"), + def_glBindVertexBuffers, + ); + fn_glClipControl = new Deno.UnsafeFnPointer( + proc("glClipControl"), + def_glClipControl, + ); + fn_glCreateTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glCreateTransformFeedbacks"), + def_glCreateTransformFeedbacks, + ); + fn_glTransformFeedbackBufferBase = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackBufferBase"), + def_glTransformFeedbackBufferBase, + ); + fn_glTransformFeedbackBufferRange = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackBufferRange"), + def_glTransformFeedbackBufferRange, + ); + fn_glGetTransformFeedbackiv = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackiv"), + def_glGetTransformFeedbackiv, + ); + fn_glGetTransformFeedbacki_v = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbacki_v"), + def_glGetTransformFeedbacki_v, + ); + fn_glGetTransformFeedbacki64_v = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbacki64_v"), + def_glGetTransformFeedbacki64_v, + ); + fn_glCreateBuffers = new Deno.UnsafeFnPointer( + proc("glCreateBuffers"), + def_glCreateBuffers, + ); + fn_glNamedBufferStorage = new Deno.UnsafeFnPointer( + proc("glNamedBufferStorage"), + def_glNamedBufferStorage, + ); + fn_glNamedBufferData = new Deno.UnsafeFnPointer( + proc("glNamedBufferData"), + def_glNamedBufferData, + ); + fn_glNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glNamedBufferSubData"), + def_glNamedBufferSubData, + ); + fn_glCopyNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyNamedBufferSubData"), + def_glCopyNamedBufferSubData, + ); + fn_glClearNamedBufferData = new Deno.UnsafeFnPointer( + proc("glClearNamedBufferData"), + def_glClearNamedBufferData, + ); + fn_glClearNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glClearNamedBufferSubData"), + def_glClearNamedBufferSubData, + ); + fn_glMapNamedBuffer = new Deno.UnsafeFnPointer( + proc("glMapNamedBuffer"), + def_glMapNamedBuffer, + ); + fn_glMapNamedBufferRange = new Deno.UnsafeFnPointer( + proc("glMapNamedBufferRange"), + def_glMapNamedBufferRange, + ); + fn_glUnmapNamedBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapNamedBuffer"), + def_glUnmapNamedBuffer, + ); + fn_glFlushMappedNamedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedNamedBufferRange"), + def_glFlushMappedNamedBufferRange, + ); + fn_glGetNamedBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferParameteriv"), + def_glGetNamedBufferParameteriv, + ); + fn_glGetNamedBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferParameteri64v"), + def_glGetNamedBufferParameteri64v, + ); + fn_glGetNamedBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferPointerv"), + def_glGetNamedBufferPointerv, + ); + fn_glGetNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferSubData"), + def_glGetNamedBufferSubData, + ); + fn_glCreateFramebuffers = new Deno.UnsafeFnPointer( + proc("glCreateFramebuffers"), + def_glCreateFramebuffers, + ); + fn_glNamedFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferRenderbuffer"), + def_glNamedFramebufferRenderbuffer, + ); + fn_glNamedFramebufferParameteri = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferParameteri"), + def_glNamedFramebufferParameteri, + ); + fn_glNamedFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTexture"), + def_glNamedFramebufferTexture, + ); + fn_glNamedFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTextureLayer"), + def_glNamedFramebufferTextureLayer, + ); + fn_glNamedFramebufferDrawBuffer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferDrawBuffer"), + def_glNamedFramebufferDrawBuffer, + ); + fn_glNamedFramebufferDrawBuffers = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferDrawBuffers"), + def_glNamedFramebufferDrawBuffers, + ); + fn_glNamedFramebufferReadBuffer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferReadBuffer"), + def_glNamedFramebufferReadBuffer, + ); + fn_glInvalidateNamedFramebufferData = new Deno.UnsafeFnPointer( + proc("glInvalidateNamedFramebufferData"), + def_glInvalidateNamedFramebufferData, + ); + fn_glInvalidateNamedFramebufferSubData = new Deno.UnsafeFnPointer( + proc("glInvalidateNamedFramebufferSubData"), + def_glInvalidateNamedFramebufferSubData, + ); + fn_glClearNamedFramebufferiv = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferiv"), + def_glClearNamedFramebufferiv, + ); + fn_glClearNamedFramebufferuiv = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferuiv"), + def_glClearNamedFramebufferuiv, + ); + fn_glClearNamedFramebufferfv = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferfv"), + def_glClearNamedFramebufferfv, + ); + fn_glClearNamedFramebufferfi = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferfi"), + def_glClearNamedFramebufferfi, + ); + fn_glBlitNamedFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitNamedFramebuffer"), + def_glBlitNamedFramebuffer, + ); + fn_glCheckNamedFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckNamedFramebufferStatus"), + def_glCheckNamedFramebufferStatus, + ); + fn_glGetNamedFramebufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedFramebufferParameteriv"), + def_glGetNamedFramebufferParameteriv, + ); + fn_glGetNamedFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedFramebufferAttachmentParameteriv"), + def_glGetNamedFramebufferAttachmentParameteriv, + ); + fn_glCreateRenderbuffers = new Deno.UnsafeFnPointer( + proc("glCreateRenderbuffers"), + def_glCreateRenderbuffers, + ); + fn_glNamedRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glNamedRenderbufferStorage"), + def_glNamedRenderbufferStorage, + ); + fn_glNamedRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glNamedRenderbufferStorageMultisample"), + def_glNamedRenderbufferStorageMultisample, + ); + fn_glGetNamedRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedRenderbufferParameteriv"), + def_glGetNamedRenderbufferParameteriv, + ); + fn_glCreateTextures = new Deno.UnsafeFnPointer( + proc("glCreateTextures"), + def_glCreateTextures, + ); + fn_glTextureBuffer = new Deno.UnsafeFnPointer( + proc("glTextureBuffer"), + def_glTextureBuffer, + ); + fn_glTextureBufferRange = new Deno.UnsafeFnPointer( + proc("glTextureBufferRange"), + def_glTextureBufferRange, + ); + fn_glTextureStorage1D = new Deno.UnsafeFnPointer( + proc("glTextureStorage1D"), + def_glTextureStorage1D, + ); + fn_glTextureStorage2D = new Deno.UnsafeFnPointer( + proc("glTextureStorage2D"), + def_glTextureStorage2D, + ); + fn_glTextureStorage3D = new Deno.UnsafeFnPointer( + proc("glTextureStorage3D"), + def_glTextureStorage3D, + ); + fn_glTextureStorage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTextureStorage2DMultisample"), + def_glTextureStorage2DMultisample, + ); + fn_glTextureStorage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTextureStorage3DMultisample"), + def_glTextureStorage3DMultisample, + ); + fn_glTextureSubImage1D = new Deno.UnsafeFnPointer( + proc("glTextureSubImage1D"), + def_glTextureSubImage1D, + ); + fn_glTextureSubImage2D = new Deno.UnsafeFnPointer( + proc("glTextureSubImage2D"), + def_glTextureSubImage2D, + ); + fn_glTextureSubImage3D = new Deno.UnsafeFnPointer( + proc("glTextureSubImage3D"), + def_glTextureSubImage3D, + ); + fn_glCompressedTextureSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage1D"), + def_glCompressedTextureSubImage1D, + ); + fn_glCompressedTextureSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage2D"), + def_glCompressedTextureSubImage2D, + ); + fn_glCompressedTextureSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage3D"), + def_glCompressedTextureSubImage3D, + ); + fn_glCopyTextureSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage1D"), + def_glCopyTextureSubImage1D, + ); + fn_glCopyTextureSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage2D"), + def_glCopyTextureSubImage2D, + ); + fn_glCopyTextureSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage3D"), + def_glCopyTextureSubImage3D, + ); + fn_glTextureParameterf = new Deno.UnsafeFnPointer( + proc("glTextureParameterf"), + def_glTextureParameterf, + ); + fn_glTextureParameterfv = new Deno.UnsafeFnPointer( + proc("glTextureParameterfv"), + def_glTextureParameterfv, + ); + fn_glTextureParameteri = new Deno.UnsafeFnPointer( + proc("glTextureParameteri"), + def_glTextureParameteri, + ); + fn_glTextureParameterIiv = new Deno.UnsafeFnPointer( + proc("glTextureParameterIiv"), + def_glTextureParameterIiv, + ); + fn_glTextureParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTextureParameterIuiv"), + def_glTextureParameterIuiv, + ); + fn_glTextureParameteriv = new Deno.UnsafeFnPointer( + proc("glTextureParameteriv"), + def_glTextureParameteriv, + ); + fn_glGenerateTextureMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateTextureMipmap"), + def_glGenerateTextureMipmap, + ); + fn_glBindTextureUnit = new Deno.UnsafeFnPointer( + proc("glBindTextureUnit"), + def_glBindTextureUnit, + ); + fn_glGetTextureImage = new Deno.UnsafeFnPointer( + proc("glGetTextureImage"), + def_glGetTextureImage, + ); + fn_glGetCompressedTextureImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTextureImage"), + def_glGetCompressedTextureImage, + ); + fn_glGetTextureLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTextureLevelParameterfv"), + def_glGetTextureLevelParameterfv, + ); + fn_glGetTextureLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTextureLevelParameteriv"), + def_glGetTextureLevelParameteriv, + ); + fn_glGetTextureParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterfv"), + def_glGetTextureParameterfv, + ); + fn_glGetTextureParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterIiv"), + def_glGetTextureParameterIiv, + ); + fn_glGetTextureParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterIuiv"), + def_glGetTextureParameterIuiv, + ); + fn_glGetTextureParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameteriv"), + def_glGetTextureParameteriv, + ); + fn_glCreateVertexArrays = new Deno.UnsafeFnPointer( + proc("glCreateVertexArrays"), + def_glCreateVertexArrays, + ); + fn_glDisableVertexArrayAttrib = new Deno.UnsafeFnPointer( + proc("glDisableVertexArrayAttrib"), + def_glDisableVertexArrayAttrib, + ); + fn_glEnableVertexArrayAttrib = new Deno.UnsafeFnPointer( + proc("glEnableVertexArrayAttrib"), + def_glEnableVertexArrayAttrib, + ); + fn_glVertexArrayElementBuffer = new Deno.UnsafeFnPointer( + proc("glVertexArrayElementBuffer"), + def_glVertexArrayElementBuffer, + ); + fn_glVertexArrayVertexBuffer = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexBuffer"), + def_glVertexArrayVertexBuffer, + ); + fn_glVertexArrayVertexBuffers = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexBuffers"), + def_glVertexArrayVertexBuffers, + ); + fn_glVertexArrayAttribBinding = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribBinding"), + def_glVertexArrayAttribBinding, + ); + fn_glVertexArrayAttribFormat = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribFormat"), + def_glVertexArrayAttribFormat, + ); + fn_glVertexArrayAttribIFormat = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribIFormat"), + def_glVertexArrayAttribIFormat, + ); + fn_glVertexArrayAttribLFormat = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribLFormat"), + def_glVertexArrayAttribLFormat, + ); + fn_glVertexArrayBindingDivisor = new Deno.UnsafeFnPointer( + proc("glVertexArrayBindingDivisor"), + def_glVertexArrayBindingDivisor, + ); + fn_glGetVertexArrayiv = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayiv"), + def_glGetVertexArrayiv, + ); + fn_glGetVertexArrayIndexediv = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayIndexediv"), + def_glGetVertexArrayIndexediv, + ); + fn_glGetVertexArrayIndexed64iv = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayIndexed64iv"), + def_glGetVertexArrayIndexed64iv, + ); + fn_glCreateSamplers = new Deno.UnsafeFnPointer( + proc("glCreateSamplers"), + def_glCreateSamplers, + ); + fn_glCreateProgramPipelines = new Deno.UnsafeFnPointer( + proc("glCreateProgramPipelines"), + def_glCreateProgramPipelines, + ); + fn_glCreateQueries = new Deno.UnsafeFnPointer( + proc("glCreateQueries"), + def_glCreateQueries, + ); + fn_glGetQueryBufferObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjecti64v"), + def_glGetQueryBufferObjecti64v, + ); + fn_glGetQueryBufferObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjectiv"), + def_glGetQueryBufferObjectiv, + ); + fn_glGetQueryBufferObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjectui64v"), + def_glGetQueryBufferObjectui64v, + ); + fn_glGetQueryBufferObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjectuiv"), + def_glGetQueryBufferObjectuiv, + ); + fn_glMemoryBarrierByRegion = new Deno.UnsafeFnPointer( + proc("glMemoryBarrierByRegion"), + def_glMemoryBarrierByRegion, + ); + fn_glGetTextureSubImage = new Deno.UnsafeFnPointer( + proc("glGetTextureSubImage"), + def_glGetTextureSubImage, + ); + fn_glGetCompressedTextureSubImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTextureSubImage"), + def_glGetCompressedTextureSubImage, + ); + fn_glGetGraphicsResetStatus = new Deno.UnsafeFnPointer( + proc("glGetGraphicsResetStatus"), + def_glGetGraphicsResetStatus, + ); + fn_glGetnCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetnCompressedTexImage"), + def_glGetnCompressedTexImage, + ); + fn_glGetnTexImage = new Deno.UnsafeFnPointer( + proc("glGetnTexImage"), + def_glGetnTexImage, + ); + fn_glGetnUniformdv = new Deno.UnsafeFnPointer( + proc("glGetnUniformdv"), + def_glGetnUniformdv, + ); + fn_glGetnUniformfv = new Deno.UnsafeFnPointer( + proc("glGetnUniformfv"), + def_glGetnUniformfv, + ); + fn_glGetnUniformiv = new Deno.UnsafeFnPointer( + proc("glGetnUniformiv"), + def_glGetnUniformiv, + ); + fn_glGetnUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetnUniformuiv"), + def_glGetnUniformuiv, + ); + fn_glReadnPixels = new Deno.UnsafeFnPointer( + proc("glReadnPixels"), + def_glReadnPixels, + ); + fn_glGetnMapdv = new Deno.UnsafeFnPointer( + proc("glGetnMapdv"), + def_glGetnMapdv, + ); + fn_glGetnMapfv = new Deno.UnsafeFnPointer( + proc("glGetnMapfv"), + def_glGetnMapfv, + ); + fn_glGetnMapiv = new Deno.UnsafeFnPointer( + proc("glGetnMapiv"), + def_glGetnMapiv, + ); + fn_glGetnPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetnPixelMapfv"), + def_glGetnPixelMapfv, + ); + fn_glGetnPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetnPixelMapuiv"), + def_glGetnPixelMapuiv, + ); + fn_glGetnPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetnPixelMapusv"), + def_glGetnPixelMapusv, + ); + fn_glGetnPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetnPolygonStipple"), + def_glGetnPolygonStipple, + ); + fn_glGetnColorTable = new Deno.UnsafeFnPointer( + proc("glGetnColorTable"), + def_glGetnColorTable, + ); + fn_glGetnConvolutionFilter = new Deno.UnsafeFnPointer( + proc("glGetnConvolutionFilter"), + def_glGetnConvolutionFilter, + ); + fn_glGetnSeparableFilter = new Deno.UnsafeFnPointer( + proc("glGetnSeparableFilter"), + def_glGetnSeparableFilter, + ); + fn_glGetnHistogram = new Deno.UnsafeFnPointer( + proc("glGetnHistogram"), + def_glGetnHistogram, + ); + fn_glGetnMinmax = new Deno.UnsafeFnPointer( + proc("glGetnMinmax"), + def_glGetnMinmax, + ); + fn_glTextureBarrier = new Deno.UnsafeFnPointer( + proc("glTextureBarrier"), + def_glTextureBarrier, + ); } diff --git a/api/gl4.6.ts b/api/gl4.6.ts index 46c6ca6..ced98d3 100644 --- a/api/gl4.6.ts +++ b/api/gl4.6.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1014,7 +1022,8 @@ export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS = 0x92c5; export const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES = 0x92c6; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER = 0x92c7; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER = 0x92c8; -export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x92c9; +export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = + 0x92c9; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER = 0x92ca; export const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER = 0x92cb; export const MAX_VERTEX_ATOMIC_COUNTER_BUFFERS = 0x92cc; @@ -1664,7 +1673,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2161,7 +2180,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -2180,7 +2201,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -2199,7 +2222,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -2220,7 +2245,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -2407,7 +2434,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -2432,7 +2461,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -2484,7 +2515,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2585,7 +2626,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -2606,7 +2649,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2639,7 +2693,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2678,7 +2744,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -2737,11 +2805,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -2772,7 +2852,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -2801,7 +2883,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -2824,11 +2908,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -2859,11 +2957,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -2894,7 +3004,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -2921,7 +3033,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -2940,7 +3054,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -2982,7 +3098,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -3228,7 +3346,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -3408,7 +3528,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -3427,7 +3549,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -3446,7 +3570,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -3480,7 +3606,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -3501,7 +3629,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -3522,7 +3652,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -3556,7 +3688,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -3663,7 +3797,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -3678,7 +3814,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -3747,7 +3885,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -3768,7 +3908,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -3804,7 +3946,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -3886,7 +4030,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -3941,7 +4087,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -3960,7 +4108,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -3979,7 +4129,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -3998,7 +4150,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -4886,7 +5040,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -4903,7 +5059,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -4920,7 +5078,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -5142,7 +5302,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -5167,7 +5329,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -5188,7 +5352,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -5209,7 +5375,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -5230,7 +5398,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -5251,7 +5421,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -5272,7 +5444,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -5405,7 +5579,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -5420,7 +5596,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -5473,7 +5651,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -5494,7 +5674,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -5538,7 +5720,9 @@ export const def_glBeginConditionalRender = { result: "void", } as const; -let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRender +>; export function BeginConditionalRender( id: GLuint, @@ -5555,7 +5739,9 @@ export const def_glEndConditionalRender = { result: "void", } as const; -let fn_glEndConditionalRender!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRender +>; export function EndConditionalRender(): void { fn_glEndConditionalRender.call(); @@ -5566,7 +5752,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -5589,7 +5777,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -5608,7 +5798,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -5855,7 +6047,9 @@ export const def_glVertexAttribI1uiv = { result: "void", } as const; -let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiv +>; export function VertexAttribI1uiv( index: GLuint, @@ -5872,7 +6066,9 @@ export const def_glVertexAttribI2uiv = { result: "void", } as const; -let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiv +>; export function VertexAttribI2uiv( index: GLuint, @@ -5889,7 +6085,9 @@ export const def_glVertexAttribI3uiv = { result: "void", } as const; -let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiv +>; export function VertexAttribI3uiv( index: GLuint, @@ -5906,7 +6104,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -5957,7 +6157,9 @@ export const def_glVertexAttribI4ubv = { result: "void", } as const; -let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubv +>; export function VertexAttribI4ubv( index: GLuint, @@ -5974,7 +6176,9 @@ export const def_glVertexAttribI4usv = { result: "void", } as const; -let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usv +>; export function VertexAttribI4usv( index: GLuint, @@ -6010,7 +6214,9 @@ export const def_glBindFragDataLocation = { result: "void", } as const; -let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocation +>; export function BindFragDataLocation( program: GLuint, @@ -6029,7 +6235,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -6240,7 +6448,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -6259,7 +6469,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -6405,7 +6617,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -6439,7 +6653,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -6460,7 +6676,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -6511,7 +6729,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -6545,7 +6765,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -6560,7 +6782,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -6583,7 +6807,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -6606,7 +6832,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -6631,7 +6859,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -6652,7 +6882,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -6684,7 +6916,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -6721,7 +6964,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -6744,7 +6989,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -6788,7 +7035,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -6822,7 +7071,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -6871,7 +7122,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -6892,7 +7145,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -6934,7 +7189,9 @@ export const def_glPrimitiveRestartIndex = { result: "void", } as const; -let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartIndex +>; export function PrimitiveRestartIndex( index: GLuint, @@ -6949,7 +7206,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -6972,7 +7231,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -6993,7 +7254,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -7016,7 +7279,9 @@ export const def_glGetActiveUniformName = { result: "void", } as const; -let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformName +>; export function GetActiveUniformName( program: GLuint, @@ -7039,7 +7304,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -7056,7 +7323,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -7077,7 +7346,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -7100,7 +7371,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -7119,7 +7392,9 @@ export const def_glDrawElementsBaseVertex = { result: "void", } as const; -let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertex +>; export function DrawElementsBaseVertex( mode: GLenum, @@ -7142,7 +7417,9 @@ export const def_glDrawRangeElementsBaseVertex = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertex +>; export function DrawRangeElementsBaseVertex( mode: GLenum, @@ -7169,7 +7446,9 @@ export const def_glDrawElementsInstancedBaseVertex = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertex +>; export function DrawElementsInstancedBaseVertex( mode: GLenum, @@ -7194,7 +7473,9 @@ export const def_glMultiDrawElementsBaseVertex = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertex +>; export function MultiDrawElementsBaseVertex( mode: GLenum, @@ -7378,7 +7659,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -7397,7 +7680,9 @@ export const def_glFramebufferTexture = { result: "void", } as const; -let fn_glFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture +>; export function FramebufferTexture( target: GLenum, @@ -7418,7 +7703,9 @@ export const def_glTexImage2DMultisample = { result: "void", } as const; -let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage2DMultisample +>; export function TexImage2DMultisample( target: GLenum, @@ -7443,7 +7730,9 @@ export const def_glTexImage3DMultisample = { result: "void", } as const; -let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage3DMultisample +>; export function TexImage3DMultisample( target: GLenum, @@ -7506,7 +7795,9 @@ export const def_glBindFragDataLocationIndexed = { result: "void", } as const; -let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationIndexed +>; export function BindFragDataLocationIndexed( program: GLuint, @@ -7610,7 +7901,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -7629,7 +7922,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -7648,7 +7943,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -7667,7 +7964,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -7686,7 +7985,9 @@ export const def_glSamplerParameterIiv = { result: "void", } as const; -let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIiv +>; export function SamplerParameterIiv( sampler: GLuint, @@ -7705,7 +8006,9 @@ export const def_glSamplerParameterIuiv = { result: "void", } as const; -let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuiv +>; export function SamplerParameterIuiv( sampler: GLuint, @@ -7724,7 +8027,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -7743,7 +8048,9 @@ export const def_glGetSamplerParameterIiv = { result: "void", } as const; -let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIiv +>; export function GetSamplerParameterIiv( sampler: GLuint, @@ -7762,7 +8069,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -7781,7 +8090,9 @@ export const def_glGetSamplerParameterIuiv = { result: "void", } as const; -let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuiv +>; export function GetSamplerParameterIuiv( sampler: GLuint, @@ -7817,7 +8128,9 @@ export const def_glGetQueryObjecti64v = { result: "void", } as const; -let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjecti64v +>; export function GetQueryObjecti64v( id: GLuint, @@ -7836,7 +8149,9 @@ export const def_glGetQueryObjectui64v = { result: "void", } as const; -let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectui64v +>; export function GetQueryObjectui64v( id: GLuint, @@ -7855,7 +8170,9 @@ export const def_glVertexAttribDivisor = { result: "void", } as const; -let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisor +>; export function VertexAttribDivisor( index: GLuint, @@ -7893,7 +8210,9 @@ export const def_glVertexAttribP1uiv = { result: "void", } as const; -let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP1uiv +>; export function VertexAttribP1uiv( index: GLuint, @@ -7935,7 +8254,9 @@ export const def_glVertexAttribP2uiv = { result: "void", } as const; -let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP2uiv +>; export function VertexAttribP2uiv( index: GLuint, @@ -7977,7 +8298,9 @@ export const def_glVertexAttribP3uiv = { result: "void", } as const; -let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP3uiv +>; export function VertexAttribP3uiv( index: GLuint, @@ -8019,7 +8342,9 @@ export const def_glVertexAttribP4uiv = { result: "void", } as const; -let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP4uiv +>; export function VertexAttribP4uiv( index: GLuint, @@ -8278,7 +8603,9 @@ export const def_glMultiTexCoordP1ui = { result: "void", } as const; -let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1ui +>; export function MultiTexCoordP1ui( texture: GLenum, @@ -8297,7 +8624,9 @@ export const def_glMultiTexCoordP1uiv = { result: "void", } as const; -let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1uiv +>; export function MultiTexCoordP1uiv( texture: GLenum, @@ -8316,7 +8645,9 @@ export const def_glMultiTexCoordP2ui = { result: "void", } as const; -let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2ui +>; export function MultiTexCoordP2ui( texture: GLenum, @@ -8335,7 +8666,9 @@ export const def_glMultiTexCoordP2uiv = { result: "void", } as const; -let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2uiv +>; export function MultiTexCoordP2uiv( texture: GLenum, @@ -8354,7 +8687,9 @@ export const def_glMultiTexCoordP3ui = { result: "void", } as const; -let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3ui +>; export function MultiTexCoordP3ui( texture: GLenum, @@ -8373,7 +8708,9 @@ export const def_glMultiTexCoordP3uiv = { result: "void", } as const; -let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3uiv +>; export function MultiTexCoordP3uiv( texture: GLenum, @@ -8392,7 +8729,9 @@ export const def_glMultiTexCoordP4ui = { result: "void", } as const; -let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4ui +>; export function MultiTexCoordP4ui( texture: GLenum, @@ -8411,7 +8750,9 @@ export const def_glMultiTexCoordP4uiv = { result: "void", } as const; -let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4uiv +>; export function MultiTexCoordP4uiv( texture: GLenum, @@ -8532,7 +8873,9 @@ export const def_glSecondaryColorP3ui = { result: "void", } as const; -let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3ui +>; export function SecondaryColorP3ui( type: GLenum, @@ -8549,7 +8892,9 @@ export const def_glSecondaryColorP3uiv = { result: "void", } as const; -let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3uiv +>; export function SecondaryColorP3uiv( type: GLenum, @@ -8598,7 +8943,9 @@ export const def_glBlendEquationSeparatei = { result: "void", } as const; -let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparatei +>; export function BlendEquationSeparatei( buf: GLuint, @@ -8636,7 +8983,9 @@ export const def_glBlendFuncSeparatei = { result: "void", } as const; -let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparatei +>; export function BlendFuncSeparatei( buf: GLuint, @@ -8659,7 +9008,9 @@ export const def_glDrawArraysIndirect = { result: "void", } as const; -let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysIndirect +>; export function DrawArraysIndirect( mode: GLenum, @@ -8676,7 +9027,9 @@ export const def_glDrawElementsIndirect = { result: "void", } as const; -let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsIndirect +>; export function DrawElementsIndirect( mode: GLenum, @@ -8914,7 +9267,9 @@ export const def_glUniformMatrix2x3dv = { result: "void", } as const; -let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3dv +>; export function UniformMatrix2x3dv( location: GLint, @@ -8935,7 +9290,9 @@ export const def_glUniformMatrix2x4dv = { result: "void", } as const; -let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4dv +>; export function UniformMatrix2x4dv( location: GLint, @@ -8956,7 +9313,9 @@ export const def_glUniformMatrix3x2dv = { result: "void", } as const; -let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2dv +>; export function UniformMatrix3x2dv( location: GLint, @@ -8977,7 +9336,9 @@ export const def_glUniformMatrix3x4dv = { result: "void", } as const; -let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4dv +>; export function UniformMatrix3x4dv( location: GLint, @@ -8998,7 +9359,9 @@ export const def_glUniformMatrix4x2dv = { result: "void", } as const; -let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2dv +>; export function UniformMatrix4x2dv( location: GLint, @@ -9019,7 +9382,9 @@ export const def_glUniformMatrix4x3dv = { result: "void", } as const; -let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3dv +>; export function UniformMatrix4x3dv( location: GLint, @@ -9059,7 +9424,9 @@ export const def_glGetSubroutineUniformLocation = { result: "i32", } as const; -let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineUniformLocation +>; export function GetSubroutineUniformLocation( program: GLuint, @@ -9078,7 +9445,9 @@ export const def_glGetSubroutineIndex = { result: "u32", } as const; -let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineIndex +>; export function GetSubroutineIndex( program: GLuint, @@ -9097,7 +9466,9 @@ export const def_glGetActiveSubroutineUniformiv = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformiv +>; export function GetActiveSubroutineUniformiv( program: GLuint, @@ -9120,7 +9491,9 @@ export const def_glGetActiveSubroutineUniformName = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformName +>; export function GetActiveSubroutineUniformName( program: GLuint, @@ -9145,7 +9518,9 @@ export const def_glGetActiveSubroutineName = { result: "void", } as const; -let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineName +>; export function GetActiveSubroutineName( program: GLuint, @@ -9170,7 +9545,9 @@ export const def_glUniformSubroutinesuiv = { result: "void", } as const; -let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer; +let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer< + typeof def_glUniformSubroutinesuiv +>; export function UniformSubroutinesuiv( shadertype: GLenum, @@ -9189,7 +9566,9 @@ export const def_glGetUniformSubroutineuiv = { result: "void", } as const; -let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer; +let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer< + typeof def_glGetUniformSubroutineuiv +>; export function GetUniformSubroutineuiv( shadertype: GLenum, @@ -9208,7 +9587,9 @@ export const def_glGetProgramStageiv = { result: "void", } as const; -let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramStageiv +>; export function GetProgramStageiv( program: GLuint, @@ -9263,7 +9644,9 @@ export const def_glBindTransformFeedback = { result: "void", } as const; -let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedback +>; export function BindTransformFeedback( target: GLenum, @@ -9280,7 +9663,9 @@ export const def_glDeleteTransformFeedbacks = { result: "void", } as const; -let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacks +>; export function DeleteTransformFeedbacks( n: GLsizei, @@ -9297,7 +9682,9 @@ export const def_glGenTransformFeedbacks = { result: "void", } as const; -let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacks +>; export function GenTransformFeedbacks( n: GLsizei, @@ -9314,7 +9701,9 @@ export const def_glIsTransformFeedback = { result: "u8", } as const; -let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedback +>; export function IsTransformFeedback( id: GLuint, @@ -9329,7 +9718,9 @@ export const def_glPauseTransformFeedback = { result: "void", } as const; -let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedback +>; export function PauseTransformFeedback(): void { fn_glPauseTransformFeedback.call(); @@ -9340,7 +9731,9 @@ export const def_glResumeTransformFeedback = { result: "void", } as const; -let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedback +>; export function ResumeTransformFeedback(): void { fn_glResumeTransformFeedback.call(); @@ -9351,7 +9744,9 @@ export const def_glDrawTransformFeedback = { result: "void", } as const; -let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedback +>; export function DrawTransformFeedback( mode: GLenum, @@ -9368,7 +9763,9 @@ export const def_glDrawTransformFeedbackStream = { result: "void", } as const; -let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStream +>; export function DrawTransformFeedbackStream( mode: GLenum, @@ -9387,7 +9784,9 @@ export const def_glBeginQueryIndexed = { result: "void", } as const; -let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer; +let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer< + typeof def_glBeginQueryIndexed +>; export function BeginQueryIndexed( target: GLenum, @@ -9423,7 +9822,9 @@ export const def_glGetQueryIndexediv = { result: "void", } as const; -let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer; +let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryIndexediv +>; export function GetQueryIndexediv( target: GLenum, @@ -9444,7 +9845,9 @@ export const def_glReleaseShaderCompiler = { result: "void", } as const; -let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer; +let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer< + typeof def_glReleaseShaderCompiler +>; export function ReleaseShaderCompiler(): void { fn_glReleaseShaderCompiler.call(); @@ -9478,7 +9881,9 @@ export const def_glGetShaderPrecisionFormat = { result: "void", } as const; -let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer; +let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer< + typeof def_glGetShaderPrecisionFormat +>; export function GetShaderPrecisionFormat( shadertype: GLenum, @@ -9575,7 +9980,9 @@ export const def_glProgramParameteri = { result: "void", } as const; -let fn_glProgramParameteri!: Deno.UnsafeFnPointer; +let fn_glProgramParameteri!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteri +>; export function ProgramParameteri( program: GLuint, @@ -9613,7 +10020,9 @@ export const def_glActiveShaderProgram = { result: "void", } as const; -let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer; +let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer< + typeof def_glActiveShaderProgram +>; export function ActiveShaderProgram( pipeline: GLuint, @@ -9630,7 +10039,9 @@ export const def_glCreateShaderProgramv = { result: "u32", } as const; -let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer; +let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderProgramv +>; export function CreateShaderProgramv( type: GLenum, @@ -9649,7 +10060,9 @@ export const def_glBindProgramPipeline = { result: "void", } as const; -let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glBindProgramPipeline +>; export function BindProgramPipeline( pipeline: GLuint, @@ -9664,7 +10077,9 @@ export const def_glDeleteProgramPipelines = { result: "void", } as const; -let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramPipelines +>; export function DeleteProgramPipelines( n: GLsizei, @@ -9681,7 +10096,9 @@ export const def_glGenProgramPipelines = { result: "void", } as const; -let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glGenProgramPipelines +>; export function GenProgramPipelines( n: GLsizei, @@ -9698,7 +10115,9 @@ export const def_glIsProgramPipeline = { result: "u8", } as const; -let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glIsProgramPipeline +>; export function IsProgramPipeline( pipeline: GLuint, @@ -9713,7 +10132,9 @@ export const def_glGetProgramPipelineiv = { result: "void", } as const; -let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineiv +>; export function GetProgramPipelineiv( pipeline: GLuint, @@ -9751,7 +10172,9 @@ export const def_glProgramUniform1iv = { result: "void", } as const; -let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1iv +>; export function ProgramUniform1iv( program: GLuint, @@ -9791,7 +10214,9 @@ export const def_glProgramUniform1fv = { result: "void", } as const; -let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fv +>; export function ProgramUniform1fv( program: GLuint, @@ -9831,7 +10256,9 @@ export const def_glProgramUniform1dv = { result: "void", } as const; -let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1dv +>; export function ProgramUniform1dv( program: GLuint, @@ -9852,7 +10279,9 @@ export const def_glProgramUniform1ui = { result: "void", } as const; -let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui +>; export function ProgramUniform1ui( program: GLuint, @@ -9871,7 +10300,9 @@ export const def_glProgramUniform1uiv = { result: "void", } as const; -let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uiv +>; export function ProgramUniform1uiv( program: GLuint, @@ -9913,7 +10344,9 @@ export const def_glProgramUniform2iv = { result: "void", } as const; -let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2iv +>; export function ProgramUniform2iv( program: GLuint, @@ -9955,7 +10388,9 @@ export const def_glProgramUniform2fv = { result: "void", } as const; -let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fv +>; export function ProgramUniform2fv( program: GLuint, @@ -9997,7 +10432,9 @@ export const def_glProgramUniform2dv = { result: "void", } as const; -let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2dv +>; export function ProgramUniform2dv( program: GLuint, @@ -10018,7 +10455,9 @@ export const def_glProgramUniform2ui = { result: "void", } as const; -let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui +>; export function ProgramUniform2ui( program: GLuint, @@ -10039,7 +10478,9 @@ export const def_glProgramUniform2uiv = { result: "void", } as const; -let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uiv +>; export function ProgramUniform2uiv( program: GLuint, @@ -10083,7 +10524,9 @@ export const def_glProgramUniform3iv = { result: "void", } as const; -let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3iv +>; export function ProgramUniform3iv( program: GLuint, @@ -10127,7 +10570,9 @@ export const def_glProgramUniform3fv = { result: "void", } as const; -let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fv +>; export function ProgramUniform3fv( program: GLuint, @@ -10171,7 +10616,9 @@ export const def_glProgramUniform3dv = { result: "void", } as const; -let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3dv +>; export function ProgramUniform3dv( program: GLuint, @@ -10192,7 +10639,9 @@ export const def_glProgramUniform3ui = { result: "void", } as const; -let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui +>; export function ProgramUniform3ui( program: GLuint, @@ -10215,7 +10664,9 @@ export const def_glProgramUniform3uiv = { result: "void", } as const; -let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uiv +>; export function ProgramUniform3uiv( program: GLuint, @@ -10261,7 +10712,9 @@ export const def_glProgramUniform4iv = { result: "void", } as const; -let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4iv +>; export function ProgramUniform4iv( program: GLuint, @@ -10307,7 +10760,9 @@ export const def_glProgramUniform4fv = { result: "void", } as const; -let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fv +>; export function ProgramUniform4fv( program: GLuint, @@ -10353,7 +10808,9 @@ export const def_glProgramUniform4dv = { result: "void", } as const; -let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4dv +>; export function ProgramUniform4dv( program: GLuint, @@ -10374,7 +10831,9 @@ export const def_glProgramUniform4ui = { result: "void", } as const; -let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui +>; export function ProgramUniform4ui( program: GLuint, @@ -10399,7 +10858,9 @@ export const def_glProgramUniform4uiv = { result: "void", } as const; -let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uiv +>; export function ProgramUniform4uiv( program: GLuint, @@ -10420,7 +10881,9 @@ export const def_glProgramUniformMatrix2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2fv +>; export function ProgramUniformMatrix2fv( program: GLuint, @@ -10443,7 +10906,9 @@ export const def_glProgramUniformMatrix3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3fv +>; export function ProgramUniformMatrix3fv( program: GLuint, @@ -10466,7 +10931,9 @@ export const def_glProgramUniformMatrix4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4fv +>; export function ProgramUniformMatrix4fv( program: GLuint, @@ -10489,7 +10956,9 @@ export const def_glProgramUniformMatrix2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2dv +>; export function ProgramUniformMatrix2dv( program: GLuint, @@ -10512,7 +10981,9 @@ export const def_glProgramUniformMatrix3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3dv +>; export function ProgramUniformMatrix3dv( program: GLuint, @@ -10535,7 +11006,9 @@ export const def_glProgramUniformMatrix4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4dv +>; export function ProgramUniformMatrix4dv( program: GLuint, @@ -10558,7 +11031,9 @@ export const def_glProgramUniformMatrix2x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3fv +>; export function ProgramUniformMatrix2x3fv( program: GLuint, @@ -10581,7 +11056,9 @@ export const def_glProgramUniformMatrix3x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2fv +>; export function ProgramUniformMatrix3x2fv( program: GLuint, @@ -10604,7 +11081,9 @@ export const def_glProgramUniformMatrix2x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4fv +>; export function ProgramUniformMatrix2x4fv( program: GLuint, @@ -10627,7 +11106,9 @@ export const def_glProgramUniformMatrix4x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2fv +>; export function ProgramUniformMatrix4x2fv( program: GLuint, @@ -10650,7 +11131,9 @@ export const def_glProgramUniformMatrix3x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4fv +>; export function ProgramUniformMatrix3x4fv( program: GLuint, @@ -10673,7 +11156,9 @@ export const def_glProgramUniformMatrix4x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3fv +>; export function ProgramUniformMatrix4x3fv( program: GLuint, @@ -10696,7 +11181,9 @@ export const def_glProgramUniformMatrix2x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3dv +>; export function ProgramUniformMatrix2x3dv( program: GLuint, @@ -10719,7 +11206,9 @@ export const def_glProgramUniformMatrix3x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2dv +>; export function ProgramUniformMatrix3x2dv( program: GLuint, @@ -10742,7 +11231,9 @@ export const def_glProgramUniformMatrix2x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4dv +>; export function ProgramUniformMatrix2x4dv( program: GLuint, @@ -10765,7 +11256,9 @@ export const def_glProgramUniformMatrix4x2dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2dv +>; export function ProgramUniformMatrix4x2dv( program: GLuint, @@ -10788,7 +11281,9 @@ export const def_glProgramUniformMatrix3x4dv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4dv +>; export function ProgramUniformMatrix3x4dv( program: GLuint, @@ -10811,7 +11306,9 @@ export const def_glProgramUniformMatrix4x3dv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3dv +>; export function ProgramUniformMatrix4x3dv( program: GLuint, @@ -10834,7 +11331,9 @@ export const def_glValidateProgramPipeline = { result: "void", } as const; -let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glValidateProgramPipeline +>; export function ValidateProgramPipeline( pipeline: GLuint, @@ -10849,7 +11348,9 @@ export const def_glGetProgramPipelineInfoLog = { result: "void", } as const; -let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineInfoLog +>; export function GetProgramPipelineInfoLog( pipeline: GLuint, @@ -11018,7 +11519,9 @@ export const def_glVertexAttribLPointer = { result: "void", } as const; -let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLPointer +>; export function VertexAttribLPointer( index: GLuint, @@ -11041,7 +11544,9 @@ export const def_glGetVertexAttribLdv = { result: "void", } as const; -let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribLdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribLdv +>; export function GetVertexAttribLdv( index: GLuint, @@ -11102,7 +11607,9 @@ export const def_glViewportIndexedfv = { result: "void", } as const; -let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer; +let fn_glViewportIndexedfv!: Deno.UnsafeFnPointer< + typeof def_glViewportIndexedfv +>; export function ViewportIndexedfv( index: GLuint, @@ -11197,7 +11704,9 @@ export const def_glDepthRangeIndexed = { result: "void", } as const; -let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer; +let fn_glDepthRangeIndexed!: Deno.UnsafeFnPointer< + typeof def_glDepthRangeIndexed +>; export function DepthRangeIndexed( index: GLuint, @@ -11254,7 +11763,9 @@ export const def_glDrawArraysInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstancedBaseInstance +>; export function DrawArraysInstancedBaseInstance( mode: GLenum, @@ -11277,7 +11788,9 @@ export const def_glDrawElementsInstancedBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseInstance +>; export function DrawElementsInstancedBaseInstance( mode: GLenum, @@ -11302,7 +11815,9 @@ export const def_glDrawElementsInstancedBaseVertexBaseInstance = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertexBaseInstance!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertexBaseInstance +>; export function DrawElementsInstancedBaseVertexBaseInstance( mode: GLenum, @@ -11329,7 +11844,9 @@ export const def_glGetInternalformativ = { result: "void", } as const; -let fn_glGetInternalformativ!: Deno.UnsafeFnPointer; +let fn_glGetInternalformativ!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformativ +>; export function GetInternalformativ( target: GLenum, @@ -11352,7 +11869,9 @@ export const def_glGetActiveAtomicCounterBufferiv = { result: "void", } as const; -let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveAtomicCounterBufferiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveAtomicCounterBufferiv +>; export function GetActiveAtomicCounterBufferiv( program: GLuint, @@ -11484,7 +12003,9 @@ export const def_glDrawTransformFeedbackInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackInstanced +>; export function DrawTransformFeedbackInstanced( mode: GLenum, @@ -11503,7 +12024,9 @@ export const def_glDrawTransformFeedbackStreamInstanced = { result: "void", } as const; -let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStreamInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStreamInstanced +>; export function DrawTransformFeedbackStreamInstanced( mode: GLenum, @@ -11547,7 +12070,9 @@ export const def_glClearBufferSubData = { result: "void", } as const; -let fn_glClearBufferSubData!: Deno.UnsafeFnPointer; +let fn_glClearBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glClearBufferSubData +>; export function ClearBufferSubData( target: GLenum, @@ -11593,7 +12118,9 @@ export const def_glDispatchComputeIndirect = { result: "void", } as const; -let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer; +let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer< + typeof def_glDispatchComputeIndirect +>; export function DispatchComputeIndirect( indirect: GLintptr, @@ -11604,7 +12131,23 @@ export function DispatchComputeIndirect( } export const def_glCopyImageSubData = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; @@ -11651,7 +12194,9 @@ export const def_glFramebufferParameteri = { result: "void", } as const; -let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer; +let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer< + typeof def_glFramebufferParameteri +>; export function FramebufferParameteri( target: GLenum, @@ -11670,7 +12215,9 @@ export const def_glGetFramebufferParameteriv = { result: "void", } as const; -let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferParameteriv +>; export function GetFramebufferParameteriv( target: GLenum, @@ -11689,7 +12236,9 @@ export const def_glGetInternalformati64v = { result: "void", } as const; -let fn_glGetInternalformati64v!: Deno.UnsafeFnPointer; +let fn_glGetInternalformati64v!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformati64v +>; export function GetInternalformati64v( target: GLenum, @@ -11712,7 +12261,9 @@ export const def_glInvalidateTexSubImage = { result: "void", } as const; -let fn_glInvalidateTexSubImage!: Deno.UnsafeFnPointer; +let fn_glInvalidateTexSubImage!: Deno.UnsafeFnPointer< + typeof def_glInvalidateTexSubImage +>; export function InvalidateTexSubImage( texture: GLuint, @@ -11741,7 +12292,9 @@ export const def_glInvalidateTexImage = { result: "void", } as const; -let fn_glInvalidateTexImage!: Deno.UnsafeFnPointer; +let fn_glInvalidateTexImage!: Deno.UnsafeFnPointer< + typeof def_glInvalidateTexImage +>; export function InvalidateTexImage( texture: GLuint, @@ -11758,7 +12311,9 @@ export const def_glInvalidateBufferSubData = { result: "void", } as const; -let fn_glInvalidateBufferSubData!: Deno.UnsafeFnPointer; +let fn_glInvalidateBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateBufferSubData +>; export function InvalidateBufferSubData( buffer: GLuint, @@ -11777,7 +12332,9 @@ export const def_glInvalidateBufferData = { result: "void", } as const; -let fn_glInvalidateBufferData!: Deno.UnsafeFnPointer; +let fn_glInvalidateBufferData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateBufferData +>; export function InvalidateBufferData( buffer: GLuint, @@ -11792,7 +12349,9 @@ export const def_glInvalidateFramebuffer = { result: "void", } as const; -let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateFramebuffer +>; export function InvalidateFramebuffer( target: GLenum, @@ -11811,7 +12370,9 @@ export const def_glInvalidateSubFramebuffer = { result: "void", } as const; -let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateSubFramebuffer +>; export function InvalidateSubFramebuffer( target: GLenum, @@ -11838,7 +12399,9 @@ export const def_glMultiDrawArraysIndirect = { result: "void", } as const; -let fn_glMultiDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysIndirect +>; export function MultiDrawArraysIndirect( mode: GLenum, @@ -11859,7 +12422,9 @@ export const def_glMultiDrawElementsIndirect = { result: "void", } as const; -let fn_glMultiDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsIndirect +>; export function MultiDrawElementsIndirect( mode: GLenum, @@ -11882,7 +12447,9 @@ export const def_glGetProgramInterfaceiv = { result: "void", } as const; -let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInterfaceiv +>; export function GetProgramInterfaceiv( program: GLuint, @@ -11903,7 +12470,9 @@ export const def_glGetProgramResourceIndex = { result: "u32", } as const; -let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceIndex +>; export function GetProgramResourceIndex( program: GLuint, @@ -11922,7 +12491,9 @@ export const def_glGetProgramResourceName = { result: "void", } as const; -let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceName +>; export function GetProgramResourceName( program: GLuint, @@ -11947,7 +12518,9 @@ export const def_glGetProgramResourceiv = { result: "void", } as const; -let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceiv +>; export function GetProgramResourceiv( program: GLuint, @@ -11976,7 +12549,9 @@ export const def_glGetProgramResourceLocation = { result: "i32", } as const; -let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocation +>; export function GetProgramResourceLocation( program: GLuint, @@ -11995,7 +12570,9 @@ export const def_glGetProgramResourceLocationIndex = { result: "i32", } as const; -let fn_glGetProgramResourceLocationIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocationIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocationIndex +>; export function GetProgramResourceLocationIndex( program: GLuint, @@ -12014,7 +12591,9 @@ export const def_glShaderStorageBlockBinding = { result: "void", } as const; -let fn_glShaderStorageBlockBinding!: Deno.UnsafeFnPointer; +let fn_glShaderStorageBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glShaderStorageBlockBinding +>; export function ShaderStorageBlockBinding( program: GLuint, @@ -12056,7 +12635,9 @@ export const def_glTexStorage2DMultisample = { result: "void", } as const; -let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage2DMultisample +>; export function TexStorage2DMultisample( target: GLenum, @@ -12081,7 +12662,9 @@ export const def_glTexStorage3DMultisample = { result: "void", } as const; -let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage3DMultisample +>; export function TexStorage3DMultisample( target: GLenum, @@ -12158,7 +12741,9 @@ export const def_glVertexAttribFormat = { result: "void", } as const; -let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribFormat +>; export function VertexAttribFormat( attribindex: GLuint, @@ -12181,7 +12766,9 @@ export const def_glVertexAttribIFormat = { result: "void", } as const; -let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIFormat +>; export function VertexAttribIFormat( attribindex: GLuint, @@ -12202,7 +12789,9 @@ export const def_glVertexAttribLFormat = { result: "void", } as const; -let fn_glVertexAttribLFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribLFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribLFormat +>; export function VertexAttribLFormat( attribindex: GLuint, @@ -12223,7 +12812,9 @@ export const def_glVertexAttribBinding = { result: "void", } as const; -let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer; +let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribBinding +>; export function VertexAttribBinding( attribindex: GLuint, @@ -12240,7 +12831,9 @@ export const def_glVertexBindingDivisor = { result: "void", } as const; -let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexBindingDivisor +>; export function VertexBindingDivisor( bindingindex: GLuint, @@ -12257,7 +12850,9 @@ export const def_glDebugMessageControl = { result: "void", } as const; -let fn_glDebugMessageControl!: Deno.UnsafeFnPointer; +let fn_glDebugMessageControl!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageControl +>; export function DebugMessageControl( source: GLenum, @@ -12282,7 +12877,9 @@ export const def_glDebugMessageInsert = { result: "void", } as const; -let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer; +let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageInsert +>; export function DebugMessageInsert( source: GLenum, @@ -12307,7 +12904,9 @@ export const def_glDebugMessageCallback = { result: "void", } as const; -let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer; +let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageCallback +>; export function DebugMessageCallback( callback: GLDEBUGPROC, @@ -12320,11 +12919,22 @@ export function DebugMessageCallback( } export const def_glGetDebugMessageLog = { - parameters: ["u32", "i32", "buffer", "buffer", "buffer", "buffer", "buffer", "buffer"], + parameters: [ + "u32", + "i32", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + ], result: "u32", } as const; -let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer; +let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer< + typeof def_glGetDebugMessageLog +>; export function GetDebugMessageLog( count: GLuint, @@ -12448,7 +13058,9 @@ export const def_glGetObjectPtrLabel = { result: "void", } as const; -let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer; +let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer< + typeof def_glGetObjectPtrLabel +>; export function GetObjectPtrLabel( ptr: Buffer, @@ -12526,7 +13138,19 @@ export function ClearTexImage( } export const def_glClearTexSubImage = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -12649,7 +13273,9 @@ export const def_glBindImageTextures = { result: "void", } as const; -let fn_glBindImageTextures!: Deno.UnsafeFnPointer; +let fn_glBindImageTextures!: Deno.UnsafeFnPointer< + typeof def_glBindImageTextures +>; export function BindImageTextures( first: GLuint, @@ -12668,7 +13294,9 @@ export const def_glBindVertexBuffers = { result: "void", } as const; -let fn_glBindVertexBuffers!: Deno.UnsafeFnPointer; +let fn_glBindVertexBuffers!: Deno.UnsafeFnPointer< + typeof def_glBindVertexBuffers +>; export function BindVertexBuffers( first: GLuint, @@ -12708,7 +13336,9 @@ export const def_glCreateTransformFeedbacks = { result: "void", } as const; -let fn_glCreateTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glCreateTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glCreateTransformFeedbacks +>; export function CreateTransformFeedbacks( n: GLsizei, @@ -12725,7 +13355,9 @@ export const def_glTransformFeedbackBufferBase = { result: "void", } as const; -let fn_glTransformFeedbackBufferBase!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackBufferBase!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackBufferBase +>; export function TransformFeedbackBufferBase( xfb: GLuint, @@ -12744,7 +13376,9 @@ export const def_glTransformFeedbackBufferRange = { result: "void", } as const; -let fn_glTransformFeedbackBufferRange!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackBufferRange!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackBufferRange +>; export function TransformFeedbackBufferRange( xfb: GLuint, @@ -12767,7 +13401,9 @@ export const def_glGetTransformFeedbackiv = { result: "void", } as const; -let fn_glGetTransformFeedbackiv!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackiv!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackiv +>; export function GetTransformFeedbackiv( xfb: GLuint, @@ -12786,7 +13422,9 @@ export const def_glGetTransformFeedbacki_v = { result: "void", } as const; -let fn_glGetTransformFeedbacki_v!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbacki_v!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbacki_v +>; export function GetTransformFeedbacki_v( xfb: GLuint, @@ -12807,7 +13445,9 @@ export const def_glGetTransformFeedbacki64_v = { result: "void", } as const; -let fn_glGetTransformFeedbacki64_v!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbacki64_v!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbacki64_v +>; export function GetTransformFeedbacki64_v( xfb: GLuint, @@ -12845,7 +13485,9 @@ export const def_glNamedBufferStorage = { result: "void", } as const; -let fn_glNamedBufferStorage!: Deno.UnsafeFnPointer; +let fn_glNamedBufferStorage!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferStorage +>; export function NamedBufferStorage( buffer: GLuint, @@ -12887,7 +13529,9 @@ export const def_glNamedBufferSubData = { result: "void", } as const; -let fn_glNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glNamedBufferSubData +>; export function NamedBufferSubData( buffer: GLuint, @@ -12908,7 +13552,9 @@ export const def_glCopyNamedBufferSubData = { result: "void", } as const; -let fn_glCopyNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyNamedBufferSubData +>; export function CopyNamedBufferSubData( readBuffer: GLuint, @@ -12931,7 +13577,9 @@ export const def_glClearNamedBufferData = { result: "void", } as const; -let fn_glClearNamedBufferData!: Deno.UnsafeFnPointer; +let fn_glClearNamedBufferData!: Deno.UnsafeFnPointer< + typeof def_glClearNamedBufferData +>; export function ClearNamedBufferData( buffer: GLuint, @@ -12954,7 +13602,9 @@ export const def_glClearNamedBufferSubData = { result: "void", } as const; -let fn_glClearNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glClearNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glClearNamedBufferSubData +>; export function ClearNamedBufferSubData( buffer: GLuint, @@ -12998,7 +13648,9 @@ export const def_glMapNamedBufferRange = { result: "buffer", } as const; -let fn_glMapNamedBufferRange!: Deno.UnsafeFnPointer; +let fn_glMapNamedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glMapNamedBufferRange +>; export function MapNamedBufferRange( buffer: GLuint, @@ -13034,7 +13686,9 @@ export const def_glFlushMappedNamedBufferRange = { result: "void", } as const; -let fn_glFlushMappedNamedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedNamedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedNamedBufferRange +>; export function FlushMappedNamedBufferRange( buffer: GLuint, @@ -13053,7 +13707,9 @@ export const def_glGetNamedBufferParameteriv = { result: "void", } as const; -let fn_glGetNamedBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferParameteriv +>; export function GetNamedBufferParameteriv( buffer: GLuint, @@ -13072,7 +13728,9 @@ export const def_glGetNamedBufferParameteri64v = { result: "void", } as const; -let fn_glGetNamedBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferParameteri64v +>; export function GetNamedBufferParameteri64v( buffer: GLuint, @@ -13091,7 +13749,9 @@ export const def_glGetNamedBufferPointerv = { result: "void", } as const; -let fn_glGetNamedBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferPointerv +>; export function GetNamedBufferPointerv( buffer: GLuint, @@ -13110,7 +13770,9 @@ export const def_glGetNamedBufferSubData = { result: "void", } as const; -let fn_glGetNamedBufferSubData!: Deno.UnsafeFnPointer; +let fn_glGetNamedBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glGetNamedBufferSubData +>; export function GetNamedBufferSubData( buffer: GLuint, @@ -13131,7 +13793,9 @@ export const def_glCreateFramebuffers = { result: "void", } as const; -let fn_glCreateFramebuffers!: Deno.UnsafeFnPointer; +let fn_glCreateFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glCreateFramebuffers +>; export function CreateFramebuffers( n: GLsizei, @@ -13148,7 +13812,9 @@ export const def_glNamedFramebufferRenderbuffer = { result: "void", } as const; -let fn_glNamedFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferRenderbuffer +>; export function NamedFramebufferRenderbuffer( framebuffer: GLuint, @@ -13169,7 +13835,9 @@ export const def_glNamedFramebufferParameteri = { result: "void", } as const; -let fn_glNamedFramebufferParameteri!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferParameteri!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferParameteri +>; export function NamedFramebufferParameteri( framebuffer: GLuint, @@ -13188,7 +13856,9 @@ export const def_glNamedFramebufferTexture = { result: "void", } as const; -let fn_glNamedFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTexture +>; export function NamedFramebufferTexture( framebuffer: GLuint, @@ -13209,7 +13879,9 @@ export const def_glNamedFramebufferTextureLayer = { result: "void", } as const; -let fn_glNamedFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferTextureLayer +>; export function NamedFramebufferTextureLayer( framebuffer: GLuint, @@ -13232,7 +13904,9 @@ export const def_glNamedFramebufferDrawBuffer = { result: "void", } as const; -let fn_glNamedFramebufferDrawBuffer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferDrawBuffer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferDrawBuffer +>; export function NamedFramebufferDrawBuffer( framebuffer: GLuint, @@ -13249,7 +13923,9 @@ export const def_glNamedFramebufferDrawBuffers = { result: "void", } as const; -let fn_glNamedFramebufferDrawBuffers!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferDrawBuffers!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferDrawBuffers +>; export function NamedFramebufferDrawBuffers( framebuffer: GLuint, @@ -13268,7 +13944,9 @@ export const def_glNamedFramebufferReadBuffer = { result: "void", } as const; -let fn_glNamedFramebufferReadBuffer!: Deno.UnsafeFnPointer; +let fn_glNamedFramebufferReadBuffer!: Deno.UnsafeFnPointer< + typeof def_glNamedFramebufferReadBuffer +>; export function NamedFramebufferReadBuffer( framebuffer: GLuint, @@ -13285,7 +13963,9 @@ export const def_glInvalidateNamedFramebufferData = { result: "void", } as const; -let fn_glInvalidateNamedFramebufferData!: Deno.UnsafeFnPointer; +let fn_glInvalidateNamedFramebufferData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateNamedFramebufferData +>; export function InvalidateNamedFramebufferData( framebuffer: GLuint, @@ -13304,7 +13984,9 @@ export const def_glInvalidateNamedFramebufferSubData = { result: "void", } as const; -let fn_glInvalidateNamedFramebufferSubData!: Deno.UnsafeFnPointer; +let fn_glInvalidateNamedFramebufferSubData!: Deno.UnsafeFnPointer< + typeof def_glInvalidateNamedFramebufferSubData +>; export function InvalidateNamedFramebufferSubData( framebuffer: GLuint, @@ -13331,7 +14013,9 @@ export const def_glClearNamedFramebufferiv = { result: "void", } as const; -let fn_glClearNamedFramebufferiv!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferiv!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferiv +>; export function ClearNamedFramebufferiv( framebuffer: GLuint, @@ -13352,7 +14036,9 @@ export const def_glClearNamedFramebufferuiv = { result: "void", } as const; -let fn_glClearNamedFramebufferuiv!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferuiv!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferuiv +>; export function ClearNamedFramebufferuiv( framebuffer: GLuint, @@ -13373,7 +14059,9 @@ export const def_glClearNamedFramebufferfv = { result: "void", } as const; -let fn_glClearNamedFramebufferfv!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferfv!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferfv +>; export function ClearNamedFramebufferfv( framebuffer: GLuint, @@ -13394,7 +14082,9 @@ export const def_glClearNamedFramebufferfi = { result: "void", } as const; -let fn_glClearNamedFramebufferfi!: Deno.UnsafeFnPointer; +let fn_glClearNamedFramebufferfi!: Deno.UnsafeFnPointer< + typeof def_glClearNamedFramebufferfi +>; export function ClearNamedFramebufferfi( framebuffer: GLuint, @@ -13413,11 +14103,26 @@ export function ClearNamedFramebufferfi( } export const def_glBlitNamedFramebuffer = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], - result: "void", -} as const; - -let fn_glBlitNamedFramebuffer!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], + result: "void", +} as const; + +let fn_glBlitNamedFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glBlitNamedFramebuffer +>; export function BlitNamedFramebuffer( readFramebuffer: GLuint, @@ -13454,7 +14159,9 @@ export const def_glCheckNamedFramebufferStatus = { result: "u32", } as const; -let fn_glCheckNamedFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckNamedFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckNamedFramebufferStatus +>; export function CheckNamedFramebufferStatus( framebuffer: GLuint, @@ -13471,7 +14178,9 @@ export const def_glGetNamedFramebufferParameteriv = { result: "void", } as const; -let fn_glGetNamedFramebufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedFramebufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedFramebufferParameteriv +>; export function GetNamedFramebufferParameteriv( framebuffer: GLuint, @@ -13490,7 +14199,9 @@ export const def_glGetNamedFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetNamedFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedFramebufferAttachmentParameteriv +>; export function GetNamedFramebufferAttachmentParameteriv( framebuffer: GLuint, @@ -13511,7 +14222,9 @@ export const def_glCreateRenderbuffers = { result: "void", } as const; -let fn_glCreateRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glCreateRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glCreateRenderbuffers +>; export function CreateRenderbuffers( n: GLsizei, @@ -13528,7 +14241,9 @@ export const def_glNamedRenderbufferStorage = { result: "void", } as const; -let fn_glNamedRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glNamedRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glNamedRenderbufferStorage +>; export function NamedRenderbufferStorage( renderbuffer: GLuint, @@ -13549,7 +14264,9 @@ export const def_glNamedRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glNamedRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glNamedRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glNamedRenderbufferStorageMultisample +>; export function NamedRenderbufferStorageMultisample( renderbuffer: GLuint, @@ -13572,7 +14289,9 @@ export const def_glGetNamedRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetNamedRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetNamedRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetNamedRenderbufferParameteriv +>; export function GetNamedRenderbufferParameteriv( renderbuffer: GLuint, @@ -13629,7 +14348,9 @@ export const def_glTextureBufferRange = { result: "void", } as const; -let fn_glTextureBufferRange!: Deno.UnsafeFnPointer; +let fn_glTextureBufferRange!: Deno.UnsafeFnPointer< + typeof def_glTextureBufferRange +>; export function TextureBufferRange( texture: GLuint, @@ -13721,7 +14442,9 @@ export const def_glTextureStorage2DMultisample = { result: "void", } as const; -let fn_glTextureStorage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTextureStorage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage2DMultisample +>; export function TextureStorage2DMultisample( texture: GLuint, @@ -13746,7 +14469,9 @@ export const def_glTextureStorage3DMultisample = { result: "void", } as const; -let fn_glTextureStorage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTextureStorage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTextureStorage3DMultisample +>; export function TextureStorage3DMultisample( texture: GLuint, @@ -13773,7 +14498,9 @@ export const def_glTextureSubImage1D = { result: "void", } as const; -let fn_glTextureSubImage1D!: Deno.UnsafeFnPointer; +let fn_glTextureSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage1D +>; export function TextureSubImage1D( texture: GLuint, @@ -13796,11 +14523,23 @@ export function TextureSubImage1D( } export const def_glTextureSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; -let fn_glTextureSubImage2D!: Deno.UnsafeFnPointer; +let fn_glTextureSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage2D +>; export function TextureSubImage2D( texture: GLuint, @@ -13827,11 +14566,25 @@ export function TextureSubImage2D( } export const def_glTextureSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], - result: "void", -} as const; - -let fn_glTextureSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], + result: "void", +} as const; + +let fn_glTextureSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glTextureSubImage3D +>; export function TextureSubImage3D( texture: GLuint, @@ -13866,7 +14619,9 @@ export const def_glCompressedTextureSubImage1D = { result: "void", } as const; -let fn_glCompressedTextureSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTextureSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage1D +>; export function CompressedTextureSubImage1D( texture: GLuint, @@ -13889,11 +14644,23 @@ export function CompressedTextureSubImage1D( } export const def_glCompressedTextureSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTextureSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTextureSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage2D +>; export function CompressedTextureSubImage2D( texture: GLuint, @@ -13920,11 +14687,25 @@ export function CompressedTextureSubImage2D( } export const def_glCompressedTextureSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTextureSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTextureSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTextureSubImage3D +>; export function CompressedTextureSubImage3D( texture: GLuint, @@ -13959,7 +14740,9 @@ export const def_glCopyTextureSubImage1D = { result: "void", } as const; -let fn_glCopyTextureSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage1D +>; export function CopyTextureSubImage1D( texture: GLuint, @@ -13984,7 +14767,9 @@ export const def_glCopyTextureSubImage2D = { result: "void", } as const; -let fn_glCopyTextureSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage2D +>; export function CopyTextureSubImage2D( texture: GLuint, @@ -14013,7 +14798,9 @@ export const def_glCopyTextureSubImage3D = { result: "void", } as const; -let fn_glCopyTextureSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTextureSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTextureSubImage3D +>; export function CopyTextureSubImage3D( texture: GLuint, @@ -14044,7 +14831,9 @@ export const def_glTextureParameterf = { result: "void", } as const; -let fn_glTextureParameterf!: Deno.UnsafeFnPointer; +let fn_glTextureParameterf!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterf +>; export function TextureParameterf( texture: GLuint, @@ -14063,7 +14852,9 @@ export const def_glTextureParameterfv = { result: "void", } as const; -let fn_glTextureParameterfv!: Deno.UnsafeFnPointer; +let fn_glTextureParameterfv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterfv +>; export function TextureParameterfv( texture: GLuint, @@ -14082,7 +14873,9 @@ export const def_glTextureParameteri = { result: "void", } as const; -let fn_glTextureParameteri!: Deno.UnsafeFnPointer; +let fn_glTextureParameteri!: Deno.UnsafeFnPointer< + typeof def_glTextureParameteri +>; export function TextureParameteri( texture: GLuint, @@ -14101,7 +14894,9 @@ export const def_glTextureParameterIiv = { result: "void", } as const; -let fn_glTextureParameterIiv!: Deno.UnsafeFnPointer; +let fn_glTextureParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterIiv +>; export function TextureParameterIiv( texture: GLuint, @@ -14120,7 +14915,9 @@ export const def_glTextureParameterIuiv = { result: "void", } as const; -let fn_glTextureParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glTextureParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameterIuiv +>; export function TextureParameterIuiv( texture: GLuint, @@ -14139,7 +14936,9 @@ export const def_glTextureParameteriv = { result: "void", } as const; -let fn_glTextureParameteriv!: Deno.UnsafeFnPointer; +let fn_glTextureParameteriv!: Deno.UnsafeFnPointer< + typeof def_glTextureParameteriv +>; export function TextureParameteriv( texture: GLuint, @@ -14158,7 +14957,9 @@ export const def_glGenerateTextureMipmap = { result: "void", } as const; -let fn_glGenerateTextureMipmap!: Deno.UnsafeFnPointer; +let fn_glGenerateTextureMipmap!: Deno.UnsafeFnPointer< + typeof def_glGenerateTextureMipmap +>; export function GenerateTextureMipmap( texture: GLuint, @@ -14215,7 +15016,9 @@ export const def_glGetCompressedTextureImage = { result: "void", } as const; -let fn_glGetCompressedTextureImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTextureImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTextureImage +>; export function GetCompressedTextureImage( texture: GLuint, @@ -14236,7 +15039,9 @@ export const def_glGetTextureLevelParameterfv = { result: "void", } as const; -let fn_glGetTextureLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTextureLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureLevelParameterfv +>; export function GetTextureLevelParameterfv( texture: GLuint, @@ -14257,7 +15062,9 @@ export const def_glGetTextureLevelParameteriv = { result: "void", } as const; -let fn_glGetTextureLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTextureLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureLevelParameteriv +>; export function GetTextureLevelParameteriv( texture: GLuint, @@ -14278,7 +15085,9 @@ export const def_glGetTextureParameterfv = { result: "void", } as const; -let fn_glGetTextureParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterfv +>; export function GetTextureParameterfv( texture: GLuint, @@ -14297,7 +15106,9 @@ export const def_glGetTextureParameterIiv = { result: "void", } as const; -let fn_glGetTextureParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterIiv +>; export function GetTextureParameterIiv( texture: GLuint, @@ -14316,7 +15127,9 @@ export const def_glGetTextureParameterIuiv = { result: "void", } as const; -let fn_glGetTextureParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameterIuiv +>; export function GetTextureParameterIuiv( texture: GLuint, @@ -14335,7 +15148,9 @@ export const def_glGetTextureParameteriv = { result: "void", } as const; -let fn_glGetTextureParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTextureParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTextureParameteriv +>; export function GetTextureParameteriv( texture: GLuint, @@ -14354,7 +15169,9 @@ export const def_glCreateVertexArrays = { result: "void", } as const; -let fn_glCreateVertexArrays!: Deno.UnsafeFnPointer; +let fn_glCreateVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glCreateVertexArrays +>; export function CreateVertexArrays( n: GLsizei, @@ -14371,7 +15188,9 @@ export const def_glDisableVertexArrayAttrib = { result: "void", } as const; -let fn_glDisableVertexArrayAttrib!: Deno.UnsafeFnPointer; +let fn_glDisableVertexArrayAttrib!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexArrayAttrib +>; export function DisableVertexArrayAttrib( vaobj: GLuint, @@ -14388,7 +15207,9 @@ export const def_glEnableVertexArrayAttrib = { result: "void", } as const; -let fn_glEnableVertexArrayAttrib!: Deno.UnsafeFnPointer; +let fn_glEnableVertexArrayAttrib!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexArrayAttrib +>; export function EnableVertexArrayAttrib( vaobj: GLuint, @@ -14405,7 +15226,9 @@ export const def_glVertexArrayElementBuffer = { result: "void", } as const; -let fn_glVertexArrayElementBuffer!: Deno.UnsafeFnPointer; +let fn_glVertexArrayElementBuffer!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayElementBuffer +>; export function VertexArrayElementBuffer( vaobj: GLuint, @@ -14422,7 +15245,9 @@ export const def_glVertexArrayVertexBuffer = { result: "void", } as const; -let fn_glVertexArrayVertexBuffer!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexBuffer!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexBuffer +>; export function VertexArrayVertexBuffer( vaobj: GLuint, @@ -14445,7 +15270,9 @@ export const def_glVertexArrayVertexBuffers = { result: "void", } as const; -let fn_glVertexArrayVertexBuffers!: Deno.UnsafeFnPointer; +let fn_glVertexArrayVertexBuffers!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayVertexBuffers +>; export function VertexArrayVertexBuffers( vaobj: GLuint, @@ -14470,7 +15297,9 @@ export const def_glVertexArrayAttribBinding = { result: "void", } as const; -let fn_glVertexArrayAttribBinding!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribBinding!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribBinding +>; export function VertexArrayAttribBinding( vaobj: GLuint, @@ -14489,7 +15318,9 @@ export const def_glVertexArrayAttribFormat = { result: "void", } as const; -let fn_glVertexArrayAttribFormat!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribFormat +>; export function VertexArrayAttribFormat( vaobj: GLuint, @@ -14514,7 +15345,9 @@ export const def_glVertexArrayAttribIFormat = { result: "void", } as const; -let fn_glVertexArrayAttribIFormat!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribIFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribIFormat +>; export function VertexArrayAttribIFormat( vaobj: GLuint, @@ -14537,7 +15370,9 @@ export const def_glVertexArrayAttribLFormat = { result: "void", } as const; -let fn_glVertexArrayAttribLFormat!: Deno.UnsafeFnPointer; +let fn_glVertexArrayAttribLFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayAttribLFormat +>; export function VertexArrayAttribLFormat( vaobj: GLuint, @@ -14560,7 +15395,9 @@ export const def_glVertexArrayBindingDivisor = { result: "void", } as const; -let fn_glVertexArrayBindingDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexArrayBindingDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexArrayBindingDivisor +>; export function VertexArrayBindingDivisor( vaobj: GLuint, @@ -14598,7 +15435,9 @@ export const def_glGetVertexArrayIndexediv = { result: "void", } as const; -let fn_glGetVertexArrayIndexediv!: Deno.UnsafeFnPointer; +let fn_glGetVertexArrayIndexediv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexArrayIndexediv +>; export function GetVertexArrayIndexediv( vaobj: GLuint, @@ -14619,7 +15458,9 @@ export const def_glGetVertexArrayIndexed64iv = { result: "void", } as const; -let fn_glGetVertexArrayIndexed64iv!: Deno.UnsafeFnPointer; +let fn_glGetVertexArrayIndexed64iv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexArrayIndexed64iv +>; export function GetVertexArrayIndexed64iv( vaobj: GLuint, @@ -14657,7 +15498,9 @@ export const def_glCreateProgramPipelines = { result: "void", } as const; -let fn_glCreateProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glCreateProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glCreateProgramPipelines +>; export function CreateProgramPipelines( n: GLsizei, @@ -14693,7 +15536,9 @@ export const def_glGetQueryBufferObjecti64v = { result: "void", } as const; -let fn_glGetQueryBufferObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjecti64v +>; export function GetQueryBufferObjecti64v( id: GLuint, @@ -14714,7 +15559,9 @@ export const def_glGetQueryBufferObjectiv = { result: "void", } as const; -let fn_glGetQueryBufferObjectiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjectiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjectiv +>; export function GetQueryBufferObjectiv( id: GLuint, @@ -14735,7 +15582,9 @@ export const def_glGetQueryBufferObjectui64v = { result: "void", } as const; -let fn_glGetQueryBufferObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjectui64v +>; export function GetQueryBufferObjectui64v( id: GLuint, @@ -14756,7 +15605,9 @@ export const def_glGetQueryBufferObjectuiv = { result: "void", } as const; -let fn_glGetQueryBufferObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryBufferObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryBufferObjectuiv +>; export function GetQueryBufferObjectuiv( id: GLuint, @@ -14777,7 +15628,9 @@ export const def_glMemoryBarrierByRegion = { result: "void", } as const; -let fn_glMemoryBarrierByRegion!: Deno.UnsafeFnPointer; +let fn_glMemoryBarrierByRegion!: Deno.UnsafeFnPointer< + typeof def_glMemoryBarrierByRegion +>; export function MemoryBarrierByRegion( barriers: GLbitfield, @@ -14788,11 +15641,26 @@ export function MemoryBarrierByRegion( } export const def_glGetTextureSubImage = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glGetTextureSubImage!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glGetTextureSubImage!: Deno.UnsafeFnPointer< + typeof def_glGetTextureSubImage +>; export function GetTextureSubImage( texture: GLuint, @@ -14825,11 +15693,24 @@ export function GetTextureSubImage( } export const def_glGetCompressedTextureSubImage = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glGetCompressedTextureSubImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTextureSubImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTextureSubImage +>; export function GetCompressedTextureSubImage( texture: GLuint, @@ -14862,7 +15743,9 @@ export const def_glGetGraphicsResetStatus = { result: "u32", } as const; -let fn_glGetGraphicsResetStatus!: Deno.UnsafeFnPointer; +let fn_glGetGraphicsResetStatus!: Deno.UnsafeFnPointer< + typeof def_glGetGraphicsResetStatus +>; export function GetGraphicsResetStatus(): GLenum { return fn_glGetGraphicsResetStatus.call(); @@ -14873,7 +15756,9 @@ export const def_glGetnCompressedTexImage = { result: "void", } as const; -let fn_glGetnCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetnCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetnCompressedTexImage +>; export function GetnCompressedTexImage( target: GLenum, @@ -15152,7 +16037,9 @@ export const def_glGetnPolygonStipple = { result: "void", } as const; -let fn_glGetnPolygonStipple!: Deno.UnsafeFnPointer; +let fn_glGetnPolygonStipple!: Deno.UnsafeFnPointer< + typeof def_glGetnPolygonStipple +>; export function GetnPolygonStipple( bufSize: GLsizei, @@ -15192,7 +16079,9 @@ export const def_glGetnConvolutionFilter = { result: "void", } as const; -let fn_glGetnConvolutionFilter!: Deno.UnsafeFnPointer; +let fn_glGetnConvolutionFilter!: Deno.UnsafeFnPointer< + typeof def_glGetnConvolutionFilter +>; export function GetnConvolutionFilter( target: GLenum, @@ -15215,7 +16104,9 @@ export const def_glGetnSeparableFilter = { result: "void", } as const; -let fn_glGetnSeparableFilter!: Deno.UnsafeFnPointer; +let fn_glGetnSeparableFilter!: Deno.UnsafeFnPointer< + typeof def_glGetnSeparableFilter +>; export function GetnSeparableFilter( target: GLenum, @@ -15328,7 +16219,9 @@ export const def_glMultiDrawArraysIndirectCount = { result: "void", } as const; -let fn_glMultiDrawArraysIndirectCount!: Deno.UnsafeFnPointer; +let fn_glMultiDrawArraysIndirectCount!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawArraysIndirectCount +>; export function MultiDrawArraysIndirectCount( mode: GLenum, @@ -15351,7 +16244,9 @@ export const def_glMultiDrawElementsIndirectCount = { result: "void", } as const; -let fn_glMultiDrawElementsIndirectCount!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsIndirectCount!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsIndirectCount +>; export function MultiDrawElementsIndirectCount( mode: GLenum, @@ -15376,7 +16271,9 @@ export const def_glPolygonOffsetClamp = { result: "void", } as const; -let fn_glPolygonOffsetClamp!: Deno.UnsafeFnPointer; +let fn_glPolygonOffsetClamp!: Deno.UnsafeFnPointer< + typeof def_glPolygonOffsetClamp +>; export function PolygonOffsetClamp( factor: GLfloat, @@ -15393,702 +16290,2742 @@ export function PolygonOffsetClamp( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glClampColor = new Deno.UnsafeFnPointer(proc("glClampColor"), def_glClampColor); - fn_glBeginConditionalRender = new Deno.UnsafeFnPointer(proc("glBeginConditionalRender"), def_glBeginConditionalRender); - fn_glEndConditionalRender = new Deno.UnsafeFnPointer(proc("glEndConditionalRender"), def_glEndConditionalRender); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI1i = new Deno.UnsafeFnPointer(proc("glVertexAttribI1i"), def_glVertexAttribI1i); - fn_glVertexAttribI2i = new Deno.UnsafeFnPointer(proc("glVertexAttribI2i"), def_glVertexAttribI2i); - fn_glVertexAttribI3i = new Deno.UnsafeFnPointer(proc("glVertexAttribI3i"), def_glVertexAttribI3i); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ui"), def_glVertexAttribI1ui); - fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ui"), def_glVertexAttribI2ui); - fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ui"), def_glVertexAttribI3ui); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iv"), def_glVertexAttribI1iv); - fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iv"), def_glVertexAttribI2iv); - fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iv"), def_glVertexAttribI3iv); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiv"), def_glVertexAttribI1uiv); - fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiv"), def_glVertexAttribI2uiv); - fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiv"), def_glVertexAttribI3uiv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bv"), def_glVertexAttribI4bv); - fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4sv"), def_glVertexAttribI4sv); - fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubv"), def_glVertexAttribI4ubv); - fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usv"), def_glVertexAttribI4usv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glBindFragDataLocation = new Deno.UnsafeFnPointer(proc("glBindFragDataLocation"), def_glBindFragDataLocation); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glTexBuffer = new Deno.UnsafeFnPointer(proc("glTexBuffer"), def_glTexBuffer); - fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartIndex"), def_glPrimitiveRestartIndex); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetActiveUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformName"), def_glGetActiveUniformName); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertex"), def_glDrawElementsBaseVertex); - fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertex"), def_glDrawRangeElementsBaseVertex); - fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertex"), def_glDrawElementsInstancedBaseVertex); - fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertex"), def_glMultiDrawElementsBaseVertex); - fn_glProvokingVertex = new Deno.UnsafeFnPointer(proc("glProvokingVertex"), def_glProvokingVertex); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); - fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); - fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glFramebufferTexture = new Deno.UnsafeFnPointer(proc("glFramebufferTexture"), def_glFramebufferTexture); - fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage2DMultisample"), def_glTexImage2DMultisample); - fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage3DMultisample"), def_glTexImage3DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); - fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationIndexed"), def_glBindFragDataLocationIndexed); - fn_glGetFragDataIndex = new Deno.UnsafeFnPointer(proc("glGetFragDataIndex"), def_glGetFragDataIndex); - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIiv"), def_glSamplerParameterIiv); - fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuiv"), def_glSamplerParameterIuiv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIiv"), def_glGetSamplerParameterIiv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuiv"), def_glGetSamplerParameterIuiv); - fn_glQueryCounter = new Deno.UnsafeFnPointer(proc("glQueryCounter"), def_glQueryCounter); - fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjecti64v"), def_glGetQueryObjecti64v); - fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjectui64v"), def_glGetQueryObjectui64v); - fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisor"), def_glVertexAttribDivisor); - fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP1ui"), def_glVertexAttribP1ui); - fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP1uiv"), def_glVertexAttribP1uiv); - fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP2ui"), def_glVertexAttribP2ui); - fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP2uiv"), def_glVertexAttribP2uiv); - fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP3ui"), def_glVertexAttribP3ui); - fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP3uiv"), def_glVertexAttribP3uiv); - fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP4ui"), def_glVertexAttribP4ui); - fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP4uiv"), def_glVertexAttribP4uiv); - fn_glVertexP2ui = new Deno.UnsafeFnPointer(proc("glVertexP2ui"), def_glVertexP2ui); - fn_glVertexP2uiv = new Deno.UnsafeFnPointer(proc("glVertexP2uiv"), def_glVertexP2uiv); - fn_glVertexP3ui = new Deno.UnsafeFnPointer(proc("glVertexP3ui"), def_glVertexP3ui); - fn_glVertexP3uiv = new Deno.UnsafeFnPointer(proc("glVertexP3uiv"), def_glVertexP3uiv); - fn_glVertexP4ui = new Deno.UnsafeFnPointer(proc("glVertexP4ui"), def_glVertexP4ui); - fn_glVertexP4uiv = new Deno.UnsafeFnPointer(proc("glVertexP4uiv"), def_glVertexP4uiv); - fn_glTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glTexCoordP1ui"), def_glTexCoordP1ui); - fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP1uiv"), def_glTexCoordP1uiv); - fn_glTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glTexCoordP2ui"), def_glTexCoordP2ui); - fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP2uiv"), def_glTexCoordP2uiv); - fn_glTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glTexCoordP3ui"), def_glTexCoordP3ui); - fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP3uiv"), def_glTexCoordP3uiv); - fn_glTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glTexCoordP4ui"), def_glTexCoordP4ui); - fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP4uiv"), def_glTexCoordP4uiv); - fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1ui"), def_glMultiTexCoordP1ui); - fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1uiv"), def_glMultiTexCoordP1uiv); - fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2ui"), def_glMultiTexCoordP2ui); - fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2uiv"), def_glMultiTexCoordP2uiv); - fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3ui"), def_glMultiTexCoordP3ui); - fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3uiv"), def_glMultiTexCoordP3uiv); - fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4ui"), def_glMultiTexCoordP4ui); - fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4uiv"), def_glMultiTexCoordP4uiv); - fn_glNormalP3ui = new Deno.UnsafeFnPointer(proc("glNormalP3ui"), def_glNormalP3ui); - fn_glNormalP3uiv = new Deno.UnsafeFnPointer(proc("glNormalP3uiv"), def_glNormalP3uiv); - fn_glColorP3ui = new Deno.UnsafeFnPointer(proc("glColorP3ui"), def_glColorP3ui); - fn_glColorP3uiv = new Deno.UnsafeFnPointer(proc("glColorP3uiv"), def_glColorP3uiv); - fn_glColorP4ui = new Deno.UnsafeFnPointer(proc("glColorP4ui"), def_glColorP4ui); - fn_glColorP4uiv = new Deno.UnsafeFnPointer(proc("glColorP4uiv"), def_glColorP4uiv); - fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3ui"), def_glSecondaryColorP3ui); - fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3uiv"), def_glSecondaryColorP3uiv); - fn_glMinSampleShading = new Deno.UnsafeFnPointer(proc("glMinSampleShading"), def_glMinSampleShading); - fn_glBlendEquationi = new Deno.UnsafeFnPointer(proc("glBlendEquationi"), def_glBlendEquationi); - fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparatei"), def_glBlendEquationSeparatei); - fn_glBlendFunci = new Deno.UnsafeFnPointer(proc("glBlendFunci"), def_glBlendFunci); - fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparatei"), def_glBlendFuncSeparatei); - fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glDrawArraysIndirect"), def_glDrawArraysIndirect); - fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glDrawElementsIndirect"), def_glDrawElementsIndirect); - fn_glUniform1d = new Deno.UnsafeFnPointer(proc("glUniform1d"), def_glUniform1d); - fn_glUniform2d = new Deno.UnsafeFnPointer(proc("glUniform2d"), def_glUniform2d); - fn_glUniform3d = new Deno.UnsafeFnPointer(proc("glUniform3d"), def_glUniform3d); - fn_glUniform4d = new Deno.UnsafeFnPointer(proc("glUniform4d"), def_glUniform4d); - fn_glUniform1dv = new Deno.UnsafeFnPointer(proc("glUniform1dv"), def_glUniform1dv); - fn_glUniform2dv = new Deno.UnsafeFnPointer(proc("glUniform2dv"), def_glUniform2dv); - fn_glUniform3dv = new Deno.UnsafeFnPointer(proc("glUniform3dv"), def_glUniform3dv); - fn_glUniform4dv = new Deno.UnsafeFnPointer(proc("glUniform4dv"), def_glUniform4dv); - fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2dv"), def_glUniformMatrix2dv); - fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3dv"), def_glUniformMatrix3dv); - fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4dv"), def_glUniformMatrix4dv); - fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3dv"), def_glUniformMatrix2x3dv); - fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4dv"), def_glUniformMatrix2x4dv); - fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2dv"), def_glUniformMatrix3x2dv); - fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4dv"), def_glUniformMatrix3x4dv); - fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2dv"), def_glUniformMatrix4x2dv); - fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3dv"), def_glUniformMatrix4x3dv); - fn_glGetUniformdv = new Deno.UnsafeFnPointer(proc("glGetUniformdv"), def_glGetUniformdv); - fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer(proc("glGetSubroutineUniformLocation"), def_glGetSubroutineUniformLocation); - fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer(proc("glGetSubroutineIndex"), def_glGetSubroutineIndex); - fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformiv"), def_glGetActiveSubroutineUniformiv); - fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformName"), def_glGetActiveSubroutineUniformName); - fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineName"), def_glGetActiveSubroutineName); - fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer(proc("glUniformSubroutinesuiv"), def_glUniformSubroutinesuiv); - fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer(proc("glGetUniformSubroutineuiv"), def_glGetUniformSubroutineuiv); - fn_glGetProgramStageiv = new Deno.UnsafeFnPointer(proc("glGetProgramStageiv"), def_glGetProgramStageiv); - fn_glPatchParameteri = new Deno.UnsafeFnPointer(proc("glPatchParameteri"), def_glPatchParameteri); - fn_glPatchParameterfv = new Deno.UnsafeFnPointer(proc("glPatchParameterfv"), def_glPatchParameterfv); - fn_glBindTransformFeedback = new Deno.UnsafeFnPointer(proc("glBindTransformFeedback"), def_glBindTransformFeedback); - fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacks"), def_glDeleteTransformFeedbacks); - fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacks"), def_glGenTransformFeedbacks); - fn_glIsTransformFeedback = new Deno.UnsafeFnPointer(proc("glIsTransformFeedback"), def_glIsTransformFeedback); - fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedback"), def_glPauseTransformFeedback); - fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedback"), def_glResumeTransformFeedback); - fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedback"), def_glDrawTransformFeedback); - fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStream"), def_glDrawTransformFeedbackStream); - fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer(proc("glBeginQueryIndexed"), def_glBeginQueryIndexed); - fn_glEndQueryIndexed = new Deno.UnsafeFnPointer(proc("glEndQueryIndexed"), def_glEndQueryIndexed); - fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer(proc("glGetQueryIndexediv"), def_glGetQueryIndexediv); - fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer(proc("glReleaseShaderCompiler"), def_glReleaseShaderCompiler); - fn_glShaderBinary = new Deno.UnsafeFnPointer(proc("glShaderBinary"), def_glShaderBinary); - fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer(proc("glGetShaderPrecisionFormat"), def_glGetShaderPrecisionFormat); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glGetProgramBinary = new Deno.UnsafeFnPointer(proc("glGetProgramBinary"), def_glGetProgramBinary); - fn_glProgramBinary = new Deno.UnsafeFnPointer(proc("glProgramBinary"), def_glProgramBinary); - fn_glProgramParameteri = new Deno.UnsafeFnPointer(proc("glProgramParameteri"), def_glProgramParameteri); - fn_glUseProgramStages = new Deno.UnsafeFnPointer(proc("glUseProgramStages"), def_glUseProgramStages); - fn_glActiveShaderProgram = new Deno.UnsafeFnPointer(proc("glActiveShaderProgram"), def_glActiveShaderProgram); - fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer(proc("glCreateShaderProgramv"), def_glCreateShaderProgramv); - fn_glBindProgramPipeline = new Deno.UnsafeFnPointer(proc("glBindProgramPipeline"), def_glBindProgramPipeline); - fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer(proc("glDeleteProgramPipelines"), def_glDeleteProgramPipelines); - fn_glGenProgramPipelines = new Deno.UnsafeFnPointer(proc("glGenProgramPipelines"), def_glGenProgramPipelines); - fn_glIsProgramPipeline = new Deno.UnsafeFnPointer(proc("glIsProgramPipeline"), def_glIsProgramPipeline); - fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineiv"), def_glGetProgramPipelineiv); - fn_glProgramUniform1i = new Deno.UnsafeFnPointer(proc("glProgramUniform1i"), def_glProgramUniform1i); - fn_glProgramUniform1iv = new Deno.UnsafeFnPointer(proc("glProgramUniform1iv"), def_glProgramUniform1iv); - fn_glProgramUniform1f = new Deno.UnsafeFnPointer(proc("glProgramUniform1f"), def_glProgramUniform1f); - fn_glProgramUniform1fv = new Deno.UnsafeFnPointer(proc("glProgramUniform1fv"), def_glProgramUniform1fv); - fn_glProgramUniform1d = new Deno.UnsafeFnPointer(proc("glProgramUniform1d"), def_glProgramUniform1d); - fn_glProgramUniform1dv = new Deno.UnsafeFnPointer(proc("glProgramUniform1dv"), def_glProgramUniform1dv); - fn_glProgramUniform1ui = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui"), def_glProgramUniform1ui); - fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform1uiv"), def_glProgramUniform1uiv); - fn_glProgramUniform2i = new Deno.UnsafeFnPointer(proc("glProgramUniform2i"), def_glProgramUniform2i); - fn_glProgramUniform2iv = new Deno.UnsafeFnPointer(proc("glProgramUniform2iv"), def_glProgramUniform2iv); - fn_glProgramUniform2f = new Deno.UnsafeFnPointer(proc("glProgramUniform2f"), def_glProgramUniform2f); - fn_glProgramUniform2fv = new Deno.UnsafeFnPointer(proc("glProgramUniform2fv"), def_glProgramUniform2fv); - fn_glProgramUniform2d = new Deno.UnsafeFnPointer(proc("glProgramUniform2d"), def_glProgramUniform2d); - fn_glProgramUniform2dv = new Deno.UnsafeFnPointer(proc("glProgramUniform2dv"), def_glProgramUniform2dv); - fn_glProgramUniform2ui = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui"), def_glProgramUniform2ui); - fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform2uiv"), def_glProgramUniform2uiv); - fn_glProgramUniform3i = new Deno.UnsafeFnPointer(proc("glProgramUniform3i"), def_glProgramUniform3i); - fn_glProgramUniform3iv = new Deno.UnsafeFnPointer(proc("glProgramUniform3iv"), def_glProgramUniform3iv); - fn_glProgramUniform3f = new Deno.UnsafeFnPointer(proc("glProgramUniform3f"), def_glProgramUniform3f); - fn_glProgramUniform3fv = new Deno.UnsafeFnPointer(proc("glProgramUniform3fv"), def_glProgramUniform3fv); - fn_glProgramUniform3d = new Deno.UnsafeFnPointer(proc("glProgramUniform3d"), def_glProgramUniform3d); - fn_glProgramUniform3dv = new Deno.UnsafeFnPointer(proc("glProgramUniform3dv"), def_glProgramUniform3dv); - fn_glProgramUniform3ui = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui"), def_glProgramUniform3ui); - fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform3uiv"), def_glProgramUniform3uiv); - fn_glProgramUniform4i = new Deno.UnsafeFnPointer(proc("glProgramUniform4i"), def_glProgramUniform4i); - fn_glProgramUniform4iv = new Deno.UnsafeFnPointer(proc("glProgramUniform4iv"), def_glProgramUniform4iv); - fn_glProgramUniform4f = new Deno.UnsafeFnPointer(proc("glProgramUniform4f"), def_glProgramUniform4f); - fn_glProgramUniform4fv = new Deno.UnsafeFnPointer(proc("glProgramUniform4fv"), def_glProgramUniform4fv); - fn_glProgramUniform4d = new Deno.UnsafeFnPointer(proc("glProgramUniform4d"), def_glProgramUniform4d); - fn_glProgramUniform4dv = new Deno.UnsafeFnPointer(proc("glProgramUniform4dv"), def_glProgramUniform4dv); - fn_glProgramUniform4ui = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui"), def_glProgramUniform4ui); - fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform4uiv"), def_glProgramUniform4uiv); - fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2fv"), def_glProgramUniformMatrix2fv); - fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3fv"), def_glProgramUniformMatrix3fv); - fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4fv"), def_glProgramUniformMatrix4fv); - fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2dv"), def_glProgramUniformMatrix2dv); - fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3dv"), def_glProgramUniformMatrix3dv); - fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4dv"), def_glProgramUniformMatrix4dv); - fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3fv"), def_glProgramUniformMatrix2x3fv); - fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2fv"), def_glProgramUniformMatrix3x2fv); - fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4fv"), def_glProgramUniformMatrix2x4fv); - fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2fv"), def_glProgramUniformMatrix4x2fv); - fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4fv"), def_glProgramUniformMatrix3x4fv); - fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3fv"), def_glProgramUniformMatrix4x3fv); - fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3dv"), def_glProgramUniformMatrix2x3dv); - fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2dv"), def_glProgramUniformMatrix3x2dv); - fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4dv"), def_glProgramUniformMatrix2x4dv); - fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2dv"), def_glProgramUniformMatrix4x2dv); - fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4dv"), def_glProgramUniformMatrix3x4dv); - fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3dv"), def_glProgramUniformMatrix4x3dv); - fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer(proc("glValidateProgramPipeline"), def_glValidateProgramPipeline); - fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineInfoLog"), def_glGetProgramPipelineInfoLog); - fn_glVertexAttribL1d = new Deno.UnsafeFnPointer(proc("glVertexAttribL1d"), def_glVertexAttribL1d); - fn_glVertexAttribL2d = new Deno.UnsafeFnPointer(proc("glVertexAttribL2d"), def_glVertexAttribL2d); - fn_glVertexAttribL3d = new Deno.UnsafeFnPointer(proc("glVertexAttribL3d"), def_glVertexAttribL3d); - fn_glVertexAttribL4d = new Deno.UnsafeFnPointer(proc("glVertexAttribL4d"), def_glVertexAttribL4d); - fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL1dv"), def_glVertexAttribL1dv); - fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL2dv"), def_glVertexAttribL2dv); - fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL3dv"), def_glVertexAttribL3dv); - fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer(proc("glVertexAttribL4dv"), def_glVertexAttribL4dv); - fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribLPointer"), def_glVertexAttribLPointer); - fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribLdv"), def_glGetVertexAttribLdv); - fn_glViewportArrayv = new Deno.UnsafeFnPointer(proc("glViewportArrayv"), def_glViewportArrayv); - fn_glViewportIndexedf = new Deno.UnsafeFnPointer(proc("glViewportIndexedf"), def_glViewportIndexedf); - fn_glViewportIndexedfv = new Deno.UnsafeFnPointer(proc("glViewportIndexedfv"), def_glViewportIndexedfv); - fn_glScissorArrayv = new Deno.UnsafeFnPointer(proc("glScissorArrayv"), def_glScissorArrayv); - fn_glScissorIndexed = new Deno.UnsafeFnPointer(proc("glScissorIndexed"), def_glScissorIndexed); - fn_glScissorIndexedv = new Deno.UnsafeFnPointer(proc("glScissorIndexedv"), def_glScissorIndexedv); - fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer(proc("glDepthRangeArrayv"), def_glDepthRangeArrayv); - fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer(proc("glDepthRangeIndexed"), def_glDepthRangeIndexed); - fn_glGetFloati_v = new Deno.UnsafeFnPointer(proc("glGetFloati_v"), def_glGetFloati_v); - fn_glGetDoublei_v = new Deno.UnsafeFnPointer(proc("glGetDoublei_v"), def_glGetDoublei_v); - fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawArraysInstancedBaseInstance"), def_glDrawArraysInstancedBaseInstance); - fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseInstance"), def_glDrawElementsInstancedBaseInstance); - fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertexBaseInstance"), def_glDrawElementsInstancedBaseVertexBaseInstance); - fn_glGetInternalformativ = new Deno.UnsafeFnPointer(proc("glGetInternalformativ"), def_glGetInternalformativ); - fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer(proc("glGetActiveAtomicCounterBufferiv"), def_glGetActiveAtomicCounterBufferiv); - fn_glBindImageTexture = new Deno.UnsafeFnPointer(proc("glBindImageTexture"), def_glBindImageTexture); - fn_glMemoryBarrier = new Deno.UnsafeFnPointer(proc("glMemoryBarrier"), def_glMemoryBarrier); - fn_glTexStorage1D = new Deno.UnsafeFnPointer(proc("glTexStorage1D"), def_glTexStorage1D); - fn_glTexStorage2D = new Deno.UnsafeFnPointer(proc("glTexStorage2D"), def_glTexStorage2D); - fn_glTexStorage3D = new Deno.UnsafeFnPointer(proc("glTexStorage3D"), def_glTexStorage3D); - fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackInstanced"), def_glDrawTransformFeedbackInstanced); - fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStreamInstanced"), def_glDrawTransformFeedbackStreamInstanced); - fn_glClearBufferData = new Deno.UnsafeFnPointer(proc("glClearBufferData"), def_glClearBufferData); - fn_glClearBufferSubData = new Deno.UnsafeFnPointer(proc("glClearBufferSubData"), def_glClearBufferSubData); - fn_glDispatchCompute = new Deno.UnsafeFnPointer(proc("glDispatchCompute"), def_glDispatchCompute); - fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer(proc("glDispatchComputeIndirect"), def_glDispatchComputeIndirect); - fn_glCopyImageSubData = new Deno.UnsafeFnPointer(proc("glCopyImageSubData"), def_glCopyImageSubData); - fn_glFramebufferParameteri = new Deno.UnsafeFnPointer(proc("glFramebufferParameteri"), def_glFramebufferParameteri); - fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferParameteriv"), def_glGetFramebufferParameteriv); - fn_glGetInternalformati64v = new Deno.UnsafeFnPointer(proc("glGetInternalformati64v"), def_glGetInternalformati64v); - fn_glInvalidateTexSubImage = new Deno.UnsafeFnPointer(proc("glInvalidateTexSubImage"), def_glInvalidateTexSubImage); - fn_glInvalidateTexImage = new Deno.UnsafeFnPointer(proc("glInvalidateTexImage"), def_glInvalidateTexImage); - fn_glInvalidateBufferSubData = new Deno.UnsafeFnPointer(proc("glInvalidateBufferSubData"), def_glInvalidateBufferSubData); - fn_glInvalidateBufferData = new Deno.UnsafeFnPointer(proc("glInvalidateBufferData"), def_glInvalidateBufferData); - fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateFramebuffer"), def_glInvalidateFramebuffer); - fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateSubFramebuffer"), def_glInvalidateSubFramebuffer); - fn_glMultiDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysIndirect"), def_glMultiDrawArraysIndirect); - fn_glMultiDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsIndirect"), def_glMultiDrawElementsIndirect); - fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer(proc("glGetProgramInterfaceiv"), def_glGetProgramInterfaceiv); - fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceIndex"), def_glGetProgramResourceIndex); - fn_glGetProgramResourceName = new Deno.UnsafeFnPointer(proc("glGetProgramResourceName"), def_glGetProgramResourceName); - fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer(proc("glGetProgramResourceiv"), def_glGetProgramResourceiv); - fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocation"), def_glGetProgramResourceLocation); - fn_glGetProgramResourceLocationIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocationIndex"), def_glGetProgramResourceLocationIndex); - fn_glShaderStorageBlockBinding = new Deno.UnsafeFnPointer(proc("glShaderStorageBlockBinding"), def_glShaderStorageBlockBinding); - fn_glTexBufferRange = new Deno.UnsafeFnPointer(proc("glTexBufferRange"), def_glTexBufferRange); - fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage2DMultisample"), def_glTexStorage2DMultisample); - fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage3DMultisample"), def_glTexStorage3DMultisample); - fn_glTextureView = new Deno.UnsafeFnPointer(proc("glTextureView"), def_glTextureView); - fn_glBindVertexBuffer = new Deno.UnsafeFnPointer(proc("glBindVertexBuffer"), def_glBindVertexBuffer); - fn_glVertexAttribFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribFormat"), def_glVertexAttribFormat); - fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribIFormat"), def_glVertexAttribIFormat); - fn_glVertexAttribLFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribLFormat"), def_glVertexAttribLFormat); - fn_glVertexAttribBinding = new Deno.UnsafeFnPointer(proc("glVertexAttribBinding"), def_glVertexAttribBinding); - fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer(proc("glVertexBindingDivisor"), def_glVertexBindingDivisor); - fn_glDebugMessageControl = new Deno.UnsafeFnPointer(proc("glDebugMessageControl"), def_glDebugMessageControl); - fn_glDebugMessageInsert = new Deno.UnsafeFnPointer(proc("glDebugMessageInsert"), def_glDebugMessageInsert); - fn_glDebugMessageCallback = new Deno.UnsafeFnPointer(proc("glDebugMessageCallback"), def_glDebugMessageCallback); - fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer(proc("glGetDebugMessageLog"), def_glGetDebugMessageLog); - fn_glPushDebugGroup = new Deno.UnsafeFnPointer(proc("glPushDebugGroup"), def_glPushDebugGroup); - fn_glPopDebugGroup = new Deno.UnsafeFnPointer(proc("glPopDebugGroup"), def_glPopDebugGroup); - fn_glObjectLabel = new Deno.UnsafeFnPointer(proc("glObjectLabel"), def_glObjectLabel); - fn_glGetObjectLabel = new Deno.UnsafeFnPointer(proc("glGetObjectLabel"), def_glGetObjectLabel); - fn_glObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glObjectPtrLabel"), def_glObjectPtrLabel); - fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glGetObjectPtrLabel"), def_glGetObjectPtrLabel); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glBufferStorage = new Deno.UnsafeFnPointer(proc("glBufferStorage"), def_glBufferStorage); - fn_glClearTexImage = new Deno.UnsafeFnPointer(proc("glClearTexImage"), def_glClearTexImage); - fn_glClearTexSubImage = new Deno.UnsafeFnPointer(proc("glClearTexSubImage"), def_glClearTexSubImage); - fn_glBindBuffersBase = new Deno.UnsafeFnPointer(proc("glBindBuffersBase"), def_glBindBuffersBase); - fn_glBindBuffersRange = new Deno.UnsafeFnPointer(proc("glBindBuffersRange"), def_glBindBuffersRange); - fn_glBindTextures = new Deno.UnsafeFnPointer(proc("glBindTextures"), def_glBindTextures); - fn_glBindSamplers = new Deno.UnsafeFnPointer(proc("glBindSamplers"), def_glBindSamplers); - fn_glBindImageTextures = new Deno.UnsafeFnPointer(proc("glBindImageTextures"), def_glBindImageTextures); - fn_glBindVertexBuffers = new Deno.UnsafeFnPointer(proc("glBindVertexBuffers"), def_glBindVertexBuffers); - fn_glClipControl = new Deno.UnsafeFnPointer(proc("glClipControl"), def_glClipControl); - fn_glCreateTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glCreateTransformFeedbacks"), def_glCreateTransformFeedbacks); - fn_glTransformFeedbackBufferBase = new Deno.UnsafeFnPointer(proc("glTransformFeedbackBufferBase"), def_glTransformFeedbackBufferBase); - fn_glTransformFeedbackBufferRange = new Deno.UnsafeFnPointer(proc("glTransformFeedbackBufferRange"), def_glTransformFeedbackBufferRange); - fn_glGetTransformFeedbackiv = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackiv"), def_glGetTransformFeedbackiv); - fn_glGetTransformFeedbacki_v = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbacki_v"), def_glGetTransformFeedbacki_v); - fn_glGetTransformFeedbacki64_v = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbacki64_v"), def_glGetTransformFeedbacki64_v); - fn_glCreateBuffers = new Deno.UnsafeFnPointer(proc("glCreateBuffers"), def_glCreateBuffers); - fn_glNamedBufferStorage = new Deno.UnsafeFnPointer(proc("glNamedBufferStorage"), def_glNamedBufferStorage); - fn_glNamedBufferData = new Deno.UnsafeFnPointer(proc("glNamedBufferData"), def_glNamedBufferData); - fn_glNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glNamedBufferSubData"), def_glNamedBufferSubData); - fn_glCopyNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyNamedBufferSubData"), def_glCopyNamedBufferSubData); - fn_glClearNamedBufferData = new Deno.UnsafeFnPointer(proc("glClearNamedBufferData"), def_glClearNamedBufferData); - fn_glClearNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glClearNamedBufferSubData"), def_glClearNamedBufferSubData); - fn_glMapNamedBuffer = new Deno.UnsafeFnPointer(proc("glMapNamedBuffer"), def_glMapNamedBuffer); - fn_glMapNamedBufferRange = new Deno.UnsafeFnPointer(proc("glMapNamedBufferRange"), def_glMapNamedBufferRange); - fn_glUnmapNamedBuffer = new Deno.UnsafeFnPointer(proc("glUnmapNamedBuffer"), def_glUnmapNamedBuffer); - fn_glFlushMappedNamedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedNamedBufferRange"), def_glFlushMappedNamedBufferRange); - fn_glGetNamedBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedBufferParameteriv"), def_glGetNamedBufferParameteriv); - fn_glGetNamedBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetNamedBufferParameteri64v"), def_glGetNamedBufferParameteri64v); - fn_glGetNamedBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetNamedBufferPointerv"), def_glGetNamedBufferPointerv); - fn_glGetNamedBufferSubData = new Deno.UnsafeFnPointer(proc("glGetNamedBufferSubData"), def_glGetNamedBufferSubData); - fn_glCreateFramebuffers = new Deno.UnsafeFnPointer(proc("glCreateFramebuffers"), def_glCreateFramebuffers); - fn_glNamedFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferRenderbuffer"), def_glNamedFramebufferRenderbuffer); - fn_glNamedFramebufferParameteri = new Deno.UnsafeFnPointer(proc("glNamedFramebufferParameteri"), def_glNamedFramebufferParameteri); - fn_glNamedFramebufferTexture = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTexture"), def_glNamedFramebufferTexture); - fn_glNamedFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferTextureLayer"), def_glNamedFramebufferTextureLayer); - fn_glNamedFramebufferDrawBuffer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferDrawBuffer"), def_glNamedFramebufferDrawBuffer); - fn_glNamedFramebufferDrawBuffers = new Deno.UnsafeFnPointer(proc("glNamedFramebufferDrawBuffers"), def_glNamedFramebufferDrawBuffers); - fn_glNamedFramebufferReadBuffer = new Deno.UnsafeFnPointer(proc("glNamedFramebufferReadBuffer"), def_glNamedFramebufferReadBuffer); - fn_glInvalidateNamedFramebufferData = new Deno.UnsafeFnPointer(proc("glInvalidateNamedFramebufferData"), def_glInvalidateNamedFramebufferData); - fn_glInvalidateNamedFramebufferSubData = new Deno.UnsafeFnPointer(proc("glInvalidateNamedFramebufferSubData"), def_glInvalidateNamedFramebufferSubData); - fn_glClearNamedFramebufferiv = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferiv"), def_glClearNamedFramebufferiv); - fn_glClearNamedFramebufferuiv = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferuiv"), def_glClearNamedFramebufferuiv); - fn_glClearNamedFramebufferfv = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferfv"), def_glClearNamedFramebufferfv); - fn_glClearNamedFramebufferfi = new Deno.UnsafeFnPointer(proc("glClearNamedFramebufferfi"), def_glClearNamedFramebufferfi); - fn_glBlitNamedFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitNamedFramebuffer"), def_glBlitNamedFramebuffer); - fn_glCheckNamedFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckNamedFramebufferStatus"), def_glCheckNamedFramebufferStatus); - fn_glGetNamedFramebufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedFramebufferParameteriv"), def_glGetNamedFramebufferParameteriv); - fn_glGetNamedFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedFramebufferAttachmentParameteriv"), def_glGetNamedFramebufferAttachmentParameteriv); - fn_glCreateRenderbuffers = new Deno.UnsafeFnPointer(proc("glCreateRenderbuffers"), def_glCreateRenderbuffers); - fn_glNamedRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glNamedRenderbufferStorage"), def_glNamedRenderbufferStorage); - fn_glNamedRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glNamedRenderbufferStorageMultisample"), def_glNamedRenderbufferStorageMultisample); - fn_glGetNamedRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetNamedRenderbufferParameteriv"), def_glGetNamedRenderbufferParameteriv); - fn_glCreateTextures = new Deno.UnsafeFnPointer(proc("glCreateTextures"), def_glCreateTextures); - fn_glTextureBuffer = new Deno.UnsafeFnPointer(proc("glTextureBuffer"), def_glTextureBuffer); - fn_glTextureBufferRange = new Deno.UnsafeFnPointer(proc("glTextureBufferRange"), def_glTextureBufferRange); - fn_glTextureStorage1D = new Deno.UnsafeFnPointer(proc("glTextureStorage1D"), def_glTextureStorage1D); - fn_glTextureStorage2D = new Deno.UnsafeFnPointer(proc("glTextureStorage2D"), def_glTextureStorage2D); - fn_glTextureStorage3D = new Deno.UnsafeFnPointer(proc("glTextureStorage3D"), def_glTextureStorage3D); - fn_glTextureStorage2DMultisample = new Deno.UnsafeFnPointer(proc("glTextureStorage2DMultisample"), def_glTextureStorage2DMultisample); - fn_glTextureStorage3DMultisample = new Deno.UnsafeFnPointer(proc("glTextureStorage3DMultisample"), def_glTextureStorage3DMultisample); - fn_glTextureSubImage1D = new Deno.UnsafeFnPointer(proc("glTextureSubImage1D"), def_glTextureSubImage1D); - fn_glTextureSubImage2D = new Deno.UnsafeFnPointer(proc("glTextureSubImage2D"), def_glTextureSubImage2D); - fn_glTextureSubImage3D = new Deno.UnsafeFnPointer(proc("glTextureSubImage3D"), def_glTextureSubImage3D); - fn_glCompressedTextureSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage1D"), def_glCompressedTextureSubImage1D); - fn_glCompressedTextureSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage2D"), def_glCompressedTextureSubImage2D); - fn_glCompressedTextureSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTextureSubImage3D"), def_glCompressedTextureSubImage3D); - fn_glCopyTextureSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage1D"), def_glCopyTextureSubImage1D); - fn_glCopyTextureSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage2D"), def_glCopyTextureSubImage2D); - fn_glCopyTextureSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTextureSubImage3D"), def_glCopyTextureSubImage3D); - fn_glTextureParameterf = new Deno.UnsafeFnPointer(proc("glTextureParameterf"), def_glTextureParameterf); - fn_glTextureParameterfv = new Deno.UnsafeFnPointer(proc("glTextureParameterfv"), def_glTextureParameterfv); - fn_glTextureParameteri = new Deno.UnsafeFnPointer(proc("glTextureParameteri"), def_glTextureParameteri); - fn_glTextureParameterIiv = new Deno.UnsafeFnPointer(proc("glTextureParameterIiv"), def_glTextureParameterIiv); - fn_glTextureParameterIuiv = new Deno.UnsafeFnPointer(proc("glTextureParameterIuiv"), def_glTextureParameterIuiv); - fn_glTextureParameteriv = new Deno.UnsafeFnPointer(proc("glTextureParameteriv"), def_glTextureParameteriv); - fn_glGenerateTextureMipmap = new Deno.UnsafeFnPointer(proc("glGenerateTextureMipmap"), def_glGenerateTextureMipmap); - fn_glBindTextureUnit = new Deno.UnsafeFnPointer(proc("glBindTextureUnit"), def_glBindTextureUnit); - fn_glGetTextureImage = new Deno.UnsafeFnPointer(proc("glGetTextureImage"), def_glGetTextureImage); - fn_glGetCompressedTextureImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTextureImage"), def_glGetCompressedTextureImage); - fn_glGetTextureLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTextureLevelParameterfv"), def_glGetTextureLevelParameterfv); - fn_glGetTextureLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTextureLevelParameteriv"), def_glGetTextureLevelParameteriv); - fn_glGetTextureParameterfv = new Deno.UnsafeFnPointer(proc("glGetTextureParameterfv"), def_glGetTextureParameterfv); - fn_glGetTextureParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTextureParameterIiv"), def_glGetTextureParameterIiv); - fn_glGetTextureParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTextureParameterIuiv"), def_glGetTextureParameterIuiv); - fn_glGetTextureParameteriv = new Deno.UnsafeFnPointer(proc("glGetTextureParameteriv"), def_glGetTextureParameteriv); - fn_glCreateVertexArrays = new Deno.UnsafeFnPointer(proc("glCreateVertexArrays"), def_glCreateVertexArrays); - fn_glDisableVertexArrayAttrib = new Deno.UnsafeFnPointer(proc("glDisableVertexArrayAttrib"), def_glDisableVertexArrayAttrib); - fn_glEnableVertexArrayAttrib = new Deno.UnsafeFnPointer(proc("glEnableVertexArrayAttrib"), def_glEnableVertexArrayAttrib); - fn_glVertexArrayElementBuffer = new Deno.UnsafeFnPointer(proc("glVertexArrayElementBuffer"), def_glVertexArrayElementBuffer); - fn_glVertexArrayVertexBuffer = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexBuffer"), def_glVertexArrayVertexBuffer); - fn_glVertexArrayVertexBuffers = new Deno.UnsafeFnPointer(proc("glVertexArrayVertexBuffers"), def_glVertexArrayVertexBuffers); - fn_glVertexArrayAttribBinding = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribBinding"), def_glVertexArrayAttribBinding); - fn_glVertexArrayAttribFormat = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribFormat"), def_glVertexArrayAttribFormat); - fn_glVertexArrayAttribIFormat = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribIFormat"), def_glVertexArrayAttribIFormat); - fn_glVertexArrayAttribLFormat = new Deno.UnsafeFnPointer(proc("glVertexArrayAttribLFormat"), def_glVertexArrayAttribLFormat); - fn_glVertexArrayBindingDivisor = new Deno.UnsafeFnPointer(proc("glVertexArrayBindingDivisor"), def_glVertexArrayBindingDivisor); - fn_glGetVertexArrayiv = new Deno.UnsafeFnPointer(proc("glGetVertexArrayiv"), def_glGetVertexArrayiv); - fn_glGetVertexArrayIndexediv = new Deno.UnsafeFnPointer(proc("glGetVertexArrayIndexediv"), def_glGetVertexArrayIndexediv); - fn_glGetVertexArrayIndexed64iv = new Deno.UnsafeFnPointer(proc("glGetVertexArrayIndexed64iv"), def_glGetVertexArrayIndexed64iv); - fn_glCreateSamplers = new Deno.UnsafeFnPointer(proc("glCreateSamplers"), def_glCreateSamplers); - fn_glCreateProgramPipelines = new Deno.UnsafeFnPointer(proc("glCreateProgramPipelines"), def_glCreateProgramPipelines); - fn_glCreateQueries = new Deno.UnsafeFnPointer(proc("glCreateQueries"), def_glCreateQueries); - fn_glGetQueryBufferObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjecti64v"), def_glGetQueryBufferObjecti64v); - fn_glGetQueryBufferObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjectiv"), def_glGetQueryBufferObjectiv); - fn_glGetQueryBufferObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjectui64v"), def_glGetQueryBufferObjectui64v); - fn_glGetQueryBufferObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryBufferObjectuiv"), def_glGetQueryBufferObjectuiv); - fn_glMemoryBarrierByRegion = new Deno.UnsafeFnPointer(proc("glMemoryBarrierByRegion"), def_glMemoryBarrierByRegion); - fn_glGetTextureSubImage = new Deno.UnsafeFnPointer(proc("glGetTextureSubImage"), def_glGetTextureSubImage); - fn_glGetCompressedTextureSubImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTextureSubImage"), def_glGetCompressedTextureSubImage); - fn_glGetGraphicsResetStatus = new Deno.UnsafeFnPointer(proc("glGetGraphicsResetStatus"), def_glGetGraphicsResetStatus); - fn_glGetnCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetnCompressedTexImage"), def_glGetnCompressedTexImage); - fn_glGetnTexImage = new Deno.UnsafeFnPointer(proc("glGetnTexImage"), def_glGetnTexImage); - fn_glGetnUniformdv = new Deno.UnsafeFnPointer(proc("glGetnUniformdv"), def_glGetnUniformdv); - fn_glGetnUniformfv = new Deno.UnsafeFnPointer(proc("glGetnUniformfv"), def_glGetnUniformfv); - fn_glGetnUniformiv = new Deno.UnsafeFnPointer(proc("glGetnUniformiv"), def_glGetnUniformiv); - fn_glGetnUniformuiv = new Deno.UnsafeFnPointer(proc("glGetnUniformuiv"), def_glGetnUniformuiv); - fn_glReadnPixels = new Deno.UnsafeFnPointer(proc("glReadnPixels"), def_glReadnPixels); - fn_glGetnMapdv = new Deno.UnsafeFnPointer(proc("glGetnMapdv"), def_glGetnMapdv); - fn_glGetnMapfv = new Deno.UnsafeFnPointer(proc("glGetnMapfv"), def_glGetnMapfv); - fn_glGetnMapiv = new Deno.UnsafeFnPointer(proc("glGetnMapiv"), def_glGetnMapiv); - fn_glGetnPixelMapfv = new Deno.UnsafeFnPointer(proc("glGetnPixelMapfv"), def_glGetnPixelMapfv); - fn_glGetnPixelMapuiv = new Deno.UnsafeFnPointer(proc("glGetnPixelMapuiv"), def_glGetnPixelMapuiv); - fn_glGetnPixelMapusv = new Deno.UnsafeFnPointer(proc("glGetnPixelMapusv"), def_glGetnPixelMapusv); - fn_glGetnPolygonStipple = new Deno.UnsafeFnPointer(proc("glGetnPolygonStipple"), def_glGetnPolygonStipple); - fn_glGetnColorTable = new Deno.UnsafeFnPointer(proc("glGetnColorTable"), def_glGetnColorTable); - fn_glGetnConvolutionFilter = new Deno.UnsafeFnPointer(proc("glGetnConvolutionFilter"), def_glGetnConvolutionFilter); - fn_glGetnSeparableFilter = new Deno.UnsafeFnPointer(proc("glGetnSeparableFilter"), def_glGetnSeparableFilter); - fn_glGetnHistogram = new Deno.UnsafeFnPointer(proc("glGetnHistogram"), def_glGetnHistogram); - fn_glGetnMinmax = new Deno.UnsafeFnPointer(proc("glGetnMinmax"), def_glGetnMinmax); - fn_glTextureBarrier = new Deno.UnsafeFnPointer(proc("glTextureBarrier"), def_glTextureBarrier); - fn_glSpecializeShader = new Deno.UnsafeFnPointer(proc("glSpecializeShader"), def_glSpecializeShader); - fn_glMultiDrawArraysIndirectCount = new Deno.UnsafeFnPointer(proc("glMultiDrawArraysIndirectCount"), def_glMultiDrawArraysIndirectCount); - fn_glMultiDrawElementsIndirectCount = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsIndirectCount"), def_glMultiDrawElementsIndirectCount); - fn_glPolygonOffsetClamp = new Deno.UnsafeFnPointer(proc("glPolygonOffsetClamp"), def_glPolygonOffsetClamp); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glClampColor = new Deno.UnsafeFnPointer( + proc("glClampColor"), + def_glClampColor, + ); + fn_glBeginConditionalRender = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRender"), + def_glBeginConditionalRender, + ); + fn_glEndConditionalRender = new Deno.UnsafeFnPointer( + proc("glEndConditionalRender"), + def_glEndConditionalRender, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI1i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1i"), + def_glVertexAttribI1i, + ); + fn_glVertexAttribI2i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2i"), + def_glVertexAttribI2i, + ); + fn_glVertexAttribI3i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3i"), + def_glVertexAttribI3i, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ui"), + def_glVertexAttribI1ui, + ); + fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ui"), + def_glVertexAttribI2ui, + ); + fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ui"), + def_glVertexAttribI3ui, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iv"), + def_glVertexAttribI1iv, + ); + fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iv"), + def_glVertexAttribI2iv, + ); + fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iv"), + def_glVertexAttribI3iv, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiv"), + def_glVertexAttribI1uiv, + ); + fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiv"), + def_glVertexAttribI2uiv, + ); + fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiv"), + def_glVertexAttribI3uiv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bv"), + def_glVertexAttribI4bv, + ); + fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4sv"), + def_glVertexAttribI4sv, + ); + fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubv"), + def_glVertexAttribI4ubv, + ); + fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usv"), + def_glVertexAttribI4usv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glBindFragDataLocation = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocation"), + def_glBindFragDataLocation, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glTexBuffer = new Deno.UnsafeFnPointer( + proc("glTexBuffer"), + def_glTexBuffer, + ); + fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartIndex"), + def_glPrimitiveRestartIndex, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetActiveUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformName"), + def_glGetActiveUniformName, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertex"), + def_glDrawElementsBaseVertex, + ); + fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertex"), + def_glDrawRangeElementsBaseVertex, + ); + fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertex"), + def_glDrawElementsInstancedBaseVertex, + ); + fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertex"), + def_glMultiDrawElementsBaseVertex, + ); + fn_glProvokingVertex = new Deno.UnsafeFnPointer( + proc("glProvokingVertex"), + def_glProvokingVertex, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); + fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); + fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture"), + def_glFramebufferTexture, + ); + fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage2DMultisample"), + def_glTexImage2DMultisample, + ); + fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage3DMultisample"), + def_glTexImage3DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); + fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationIndexed"), + def_glBindFragDataLocationIndexed, + ); + fn_glGetFragDataIndex = new Deno.UnsafeFnPointer( + proc("glGetFragDataIndex"), + def_glGetFragDataIndex, + ); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIiv"), + def_glSamplerParameterIiv, + ); + fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuiv"), + def_glSamplerParameterIuiv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIiv"), + def_glGetSamplerParameterIiv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuiv"), + def_glGetSamplerParameterIuiv, + ); + fn_glQueryCounter = new Deno.UnsafeFnPointer( + proc("glQueryCounter"), + def_glQueryCounter, + ); + fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjecti64v"), + def_glGetQueryObjecti64v, + ); + fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectui64v"), + def_glGetQueryObjectui64v, + ); + fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisor"), + def_glVertexAttribDivisor, + ); + fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1ui"), + def_glVertexAttribP1ui, + ); + fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1uiv"), + def_glVertexAttribP1uiv, + ); + fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2ui"), + def_glVertexAttribP2ui, + ); + fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2uiv"), + def_glVertexAttribP2uiv, + ); + fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3ui"), + def_glVertexAttribP3ui, + ); + fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3uiv"), + def_glVertexAttribP3uiv, + ); + fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4ui"), + def_glVertexAttribP4ui, + ); + fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4uiv"), + def_glVertexAttribP4uiv, + ); + fn_glVertexP2ui = new Deno.UnsafeFnPointer( + proc("glVertexP2ui"), + def_glVertexP2ui, + ); + fn_glVertexP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexP2uiv"), + def_glVertexP2uiv, + ); + fn_glVertexP3ui = new Deno.UnsafeFnPointer( + proc("glVertexP3ui"), + def_glVertexP3ui, + ); + fn_glVertexP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexP3uiv"), + def_glVertexP3uiv, + ); + fn_glVertexP4ui = new Deno.UnsafeFnPointer( + proc("glVertexP4ui"), + def_glVertexP4ui, + ); + fn_glVertexP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexP4uiv"), + def_glVertexP4uiv, + ); + fn_glTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP1ui"), + def_glTexCoordP1ui, + ); + fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP1uiv"), + def_glTexCoordP1uiv, + ); + fn_glTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP2ui"), + def_glTexCoordP2ui, + ); + fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP2uiv"), + def_glTexCoordP2uiv, + ); + fn_glTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP3ui"), + def_glTexCoordP3ui, + ); + fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP3uiv"), + def_glTexCoordP3uiv, + ); + fn_glTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP4ui"), + def_glTexCoordP4ui, + ); + fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP4uiv"), + def_glTexCoordP4uiv, + ); + fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1ui"), + def_glMultiTexCoordP1ui, + ); + fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1uiv"), + def_glMultiTexCoordP1uiv, + ); + fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2ui"), + def_glMultiTexCoordP2ui, + ); + fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2uiv"), + def_glMultiTexCoordP2uiv, + ); + fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3ui"), + def_glMultiTexCoordP3ui, + ); + fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3uiv"), + def_glMultiTexCoordP3uiv, + ); + fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4ui"), + def_glMultiTexCoordP4ui, + ); + fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4uiv"), + def_glMultiTexCoordP4uiv, + ); + fn_glNormalP3ui = new Deno.UnsafeFnPointer( + proc("glNormalP3ui"), + def_glNormalP3ui, + ); + fn_glNormalP3uiv = new Deno.UnsafeFnPointer( + proc("glNormalP3uiv"), + def_glNormalP3uiv, + ); + fn_glColorP3ui = new Deno.UnsafeFnPointer( + proc("glColorP3ui"), + def_glColorP3ui, + ); + fn_glColorP3uiv = new Deno.UnsafeFnPointer( + proc("glColorP3uiv"), + def_glColorP3uiv, + ); + fn_glColorP4ui = new Deno.UnsafeFnPointer( + proc("glColorP4ui"), + def_glColorP4ui, + ); + fn_glColorP4uiv = new Deno.UnsafeFnPointer( + proc("glColorP4uiv"), + def_glColorP4uiv, + ); + fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3ui"), + def_glSecondaryColorP3ui, + ); + fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3uiv"), + def_glSecondaryColorP3uiv, + ); + fn_glMinSampleShading = new Deno.UnsafeFnPointer( + proc("glMinSampleShading"), + def_glMinSampleShading, + ); + fn_glBlendEquationi = new Deno.UnsafeFnPointer( + proc("glBlendEquationi"), + def_glBlendEquationi, + ); + fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparatei"), + def_glBlendEquationSeparatei, + ); + fn_glBlendFunci = new Deno.UnsafeFnPointer( + proc("glBlendFunci"), + def_glBlendFunci, + ); + fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparatei"), + def_glBlendFuncSeparatei, + ); + fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glDrawArraysIndirect"), + def_glDrawArraysIndirect, + ); + fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glDrawElementsIndirect"), + def_glDrawElementsIndirect, + ); + fn_glUniform1d = new Deno.UnsafeFnPointer( + proc("glUniform1d"), + def_glUniform1d, + ); + fn_glUniform2d = new Deno.UnsafeFnPointer( + proc("glUniform2d"), + def_glUniform2d, + ); + fn_glUniform3d = new Deno.UnsafeFnPointer( + proc("glUniform3d"), + def_glUniform3d, + ); + fn_glUniform4d = new Deno.UnsafeFnPointer( + proc("glUniform4d"), + def_glUniform4d, + ); + fn_glUniform1dv = new Deno.UnsafeFnPointer( + proc("glUniform1dv"), + def_glUniform1dv, + ); + fn_glUniform2dv = new Deno.UnsafeFnPointer( + proc("glUniform2dv"), + def_glUniform2dv, + ); + fn_glUniform3dv = new Deno.UnsafeFnPointer( + proc("glUniform3dv"), + def_glUniform3dv, + ); + fn_glUniform4dv = new Deno.UnsafeFnPointer( + proc("glUniform4dv"), + def_glUniform4dv, + ); + fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2dv"), + def_glUniformMatrix2dv, + ); + fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3dv"), + def_glUniformMatrix3dv, + ); + fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4dv"), + def_glUniformMatrix4dv, + ); + fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3dv"), + def_glUniformMatrix2x3dv, + ); + fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4dv"), + def_glUniformMatrix2x4dv, + ); + fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2dv"), + def_glUniformMatrix3x2dv, + ); + fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4dv"), + def_glUniformMatrix3x4dv, + ); + fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2dv"), + def_glUniformMatrix4x2dv, + ); + fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3dv"), + def_glUniformMatrix4x3dv, + ); + fn_glGetUniformdv = new Deno.UnsafeFnPointer( + proc("glGetUniformdv"), + def_glGetUniformdv, + ); + fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetSubroutineUniformLocation"), + def_glGetSubroutineUniformLocation, + ); + fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer( + proc("glGetSubroutineIndex"), + def_glGetSubroutineIndex, + ); + fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformiv"), + def_glGetActiveSubroutineUniformiv, + ); + fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformName"), + def_glGetActiveSubroutineUniformName, + ); + fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineName"), + def_glGetActiveSubroutineName, + ); + fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer( + proc("glUniformSubroutinesuiv"), + def_glUniformSubroutinesuiv, + ); + fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformSubroutineuiv"), + def_glGetUniformSubroutineuiv, + ); + fn_glGetProgramStageiv = new Deno.UnsafeFnPointer( + proc("glGetProgramStageiv"), + def_glGetProgramStageiv, + ); + fn_glPatchParameteri = new Deno.UnsafeFnPointer( + proc("glPatchParameteri"), + def_glPatchParameteri, + ); + fn_glPatchParameterfv = new Deno.UnsafeFnPointer( + proc("glPatchParameterfv"), + def_glPatchParameterfv, + ); + fn_glBindTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedback"), + def_glBindTransformFeedback, + ); + fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacks"), + def_glDeleteTransformFeedbacks, + ); + fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacks"), + def_glGenTransformFeedbacks, + ); + fn_glIsTransformFeedback = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedback"), + def_glIsTransformFeedback, + ); + fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedback"), + def_glPauseTransformFeedback, + ); + fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedback"), + def_glResumeTransformFeedback, + ); + fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedback"), + def_glDrawTransformFeedback, + ); + fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStream"), + def_glDrawTransformFeedbackStream, + ); + fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer( + proc("glBeginQueryIndexed"), + def_glBeginQueryIndexed, + ); + fn_glEndQueryIndexed = new Deno.UnsafeFnPointer( + proc("glEndQueryIndexed"), + def_glEndQueryIndexed, + ); + fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer( + proc("glGetQueryIndexediv"), + def_glGetQueryIndexediv, + ); + fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer( + proc("glReleaseShaderCompiler"), + def_glReleaseShaderCompiler, + ); + fn_glShaderBinary = new Deno.UnsafeFnPointer( + proc("glShaderBinary"), + def_glShaderBinary, + ); + fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer( + proc("glGetShaderPrecisionFormat"), + def_glGetShaderPrecisionFormat, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glGetProgramBinary = new Deno.UnsafeFnPointer( + proc("glGetProgramBinary"), + def_glGetProgramBinary, + ); + fn_glProgramBinary = new Deno.UnsafeFnPointer( + proc("glProgramBinary"), + def_glProgramBinary, + ); + fn_glProgramParameteri = new Deno.UnsafeFnPointer( + proc("glProgramParameteri"), + def_glProgramParameteri, + ); + fn_glUseProgramStages = new Deno.UnsafeFnPointer( + proc("glUseProgramStages"), + def_glUseProgramStages, + ); + fn_glActiveShaderProgram = new Deno.UnsafeFnPointer( + proc("glActiveShaderProgram"), + def_glActiveShaderProgram, + ); + fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer( + proc("glCreateShaderProgramv"), + def_glCreateShaderProgramv, + ); + fn_glBindProgramPipeline = new Deno.UnsafeFnPointer( + proc("glBindProgramPipeline"), + def_glBindProgramPipeline, + ); + fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer( + proc("glDeleteProgramPipelines"), + def_glDeleteProgramPipelines, + ); + fn_glGenProgramPipelines = new Deno.UnsafeFnPointer( + proc("glGenProgramPipelines"), + def_glGenProgramPipelines, + ); + fn_glIsProgramPipeline = new Deno.UnsafeFnPointer( + proc("glIsProgramPipeline"), + def_glIsProgramPipeline, + ); + fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineiv"), + def_glGetProgramPipelineiv, + ); + fn_glProgramUniform1i = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i"), + def_glProgramUniform1i, + ); + fn_glProgramUniform1iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1iv"), + def_glProgramUniform1iv, + ); + fn_glProgramUniform1f = new Deno.UnsafeFnPointer( + proc("glProgramUniform1f"), + def_glProgramUniform1f, + ); + fn_glProgramUniform1fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fv"), + def_glProgramUniform1fv, + ); + fn_glProgramUniform1d = new Deno.UnsafeFnPointer( + proc("glProgramUniform1d"), + def_glProgramUniform1d, + ); + fn_glProgramUniform1dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1dv"), + def_glProgramUniform1dv, + ); + fn_glProgramUniform1ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui"), + def_glProgramUniform1ui, + ); + fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uiv"), + def_glProgramUniform1uiv, + ); + fn_glProgramUniform2i = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i"), + def_glProgramUniform2i, + ); + fn_glProgramUniform2iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2iv"), + def_glProgramUniform2iv, + ); + fn_glProgramUniform2f = new Deno.UnsafeFnPointer( + proc("glProgramUniform2f"), + def_glProgramUniform2f, + ); + fn_glProgramUniform2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fv"), + def_glProgramUniform2fv, + ); + fn_glProgramUniform2d = new Deno.UnsafeFnPointer( + proc("glProgramUniform2d"), + def_glProgramUniform2d, + ); + fn_glProgramUniform2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2dv"), + def_glProgramUniform2dv, + ); + fn_glProgramUniform2ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui"), + def_glProgramUniform2ui, + ); + fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uiv"), + def_glProgramUniform2uiv, + ); + fn_glProgramUniform3i = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i"), + def_glProgramUniform3i, + ); + fn_glProgramUniform3iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3iv"), + def_glProgramUniform3iv, + ); + fn_glProgramUniform3f = new Deno.UnsafeFnPointer( + proc("glProgramUniform3f"), + def_glProgramUniform3f, + ); + fn_glProgramUniform3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fv"), + def_glProgramUniform3fv, + ); + fn_glProgramUniform3d = new Deno.UnsafeFnPointer( + proc("glProgramUniform3d"), + def_glProgramUniform3d, + ); + fn_glProgramUniform3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3dv"), + def_glProgramUniform3dv, + ); + fn_glProgramUniform3ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui"), + def_glProgramUniform3ui, + ); + fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uiv"), + def_glProgramUniform3uiv, + ); + fn_glProgramUniform4i = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i"), + def_glProgramUniform4i, + ); + fn_glProgramUniform4iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4iv"), + def_glProgramUniform4iv, + ); + fn_glProgramUniform4f = new Deno.UnsafeFnPointer( + proc("glProgramUniform4f"), + def_glProgramUniform4f, + ); + fn_glProgramUniform4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fv"), + def_glProgramUniform4fv, + ); + fn_glProgramUniform4d = new Deno.UnsafeFnPointer( + proc("glProgramUniform4d"), + def_glProgramUniform4d, + ); + fn_glProgramUniform4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4dv"), + def_glProgramUniform4dv, + ); + fn_glProgramUniform4ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui"), + def_glProgramUniform4ui, + ); + fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uiv"), + def_glProgramUniform4uiv, + ); + fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2fv"), + def_glProgramUniformMatrix2fv, + ); + fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3fv"), + def_glProgramUniformMatrix3fv, + ); + fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4fv"), + def_glProgramUniformMatrix4fv, + ); + fn_glProgramUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2dv"), + def_glProgramUniformMatrix2dv, + ); + fn_glProgramUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3dv"), + def_glProgramUniformMatrix3dv, + ); + fn_glProgramUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4dv"), + def_glProgramUniformMatrix4dv, + ); + fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3fv"), + def_glProgramUniformMatrix2x3fv, + ); + fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2fv"), + def_glProgramUniformMatrix3x2fv, + ); + fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4fv"), + def_glProgramUniformMatrix2x4fv, + ); + fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2fv"), + def_glProgramUniformMatrix4x2fv, + ); + fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4fv"), + def_glProgramUniformMatrix3x4fv, + ); + fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3fv"), + def_glProgramUniformMatrix4x3fv, + ); + fn_glProgramUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3dv"), + def_glProgramUniformMatrix2x3dv, + ); + fn_glProgramUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2dv"), + def_glProgramUniformMatrix3x2dv, + ); + fn_glProgramUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4dv"), + def_glProgramUniformMatrix2x4dv, + ); + fn_glProgramUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2dv"), + def_glProgramUniformMatrix4x2dv, + ); + fn_glProgramUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4dv"), + def_glProgramUniformMatrix3x4dv, + ); + fn_glProgramUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3dv"), + def_glProgramUniformMatrix4x3dv, + ); + fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer( + proc("glValidateProgramPipeline"), + def_glValidateProgramPipeline, + ); + fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineInfoLog"), + def_glGetProgramPipelineInfoLog, + ); + fn_glVertexAttribL1d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1d"), + def_glVertexAttribL1d, + ); + fn_glVertexAttribL2d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2d"), + def_glVertexAttribL2d, + ); + fn_glVertexAttribL3d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3d"), + def_glVertexAttribL3d, + ); + fn_glVertexAttribL4d = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4d"), + def_glVertexAttribL4d, + ); + fn_glVertexAttribL1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL1dv"), + def_glVertexAttribL1dv, + ); + fn_glVertexAttribL2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL2dv"), + def_glVertexAttribL2dv, + ); + fn_glVertexAttribL3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL3dv"), + def_glVertexAttribL3dv, + ); + fn_glVertexAttribL4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttribL4dv"), + def_glVertexAttribL4dv, + ); + fn_glVertexAttribLPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribLPointer"), + def_glVertexAttribLPointer, + ); + fn_glGetVertexAttribLdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribLdv"), + def_glGetVertexAttribLdv, + ); + fn_glViewportArrayv = new Deno.UnsafeFnPointer( + proc("glViewportArrayv"), + def_glViewportArrayv, + ); + fn_glViewportIndexedf = new Deno.UnsafeFnPointer( + proc("glViewportIndexedf"), + def_glViewportIndexedf, + ); + fn_glViewportIndexedfv = new Deno.UnsafeFnPointer( + proc("glViewportIndexedfv"), + def_glViewportIndexedfv, + ); + fn_glScissorArrayv = new Deno.UnsafeFnPointer( + proc("glScissorArrayv"), + def_glScissorArrayv, + ); + fn_glScissorIndexed = new Deno.UnsafeFnPointer( + proc("glScissorIndexed"), + def_glScissorIndexed, + ); + fn_glScissorIndexedv = new Deno.UnsafeFnPointer( + proc("glScissorIndexedv"), + def_glScissorIndexedv, + ); + fn_glDepthRangeArrayv = new Deno.UnsafeFnPointer( + proc("glDepthRangeArrayv"), + def_glDepthRangeArrayv, + ); + fn_glDepthRangeIndexed = new Deno.UnsafeFnPointer( + proc("glDepthRangeIndexed"), + def_glDepthRangeIndexed, + ); + fn_glGetFloati_v = new Deno.UnsafeFnPointer( + proc("glGetFloati_v"), + def_glGetFloati_v, + ); + fn_glGetDoublei_v = new Deno.UnsafeFnPointer( + proc("glGetDoublei_v"), + def_glGetDoublei_v, + ); + fn_glDrawArraysInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstancedBaseInstance"), + def_glDrawArraysInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseInstance"), + def_glDrawElementsInstancedBaseInstance, + ); + fn_glDrawElementsInstancedBaseVertexBaseInstance = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertexBaseInstance"), + def_glDrawElementsInstancedBaseVertexBaseInstance, + ); + fn_glGetInternalformativ = new Deno.UnsafeFnPointer( + proc("glGetInternalformativ"), + def_glGetInternalformativ, + ); + fn_glGetActiveAtomicCounterBufferiv = new Deno.UnsafeFnPointer( + proc("glGetActiveAtomicCounterBufferiv"), + def_glGetActiveAtomicCounterBufferiv, + ); + fn_glBindImageTexture = new Deno.UnsafeFnPointer( + proc("glBindImageTexture"), + def_glBindImageTexture, + ); + fn_glMemoryBarrier = new Deno.UnsafeFnPointer( + proc("glMemoryBarrier"), + def_glMemoryBarrier, + ); + fn_glTexStorage1D = new Deno.UnsafeFnPointer( + proc("glTexStorage1D"), + def_glTexStorage1D, + ); + fn_glTexStorage2D = new Deno.UnsafeFnPointer( + proc("glTexStorage2D"), + def_glTexStorage2D, + ); + fn_glTexStorage3D = new Deno.UnsafeFnPointer( + proc("glTexStorage3D"), + def_glTexStorage3D, + ); + fn_glDrawTransformFeedbackInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackInstanced"), + def_glDrawTransformFeedbackInstanced, + ); + fn_glDrawTransformFeedbackStreamInstanced = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStreamInstanced"), + def_glDrawTransformFeedbackStreamInstanced, + ); + fn_glClearBufferData = new Deno.UnsafeFnPointer( + proc("glClearBufferData"), + def_glClearBufferData, + ); + fn_glClearBufferSubData = new Deno.UnsafeFnPointer( + proc("glClearBufferSubData"), + def_glClearBufferSubData, + ); + fn_glDispatchCompute = new Deno.UnsafeFnPointer( + proc("glDispatchCompute"), + def_glDispatchCompute, + ); + fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer( + proc("glDispatchComputeIndirect"), + def_glDispatchComputeIndirect, + ); + fn_glCopyImageSubData = new Deno.UnsafeFnPointer( + proc("glCopyImageSubData"), + def_glCopyImageSubData, + ); + fn_glFramebufferParameteri = new Deno.UnsafeFnPointer( + proc("glFramebufferParameteri"), + def_glFramebufferParameteri, + ); + fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferParameteriv"), + def_glGetFramebufferParameteriv, + ); + fn_glGetInternalformati64v = new Deno.UnsafeFnPointer( + proc("glGetInternalformati64v"), + def_glGetInternalformati64v, + ); + fn_glInvalidateTexSubImage = new Deno.UnsafeFnPointer( + proc("glInvalidateTexSubImage"), + def_glInvalidateTexSubImage, + ); + fn_glInvalidateTexImage = new Deno.UnsafeFnPointer( + proc("glInvalidateTexImage"), + def_glInvalidateTexImage, + ); + fn_glInvalidateBufferSubData = new Deno.UnsafeFnPointer( + proc("glInvalidateBufferSubData"), + def_glInvalidateBufferSubData, + ); + fn_glInvalidateBufferData = new Deno.UnsafeFnPointer( + proc("glInvalidateBufferData"), + def_glInvalidateBufferData, + ); + fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateFramebuffer"), + def_glInvalidateFramebuffer, + ); + fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateSubFramebuffer"), + def_glInvalidateSubFramebuffer, + ); + fn_glMultiDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysIndirect"), + def_glMultiDrawArraysIndirect, + ); + fn_glMultiDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsIndirect"), + def_glMultiDrawElementsIndirect, + ); + fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramInterfaceiv"), + def_glGetProgramInterfaceiv, + ); + fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceIndex"), + def_glGetProgramResourceIndex, + ); + fn_glGetProgramResourceName = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceName"), + def_glGetProgramResourceName, + ); + fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceiv"), + def_glGetProgramResourceiv, + ); + fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocation"), + def_glGetProgramResourceLocation, + ); + fn_glGetProgramResourceLocationIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocationIndex"), + def_glGetProgramResourceLocationIndex, + ); + fn_glShaderStorageBlockBinding = new Deno.UnsafeFnPointer( + proc("glShaderStorageBlockBinding"), + def_glShaderStorageBlockBinding, + ); + fn_glTexBufferRange = new Deno.UnsafeFnPointer( + proc("glTexBufferRange"), + def_glTexBufferRange, + ); + fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage2DMultisample"), + def_glTexStorage2DMultisample, + ); + fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage3DMultisample"), + def_glTexStorage3DMultisample, + ); + fn_glTextureView = new Deno.UnsafeFnPointer( + proc("glTextureView"), + def_glTextureView, + ); + fn_glBindVertexBuffer = new Deno.UnsafeFnPointer( + proc("glBindVertexBuffer"), + def_glBindVertexBuffer, + ); + fn_glVertexAttribFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribFormat"), + def_glVertexAttribFormat, + ); + fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribIFormat"), + def_glVertexAttribIFormat, + ); + fn_glVertexAttribLFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribLFormat"), + def_glVertexAttribLFormat, + ); + fn_glVertexAttribBinding = new Deno.UnsafeFnPointer( + proc("glVertexAttribBinding"), + def_glVertexAttribBinding, + ); + fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer( + proc("glVertexBindingDivisor"), + def_glVertexBindingDivisor, + ); + fn_glDebugMessageControl = new Deno.UnsafeFnPointer( + proc("glDebugMessageControl"), + def_glDebugMessageControl, + ); + fn_glDebugMessageInsert = new Deno.UnsafeFnPointer( + proc("glDebugMessageInsert"), + def_glDebugMessageInsert, + ); + fn_glDebugMessageCallback = new Deno.UnsafeFnPointer( + proc("glDebugMessageCallback"), + def_glDebugMessageCallback, + ); + fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer( + proc("glGetDebugMessageLog"), + def_glGetDebugMessageLog, + ); + fn_glPushDebugGroup = new Deno.UnsafeFnPointer( + proc("glPushDebugGroup"), + def_glPushDebugGroup, + ); + fn_glPopDebugGroup = new Deno.UnsafeFnPointer( + proc("glPopDebugGroup"), + def_glPopDebugGroup, + ); + fn_glObjectLabel = new Deno.UnsafeFnPointer( + proc("glObjectLabel"), + def_glObjectLabel, + ); + fn_glGetObjectLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectLabel"), + def_glGetObjectLabel, + ); + fn_glObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glObjectPtrLabel"), + def_glObjectPtrLabel, + ); + fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectPtrLabel"), + def_glGetObjectPtrLabel, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glBufferStorage = new Deno.UnsafeFnPointer( + proc("glBufferStorage"), + def_glBufferStorage, + ); + fn_glClearTexImage = new Deno.UnsafeFnPointer( + proc("glClearTexImage"), + def_glClearTexImage, + ); + fn_glClearTexSubImage = new Deno.UnsafeFnPointer( + proc("glClearTexSubImage"), + def_glClearTexSubImage, + ); + fn_glBindBuffersBase = new Deno.UnsafeFnPointer( + proc("glBindBuffersBase"), + def_glBindBuffersBase, + ); + fn_glBindBuffersRange = new Deno.UnsafeFnPointer( + proc("glBindBuffersRange"), + def_glBindBuffersRange, + ); + fn_glBindTextures = new Deno.UnsafeFnPointer( + proc("glBindTextures"), + def_glBindTextures, + ); + fn_glBindSamplers = new Deno.UnsafeFnPointer( + proc("glBindSamplers"), + def_glBindSamplers, + ); + fn_glBindImageTextures = new Deno.UnsafeFnPointer( + proc("glBindImageTextures"), + def_glBindImageTextures, + ); + fn_glBindVertexBuffers = new Deno.UnsafeFnPointer( + proc("glBindVertexBuffers"), + def_glBindVertexBuffers, + ); + fn_glClipControl = new Deno.UnsafeFnPointer( + proc("glClipControl"), + def_glClipControl, + ); + fn_glCreateTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glCreateTransformFeedbacks"), + def_glCreateTransformFeedbacks, + ); + fn_glTransformFeedbackBufferBase = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackBufferBase"), + def_glTransformFeedbackBufferBase, + ); + fn_glTransformFeedbackBufferRange = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackBufferRange"), + def_glTransformFeedbackBufferRange, + ); + fn_glGetTransformFeedbackiv = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackiv"), + def_glGetTransformFeedbackiv, + ); + fn_glGetTransformFeedbacki_v = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbacki_v"), + def_glGetTransformFeedbacki_v, + ); + fn_glGetTransformFeedbacki64_v = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbacki64_v"), + def_glGetTransformFeedbacki64_v, + ); + fn_glCreateBuffers = new Deno.UnsafeFnPointer( + proc("glCreateBuffers"), + def_glCreateBuffers, + ); + fn_glNamedBufferStorage = new Deno.UnsafeFnPointer( + proc("glNamedBufferStorage"), + def_glNamedBufferStorage, + ); + fn_glNamedBufferData = new Deno.UnsafeFnPointer( + proc("glNamedBufferData"), + def_glNamedBufferData, + ); + fn_glNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glNamedBufferSubData"), + def_glNamedBufferSubData, + ); + fn_glCopyNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyNamedBufferSubData"), + def_glCopyNamedBufferSubData, + ); + fn_glClearNamedBufferData = new Deno.UnsafeFnPointer( + proc("glClearNamedBufferData"), + def_glClearNamedBufferData, + ); + fn_glClearNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glClearNamedBufferSubData"), + def_glClearNamedBufferSubData, + ); + fn_glMapNamedBuffer = new Deno.UnsafeFnPointer( + proc("glMapNamedBuffer"), + def_glMapNamedBuffer, + ); + fn_glMapNamedBufferRange = new Deno.UnsafeFnPointer( + proc("glMapNamedBufferRange"), + def_glMapNamedBufferRange, + ); + fn_glUnmapNamedBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapNamedBuffer"), + def_glUnmapNamedBuffer, + ); + fn_glFlushMappedNamedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedNamedBufferRange"), + def_glFlushMappedNamedBufferRange, + ); + fn_glGetNamedBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferParameteriv"), + def_glGetNamedBufferParameteriv, + ); + fn_glGetNamedBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferParameteri64v"), + def_glGetNamedBufferParameteri64v, + ); + fn_glGetNamedBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferPointerv"), + def_glGetNamedBufferPointerv, + ); + fn_glGetNamedBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetNamedBufferSubData"), + def_glGetNamedBufferSubData, + ); + fn_glCreateFramebuffers = new Deno.UnsafeFnPointer( + proc("glCreateFramebuffers"), + def_glCreateFramebuffers, + ); + fn_glNamedFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferRenderbuffer"), + def_glNamedFramebufferRenderbuffer, + ); + fn_glNamedFramebufferParameteri = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferParameteri"), + def_glNamedFramebufferParameteri, + ); + fn_glNamedFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTexture"), + def_glNamedFramebufferTexture, + ); + fn_glNamedFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferTextureLayer"), + def_glNamedFramebufferTextureLayer, + ); + fn_glNamedFramebufferDrawBuffer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferDrawBuffer"), + def_glNamedFramebufferDrawBuffer, + ); + fn_glNamedFramebufferDrawBuffers = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferDrawBuffers"), + def_glNamedFramebufferDrawBuffers, + ); + fn_glNamedFramebufferReadBuffer = new Deno.UnsafeFnPointer( + proc("glNamedFramebufferReadBuffer"), + def_glNamedFramebufferReadBuffer, + ); + fn_glInvalidateNamedFramebufferData = new Deno.UnsafeFnPointer( + proc("glInvalidateNamedFramebufferData"), + def_glInvalidateNamedFramebufferData, + ); + fn_glInvalidateNamedFramebufferSubData = new Deno.UnsafeFnPointer( + proc("glInvalidateNamedFramebufferSubData"), + def_glInvalidateNamedFramebufferSubData, + ); + fn_glClearNamedFramebufferiv = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferiv"), + def_glClearNamedFramebufferiv, + ); + fn_glClearNamedFramebufferuiv = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferuiv"), + def_glClearNamedFramebufferuiv, + ); + fn_glClearNamedFramebufferfv = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferfv"), + def_glClearNamedFramebufferfv, + ); + fn_glClearNamedFramebufferfi = new Deno.UnsafeFnPointer( + proc("glClearNamedFramebufferfi"), + def_glClearNamedFramebufferfi, + ); + fn_glBlitNamedFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitNamedFramebuffer"), + def_glBlitNamedFramebuffer, + ); + fn_glCheckNamedFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckNamedFramebufferStatus"), + def_glCheckNamedFramebufferStatus, + ); + fn_glGetNamedFramebufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedFramebufferParameteriv"), + def_glGetNamedFramebufferParameteriv, + ); + fn_glGetNamedFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedFramebufferAttachmentParameteriv"), + def_glGetNamedFramebufferAttachmentParameteriv, + ); + fn_glCreateRenderbuffers = new Deno.UnsafeFnPointer( + proc("glCreateRenderbuffers"), + def_glCreateRenderbuffers, + ); + fn_glNamedRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glNamedRenderbufferStorage"), + def_glNamedRenderbufferStorage, + ); + fn_glNamedRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glNamedRenderbufferStorageMultisample"), + def_glNamedRenderbufferStorageMultisample, + ); + fn_glGetNamedRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetNamedRenderbufferParameteriv"), + def_glGetNamedRenderbufferParameteriv, + ); + fn_glCreateTextures = new Deno.UnsafeFnPointer( + proc("glCreateTextures"), + def_glCreateTextures, + ); + fn_glTextureBuffer = new Deno.UnsafeFnPointer( + proc("glTextureBuffer"), + def_glTextureBuffer, + ); + fn_glTextureBufferRange = new Deno.UnsafeFnPointer( + proc("glTextureBufferRange"), + def_glTextureBufferRange, + ); + fn_glTextureStorage1D = new Deno.UnsafeFnPointer( + proc("glTextureStorage1D"), + def_glTextureStorage1D, + ); + fn_glTextureStorage2D = new Deno.UnsafeFnPointer( + proc("glTextureStorage2D"), + def_glTextureStorage2D, + ); + fn_glTextureStorage3D = new Deno.UnsafeFnPointer( + proc("glTextureStorage3D"), + def_glTextureStorage3D, + ); + fn_glTextureStorage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTextureStorage2DMultisample"), + def_glTextureStorage2DMultisample, + ); + fn_glTextureStorage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTextureStorage3DMultisample"), + def_glTextureStorage3DMultisample, + ); + fn_glTextureSubImage1D = new Deno.UnsafeFnPointer( + proc("glTextureSubImage1D"), + def_glTextureSubImage1D, + ); + fn_glTextureSubImage2D = new Deno.UnsafeFnPointer( + proc("glTextureSubImage2D"), + def_glTextureSubImage2D, + ); + fn_glTextureSubImage3D = new Deno.UnsafeFnPointer( + proc("glTextureSubImage3D"), + def_glTextureSubImage3D, + ); + fn_glCompressedTextureSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage1D"), + def_glCompressedTextureSubImage1D, + ); + fn_glCompressedTextureSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage2D"), + def_glCompressedTextureSubImage2D, + ); + fn_glCompressedTextureSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTextureSubImage3D"), + def_glCompressedTextureSubImage3D, + ); + fn_glCopyTextureSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage1D"), + def_glCopyTextureSubImage1D, + ); + fn_glCopyTextureSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage2D"), + def_glCopyTextureSubImage2D, + ); + fn_glCopyTextureSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTextureSubImage3D"), + def_glCopyTextureSubImage3D, + ); + fn_glTextureParameterf = new Deno.UnsafeFnPointer( + proc("glTextureParameterf"), + def_glTextureParameterf, + ); + fn_glTextureParameterfv = new Deno.UnsafeFnPointer( + proc("glTextureParameterfv"), + def_glTextureParameterfv, + ); + fn_glTextureParameteri = new Deno.UnsafeFnPointer( + proc("glTextureParameteri"), + def_glTextureParameteri, + ); + fn_glTextureParameterIiv = new Deno.UnsafeFnPointer( + proc("glTextureParameterIiv"), + def_glTextureParameterIiv, + ); + fn_glTextureParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTextureParameterIuiv"), + def_glTextureParameterIuiv, + ); + fn_glTextureParameteriv = new Deno.UnsafeFnPointer( + proc("glTextureParameteriv"), + def_glTextureParameteriv, + ); + fn_glGenerateTextureMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateTextureMipmap"), + def_glGenerateTextureMipmap, + ); + fn_glBindTextureUnit = new Deno.UnsafeFnPointer( + proc("glBindTextureUnit"), + def_glBindTextureUnit, + ); + fn_glGetTextureImage = new Deno.UnsafeFnPointer( + proc("glGetTextureImage"), + def_glGetTextureImage, + ); + fn_glGetCompressedTextureImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTextureImage"), + def_glGetCompressedTextureImage, + ); + fn_glGetTextureLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTextureLevelParameterfv"), + def_glGetTextureLevelParameterfv, + ); + fn_glGetTextureLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTextureLevelParameteriv"), + def_glGetTextureLevelParameteriv, + ); + fn_glGetTextureParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterfv"), + def_glGetTextureParameterfv, + ); + fn_glGetTextureParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterIiv"), + def_glGetTextureParameterIiv, + ); + fn_glGetTextureParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameterIuiv"), + def_glGetTextureParameterIuiv, + ); + fn_glGetTextureParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTextureParameteriv"), + def_glGetTextureParameteriv, + ); + fn_glCreateVertexArrays = new Deno.UnsafeFnPointer( + proc("glCreateVertexArrays"), + def_glCreateVertexArrays, + ); + fn_glDisableVertexArrayAttrib = new Deno.UnsafeFnPointer( + proc("glDisableVertexArrayAttrib"), + def_glDisableVertexArrayAttrib, + ); + fn_glEnableVertexArrayAttrib = new Deno.UnsafeFnPointer( + proc("glEnableVertexArrayAttrib"), + def_glEnableVertexArrayAttrib, + ); + fn_glVertexArrayElementBuffer = new Deno.UnsafeFnPointer( + proc("glVertexArrayElementBuffer"), + def_glVertexArrayElementBuffer, + ); + fn_glVertexArrayVertexBuffer = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexBuffer"), + def_glVertexArrayVertexBuffer, + ); + fn_glVertexArrayVertexBuffers = new Deno.UnsafeFnPointer( + proc("glVertexArrayVertexBuffers"), + def_glVertexArrayVertexBuffers, + ); + fn_glVertexArrayAttribBinding = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribBinding"), + def_glVertexArrayAttribBinding, + ); + fn_glVertexArrayAttribFormat = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribFormat"), + def_glVertexArrayAttribFormat, + ); + fn_glVertexArrayAttribIFormat = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribIFormat"), + def_glVertexArrayAttribIFormat, + ); + fn_glVertexArrayAttribLFormat = new Deno.UnsafeFnPointer( + proc("glVertexArrayAttribLFormat"), + def_glVertexArrayAttribLFormat, + ); + fn_glVertexArrayBindingDivisor = new Deno.UnsafeFnPointer( + proc("glVertexArrayBindingDivisor"), + def_glVertexArrayBindingDivisor, + ); + fn_glGetVertexArrayiv = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayiv"), + def_glGetVertexArrayiv, + ); + fn_glGetVertexArrayIndexediv = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayIndexediv"), + def_glGetVertexArrayIndexediv, + ); + fn_glGetVertexArrayIndexed64iv = new Deno.UnsafeFnPointer( + proc("glGetVertexArrayIndexed64iv"), + def_glGetVertexArrayIndexed64iv, + ); + fn_glCreateSamplers = new Deno.UnsafeFnPointer( + proc("glCreateSamplers"), + def_glCreateSamplers, + ); + fn_glCreateProgramPipelines = new Deno.UnsafeFnPointer( + proc("glCreateProgramPipelines"), + def_glCreateProgramPipelines, + ); + fn_glCreateQueries = new Deno.UnsafeFnPointer( + proc("glCreateQueries"), + def_glCreateQueries, + ); + fn_glGetQueryBufferObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjecti64v"), + def_glGetQueryBufferObjecti64v, + ); + fn_glGetQueryBufferObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjectiv"), + def_glGetQueryBufferObjectiv, + ); + fn_glGetQueryBufferObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjectui64v"), + def_glGetQueryBufferObjectui64v, + ); + fn_glGetQueryBufferObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryBufferObjectuiv"), + def_glGetQueryBufferObjectuiv, + ); + fn_glMemoryBarrierByRegion = new Deno.UnsafeFnPointer( + proc("glMemoryBarrierByRegion"), + def_glMemoryBarrierByRegion, + ); + fn_glGetTextureSubImage = new Deno.UnsafeFnPointer( + proc("glGetTextureSubImage"), + def_glGetTextureSubImage, + ); + fn_glGetCompressedTextureSubImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTextureSubImage"), + def_glGetCompressedTextureSubImage, + ); + fn_glGetGraphicsResetStatus = new Deno.UnsafeFnPointer( + proc("glGetGraphicsResetStatus"), + def_glGetGraphicsResetStatus, + ); + fn_glGetnCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetnCompressedTexImage"), + def_glGetnCompressedTexImage, + ); + fn_glGetnTexImage = new Deno.UnsafeFnPointer( + proc("glGetnTexImage"), + def_glGetnTexImage, + ); + fn_glGetnUniformdv = new Deno.UnsafeFnPointer( + proc("glGetnUniformdv"), + def_glGetnUniformdv, + ); + fn_glGetnUniformfv = new Deno.UnsafeFnPointer( + proc("glGetnUniformfv"), + def_glGetnUniformfv, + ); + fn_glGetnUniformiv = new Deno.UnsafeFnPointer( + proc("glGetnUniformiv"), + def_glGetnUniformiv, + ); + fn_glGetnUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetnUniformuiv"), + def_glGetnUniformuiv, + ); + fn_glReadnPixels = new Deno.UnsafeFnPointer( + proc("glReadnPixels"), + def_glReadnPixels, + ); + fn_glGetnMapdv = new Deno.UnsafeFnPointer( + proc("glGetnMapdv"), + def_glGetnMapdv, + ); + fn_glGetnMapfv = new Deno.UnsafeFnPointer( + proc("glGetnMapfv"), + def_glGetnMapfv, + ); + fn_glGetnMapiv = new Deno.UnsafeFnPointer( + proc("glGetnMapiv"), + def_glGetnMapiv, + ); + fn_glGetnPixelMapfv = new Deno.UnsafeFnPointer( + proc("glGetnPixelMapfv"), + def_glGetnPixelMapfv, + ); + fn_glGetnPixelMapuiv = new Deno.UnsafeFnPointer( + proc("glGetnPixelMapuiv"), + def_glGetnPixelMapuiv, + ); + fn_glGetnPixelMapusv = new Deno.UnsafeFnPointer( + proc("glGetnPixelMapusv"), + def_glGetnPixelMapusv, + ); + fn_glGetnPolygonStipple = new Deno.UnsafeFnPointer( + proc("glGetnPolygonStipple"), + def_glGetnPolygonStipple, + ); + fn_glGetnColorTable = new Deno.UnsafeFnPointer( + proc("glGetnColorTable"), + def_glGetnColorTable, + ); + fn_glGetnConvolutionFilter = new Deno.UnsafeFnPointer( + proc("glGetnConvolutionFilter"), + def_glGetnConvolutionFilter, + ); + fn_glGetnSeparableFilter = new Deno.UnsafeFnPointer( + proc("glGetnSeparableFilter"), + def_glGetnSeparableFilter, + ); + fn_glGetnHistogram = new Deno.UnsafeFnPointer( + proc("glGetnHistogram"), + def_glGetnHistogram, + ); + fn_glGetnMinmax = new Deno.UnsafeFnPointer( + proc("glGetnMinmax"), + def_glGetnMinmax, + ); + fn_glTextureBarrier = new Deno.UnsafeFnPointer( + proc("glTextureBarrier"), + def_glTextureBarrier, + ); + fn_glSpecializeShader = new Deno.UnsafeFnPointer( + proc("glSpecializeShader"), + def_glSpecializeShader, + ); + fn_glMultiDrawArraysIndirectCount = new Deno.UnsafeFnPointer( + proc("glMultiDrawArraysIndirectCount"), + def_glMultiDrawArraysIndirectCount, + ); + fn_glMultiDrawElementsIndirectCount = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsIndirectCount"), + def_glMultiDrawElementsIndirectCount, + ); + fn_glPolygonOffsetClamp = new Deno.UnsafeFnPointer( + proc("glPolygonOffsetClamp"), + def_glPolygonOffsetClamp, + ); } diff --git a/api/gl4.ts b/api/gl4.ts index 2384c70..29719f9 100644 --- a/api/gl4.ts +++ b/api/gl4.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1180,7 +1188,17 @@ export function TexImage1D( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -1677,7 +1695,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1696,7 +1716,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1715,7 +1737,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -1736,7 +1760,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -1923,7 +1949,9 @@ export const def_glCopyTexSubImage1D = { result: "void", } as const; -let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage1D +>; export function CopyTexSubImage1D( target: GLenum, @@ -1948,7 +1976,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -2000,7 +2030,17 @@ export function TexSubImage1D( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2101,7 +2141,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -2122,7 +2164,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2155,7 +2208,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2194,7 +2259,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -2253,11 +2320,23 @@ export function SampleCoverage( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -2288,7 +2367,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -2317,7 +2398,9 @@ export const def_glCompressedTexImage1D = { result: "void", } as const; -let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage1D +>; export function CompressedTexImage1D( target: GLenum, @@ -2340,11 +2423,25 @@ export function CompressedTexImage1D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -2375,11 +2472,23 @@ export function CompressedTexSubImage3D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -2410,7 +2519,9 @@ export const def_glCompressedTexSubImage1D = { result: "void", } as const; -let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage1D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage1D +>; export function CompressedTexSubImage1D( target: GLenum, @@ -2437,7 +2548,9 @@ export const def_glGetCompressedTexImage = { result: "void", } as const; -let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer; +let fn_glGetCompressedTexImage!: Deno.UnsafeFnPointer< + typeof def_glGetCompressedTexImage +>; export function GetCompressedTexImage( target: GLenum, @@ -2456,7 +2569,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -2498,7 +2613,9 @@ export const def_glMultiDrawElements = { result: "void", } as const; -let fn_glMultiDrawElements!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElements!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElements +>; export function MultiDrawElements( mode: GLenum, @@ -2744,7 +2861,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -2924,7 +3043,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -2943,7 +3064,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -2962,7 +3085,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -2996,7 +3121,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -3017,7 +3144,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -3038,7 +3167,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -3072,7 +3203,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -3179,7 +3312,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -3194,7 +3329,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -3263,7 +3400,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -3284,7 +3423,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -3320,7 +3461,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -3402,7 +3545,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -3457,7 +3602,9 @@ export const def_glGetVertexAttribdv = { result: "void", } as const; -let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribdv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribdv +>; export function GetVertexAttribdv( index: GLuint, @@ -3476,7 +3623,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -3495,7 +3644,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -3514,7 +3665,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -4402,7 +4555,9 @@ export const def_glVertexAttrib4Nubv = { result: "void", } as const; -let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nubv +>; export function VertexAttrib4Nubv( index: GLuint, @@ -4419,7 +4574,9 @@ export const def_glVertexAttrib4Nuiv = { result: "void", } as const; -let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nuiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nuiv +>; export function VertexAttrib4Nuiv( index: GLuint, @@ -4436,7 +4593,9 @@ export const def_glVertexAttrib4Nusv = { result: "void", } as const; -let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer; +let fn_glVertexAttrib4Nusv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttrib4Nusv +>; export function VertexAttrib4Nusv( index: GLuint, @@ -4658,7 +4817,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -4683,7 +4844,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -4704,7 +4867,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -4725,7 +4890,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -4746,7 +4913,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -4767,7 +4936,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -4788,7 +4959,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -4921,7 +5094,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -4936,7 +5111,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -4989,7 +5166,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -5010,7 +5189,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -5054,7 +5235,9 @@ export const def_glBeginConditionalRender = { result: "void", } as const; -let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer; +let fn_glBeginConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glBeginConditionalRender +>; export function BeginConditionalRender( id: GLuint, @@ -5071,7 +5254,9 @@ export const def_glEndConditionalRender = { result: "void", } as const; -let fn_glEndConditionalRender!: Deno.UnsafeFnPointer; +let fn_glEndConditionalRender!: Deno.UnsafeFnPointer< + typeof def_glEndConditionalRender +>; export function EndConditionalRender(): void { fn_glEndConditionalRender.call(); @@ -5082,7 +5267,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -5105,7 +5292,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -5124,7 +5313,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -5371,7 +5562,9 @@ export const def_glVertexAttribI1uiv = { result: "void", } as const; -let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI1uiv +>; export function VertexAttribI1uiv( index: GLuint, @@ -5388,7 +5581,9 @@ export const def_glVertexAttribI2uiv = { result: "void", } as const; -let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI2uiv +>; export function VertexAttribI2uiv( index: GLuint, @@ -5405,7 +5600,9 @@ export const def_glVertexAttribI3uiv = { result: "void", } as const; -let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI3uiv +>; export function VertexAttribI3uiv( index: GLuint, @@ -5422,7 +5619,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -5473,7 +5672,9 @@ export const def_glVertexAttribI4ubv = { result: "void", } as const; -let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4ubv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4ubv +>; export function VertexAttribI4ubv( index: GLuint, @@ -5490,7 +5691,9 @@ export const def_glVertexAttribI4usv = { result: "void", } as const; -let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4usv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4usv +>; export function VertexAttribI4usv( index: GLuint, @@ -5526,7 +5729,9 @@ export const def_glBindFragDataLocation = { result: "void", } as const; -let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocation +>; export function BindFragDataLocation( program: GLuint, @@ -5545,7 +5750,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -5756,7 +5963,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -5775,7 +5984,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -5921,7 +6132,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -5955,7 +6168,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -5976,7 +6191,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -6027,7 +6244,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -6061,7 +6280,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -6076,7 +6297,9 @@ export const def_glFramebufferTexture1D = { result: "void", } as const; -let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture1D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture1D +>; export function FramebufferTexture1D( target: GLenum, @@ -6099,7 +6322,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -6122,7 +6347,9 @@ export const def_glFramebufferTexture3D = { result: "void", } as const; -let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture3D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture3D +>; export function FramebufferTexture3D( target: GLenum, @@ -6147,7 +6374,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -6168,7 +6397,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -6200,7 +6431,18 @@ export function GenerateMipmap( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -6237,7 +6479,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -6260,7 +6504,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -6304,7 +6550,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -6338,7 +6586,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -6387,7 +6637,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -6408,7 +6660,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -6450,7 +6704,9 @@ export const def_glPrimitiveRestartIndex = { result: "void", } as const; -let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer; +let fn_glPrimitiveRestartIndex!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveRestartIndex +>; export function PrimitiveRestartIndex( index: GLuint, @@ -6465,7 +6721,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -6488,7 +6746,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -6509,7 +6769,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -6532,7 +6794,9 @@ export const def_glGetActiveUniformName = { result: "void", } as const; -let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformName +>; export function GetActiveUniformName( program: GLuint, @@ -6555,7 +6819,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -6572,7 +6838,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -6593,7 +6861,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -6616,7 +6886,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -6635,7 +6907,9 @@ export const def_glDrawElementsBaseVertex = { result: "void", } as const; -let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertex +>; export function DrawElementsBaseVertex( mode: GLenum, @@ -6658,7 +6932,9 @@ export const def_glDrawRangeElementsBaseVertex = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertex +>; export function DrawRangeElementsBaseVertex( mode: GLenum, @@ -6685,7 +6961,9 @@ export const def_glDrawElementsInstancedBaseVertex = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertex +>; export function DrawElementsInstancedBaseVertex( mode: GLenum, @@ -6710,7 +6988,9 @@ export const def_glMultiDrawElementsBaseVertex = { result: "void", } as const; -let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glMultiDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glMultiDrawElementsBaseVertex +>; export function MultiDrawElementsBaseVertex( mode: GLenum, @@ -6894,7 +7174,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -6913,7 +7195,9 @@ export const def_glFramebufferTexture = { result: "void", } as const; -let fn_glFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture +>; export function FramebufferTexture( target: GLenum, @@ -6934,7 +7218,9 @@ export const def_glTexImage2DMultisample = { result: "void", } as const; -let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage2DMultisample +>; export function TexImage2DMultisample( target: GLenum, @@ -6959,7 +7245,9 @@ export const def_glTexImage3DMultisample = { result: "void", } as const; -let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexImage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexImage3DMultisample +>; export function TexImage3DMultisample( target: GLenum, @@ -7022,7 +7310,9 @@ export const def_glBindFragDataLocationIndexed = { result: "void", } as const; -let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer; +let fn_glBindFragDataLocationIndexed!: Deno.UnsafeFnPointer< + typeof def_glBindFragDataLocationIndexed +>; export function BindFragDataLocationIndexed( program: GLuint, @@ -7126,7 +7416,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -7145,7 +7437,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -7164,7 +7458,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -7183,7 +7479,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -7202,7 +7500,9 @@ export const def_glSamplerParameterIiv = { result: "void", } as const; -let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIiv +>; export function SamplerParameterIiv( sampler: GLuint, @@ -7221,7 +7521,9 @@ export const def_glSamplerParameterIuiv = { result: "void", } as const; -let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuiv +>; export function SamplerParameterIuiv( sampler: GLuint, @@ -7240,7 +7542,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -7259,7 +7563,9 @@ export const def_glGetSamplerParameterIiv = { result: "void", } as const; -let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIiv +>; export function GetSamplerParameterIiv( sampler: GLuint, @@ -7278,7 +7584,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -7297,7 +7605,9 @@ export const def_glGetSamplerParameterIuiv = { result: "void", } as const; -let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuiv +>; export function GetSamplerParameterIuiv( sampler: GLuint, @@ -7333,7 +7643,9 @@ export const def_glGetQueryObjecti64v = { result: "void", } as const; -let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjecti64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjecti64v +>; export function GetQueryObjecti64v( id: GLuint, @@ -7352,7 +7664,9 @@ export const def_glGetQueryObjectui64v = { result: "void", } as const; -let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectui64v!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectui64v +>; export function GetQueryObjectui64v( id: GLuint, @@ -7371,7 +7685,9 @@ export const def_glVertexAttribDivisor = { result: "void", } as const; -let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisor +>; export function VertexAttribDivisor( index: GLuint, @@ -7409,7 +7725,9 @@ export const def_glVertexAttribP1uiv = { result: "void", } as const; -let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP1uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP1uiv +>; export function VertexAttribP1uiv( index: GLuint, @@ -7451,7 +7769,9 @@ export const def_glVertexAttribP2uiv = { result: "void", } as const; -let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP2uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP2uiv +>; export function VertexAttribP2uiv( index: GLuint, @@ -7493,7 +7813,9 @@ export const def_glVertexAttribP3uiv = { result: "void", } as const; -let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP3uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP3uiv +>; export function VertexAttribP3uiv( index: GLuint, @@ -7535,7 +7857,9 @@ export const def_glVertexAttribP4uiv = { result: "void", } as const; -let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribP4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribP4uiv +>; export function VertexAttribP4uiv( index: GLuint, @@ -7794,7 +8118,9 @@ export const def_glMultiTexCoordP1ui = { result: "void", } as const; -let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1ui +>; export function MultiTexCoordP1ui( texture: GLenum, @@ -7813,7 +8139,9 @@ export const def_glMultiTexCoordP1uiv = { result: "void", } as const; -let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP1uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP1uiv +>; export function MultiTexCoordP1uiv( texture: GLenum, @@ -7832,7 +8160,9 @@ export const def_glMultiTexCoordP2ui = { result: "void", } as const; -let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2ui +>; export function MultiTexCoordP2ui( texture: GLenum, @@ -7851,7 +8181,9 @@ export const def_glMultiTexCoordP2uiv = { result: "void", } as const; -let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP2uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP2uiv +>; export function MultiTexCoordP2uiv( texture: GLenum, @@ -7870,7 +8202,9 @@ export const def_glMultiTexCoordP3ui = { result: "void", } as const; -let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3ui +>; export function MultiTexCoordP3ui( texture: GLenum, @@ -7889,7 +8223,9 @@ export const def_glMultiTexCoordP3uiv = { result: "void", } as const; -let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP3uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP3uiv +>; export function MultiTexCoordP3uiv( texture: GLenum, @@ -7908,7 +8244,9 @@ export const def_glMultiTexCoordP4ui = { result: "void", } as const; -let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4ui!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4ui +>; export function MultiTexCoordP4ui( texture: GLenum, @@ -7927,7 +8265,9 @@ export const def_glMultiTexCoordP4uiv = { result: "void", } as const; -let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer; +let fn_glMultiTexCoordP4uiv!: Deno.UnsafeFnPointer< + typeof def_glMultiTexCoordP4uiv +>; export function MultiTexCoordP4uiv( texture: GLenum, @@ -8048,7 +8388,9 @@ export const def_glSecondaryColorP3ui = { result: "void", } as const; -let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3ui!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3ui +>; export function SecondaryColorP3ui( type: GLenum, @@ -8065,7 +8407,9 @@ export const def_glSecondaryColorP3uiv = { result: "void", } as const; -let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer; +let fn_glSecondaryColorP3uiv!: Deno.UnsafeFnPointer< + typeof def_glSecondaryColorP3uiv +>; export function SecondaryColorP3uiv( type: GLenum, @@ -8114,7 +8458,9 @@ export const def_glBlendEquationSeparatei = { result: "void", } as const; -let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparatei +>; export function BlendEquationSeparatei( buf: GLuint, @@ -8152,7 +8498,9 @@ export const def_glBlendFuncSeparatei = { result: "void", } as const; -let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparatei +>; export function BlendFuncSeparatei( buf: GLuint, @@ -8175,7 +8523,9 @@ export const def_glDrawArraysIndirect = { result: "void", } as const; -let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysIndirect +>; export function DrawArraysIndirect( mode: GLenum, @@ -8192,7 +8542,9 @@ export const def_glDrawElementsIndirect = { result: "void", } as const; -let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsIndirect +>; export function DrawElementsIndirect( mode: GLenum, @@ -8430,7 +8782,9 @@ export const def_glUniformMatrix2x3dv = { result: "void", } as const; -let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3dv +>; export function UniformMatrix2x3dv( location: GLint, @@ -8451,7 +8805,9 @@ export const def_glUniformMatrix2x4dv = { result: "void", } as const; -let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4dv +>; export function UniformMatrix2x4dv( location: GLint, @@ -8472,7 +8828,9 @@ export const def_glUniformMatrix3x2dv = { result: "void", } as const; -let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2dv +>; export function UniformMatrix3x2dv( location: GLint, @@ -8493,7 +8851,9 @@ export const def_glUniformMatrix3x4dv = { result: "void", } as const; -let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4dv +>; export function UniformMatrix3x4dv( location: GLint, @@ -8514,7 +8874,9 @@ export const def_glUniformMatrix4x2dv = { result: "void", } as const; -let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2dv +>; export function UniformMatrix4x2dv( location: GLint, @@ -8535,7 +8897,9 @@ export const def_glUniformMatrix4x3dv = { result: "void", } as const; -let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3dv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3dv +>; export function UniformMatrix4x3dv( location: GLint, @@ -8575,7 +8939,9 @@ export const def_glGetSubroutineUniformLocation = { result: "i32", } as const; -let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineUniformLocation +>; export function GetSubroutineUniformLocation( program: GLuint, @@ -8594,7 +8960,9 @@ export const def_glGetSubroutineIndex = { result: "u32", } as const; -let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer; +let fn_glGetSubroutineIndex!: Deno.UnsafeFnPointer< + typeof def_glGetSubroutineIndex +>; export function GetSubroutineIndex( program: GLuint, @@ -8613,7 +8981,9 @@ export const def_glGetActiveSubroutineUniformiv = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformiv +>; export function GetActiveSubroutineUniformiv( program: GLuint, @@ -8636,7 +9006,9 @@ export const def_glGetActiveSubroutineUniformName = { result: "void", } as const; -let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineUniformName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineUniformName +>; export function GetActiveSubroutineUniformName( program: GLuint, @@ -8661,7 +9033,9 @@ export const def_glGetActiveSubroutineName = { result: "void", } as const; -let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer; +let fn_glGetActiveSubroutineName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveSubroutineName +>; export function GetActiveSubroutineName( program: GLuint, @@ -8686,7 +9060,9 @@ export const def_glUniformSubroutinesuiv = { result: "void", } as const; -let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer; +let fn_glUniformSubroutinesuiv!: Deno.UnsafeFnPointer< + typeof def_glUniformSubroutinesuiv +>; export function UniformSubroutinesuiv( shadertype: GLenum, @@ -8705,7 +9081,9 @@ export const def_glGetUniformSubroutineuiv = { result: "void", } as const; -let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer; +let fn_glGetUniformSubroutineuiv!: Deno.UnsafeFnPointer< + typeof def_glGetUniformSubroutineuiv +>; export function GetUniformSubroutineuiv( shadertype: GLenum, @@ -8724,7 +9102,9 @@ export const def_glGetProgramStageiv = { result: "void", } as const; -let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramStageiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramStageiv +>; export function GetProgramStageiv( program: GLuint, @@ -8779,7 +9159,9 @@ export const def_glBindTransformFeedback = { result: "void", } as const; -let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedback +>; export function BindTransformFeedback( target: GLenum, @@ -8796,7 +9178,9 @@ export const def_glDeleteTransformFeedbacks = { result: "void", } as const; -let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacks +>; export function DeleteTransformFeedbacks( n: GLsizei, @@ -8813,7 +9197,9 @@ export const def_glGenTransformFeedbacks = { result: "void", } as const; -let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacks +>; export function GenTransformFeedbacks( n: GLsizei, @@ -8830,7 +9216,9 @@ export const def_glIsTransformFeedback = { result: "u8", } as const; -let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedback +>; export function IsTransformFeedback( id: GLuint, @@ -8845,7 +9233,9 @@ export const def_glPauseTransformFeedback = { result: "void", } as const; -let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedback +>; export function PauseTransformFeedback(): void { fn_glPauseTransformFeedback.call(); @@ -8856,7 +9246,9 @@ export const def_glResumeTransformFeedback = { result: "void", } as const; -let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedback +>; export function ResumeTransformFeedback(): void { fn_glResumeTransformFeedback.call(); @@ -8867,7 +9259,9 @@ export const def_glDrawTransformFeedback = { result: "void", } as const; -let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedback +>; export function DrawTransformFeedback( mode: GLenum, @@ -8884,7 +9278,9 @@ export const def_glDrawTransformFeedbackStream = { result: "void", } as const; -let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer; +let fn_glDrawTransformFeedbackStream!: Deno.UnsafeFnPointer< + typeof def_glDrawTransformFeedbackStream +>; export function DrawTransformFeedbackStream( mode: GLenum, @@ -8903,7 +9299,9 @@ export const def_glBeginQueryIndexed = { result: "void", } as const; -let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer; +let fn_glBeginQueryIndexed!: Deno.UnsafeFnPointer< + typeof def_glBeginQueryIndexed +>; export function BeginQueryIndexed( target: GLenum, @@ -8939,7 +9337,9 @@ export const def_glGetQueryIndexediv = { result: "void", } as const; -let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer; +let fn_glGetQueryIndexediv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryIndexediv +>; export function GetQueryIndexediv( target: GLenum, @@ -8958,423 +9358,1626 @@ export function GetQueryIndexediv( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonMode = new Deno.UnsafeFnPointer(proc("glPolygonMode"), def_glPolygonMode); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonMode = new Deno.UnsafeFnPointer( + proc("glPolygonMode"), + def_glPolygonMode, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexImage1D = new Deno.UnsafeFnPointer(proc("glTexImage1D"), def_glTexImage1D); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glDrawBuffer = new Deno.UnsafeFnPointer(proc("glDrawBuffer"), def_glDrawBuffer); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexImage1D = new Deno.UnsafeFnPointer( + proc("glTexImage1D"), + def_glTexImage1D, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glDrawBuffer = new Deno.UnsafeFnPointer( + proc("glDrawBuffer"), + def_glDrawBuffer, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClearDepth = new Deno.UnsafeFnPointer(proc("glClearDepth"), def_glClearDepth); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClearDepth = new Deno.UnsafeFnPointer( + proc("glClearDepth"), + def_glClearDepth, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glPixelStoref = new Deno.UnsafeFnPointer(proc("glPixelStoref"), def_glPixelStoref); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetDoublev = new Deno.UnsafeFnPointer(proc("glGetDoublev"), def_glGetDoublev); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glPixelStoref = new Deno.UnsafeFnPointer( + proc("glPixelStoref"), + def_glPixelStoref, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetDoublev = new Deno.UnsafeFnPointer( + proc("glGetDoublev"), + def_glGetDoublev, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexImage = new Deno.UnsafeFnPointer(proc("glGetTexImage"), def_glGetTexImage); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glDepthRange = new Deno.UnsafeFnPointer(proc("glDepthRange"), def_glDepthRange); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexImage = new Deno.UnsafeFnPointer( + proc("glGetTexImage"), + def_glGetTexImage, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glDepthRange = new Deno.UnsafeFnPointer( + proc("glDepthRange"), + def_glDepthRange, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glCopyTexImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexImage1D"), def_glCopyTexImage1D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage1D"), def_glCopyTexSubImage1D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glTexSubImage1D = new Deno.UnsafeFnPointer(proc("glTexSubImage1D"), def_glTexSubImage1D); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage1D"), def_glCompressedTexImage1D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage1D"), def_glCompressedTexSubImage1D); - fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer(proc("glGetCompressedTexImage"), def_glGetCompressedTexImage); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glMultiDrawArrays = new Deno.UnsafeFnPointer(proc("glMultiDrawArrays"), def_glMultiDrawArrays); - fn_glMultiDrawElements = new Deno.UnsafeFnPointer(proc("glMultiDrawElements"), def_glMultiDrawElements); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointParameteri = new Deno.UnsafeFnPointer(proc("glPointParameteri"), def_glPointParameteri); - fn_glPointParameteriv = new Deno.UnsafeFnPointer(proc("glPointParameteriv"), def_glPointParameteriv); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glCopyTexImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage1D"), + def_glCopyTexImage1D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage1D"), + def_glCopyTexSubImage1D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glTexSubImage1D"), + def_glTexSubImage1D, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage1D"), + def_glCompressedTexImage1D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCompressedTexSubImage1D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage1D"), + def_glCompressedTexSubImage1D, + ); + fn_glGetCompressedTexImage = new Deno.UnsafeFnPointer( + proc("glGetCompressedTexImage"), + def_glGetCompressedTexImage, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glMultiDrawArrays = new Deno.UnsafeFnPointer( + proc("glMultiDrawArrays"), + def_glMultiDrawArrays, + ); + fn_glMultiDrawElements = new Deno.UnsafeFnPointer( + proc("glMultiDrawElements"), + def_glMultiDrawElements, + ); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointParameteri = new Deno.UnsafeFnPointer( + proc("glPointParameteri"), + def_glPointParameteri, + ); + fn_glPointParameteriv = new Deno.UnsafeFnPointer( + proc("glPointParameteriv"), + def_glPointParameteriv, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectiv"), def_glGetQueryObjectiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectiv"), + def_glGetQueryObjectiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glGetBufferSubData = new Deno.UnsafeFnPointer(proc("glGetBufferSubData"), def_glGetBufferSubData); - fn_glMapBuffer = new Deno.UnsafeFnPointer(proc("glMapBuffer"), def_glMapBuffer); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribdv"), def_glGetVertexAttribdv); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glGetBufferSubData = new Deno.UnsafeFnPointer( + proc("glGetBufferSubData"), + def_glGetBufferSubData, + ); + fn_glMapBuffer = new Deno.UnsafeFnPointer( + proc("glMapBuffer"), + def_glMapBuffer, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetVertexAttribdv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribdv"), + def_glGetVertexAttribdv, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1d = new Deno.UnsafeFnPointer(proc("glVertexAttrib1d"), def_glVertexAttrib1d); - fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1dv"), def_glVertexAttrib1dv); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib1s = new Deno.UnsafeFnPointer(proc("glVertexAttrib1s"), def_glVertexAttrib1s); - fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1sv"), def_glVertexAttrib1sv); - fn_glVertexAttrib2d = new Deno.UnsafeFnPointer(proc("glVertexAttrib2d"), def_glVertexAttrib2d); - fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2dv"), def_glVertexAttrib2dv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib2s = new Deno.UnsafeFnPointer(proc("glVertexAttrib2s"), def_glVertexAttrib2s); - fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2sv"), def_glVertexAttrib2sv); - fn_glVertexAttrib3d = new Deno.UnsafeFnPointer(proc("glVertexAttrib3d"), def_glVertexAttrib3d); - fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3dv"), def_glVertexAttrib3dv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib3s = new Deno.UnsafeFnPointer(proc("glVertexAttrib3s"), def_glVertexAttrib3s); - fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3sv"), def_glVertexAttrib3sv); - fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nbv"), def_glVertexAttrib4Nbv); - fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Niv"), def_glVertexAttrib4Niv); - fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nsv"), def_glVertexAttrib4Nsv); - fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nub"), def_glVertexAttrib4Nub); - fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nubv"), def_glVertexAttrib4Nubv); - fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nuiv"), def_glVertexAttrib4Nuiv); - fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4Nusv"), def_glVertexAttrib4Nusv); - fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4bv"), def_glVertexAttrib4bv); - fn_glVertexAttrib4d = new Deno.UnsafeFnPointer(proc("glVertexAttrib4d"), def_glVertexAttrib4d); - fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4dv"), def_glVertexAttrib4dv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4iv"), def_glVertexAttrib4iv); - fn_glVertexAttrib4s = new Deno.UnsafeFnPointer(proc("glVertexAttrib4s"), def_glVertexAttrib4s); - fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4sv"), def_glVertexAttrib4sv); - fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4ubv"), def_glVertexAttrib4ubv); - fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4uiv"), def_glVertexAttrib4uiv); - fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4usv"), def_glVertexAttrib4usv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1d"), + def_glVertexAttrib1d, + ); + fn_glVertexAttrib1dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1dv"), + def_glVertexAttrib1dv, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib1s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1s"), + def_glVertexAttrib1s, + ); + fn_glVertexAttrib1sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1sv"), + def_glVertexAttrib1sv, + ); + fn_glVertexAttrib2d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2d"), + def_glVertexAttrib2d, + ); + fn_glVertexAttrib2dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2dv"), + def_glVertexAttrib2dv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib2s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2s"), + def_glVertexAttrib2s, + ); + fn_glVertexAttrib2sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2sv"), + def_glVertexAttrib2sv, + ); + fn_glVertexAttrib3d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3d"), + def_glVertexAttrib3d, + ); + fn_glVertexAttrib3dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3dv"), + def_glVertexAttrib3dv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib3s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3s"), + def_glVertexAttrib3s, + ); + fn_glVertexAttrib3sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3sv"), + def_glVertexAttrib3sv, + ); + fn_glVertexAttrib4Nbv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nbv"), + def_glVertexAttrib4Nbv, + ); + fn_glVertexAttrib4Niv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Niv"), + def_glVertexAttrib4Niv, + ); + fn_glVertexAttrib4Nsv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nsv"), + def_glVertexAttrib4Nsv, + ); + fn_glVertexAttrib4Nub = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nub"), + def_glVertexAttrib4Nub, + ); + fn_glVertexAttrib4Nubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nubv"), + def_glVertexAttrib4Nubv, + ); + fn_glVertexAttrib4Nuiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nuiv"), + def_glVertexAttrib4Nuiv, + ); + fn_glVertexAttrib4Nusv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4Nusv"), + def_glVertexAttrib4Nusv, + ); + fn_glVertexAttrib4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4bv"), + def_glVertexAttrib4bv, + ); + fn_glVertexAttrib4d = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4d"), + def_glVertexAttrib4d, + ); + fn_glVertexAttrib4dv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4dv"), + def_glVertexAttrib4dv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttrib4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4iv"), + def_glVertexAttrib4iv, + ); + fn_glVertexAttrib4s = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4s"), + def_glVertexAttrib4s, + ); + fn_glVertexAttrib4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4sv"), + def_glVertexAttrib4sv, + ); + fn_glVertexAttrib4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4ubv"), + def_glVertexAttrib4ubv, + ); + fn_glVertexAttrib4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4uiv"), + def_glVertexAttrib4uiv, + ); + fn_glVertexAttrib4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4usv"), + def_glVertexAttrib4usv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glClampColor = new Deno.UnsafeFnPointer(proc("glClampColor"), def_glClampColor); - fn_glBeginConditionalRender = new Deno.UnsafeFnPointer(proc("glBeginConditionalRender"), def_glBeginConditionalRender); - fn_glEndConditionalRender = new Deno.UnsafeFnPointer(proc("glEndConditionalRender"), def_glEndConditionalRender); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI1i = new Deno.UnsafeFnPointer(proc("glVertexAttribI1i"), def_glVertexAttribI1i); - fn_glVertexAttribI2i = new Deno.UnsafeFnPointer(proc("glVertexAttribI2i"), def_glVertexAttribI2i); - fn_glVertexAttribI3i = new Deno.UnsafeFnPointer(proc("glVertexAttribI3i"), def_glVertexAttribI3i); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI1ui"), def_glVertexAttribI1ui); - fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI2ui"), def_glVertexAttribI2ui); - fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI3ui"), def_glVertexAttribI3ui); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1iv"), def_glVertexAttribI1iv); - fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2iv"), def_glVertexAttribI2iv); - fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3iv"), def_glVertexAttribI3iv); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI1uiv"), def_glVertexAttribI1uiv); - fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI2uiv"), def_glVertexAttribI2uiv); - fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI3uiv"), def_glVertexAttribI3uiv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4bv"), def_glVertexAttribI4bv); - fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4sv"), def_glVertexAttribI4sv); - fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ubv"), def_glVertexAttribI4ubv); - fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4usv"), def_glVertexAttribI4usv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glBindFragDataLocation = new Deno.UnsafeFnPointer(proc("glBindFragDataLocation"), def_glBindFragDataLocation); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); - fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture1D"), def_glFramebufferTexture1D); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture3D"), def_glFramebufferTexture3D); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glTexBuffer = new Deno.UnsafeFnPointer(proc("glTexBuffer"), def_glTexBuffer); - fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer(proc("glPrimitiveRestartIndex"), def_glPrimitiveRestartIndex); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetActiveUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformName"), def_glGetActiveUniformName); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertex"), def_glDrawElementsBaseVertex); - fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertex"), def_glDrawRangeElementsBaseVertex); - fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertex"), def_glDrawElementsInstancedBaseVertex); - fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glMultiDrawElementsBaseVertex"), def_glMultiDrawElementsBaseVertex); - fn_glProvokingVertex = new Deno.UnsafeFnPointer(proc("glProvokingVertex"), def_glProvokingVertex); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glClampColor = new Deno.UnsafeFnPointer( + proc("glClampColor"), + def_glClampColor, + ); + fn_glBeginConditionalRender = new Deno.UnsafeFnPointer( + proc("glBeginConditionalRender"), + def_glBeginConditionalRender, + ); + fn_glEndConditionalRender = new Deno.UnsafeFnPointer( + proc("glEndConditionalRender"), + def_glEndConditionalRender, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI1i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1i"), + def_glVertexAttribI1i, + ); + fn_glVertexAttribI2i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2i"), + def_glVertexAttribI2i, + ); + fn_glVertexAttribI3i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3i"), + def_glVertexAttribI3i, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1ui"), + def_glVertexAttribI1ui, + ); + fn_glVertexAttribI2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2ui"), + def_glVertexAttribI2ui, + ); + fn_glVertexAttribI3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3ui"), + def_glVertexAttribI3ui, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI1iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1iv"), + def_glVertexAttribI1iv, + ); + fn_glVertexAttribI2iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2iv"), + def_glVertexAttribI2iv, + ); + fn_glVertexAttribI3iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3iv"), + def_glVertexAttribI3iv, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI1uiv"), + def_glVertexAttribI1uiv, + ); + fn_glVertexAttribI2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI2uiv"), + def_glVertexAttribI2uiv, + ); + fn_glVertexAttribI3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI3uiv"), + def_glVertexAttribI3uiv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glVertexAttribI4bv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4bv"), + def_glVertexAttribI4bv, + ); + fn_glVertexAttribI4sv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4sv"), + def_glVertexAttribI4sv, + ); + fn_glVertexAttribI4ubv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ubv"), + def_glVertexAttribI4ubv, + ); + fn_glVertexAttribI4usv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4usv"), + def_glVertexAttribI4usv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glBindFragDataLocation = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocation"), + def_glBindFragDataLocation, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); + fn_glFramebufferTexture1D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture1D"), + def_glFramebufferTexture1D, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFramebufferTexture3D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture3D"), + def_glFramebufferTexture3D, + ); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glTexBuffer = new Deno.UnsafeFnPointer( + proc("glTexBuffer"), + def_glTexBuffer, + ); + fn_glPrimitiveRestartIndex = new Deno.UnsafeFnPointer( + proc("glPrimitiveRestartIndex"), + def_glPrimitiveRestartIndex, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetActiveUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformName"), + def_glGetActiveUniformName, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertex"), + def_glDrawElementsBaseVertex, + ); + fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertex"), + def_glDrawRangeElementsBaseVertex, + ); + fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertex"), + def_glDrawElementsInstancedBaseVertex, + ); + fn_glMultiDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glMultiDrawElementsBaseVertex"), + def_glMultiDrawElementsBaseVertex, + ); + fn_glProvokingVertex = new Deno.UnsafeFnPointer( + proc("glProvokingVertex"), + def_glProvokingVertex, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glFramebufferTexture = new Deno.UnsafeFnPointer(proc("glFramebufferTexture"), def_glFramebufferTexture); - fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage2DMultisample"), def_glTexImage2DMultisample); - fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexImage3DMultisample"), def_glTexImage3DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); - fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer(proc("glBindFragDataLocationIndexed"), def_glBindFragDataLocationIndexed); - fn_glGetFragDataIndex = new Deno.UnsafeFnPointer(proc("glGetFragDataIndex"), def_glGetFragDataIndex); - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIiv"), def_glSamplerParameterIiv); - fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuiv"), def_glSamplerParameterIuiv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIiv"), def_glGetSamplerParameterIiv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuiv"), def_glGetSamplerParameterIuiv); - fn_glQueryCounter = new Deno.UnsafeFnPointer(proc("glQueryCounter"), def_glQueryCounter); - fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjecti64v"), def_glGetQueryObjecti64v); - fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer(proc("glGetQueryObjectui64v"), def_glGetQueryObjectui64v); - fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisor"), def_glVertexAttribDivisor); - fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP1ui"), def_glVertexAttribP1ui); - fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP1uiv"), def_glVertexAttribP1uiv); - fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP2ui"), def_glVertexAttribP2ui); - fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP2uiv"), def_glVertexAttribP2uiv); - fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP3ui"), def_glVertexAttribP3ui); - fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP3uiv"), def_glVertexAttribP3uiv); - fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribP4ui"), def_glVertexAttribP4ui); - fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribP4uiv"), def_glVertexAttribP4uiv); - fn_glVertexP2ui = new Deno.UnsafeFnPointer(proc("glVertexP2ui"), def_glVertexP2ui); - fn_glVertexP2uiv = new Deno.UnsafeFnPointer(proc("glVertexP2uiv"), def_glVertexP2uiv); - fn_glVertexP3ui = new Deno.UnsafeFnPointer(proc("glVertexP3ui"), def_glVertexP3ui); - fn_glVertexP3uiv = new Deno.UnsafeFnPointer(proc("glVertexP3uiv"), def_glVertexP3uiv); - fn_glVertexP4ui = new Deno.UnsafeFnPointer(proc("glVertexP4ui"), def_glVertexP4ui); - fn_glVertexP4uiv = new Deno.UnsafeFnPointer(proc("glVertexP4uiv"), def_glVertexP4uiv); - fn_glTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glTexCoordP1ui"), def_glTexCoordP1ui); - fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP1uiv"), def_glTexCoordP1uiv); - fn_glTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glTexCoordP2ui"), def_glTexCoordP2ui); - fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP2uiv"), def_glTexCoordP2uiv); - fn_glTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glTexCoordP3ui"), def_glTexCoordP3ui); - fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP3uiv"), def_glTexCoordP3uiv); - fn_glTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glTexCoordP4ui"), def_glTexCoordP4ui); - fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glTexCoordP4uiv"), def_glTexCoordP4uiv); - fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1ui"), def_glMultiTexCoordP1ui); - fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP1uiv"), def_glMultiTexCoordP1uiv); - fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2ui"), def_glMultiTexCoordP2ui); - fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP2uiv"), def_glMultiTexCoordP2uiv); - fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3ui"), def_glMultiTexCoordP3ui); - fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP3uiv"), def_glMultiTexCoordP3uiv); - fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4ui"), def_glMultiTexCoordP4ui); - fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer(proc("glMultiTexCoordP4uiv"), def_glMultiTexCoordP4uiv); - fn_glNormalP3ui = new Deno.UnsafeFnPointer(proc("glNormalP3ui"), def_glNormalP3ui); - fn_glNormalP3uiv = new Deno.UnsafeFnPointer(proc("glNormalP3uiv"), def_glNormalP3uiv); - fn_glColorP3ui = new Deno.UnsafeFnPointer(proc("glColorP3ui"), def_glColorP3ui); - fn_glColorP3uiv = new Deno.UnsafeFnPointer(proc("glColorP3uiv"), def_glColorP3uiv); - fn_glColorP4ui = new Deno.UnsafeFnPointer(proc("glColorP4ui"), def_glColorP4ui); - fn_glColorP4uiv = new Deno.UnsafeFnPointer(proc("glColorP4uiv"), def_glColorP4uiv); - fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3ui"), def_glSecondaryColorP3ui); - fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer(proc("glSecondaryColorP3uiv"), def_glSecondaryColorP3uiv); - fn_glMinSampleShading = new Deno.UnsafeFnPointer(proc("glMinSampleShading"), def_glMinSampleShading); - fn_glBlendEquationi = new Deno.UnsafeFnPointer(proc("glBlendEquationi"), def_glBlendEquationi); - fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparatei"), def_glBlendEquationSeparatei); - fn_glBlendFunci = new Deno.UnsafeFnPointer(proc("glBlendFunci"), def_glBlendFunci); - fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparatei"), def_glBlendFuncSeparatei); - fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glDrawArraysIndirect"), def_glDrawArraysIndirect); - fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glDrawElementsIndirect"), def_glDrawElementsIndirect); - fn_glUniform1d = new Deno.UnsafeFnPointer(proc("glUniform1d"), def_glUniform1d); - fn_glUniform2d = new Deno.UnsafeFnPointer(proc("glUniform2d"), def_glUniform2d); - fn_glUniform3d = new Deno.UnsafeFnPointer(proc("glUniform3d"), def_glUniform3d); - fn_glUniform4d = new Deno.UnsafeFnPointer(proc("glUniform4d"), def_glUniform4d); - fn_glUniform1dv = new Deno.UnsafeFnPointer(proc("glUniform1dv"), def_glUniform1dv); - fn_glUniform2dv = new Deno.UnsafeFnPointer(proc("glUniform2dv"), def_glUniform2dv); - fn_glUniform3dv = new Deno.UnsafeFnPointer(proc("glUniform3dv"), def_glUniform3dv); - fn_glUniform4dv = new Deno.UnsafeFnPointer(proc("glUniform4dv"), def_glUniform4dv); - fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2dv"), def_glUniformMatrix2dv); - fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3dv"), def_glUniformMatrix3dv); - fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4dv"), def_glUniformMatrix4dv); - fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3dv"), def_glUniformMatrix2x3dv); - fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4dv"), def_glUniformMatrix2x4dv); - fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2dv"), def_glUniformMatrix3x2dv); - fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4dv"), def_glUniformMatrix3x4dv); - fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2dv"), def_glUniformMatrix4x2dv); - fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3dv"), def_glUniformMatrix4x3dv); - fn_glGetUniformdv = new Deno.UnsafeFnPointer(proc("glGetUniformdv"), def_glGetUniformdv); - fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer(proc("glGetSubroutineUniformLocation"), def_glGetSubroutineUniformLocation); - fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer(proc("glGetSubroutineIndex"), def_glGetSubroutineIndex); - fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformiv"), def_glGetActiveSubroutineUniformiv); - fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineUniformName"), def_glGetActiveSubroutineUniformName); - fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer(proc("glGetActiveSubroutineName"), def_glGetActiveSubroutineName); - fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer(proc("glUniformSubroutinesuiv"), def_glUniformSubroutinesuiv); - fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer(proc("glGetUniformSubroutineuiv"), def_glGetUniformSubroutineuiv); - fn_glGetProgramStageiv = new Deno.UnsafeFnPointer(proc("glGetProgramStageiv"), def_glGetProgramStageiv); - fn_glPatchParameteri = new Deno.UnsafeFnPointer(proc("glPatchParameteri"), def_glPatchParameteri); - fn_glPatchParameterfv = new Deno.UnsafeFnPointer(proc("glPatchParameterfv"), def_glPatchParameterfv); - fn_glBindTransformFeedback = new Deno.UnsafeFnPointer(proc("glBindTransformFeedback"), def_glBindTransformFeedback); - fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacks"), def_glDeleteTransformFeedbacks); - fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacks"), def_glGenTransformFeedbacks); - fn_glIsTransformFeedback = new Deno.UnsafeFnPointer(proc("glIsTransformFeedback"), def_glIsTransformFeedback); - fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedback"), def_glPauseTransformFeedback); - fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedback"), def_glResumeTransformFeedback); - fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedback"), def_glDrawTransformFeedback); - fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer(proc("glDrawTransformFeedbackStream"), def_glDrawTransformFeedbackStream); - fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer(proc("glBeginQueryIndexed"), def_glBeginQueryIndexed); - fn_glEndQueryIndexed = new Deno.UnsafeFnPointer(proc("glEndQueryIndexed"), def_glEndQueryIndexed); - fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer(proc("glGetQueryIndexediv"), def_glGetQueryIndexediv); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture"), + def_glFramebufferTexture, + ); + fn_glTexImage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage2DMultisample"), + def_glTexImage2DMultisample, + ); + fn_glTexImage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexImage3DMultisample"), + def_glTexImage3DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); + fn_glBindFragDataLocationIndexed = new Deno.UnsafeFnPointer( + proc("glBindFragDataLocationIndexed"), + def_glBindFragDataLocationIndexed, + ); + fn_glGetFragDataIndex = new Deno.UnsafeFnPointer( + proc("glGetFragDataIndex"), + def_glGetFragDataIndex, + ); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIiv"), + def_glSamplerParameterIiv, + ); + fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuiv"), + def_glSamplerParameterIuiv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIiv"), + def_glGetSamplerParameterIiv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuiv"), + def_glGetSamplerParameterIuiv, + ); + fn_glQueryCounter = new Deno.UnsafeFnPointer( + proc("glQueryCounter"), + def_glQueryCounter, + ); + fn_glGetQueryObjecti64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjecti64v"), + def_glGetQueryObjecti64v, + ); + fn_glGetQueryObjectui64v = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectui64v"), + def_glGetQueryObjectui64v, + ); + fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisor"), + def_glVertexAttribDivisor, + ); + fn_glVertexAttribP1ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1ui"), + def_glVertexAttribP1ui, + ); + fn_glVertexAttribP1uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP1uiv"), + def_glVertexAttribP1uiv, + ); + fn_glVertexAttribP2ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2ui"), + def_glVertexAttribP2ui, + ); + fn_glVertexAttribP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP2uiv"), + def_glVertexAttribP2uiv, + ); + fn_glVertexAttribP3ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3ui"), + def_glVertexAttribP3ui, + ); + fn_glVertexAttribP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP3uiv"), + def_glVertexAttribP3uiv, + ); + fn_glVertexAttribP4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4ui"), + def_glVertexAttribP4ui, + ); + fn_glVertexAttribP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribP4uiv"), + def_glVertexAttribP4uiv, + ); + fn_glVertexP2ui = new Deno.UnsafeFnPointer( + proc("glVertexP2ui"), + def_glVertexP2ui, + ); + fn_glVertexP2uiv = new Deno.UnsafeFnPointer( + proc("glVertexP2uiv"), + def_glVertexP2uiv, + ); + fn_glVertexP3ui = new Deno.UnsafeFnPointer( + proc("glVertexP3ui"), + def_glVertexP3ui, + ); + fn_glVertexP3uiv = new Deno.UnsafeFnPointer( + proc("glVertexP3uiv"), + def_glVertexP3uiv, + ); + fn_glVertexP4ui = new Deno.UnsafeFnPointer( + proc("glVertexP4ui"), + def_glVertexP4ui, + ); + fn_glVertexP4uiv = new Deno.UnsafeFnPointer( + proc("glVertexP4uiv"), + def_glVertexP4uiv, + ); + fn_glTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP1ui"), + def_glTexCoordP1ui, + ); + fn_glTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP1uiv"), + def_glTexCoordP1uiv, + ); + fn_glTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP2ui"), + def_glTexCoordP2ui, + ); + fn_glTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP2uiv"), + def_glTexCoordP2uiv, + ); + fn_glTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP3ui"), + def_glTexCoordP3ui, + ); + fn_glTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP3uiv"), + def_glTexCoordP3uiv, + ); + fn_glTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glTexCoordP4ui"), + def_glTexCoordP4ui, + ); + fn_glTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glTexCoordP4uiv"), + def_glTexCoordP4uiv, + ); + fn_glMultiTexCoordP1ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1ui"), + def_glMultiTexCoordP1ui, + ); + fn_glMultiTexCoordP1uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP1uiv"), + def_glMultiTexCoordP1uiv, + ); + fn_glMultiTexCoordP2ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2ui"), + def_glMultiTexCoordP2ui, + ); + fn_glMultiTexCoordP2uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP2uiv"), + def_glMultiTexCoordP2uiv, + ); + fn_glMultiTexCoordP3ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3ui"), + def_glMultiTexCoordP3ui, + ); + fn_glMultiTexCoordP3uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP3uiv"), + def_glMultiTexCoordP3uiv, + ); + fn_glMultiTexCoordP4ui = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4ui"), + def_glMultiTexCoordP4ui, + ); + fn_glMultiTexCoordP4uiv = new Deno.UnsafeFnPointer( + proc("glMultiTexCoordP4uiv"), + def_glMultiTexCoordP4uiv, + ); + fn_glNormalP3ui = new Deno.UnsafeFnPointer( + proc("glNormalP3ui"), + def_glNormalP3ui, + ); + fn_glNormalP3uiv = new Deno.UnsafeFnPointer( + proc("glNormalP3uiv"), + def_glNormalP3uiv, + ); + fn_glColorP3ui = new Deno.UnsafeFnPointer( + proc("glColorP3ui"), + def_glColorP3ui, + ); + fn_glColorP3uiv = new Deno.UnsafeFnPointer( + proc("glColorP3uiv"), + def_glColorP3uiv, + ); + fn_glColorP4ui = new Deno.UnsafeFnPointer( + proc("glColorP4ui"), + def_glColorP4ui, + ); + fn_glColorP4uiv = new Deno.UnsafeFnPointer( + proc("glColorP4uiv"), + def_glColorP4uiv, + ); + fn_glSecondaryColorP3ui = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3ui"), + def_glSecondaryColorP3ui, + ); + fn_glSecondaryColorP3uiv = new Deno.UnsafeFnPointer( + proc("glSecondaryColorP3uiv"), + def_glSecondaryColorP3uiv, + ); + fn_glMinSampleShading = new Deno.UnsafeFnPointer( + proc("glMinSampleShading"), + def_glMinSampleShading, + ); + fn_glBlendEquationi = new Deno.UnsafeFnPointer( + proc("glBlendEquationi"), + def_glBlendEquationi, + ); + fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparatei"), + def_glBlendEquationSeparatei, + ); + fn_glBlendFunci = new Deno.UnsafeFnPointer( + proc("glBlendFunci"), + def_glBlendFunci, + ); + fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparatei"), + def_glBlendFuncSeparatei, + ); + fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glDrawArraysIndirect"), + def_glDrawArraysIndirect, + ); + fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glDrawElementsIndirect"), + def_glDrawElementsIndirect, + ); + fn_glUniform1d = new Deno.UnsafeFnPointer( + proc("glUniform1d"), + def_glUniform1d, + ); + fn_glUniform2d = new Deno.UnsafeFnPointer( + proc("glUniform2d"), + def_glUniform2d, + ); + fn_glUniform3d = new Deno.UnsafeFnPointer( + proc("glUniform3d"), + def_glUniform3d, + ); + fn_glUniform4d = new Deno.UnsafeFnPointer( + proc("glUniform4d"), + def_glUniform4d, + ); + fn_glUniform1dv = new Deno.UnsafeFnPointer( + proc("glUniform1dv"), + def_glUniform1dv, + ); + fn_glUniform2dv = new Deno.UnsafeFnPointer( + proc("glUniform2dv"), + def_glUniform2dv, + ); + fn_glUniform3dv = new Deno.UnsafeFnPointer( + proc("glUniform3dv"), + def_glUniform3dv, + ); + fn_glUniform4dv = new Deno.UnsafeFnPointer( + proc("glUniform4dv"), + def_glUniform4dv, + ); + fn_glUniformMatrix2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2dv"), + def_glUniformMatrix2dv, + ); + fn_glUniformMatrix3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3dv"), + def_glUniformMatrix3dv, + ); + fn_glUniformMatrix4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4dv"), + def_glUniformMatrix4dv, + ); + fn_glUniformMatrix2x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3dv"), + def_glUniformMatrix2x3dv, + ); + fn_glUniformMatrix2x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4dv"), + def_glUniformMatrix2x4dv, + ); + fn_glUniformMatrix3x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2dv"), + def_glUniformMatrix3x2dv, + ); + fn_glUniformMatrix3x4dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4dv"), + def_glUniformMatrix3x4dv, + ); + fn_glUniformMatrix4x2dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2dv"), + def_glUniformMatrix4x2dv, + ); + fn_glUniformMatrix4x3dv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3dv"), + def_glUniformMatrix4x3dv, + ); + fn_glGetUniformdv = new Deno.UnsafeFnPointer( + proc("glGetUniformdv"), + def_glGetUniformdv, + ); + fn_glGetSubroutineUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetSubroutineUniformLocation"), + def_glGetSubroutineUniformLocation, + ); + fn_glGetSubroutineIndex = new Deno.UnsafeFnPointer( + proc("glGetSubroutineIndex"), + def_glGetSubroutineIndex, + ); + fn_glGetActiveSubroutineUniformiv = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformiv"), + def_glGetActiveSubroutineUniformiv, + ); + fn_glGetActiveSubroutineUniformName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineUniformName"), + def_glGetActiveSubroutineUniformName, + ); + fn_glGetActiveSubroutineName = new Deno.UnsafeFnPointer( + proc("glGetActiveSubroutineName"), + def_glGetActiveSubroutineName, + ); + fn_glUniformSubroutinesuiv = new Deno.UnsafeFnPointer( + proc("glUniformSubroutinesuiv"), + def_glUniformSubroutinesuiv, + ); + fn_glGetUniformSubroutineuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformSubroutineuiv"), + def_glGetUniformSubroutineuiv, + ); + fn_glGetProgramStageiv = new Deno.UnsafeFnPointer( + proc("glGetProgramStageiv"), + def_glGetProgramStageiv, + ); + fn_glPatchParameteri = new Deno.UnsafeFnPointer( + proc("glPatchParameteri"), + def_glPatchParameteri, + ); + fn_glPatchParameterfv = new Deno.UnsafeFnPointer( + proc("glPatchParameterfv"), + def_glPatchParameterfv, + ); + fn_glBindTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedback"), + def_glBindTransformFeedback, + ); + fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacks"), + def_glDeleteTransformFeedbacks, + ); + fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacks"), + def_glGenTransformFeedbacks, + ); + fn_glIsTransformFeedback = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedback"), + def_glIsTransformFeedback, + ); + fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedback"), + def_glPauseTransformFeedback, + ); + fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedback"), + def_glResumeTransformFeedback, + ); + fn_glDrawTransformFeedback = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedback"), + def_glDrawTransformFeedback, + ); + fn_glDrawTransformFeedbackStream = new Deno.UnsafeFnPointer( + proc("glDrawTransformFeedbackStream"), + def_glDrawTransformFeedbackStream, + ); + fn_glBeginQueryIndexed = new Deno.UnsafeFnPointer( + proc("glBeginQueryIndexed"), + def_glBeginQueryIndexed, + ); + fn_glEndQueryIndexed = new Deno.UnsafeFnPointer( + proc("glEndQueryIndexed"), + def_glEndQueryIndexed, + ); + fn_glGetQueryIndexediv = new Deno.UnsafeFnPointer( + proc("glGetQueryIndexediv"), + def_glGetQueryIndexediv, + ); } diff --git a/api/gles11.ts b/api/gles11.ts index 8e0c7c6..5d05b2f 100644 --- a/api/gles11.ts +++ b/api/gles11.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -659,7 +667,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1292,7 +1302,9 @@ export const def_glClientActiveTexture = { result: "void", } as const; -let fn_glClientActiveTexture!: Deno.UnsafeFnPointer; +let fn_glClientActiveTexture!: Deno.UnsafeFnPointer< + typeof def_glClientActiveTexture +>; export function ClientActiveTexture( texture: GLenum, @@ -1408,7 +1420,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -1433,11 +1447,23 @@ export function CompressedTexImage2D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -1497,7 +1523,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -1637,7 +1665,9 @@ export const def_glDisableClientState = { result: "void", } as const; -let fn_glDisableClientState!: Deno.UnsafeFnPointer; +let fn_glDisableClientState!: Deno.UnsafeFnPointer< + typeof def_glDisableClientState +>; export function DisableClientState( array: GLenum, @@ -1707,7 +1737,9 @@ export const def_glEnableClientState = { result: "void", } as const; -let fn_glEnableClientState!: Deno.UnsafeFnPointer; +let fn_glEnableClientState!: Deno.UnsafeFnPointer< + typeof def_glEnableClientState +>; export function EnableClientState( array: GLenum, @@ -1835,7 +1867,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -2058,7 +2092,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -2077,7 +2113,9 @@ export const def_glGetTexParameterxv = { result: "void", } as const; -let fn_glGetTexParameterxv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterxv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterxv +>; export function GetTexParameterxv( target: GLenum, @@ -2828,7 +2866,17 @@ export function TexEnvxv( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2935,7 +2983,17 @@ export function TexParameterxv( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -3028,148 +3086,463 @@ export function Viewport( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glAlphaFunc = new Deno.UnsafeFnPointer(proc("glAlphaFunc"), def_glAlphaFunc); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glClipPlanef = new Deno.UnsafeFnPointer(proc("glClipPlanef"), def_glClipPlanef); + fn_glAlphaFunc = new Deno.UnsafeFnPointer( + proc("glAlphaFunc"), + def_glAlphaFunc, + ); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glClipPlanef = new Deno.UnsafeFnPointer( + proc("glClipPlanef"), + def_glClipPlanef, + ); fn_glColor4f = new Deno.UnsafeFnPointer(proc("glColor4f"), def_glColor4f); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); fn_glFogf = new Deno.UnsafeFnPointer(proc("glFogf"), def_glFogf); fn_glFogfv = new Deno.UnsafeFnPointer(proc("glFogfv"), def_glFogfv); fn_glFrustumf = new Deno.UnsafeFnPointer(proc("glFrustumf"), def_glFrustumf); - fn_glGetClipPlanef = new Deno.UnsafeFnPointer(proc("glGetClipPlanef"), def_glGetClipPlanef); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetLightfv = new Deno.UnsafeFnPointer(proc("glGetLightfv"), def_glGetLightfv); - fn_glGetMaterialfv = new Deno.UnsafeFnPointer(proc("glGetMaterialfv"), def_glGetMaterialfv); - fn_glGetTexEnvfv = new Deno.UnsafeFnPointer(proc("glGetTexEnvfv"), def_glGetTexEnvfv); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glLightModelf = new Deno.UnsafeFnPointer(proc("glLightModelf"), def_glLightModelf); - fn_glLightModelfv = new Deno.UnsafeFnPointer(proc("glLightModelfv"), def_glLightModelfv); + fn_glGetClipPlanef = new Deno.UnsafeFnPointer( + proc("glGetClipPlanef"), + def_glGetClipPlanef, + ); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetLightfv = new Deno.UnsafeFnPointer( + proc("glGetLightfv"), + def_glGetLightfv, + ); + fn_glGetMaterialfv = new Deno.UnsafeFnPointer( + proc("glGetMaterialfv"), + def_glGetMaterialfv, + ); + fn_glGetTexEnvfv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvfv"), + def_glGetTexEnvfv, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glLightModelf = new Deno.UnsafeFnPointer( + proc("glLightModelf"), + def_glLightModelf, + ); + fn_glLightModelfv = new Deno.UnsafeFnPointer( + proc("glLightModelfv"), + def_glLightModelfv, + ); fn_glLightf = new Deno.UnsafeFnPointer(proc("glLightf"), def_glLightf); fn_glLightfv = new Deno.UnsafeFnPointer(proc("glLightfv"), def_glLightfv); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glLoadMatrixf = new Deno.UnsafeFnPointer(proc("glLoadMatrixf"), def_glLoadMatrixf); - fn_glMaterialf = new Deno.UnsafeFnPointer(proc("glMaterialf"), def_glMaterialf); - fn_glMaterialfv = new Deno.UnsafeFnPointer(proc("glMaterialfv"), def_glMaterialfv); - fn_glMultMatrixf = new Deno.UnsafeFnPointer(proc("glMultMatrixf"), def_glMultMatrixf); - fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4f"), def_glMultiTexCoord4f); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glLoadMatrixf = new Deno.UnsafeFnPointer( + proc("glLoadMatrixf"), + def_glLoadMatrixf, + ); + fn_glMaterialf = new Deno.UnsafeFnPointer( + proc("glMaterialf"), + def_glMaterialf, + ); + fn_glMaterialfv = new Deno.UnsafeFnPointer( + proc("glMaterialfv"), + def_glMaterialfv, + ); + fn_glMultMatrixf = new Deno.UnsafeFnPointer( + proc("glMultMatrixf"), + def_glMultMatrixf, + ); + fn_glMultiTexCoord4f = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4f"), + def_glMultiTexCoord4f, + ); fn_glNormal3f = new Deno.UnsafeFnPointer(proc("glNormal3f"), def_glNormal3f); fn_glOrthof = new Deno.UnsafeFnPointer(proc("glOrthof"), def_glOrthof); - fn_glPointParameterf = new Deno.UnsafeFnPointer(proc("glPointParameterf"), def_glPointParameterf); - fn_glPointParameterfv = new Deno.UnsafeFnPointer(proc("glPointParameterfv"), def_glPointParameterfv); - fn_glPointSize = new Deno.UnsafeFnPointer(proc("glPointSize"), def_glPointSize); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); + fn_glPointParameterf = new Deno.UnsafeFnPointer( + proc("glPointParameterf"), + def_glPointParameterf, + ); + fn_glPointParameterfv = new Deno.UnsafeFnPointer( + proc("glPointParameterfv"), + def_glPointParameterfv, + ); + fn_glPointSize = new Deno.UnsafeFnPointer( + proc("glPointSize"), + def_glPointSize, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); fn_glRotatef = new Deno.UnsafeFnPointer(proc("glRotatef"), def_glRotatef); fn_glScalef = new Deno.UnsafeFnPointer(proc("glScalef"), def_glScalef); fn_glTexEnvf = new Deno.UnsafeFnPointer(proc("glTexEnvf"), def_glTexEnvf); fn_glTexEnvfv = new Deno.UnsafeFnPointer(proc("glTexEnvfv"), def_glTexEnvfv); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTranslatef = new Deno.UnsafeFnPointer(proc("glTranslatef"), def_glTranslatef); - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glAlphaFuncx = new Deno.UnsafeFnPointer(proc("glAlphaFuncx"), def_glAlphaFuncx); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTranslatef = new Deno.UnsafeFnPointer( + proc("glTranslatef"), + def_glTranslatef, + ); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glAlphaFuncx = new Deno.UnsafeFnPointer( + proc("glAlphaFuncx"), + def_glAlphaFuncx, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColorx = new Deno.UnsafeFnPointer(proc("glClearColorx"), def_glClearColorx); - fn_glClearDepthx = new Deno.UnsafeFnPointer(proc("glClearDepthx"), def_glClearDepthx); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glClientActiveTexture = new Deno.UnsafeFnPointer(proc("glClientActiveTexture"), def_glClientActiveTexture); - fn_glClipPlanex = new Deno.UnsafeFnPointer(proc("glClipPlanex"), def_glClipPlanex); + fn_glClearColorx = new Deno.UnsafeFnPointer( + proc("glClearColorx"), + def_glClearColorx, + ); + fn_glClearDepthx = new Deno.UnsafeFnPointer( + proc("glClearDepthx"), + def_glClearDepthx, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glClientActiveTexture = new Deno.UnsafeFnPointer( + proc("glClientActiveTexture"), + def_glClientActiveTexture, + ); + fn_glClipPlanex = new Deno.UnsafeFnPointer( + proc("glClipPlanex"), + def_glClipPlanex, + ); fn_glColor4ub = new Deno.UnsafeFnPointer(proc("glColor4ub"), def_glColor4ub); fn_glColor4x = new Deno.UnsafeFnPointer(proc("glColor4x"), def_glColor4x); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glColorPointer = new Deno.UnsafeFnPointer(proc("glColorPointer"), def_glColorPointer); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glColorPointer = new Deno.UnsafeFnPointer( + proc("glColorPointer"), + def_glColorPointer, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); - fn_glDepthRangex = new Deno.UnsafeFnPointer(proc("glDepthRangex"), def_glDepthRangex); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); + fn_glDepthRangex = new Deno.UnsafeFnPointer( + proc("glDepthRangex"), + def_glDepthRangex, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); - fn_glDisableClientState = new Deno.UnsafeFnPointer(proc("glDisableClientState"), def_glDisableClientState); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); + fn_glDisableClientState = new Deno.UnsafeFnPointer( + proc("glDisableClientState"), + def_glDisableClientState, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); - fn_glEnableClientState = new Deno.UnsafeFnPointer(proc("glEnableClientState"), def_glEnableClientState); + fn_glEnableClientState = new Deno.UnsafeFnPointer( + proc("glEnableClientState"), + def_glEnableClientState, + ); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); fn_glFogx = new Deno.UnsafeFnPointer(proc("glFogx"), def_glFogx); fn_glFogxv = new Deno.UnsafeFnPointer(proc("glFogxv"), def_glFogxv); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); fn_glFrustumx = new Deno.UnsafeFnPointer(proc("glFrustumx"), def_glFrustumx); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); - fn_glGetClipPlanex = new Deno.UnsafeFnPointer(proc("glGetClipPlanex"), def_glGetClipPlanex); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); + fn_glGetClipPlanex = new Deno.UnsafeFnPointer( + proc("glGetClipPlanex"), + def_glGetClipPlanex, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFixedv = new Deno.UnsafeFnPointer(proc("glGetFixedv"), def_glGetFixedv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetLightxv = new Deno.UnsafeFnPointer(proc("glGetLightxv"), def_glGetLightxv); - fn_glGetMaterialxv = new Deno.UnsafeFnPointer(proc("glGetMaterialxv"), def_glGetMaterialxv); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexEnviv = new Deno.UnsafeFnPointer(proc("glGetTexEnviv"), def_glGetTexEnviv); - fn_glGetTexEnvxv = new Deno.UnsafeFnPointer(proc("glGetTexEnvxv"), def_glGetTexEnvxv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetTexParameterxv = new Deno.UnsafeFnPointer(proc("glGetTexParameterxv"), def_glGetTexParameterxv); + fn_glGetFixedv = new Deno.UnsafeFnPointer( + proc("glGetFixedv"), + def_glGetFixedv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetLightxv = new Deno.UnsafeFnPointer( + proc("glGetLightxv"), + def_glGetLightxv, + ); + fn_glGetMaterialxv = new Deno.UnsafeFnPointer( + proc("glGetMaterialxv"), + def_glGetMaterialxv, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexEnviv = new Deno.UnsafeFnPointer( + proc("glGetTexEnviv"), + def_glGetTexEnviv, + ); + fn_glGetTexEnvxv = new Deno.UnsafeFnPointer( + proc("glGetTexEnvxv"), + def_glGetTexEnvxv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetTexParameterxv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterxv"), + def_glGetTexParameterxv, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glLightModelx = new Deno.UnsafeFnPointer(proc("glLightModelx"), def_glLightModelx); - fn_glLightModelxv = new Deno.UnsafeFnPointer(proc("glLightModelxv"), def_glLightModelxv); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glLightModelx = new Deno.UnsafeFnPointer( + proc("glLightModelx"), + def_glLightModelx, + ); + fn_glLightModelxv = new Deno.UnsafeFnPointer( + proc("glLightModelxv"), + def_glLightModelxv, + ); fn_glLightx = new Deno.UnsafeFnPointer(proc("glLightx"), def_glLightx); fn_glLightxv = new Deno.UnsafeFnPointer(proc("glLightxv"), def_glLightxv); - fn_glLineWidthx = new Deno.UnsafeFnPointer(proc("glLineWidthx"), def_glLineWidthx); - fn_glLoadIdentity = new Deno.UnsafeFnPointer(proc("glLoadIdentity"), def_glLoadIdentity); - fn_glLoadMatrixx = new Deno.UnsafeFnPointer(proc("glLoadMatrixx"), def_glLoadMatrixx); + fn_glLineWidthx = new Deno.UnsafeFnPointer( + proc("glLineWidthx"), + def_glLineWidthx, + ); + fn_glLoadIdentity = new Deno.UnsafeFnPointer( + proc("glLoadIdentity"), + def_glLoadIdentity, + ); + fn_glLoadMatrixx = new Deno.UnsafeFnPointer( + proc("glLoadMatrixx"), + def_glLoadMatrixx, + ); fn_glLogicOp = new Deno.UnsafeFnPointer(proc("glLogicOp"), def_glLogicOp); - fn_glMaterialx = new Deno.UnsafeFnPointer(proc("glMaterialx"), def_glMaterialx); - fn_glMaterialxv = new Deno.UnsafeFnPointer(proc("glMaterialxv"), def_glMaterialxv); - fn_glMatrixMode = new Deno.UnsafeFnPointer(proc("glMatrixMode"), def_glMatrixMode); - fn_glMultMatrixx = new Deno.UnsafeFnPointer(proc("glMultMatrixx"), def_glMultMatrixx); - fn_glMultiTexCoord4x = new Deno.UnsafeFnPointer(proc("glMultiTexCoord4x"), def_glMultiTexCoord4x); + fn_glMaterialx = new Deno.UnsafeFnPointer( + proc("glMaterialx"), + def_glMaterialx, + ); + fn_glMaterialxv = new Deno.UnsafeFnPointer( + proc("glMaterialxv"), + def_glMaterialxv, + ); + fn_glMatrixMode = new Deno.UnsafeFnPointer( + proc("glMatrixMode"), + def_glMatrixMode, + ); + fn_glMultMatrixx = new Deno.UnsafeFnPointer( + proc("glMultMatrixx"), + def_glMultMatrixx, + ); + fn_glMultiTexCoord4x = new Deno.UnsafeFnPointer( + proc("glMultiTexCoord4x"), + def_glMultiTexCoord4x, + ); fn_glNormal3x = new Deno.UnsafeFnPointer(proc("glNormal3x"), def_glNormal3x); - fn_glNormalPointer = new Deno.UnsafeFnPointer(proc("glNormalPointer"), def_glNormalPointer); + fn_glNormalPointer = new Deno.UnsafeFnPointer( + proc("glNormalPointer"), + def_glNormalPointer, + ); fn_glOrthox = new Deno.UnsafeFnPointer(proc("glOrthox"), def_glOrthox); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glPointParameterx = new Deno.UnsafeFnPointer(proc("glPointParameterx"), def_glPointParameterx); - fn_glPointParameterxv = new Deno.UnsafeFnPointer(proc("glPointParameterxv"), def_glPointParameterxv); - fn_glPointSizex = new Deno.UnsafeFnPointer(proc("glPointSizex"), def_glPointSizex); - fn_glPolygonOffsetx = new Deno.UnsafeFnPointer(proc("glPolygonOffsetx"), def_glPolygonOffsetx); - fn_glPopMatrix = new Deno.UnsafeFnPointer(proc("glPopMatrix"), def_glPopMatrix); - fn_glPushMatrix = new Deno.UnsafeFnPointer(proc("glPushMatrix"), def_glPushMatrix); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glPointParameterx = new Deno.UnsafeFnPointer( + proc("glPointParameterx"), + def_glPointParameterx, + ); + fn_glPointParameterxv = new Deno.UnsafeFnPointer( + proc("glPointParameterxv"), + def_glPointParameterxv, + ); + fn_glPointSizex = new Deno.UnsafeFnPointer( + proc("glPointSizex"), + def_glPointSizex, + ); + fn_glPolygonOffsetx = new Deno.UnsafeFnPointer( + proc("glPolygonOffsetx"), + def_glPolygonOffsetx, + ); + fn_glPopMatrix = new Deno.UnsafeFnPointer( + proc("glPopMatrix"), + def_glPopMatrix, + ); + fn_glPushMatrix = new Deno.UnsafeFnPointer( + proc("glPushMatrix"), + def_glPushMatrix, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); fn_glRotatex = new Deno.UnsafeFnPointer(proc("glRotatex"), def_glRotatex); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); - fn_glSampleCoveragex = new Deno.UnsafeFnPointer(proc("glSampleCoveragex"), def_glSampleCoveragex); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); + fn_glSampleCoveragex = new Deno.UnsafeFnPointer( + proc("glSampleCoveragex"), + def_glSampleCoveragex, + ); fn_glScalex = new Deno.UnsafeFnPointer(proc("glScalex"), def_glScalex); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glShadeModel = new Deno.UnsafeFnPointer(proc("glShadeModel"), def_glShadeModel); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glTexCoordPointer = new Deno.UnsafeFnPointer(proc("glTexCoordPointer"), def_glTexCoordPointer); + fn_glShadeModel = new Deno.UnsafeFnPointer( + proc("glShadeModel"), + def_glShadeModel, + ); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glTexCoordPointer = new Deno.UnsafeFnPointer( + proc("glTexCoordPointer"), + def_glTexCoordPointer, + ); fn_glTexEnvi = new Deno.UnsafeFnPointer(proc("glTexEnvi"), def_glTexEnvi); fn_glTexEnvx = new Deno.UnsafeFnPointer(proc("glTexEnvx"), def_glTexEnvx); fn_glTexEnviv = new Deno.UnsafeFnPointer(proc("glTexEnviv"), def_glTexEnviv); fn_glTexEnvxv = new Deno.UnsafeFnPointer(proc("glTexEnvxv"), def_glTexEnvxv); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameterx = new Deno.UnsafeFnPointer(proc("glTexParameterx"), def_glTexParameterx); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexParameterxv = new Deno.UnsafeFnPointer(proc("glTexParameterxv"), def_glTexParameterxv); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glTranslatex = new Deno.UnsafeFnPointer(proc("glTranslatex"), def_glTranslatex); - fn_glVertexPointer = new Deno.UnsafeFnPointer(proc("glVertexPointer"), def_glVertexPointer); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameterx = new Deno.UnsafeFnPointer( + proc("glTexParameterx"), + def_glTexParameterx, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexParameterxv = new Deno.UnsafeFnPointer( + proc("glTexParameterxv"), + def_glTexParameterxv, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glTranslatex = new Deno.UnsafeFnPointer( + proc("glTranslatex"), + def_glTranslatex, + ); + fn_glVertexPointer = new Deno.UnsafeFnPointer( + proc("glVertexPointer"), + def_glVertexPointer, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); } diff --git a/api/gles22.ts b/api/gles22.ts index fdc8c4f..abfb38c 100644 --- a/api/gles22.ts +++ b/api/gles22.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -401,7 +409,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -524,7 +534,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -558,7 +570,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -621,7 +635,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -738,7 +754,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -763,11 +781,23 @@ export function CompressedTexImage2D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -827,7 +857,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -914,7 +946,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -946,7 +980,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -1074,7 +1110,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -1144,7 +1182,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -1181,7 +1221,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -1202,7 +1244,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -1377,7 +1421,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -1398,7 +1444,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -1432,7 +1480,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -1479,7 +1529,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -1536,7 +1588,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -1557,7 +1611,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -1616,7 +1672,9 @@ export const def_glGetShaderPrecisionFormat = { result: "void", } as const; -let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer; +let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer< + typeof def_glGetShaderPrecisionFormat +>; export function GetShaderPrecisionFormat( shadertype: GLenum, @@ -1673,7 +1731,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1692,7 +1752,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1749,7 +1811,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -1766,7 +1830,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -1785,7 +1851,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -1804,7 +1872,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -2036,7 +2106,9 @@ export const def_glReleaseShaderCompiler = { result: "void", } as const; -let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer; +let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer< + typeof def_glReleaseShaderCompiler +>; export function ReleaseShaderCompiler(): void { fn_glReleaseShaderCompiler.call(); @@ -2047,7 +2119,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -2169,7 +2243,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -2205,7 +2281,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -2241,7 +2319,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -2258,7 +2338,17 @@ export function StencilOpSeparate( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2365,7 +2455,17 @@ export function TexParameteriv( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2953,7 +3053,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -2996,146 +3098,536 @@ export function Viewport( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer(proc("glGetShaderPrecisionFormat"), def_glGetShaderPrecisionFormat); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer( + proc("glGetShaderPrecisionFormat"), + def_glGetShaderPrecisionFormat, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer(proc("glReleaseShaderCompiler"), def_glReleaseShaderCompiler); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer( + proc("glReleaseShaderCompiler"), + def_glReleaseShaderCompiler, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glShaderBinary = new Deno.UnsafeFnPointer(proc("glShaderBinary"), def_glShaderBinary); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); + fn_glShaderBinary = new Deno.UnsafeFnPointer( + proc("glShaderBinary"), + def_glShaderBinary, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); } diff --git a/api/gles23.1.ts b/api/gles23.1.ts index 31d0430..518f75d 100644 --- a/api/gles23.1.ts +++ b/api/gles23.1.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -895,7 +903,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -1018,7 +1028,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -1052,7 +1064,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -1115,7 +1129,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -1232,7 +1248,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -1257,11 +1275,23 @@ export function CompressedTexImage2D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -1321,7 +1351,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -1408,7 +1440,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -1440,7 +1474,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -1568,7 +1604,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -1638,7 +1676,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -1675,7 +1715,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -1696,7 +1738,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -1871,7 +1915,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -1892,7 +1938,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -1926,7 +1974,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -1973,7 +2023,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -2030,7 +2082,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -2051,7 +2105,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -2110,7 +2166,9 @@ export const def_glGetShaderPrecisionFormat = { result: "void", } as const; -let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer; +let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer< + typeof def_glGetShaderPrecisionFormat +>; export function GetShaderPrecisionFormat( shadertype: GLenum, @@ -2167,7 +2225,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -2186,7 +2246,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -2243,7 +2305,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -2260,7 +2324,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -2279,7 +2345,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -2298,7 +2366,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -2530,7 +2600,9 @@ export const def_glReleaseShaderCompiler = { result: "void", } as const; -let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer; +let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer< + typeof def_glReleaseShaderCompiler +>; export function ReleaseShaderCompiler(): void { fn_glReleaseShaderCompiler.call(); @@ -2541,7 +2613,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -2663,7 +2737,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -2699,7 +2775,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -2735,7 +2813,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -2752,7 +2832,17 @@ export function StencilOpSeparate( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2859,7 +2949,17 @@ export function TexParameteriv( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -3447,7 +3547,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -3508,7 +3610,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -3529,7 +3633,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -3562,7 +3677,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -3601,7 +3728,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -3628,11 +3757,23 @@ export function CopyTexSubImage3D( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -3659,11 +3800,25 @@ export function CompressedTexImage3D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -3798,7 +3953,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -3832,7 +3989,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -3868,7 +4027,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -3889,7 +4050,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -3910,7 +4073,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -3931,7 +4096,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -3952,7 +4119,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -3973,7 +4142,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -3990,7 +4161,18 @@ export function UniformMatrix4x3fv( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -4027,7 +4209,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -4050,7 +4234,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -4094,7 +4280,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -4128,7 +4316,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -4196,7 +4386,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -4211,7 +4403,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -4264,7 +4458,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -4285,7 +4481,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -4312,7 +4510,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -4335,7 +4535,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -4354,7 +4556,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -4436,7 +4640,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -4472,7 +4678,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -4740,7 +4948,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -4763,7 +4973,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -4784,7 +4996,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -4807,7 +5021,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -4824,7 +5040,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -4845,7 +5063,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -4868,7 +5088,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -4887,7 +5109,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -4908,7 +5132,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -5075,7 +5301,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -5160,7 +5388,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -5179,7 +5409,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -5198,7 +5430,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -5217,7 +5451,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -5236,7 +5472,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -5255,7 +5493,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -5274,7 +5514,9 @@ export const def_glVertexAttribDivisor = { result: "void", } as const; -let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisor +>; export function VertexAttribDivisor( index: GLuint, @@ -5291,7 +5533,9 @@ export const def_glBindTransformFeedback = { result: "void", } as const; -let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedback +>; export function BindTransformFeedback( target: GLenum, @@ -5308,7 +5552,9 @@ export const def_glDeleteTransformFeedbacks = { result: "void", } as const; -let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacks +>; export function DeleteTransformFeedbacks( n: GLsizei, @@ -5325,7 +5571,9 @@ export const def_glGenTransformFeedbacks = { result: "void", } as const; -let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacks +>; export function GenTransformFeedbacks( n: GLsizei, @@ -5342,7 +5590,9 @@ export const def_glIsTransformFeedback = { result: "u8", } as const; -let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedback +>; export function IsTransformFeedback( id: GLuint, @@ -5357,7 +5607,9 @@ export const def_glPauseTransformFeedback = { result: "void", } as const; -let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedback +>; export function PauseTransformFeedback(): void { fn_glPauseTransformFeedback.call(); @@ -5368,7 +5620,9 @@ export const def_glResumeTransformFeedback = { result: "void", } as const; -let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedback +>; export function ResumeTransformFeedback(): void { fn_glResumeTransformFeedback.call(); @@ -5423,7 +5677,9 @@ export const def_glProgramParameteri = { result: "void", } as const; -let fn_glProgramParameteri!: Deno.UnsafeFnPointer; +let fn_glProgramParameteri!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteri +>; export function ProgramParameteri( program: GLuint, @@ -5442,7 +5698,9 @@ export const def_glInvalidateFramebuffer = { result: "void", } as const; -let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateFramebuffer +>; export function InvalidateFramebuffer( target: GLenum, @@ -5461,7 +5719,9 @@ export const def_glInvalidateSubFramebuffer = { result: "void", } as const; -let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateSubFramebuffer +>; export function InvalidateSubFramebuffer( target: GLenum, @@ -5536,7 +5796,9 @@ export const def_glGetInternalformativ = { result: "void", } as const; -let fn_glGetInternalformativ!: Deno.UnsafeFnPointer; +let fn_glGetInternalformativ!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformativ +>; export function GetInternalformativ( target: GLenum, @@ -5578,7 +5840,9 @@ export const def_glDispatchComputeIndirect = { result: "void", } as const; -let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer; +let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer< + typeof def_glDispatchComputeIndirect +>; export function DispatchComputeIndirect( indirect: GLintptr, @@ -5593,7 +5857,9 @@ export const def_glDrawArraysIndirect = { result: "void", } as const; -let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysIndirect +>; export function DrawArraysIndirect( mode: GLenum, @@ -5610,7 +5876,9 @@ export const def_glDrawElementsIndirect = { result: "void", } as const; -let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsIndirect +>; export function DrawElementsIndirect( mode: GLenum, @@ -5629,7 +5897,9 @@ export const def_glFramebufferParameteri = { result: "void", } as const; -let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer; +let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer< + typeof def_glFramebufferParameteri +>; export function FramebufferParameteri( target: GLenum, @@ -5648,7 +5918,9 @@ export const def_glGetFramebufferParameteriv = { result: "void", } as const; -let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferParameteriv +>; export function GetFramebufferParameteriv( target: GLenum, @@ -5667,7 +5939,9 @@ export const def_glGetProgramInterfaceiv = { result: "void", } as const; -let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInterfaceiv +>; export function GetProgramInterfaceiv( program: GLuint, @@ -5688,7 +5962,9 @@ export const def_glGetProgramResourceIndex = { result: "u32", } as const; -let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceIndex +>; export function GetProgramResourceIndex( program: GLuint, @@ -5707,7 +5983,9 @@ export const def_glGetProgramResourceName = { result: "void", } as const; -let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceName +>; export function GetProgramResourceName( program: GLuint, @@ -5732,7 +6010,9 @@ export const def_glGetProgramResourceiv = { result: "void", } as const; -let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceiv +>; export function GetProgramResourceiv( program: GLuint, @@ -5761,7 +6041,9 @@ export const def_glGetProgramResourceLocation = { result: "i32", } as const; -let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocation +>; export function GetProgramResourceLocation( program: GLuint, @@ -5799,7 +6081,9 @@ export const def_glActiveShaderProgram = { result: "void", } as const; -let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer; +let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer< + typeof def_glActiveShaderProgram +>; export function ActiveShaderProgram( pipeline: GLuint, @@ -5816,7 +6100,9 @@ export const def_glCreateShaderProgramv = { result: "u32", } as const; -let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer; +let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderProgramv +>; export function CreateShaderProgramv( type: GLenum, @@ -5835,7 +6121,9 @@ export const def_glBindProgramPipeline = { result: "void", } as const; -let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glBindProgramPipeline +>; export function BindProgramPipeline( pipeline: GLuint, @@ -5850,7 +6138,9 @@ export const def_glDeleteProgramPipelines = { result: "void", } as const; -let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramPipelines +>; export function DeleteProgramPipelines( n: GLsizei, @@ -5867,7 +6157,9 @@ export const def_glGenProgramPipelines = { result: "void", } as const; -let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glGenProgramPipelines +>; export function GenProgramPipelines( n: GLsizei, @@ -5884,7 +6176,9 @@ export const def_glIsProgramPipeline = { result: "u8", } as const; -let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glIsProgramPipeline +>; export function IsProgramPipeline( pipeline: GLuint, @@ -5899,7 +6193,9 @@ export const def_glGetProgramPipelineiv = { result: "void", } as const; -let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineiv +>; export function GetProgramPipelineiv( pipeline: GLuint, @@ -6006,7 +6302,9 @@ export const def_glProgramUniform1ui = { result: "void", } as const; -let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui +>; export function ProgramUniform1ui( program: GLuint, @@ -6025,7 +6323,9 @@ export const def_glProgramUniform2ui = { result: "void", } as const; -let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui +>; export function ProgramUniform2ui( program: GLuint, @@ -6046,7 +6346,9 @@ export const def_glProgramUniform3ui = { result: "void", } as const; -let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui +>; export function ProgramUniform3ui( program: GLuint, @@ -6069,7 +6371,9 @@ export const def_glProgramUniform4ui = { result: "void", } as const; -let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui +>; export function ProgramUniform4ui( program: GLuint, @@ -6182,7 +6486,9 @@ export const def_glProgramUniform1iv = { result: "void", } as const; -let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1iv +>; export function ProgramUniform1iv( program: GLuint, @@ -6203,7 +6509,9 @@ export const def_glProgramUniform2iv = { result: "void", } as const; -let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2iv +>; export function ProgramUniform2iv( program: GLuint, @@ -6224,7 +6532,9 @@ export const def_glProgramUniform3iv = { result: "void", } as const; -let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3iv +>; export function ProgramUniform3iv( program: GLuint, @@ -6245,7 +6555,9 @@ export const def_glProgramUniform4iv = { result: "void", } as const; -let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4iv +>; export function ProgramUniform4iv( program: GLuint, @@ -6266,7 +6578,9 @@ export const def_glProgramUniform1uiv = { result: "void", } as const; -let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uiv +>; export function ProgramUniform1uiv( program: GLuint, @@ -6287,7 +6601,9 @@ export const def_glProgramUniform2uiv = { result: "void", } as const; -let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uiv +>; export function ProgramUniform2uiv( program: GLuint, @@ -6308,7 +6624,9 @@ export const def_glProgramUniform3uiv = { result: "void", } as const; -let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uiv +>; export function ProgramUniform3uiv( program: GLuint, @@ -6329,7 +6647,9 @@ export const def_glProgramUniform4uiv = { result: "void", } as const; -let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uiv +>; export function ProgramUniform4uiv( program: GLuint, @@ -6350,7 +6670,9 @@ export const def_glProgramUniform1fv = { result: "void", } as const; -let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fv +>; export function ProgramUniform1fv( program: GLuint, @@ -6371,7 +6693,9 @@ export const def_glProgramUniform2fv = { result: "void", } as const; -let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fv +>; export function ProgramUniform2fv( program: GLuint, @@ -6392,7 +6716,9 @@ export const def_glProgramUniform3fv = { result: "void", } as const; -let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fv +>; export function ProgramUniform3fv( program: GLuint, @@ -6413,7 +6739,9 @@ export const def_glProgramUniform4fv = { result: "void", } as const; -let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fv +>; export function ProgramUniform4fv( program: GLuint, @@ -6434,7 +6762,9 @@ export const def_glProgramUniformMatrix2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2fv +>; export function ProgramUniformMatrix2fv( program: GLuint, @@ -6457,7 +6787,9 @@ export const def_glProgramUniformMatrix3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3fv +>; export function ProgramUniformMatrix3fv( program: GLuint, @@ -6480,7 +6812,9 @@ export const def_glProgramUniformMatrix4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4fv +>; export function ProgramUniformMatrix4fv( program: GLuint, @@ -6503,7 +6837,9 @@ export const def_glProgramUniformMatrix2x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3fv +>; export function ProgramUniformMatrix2x3fv( program: GLuint, @@ -6526,7 +6862,9 @@ export const def_glProgramUniformMatrix3x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2fv +>; export function ProgramUniformMatrix3x2fv( program: GLuint, @@ -6549,7 +6887,9 @@ export const def_glProgramUniformMatrix2x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4fv +>; export function ProgramUniformMatrix2x4fv( program: GLuint, @@ -6572,7 +6912,9 @@ export const def_glProgramUniformMatrix4x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2fv +>; export function ProgramUniformMatrix4x2fv( program: GLuint, @@ -6595,7 +6937,9 @@ export const def_glProgramUniformMatrix3x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4fv +>; export function ProgramUniformMatrix3x4fv( program: GLuint, @@ -6618,7 +6962,9 @@ export const def_glProgramUniformMatrix4x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3fv +>; export function ProgramUniformMatrix4x3fv( program: GLuint, @@ -6641,7 +6987,9 @@ export const def_glValidateProgramPipeline = { result: "void", } as const; -let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glValidateProgramPipeline +>; export function ValidateProgramPipeline( pipeline: GLuint, @@ -6656,7 +7004,9 @@ export const def_glGetProgramPipelineInfoLog = { result: "void", } as const; -let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineInfoLog +>; export function GetProgramPipelineInfoLog( pipeline: GLuint, @@ -6738,7 +7088,9 @@ export const def_glMemoryBarrierByRegion = { result: "void", } as const; -let fn_glMemoryBarrierByRegion!: Deno.UnsafeFnPointer; +let fn_glMemoryBarrierByRegion!: Deno.UnsafeFnPointer< + typeof def_glMemoryBarrierByRegion +>; export function MemoryBarrierByRegion( barriers: GLbitfield, @@ -6753,7 +7105,9 @@ export const def_glTexStorage2DMultisample = { result: "void", } as const; -let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage2DMultisample +>; export function TexStorage2DMultisample( target: GLenum, @@ -6814,7 +7168,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -6835,7 +7191,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -6877,7 +7235,9 @@ export const def_glVertexAttribFormat = { result: "void", } as const; -let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribFormat +>; export function VertexAttribFormat( attribindex: GLuint, @@ -6900,7 +7260,9 @@ export const def_glVertexAttribIFormat = { result: "void", } as const; -let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIFormat +>; export function VertexAttribIFormat( attribindex: GLuint, @@ -6921,7 +7283,9 @@ export const def_glVertexAttribBinding = { result: "void", } as const; -let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer; +let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribBinding +>; export function VertexAttribBinding( attribindex: GLuint, @@ -6938,7 +7302,9 @@ export const def_glVertexBindingDivisor = { result: "void", } as const; -let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexBindingDivisor +>; export function VertexBindingDivisor( bindingindex: GLuint, @@ -6952,318 +7318,1212 @@ export function VertexBindingDivisor( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer(proc("glGetShaderPrecisionFormat"), def_glGetShaderPrecisionFormat); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer( + proc("glGetShaderPrecisionFormat"), + def_glGetShaderPrecisionFormat, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer(proc("glReleaseShaderCompiler"), def_glReleaseShaderCompiler); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer( + proc("glReleaseShaderCompiler"), + def_glReleaseShaderCompiler, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glShaderBinary = new Deno.UnsafeFnPointer(proc("glShaderBinary"), def_glShaderBinary); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); + fn_glShaderBinary = new Deno.UnsafeFnPointer( + proc("glShaderBinary"), + def_glShaderBinary, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisor"), def_glVertexAttribDivisor); - fn_glBindTransformFeedback = new Deno.UnsafeFnPointer(proc("glBindTransformFeedback"), def_glBindTransformFeedback); - fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacks"), def_glDeleteTransformFeedbacks); - fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacks"), def_glGenTransformFeedbacks); - fn_glIsTransformFeedback = new Deno.UnsafeFnPointer(proc("glIsTransformFeedback"), def_glIsTransformFeedback); - fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedback"), def_glPauseTransformFeedback); - fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedback"), def_glResumeTransformFeedback); - fn_glGetProgramBinary = new Deno.UnsafeFnPointer(proc("glGetProgramBinary"), def_glGetProgramBinary); - fn_glProgramBinary = new Deno.UnsafeFnPointer(proc("glProgramBinary"), def_glProgramBinary); - fn_glProgramParameteri = new Deno.UnsafeFnPointer(proc("glProgramParameteri"), def_glProgramParameteri); - fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateFramebuffer"), def_glInvalidateFramebuffer); - fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateSubFramebuffer"), def_glInvalidateSubFramebuffer); - fn_glTexStorage2D = new Deno.UnsafeFnPointer(proc("glTexStorage2D"), def_glTexStorage2D); - fn_glTexStorage3D = new Deno.UnsafeFnPointer(proc("glTexStorage3D"), def_glTexStorage3D); - fn_glGetInternalformativ = new Deno.UnsafeFnPointer(proc("glGetInternalformativ"), def_glGetInternalformativ); - fn_glDispatchCompute = new Deno.UnsafeFnPointer(proc("glDispatchCompute"), def_glDispatchCompute); - fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer(proc("glDispatchComputeIndirect"), def_glDispatchComputeIndirect); - fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glDrawArraysIndirect"), def_glDrawArraysIndirect); - fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glDrawElementsIndirect"), def_glDrawElementsIndirect); - fn_glFramebufferParameteri = new Deno.UnsafeFnPointer(proc("glFramebufferParameteri"), def_glFramebufferParameteri); - fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferParameteriv"), def_glGetFramebufferParameteriv); - fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer(proc("glGetProgramInterfaceiv"), def_glGetProgramInterfaceiv); - fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceIndex"), def_glGetProgramResourceIndex); - fn_glGetProgramResourceName = new Deno.UnsafeFnPointer(proc("glGetProgramResourceName"), def_glGetProgramResourceName); - fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer(proc("glGetProgramResourceiv"), def_glGetProgramResourceiv); - fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocation"), def_glGetProgramResourceLocation); - fn_glUseProgramStages = new Deno.UnsafeFnPointer(proc("glUseProgramStages"), def_glUseProgramStages); - fn_glActiveShaderProgram = new Deno.UnsafeFnPointer(proc("glActiveShaderProgram"), def_glActiveShaderProgram); - fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer(proc("glCreateShaderProgramv"), def_glCreateShaderProgramv); - fn_glBindProgramPipeline = new Deno.UnsafeFnPointer(proc("glBindProgramPipeline"), def_glBindProgramPipeline); - fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer(proc("glDeleteProgramPipelines"), def_glDeleteProgramPipelines); - fn_glGenProgramPipelines = new Deno.UnsafeFnPointer(proc("glGenProgramPipelines"), def_glGenProgramPipelines); - fn_glIsProgramPipeline = new Deno.UnsafeFnPointer(proc("glIsProgramPipeline"), def_glIsProgramPipeline); - fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineiv"), def_glGetProgramPipelineiv); - fn_glProgramUniform1i = new Deno.UnsafeFnPointer(proc("glProgramUniform1i"), def_glProgramUniform1i); - fn_glProgramUniform2i = new Deno.UnsafeFnPointer(proc("glProgramUniform2i"), def_glProgramUniform2i); - fn_glProgramUniform3i = new Deno.UnsafeFnPointer(proc("glProgramUniform3i"), def_glProgramUniform3i); - fn_glProgramUniform4i = new Deno.UnsafeFnPointer(proc("glProgramUniform4i"), def_glProgramUniform4i); - fn_glProgramUniform1ui = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui"), def_glProgramUniform1ui); - fn_glProgramUniform2ui = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui"), def_glProgramUniform2ui); - fn_glProgramUniform3ui = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui"), def_glProgramUniform3ui); - fn_glProgramUniform4ui = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui"), def_glProgramUniform4ui); - fn_glProgramUniform1f = new Deno.UnsafeFnPointer(proc("glProgramUniform1f"), def_glProgramUniform1f); - fn_glProgramUniform2f = new Deno.UnsafeFnPointer(proc("glProgramUniform2f"), def_glProgramUniform2f); - fn_glProgramUniform3f = new Deno.UnsafeFnPointer(proc("glProgramUniform3f"), def_glProgramUniform3f); - fn_glProgramUniform4f = new Deno.UnsafeFnPointer(proc("glProgramUniform4f"), def_glProgramUniform4f); - fn_glProgramUniform1iv = new Deno.UnsafeFnPointer(proc("glProgramUniform1iv"), def_glProgramUniform1iv); - fn_glProgramUniform2iv = new Deno.UnsafeFnPointer(proc("glProgramUniform2iv"), def_glProgramUniform2iv); - fn_glProgramUniform3iv = new Deno.UnsafeFnPointer(proc("glProgramUniform3iv"), def_glProgramUniform3iv); - fn_glProgramUniform4iv = new Deno.UnsafeFnPointer(proc("glProgramUniform4iv"), def_glProgramUniform4iv); - fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform1uiv"), def_glProgramUniform1uiv); - fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform2uiv"), def_glProgramUniform2uiv); - fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform3uiv"), def_glProgramUniform3uiv); - fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform4uiv"), def_glProgramUniform4uiv); - fn_glProgramUniform1fv = new Deno.UnsafeFnPointer(proc("glProgramUniform1fv"), def_glProgramUniform1fv); - fn_glProgramUniform2fv = new Deno.UnsafeFnPointer(proc("glProgramUniform2fv"), def_glProgramUniform2fv); - fn_glProgramUniform3fv = new Deno.UnsafeFnPointer(proc("glProgramUniform3fv"), def_glProgramUniform3fv); - fn_glProgramUniform4fv = new Deno.UnsafeFnPointer(proc("glProgramUniform4fv"), def_glProgramUniform4fv); - fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2fv"), def_glProgramUniformMatrix2fv); - fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3fv"), def_glProgramUniformMatrix3fv); - fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4fv"), def_glProgramUniformMatrix4fv); - fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3fv"), def_glProgramUniformMatrix2x3fv); - fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2fv"), def_glProgramUniformMatrix3x2fv); - fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4fv"), def_glProgramUniformMatrix2x4fv); - fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2fv"), def_glProgramUniformMatrix4x2fv); - fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4fv"), def_glProgramUniformMatrix3x4fv); - fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3fv"), def_glProgramUniformMatrix4x3fv); - fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer(proc("glValidateProgramPipeline"), def_glValidateProgramPipeline); - fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineInfoLog"), def_glGetProgramPipelineInfoLog); - fn_glBindImageTexture = new Deno.UnsafeFnPointer(proc("glBindImageTexture"), def_glBindImageTexture); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glMemoryBarrier = new Deno.UnsafeFnPointer(proc("glMemoryBarrier"), def_glMemoryBarrier); - fn_glMemoryBarrierByRegion = new Deno.UnsafeFnPointer(proc("glMemoryBarrierByRegion"), def_glMemoryBarrierByRegion); - fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage2DMultisample"), def_glTexStorage2DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glBindVertexBuffer = new Deno.UnsafeFnPointer(proc("glBindVertexBuffer"), def_glBindVertexBuffer); - fn_glVertexAttribFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribFormat"), def_glVertexAttribFormat); - fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribIFormat"), def_glVertexAttribIFormat); - fn_glVertexAttribBinding = new Deno.UnsafeFnPointer(proc("glVertexAttribBinding"), def_glVertexAttribBinding); - fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer(proc("glVertexBindingDivisor"), def_glVertexBindingDivisor); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisor"), + def_glVertexAttribDivisor, + ); + fn_glBindTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedback"), + def_glBindTransformFeedback, + ); + fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacks"), + def_glDeleteTransformFeedbacks, + ); + fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacks"), + def_glGenTransformFeedbacks, + ); + fn_glIsTransformFeedback = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedback"), + def_glIsTransformFeedback, + ); + fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedback"), + def_glPauseTransformFeedback, + ); + fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedback"), + def_glResumeTransformFeedback, + ); + fn_glGetProgramBinary = new Deno.UnsafeFnPointer( + proc("glGetProgramBinary"), + def_glGetProgramBinary, + ); + fn_glProgramBinary = new Deno.UnsafeFnPointer( + proc("glProgramBinary"), + def_glProgramBinary, + ); + fn_glProgramParameteri = new Deno.UnsafeFnPointer( + proc("glProgramParameteri"), + def_glProgramParameteri, + ); + fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateFramebuffer"), + def_glInvalidateFramebuffer, + ); + fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateSubFramebuffer"), + def_glInvalidateSubFramebuffer, + ); + fn_glTexStorage2D = new Deno.UnsafeFnPointer( + proc("glTexStorage2D"), + def_glTexStorage2D, + ); + fn_glTexStorage3D = new Deno.UnsafeFnPointer( + proc("glTexStorage3D"), + def_glTexStorage3D, + ); + fn_glGetInternalformativ = new Deno.UnsafeFnPointer( + proc("glGetInternalformativ"), + def_glGetInternalformativ, + ); + fn_glDispatchCompute = new Deno.UnsafeFnPointer( + proc("glDispatchCompute"), + def_glDispatchCompute, + ); + fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer( + proc("glDispatchComputeIndirect"), + def_glDispatchComputeIndirect, + ); + fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glDrawArraysIndirect"), + def_glDrawArraysIndirect, + ); + fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glDrawElementsIndirect"), + def_glDrawElementsIndirect, + ); + fn_glFramebufferParameteri = new Deno.UnsafeFnPointer( + proc("glFramebufferParameteri"), + def_glFramebufferParameteri, + ); + fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferParameteriv"), + def_glGetFramebufferParameteriv, + ); + fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramInterfaceiv"), + def_glGetProgramInterfaceiv, + ); + fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceIndex"), + def_glGetProgramResourceIndex, + ); + fn_glGetProgramResourceName = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceName"), + def_glGetProgramResourceName, + ); + fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceiv"), + def_glGetProgramResourceiv, + ); + fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocation"), + def_glGetProgramResourceLocation, + ); + fn_glUseProgramStages = new Deno.UnsafeFnPointer( + proc("glUseProgramStages"), + def_glUseProgramStages, + ); + fn_glActiveShaderProgram = new Deno.UnsafeFnPointer( + proc("glActiveShaderProgram"), + def_glActiveShaderProgram, + ); + fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer( + proc("glCreateShaderProgramv"), + def_glCreateShaderProgramv, + ); + fn_glBindProgramPipeline = new Deno.UnsafeFnPointer( + proc("glBindProgramPipeline"), + def_glBindProgramPipeline, + ); + fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer( + proc("glDeleteProgramPipelines"), + def_glDeleteProgramPipelines, + ); + fn_glGenProgramPipelines = new Deno.UnsafeFnPointer( + proc("glGenProgramPipelines"), + def_glGenProgramPipelines, + ); + fn_glIsProgramPipeline = new Deno.UnsafeFnPointer( + proc("glIsProgramPipeline"), + def_glIsProgramPipeline, + ); + fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineiv"), + def_glGetProgramPipelineiv, + ); + fn_glProgramUniform1i = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i"), + def_glProgramUniform1i, + ); + fn_glProgramUniform2i = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i"), + def_glProgramUniform2i, + ); + fn_glProgramUniform3i = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i"), + def_glProgramUniform3i, + ); + fn_glProgramUniform4i = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i"), + def_glProgramUniform4i, + ); + fn_glProgramUniform1ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui"), + def_glProgramUniform1ui, + ); + fn_glProgramUniform2ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui"), + def_glProgramUniform2ui, + ); + fn_glProgramUniform3ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui"), + def_glProgramUniform3ui, + ); + fn_glProgramUniform4ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui"), + def_glProgramUniform4ui, + ); + fn_glProgramUniform1f = new Deno.UnsafeFnPointer( + proc("glProgramUniform1f"), + def_glProgramUniform1f, + ); + fn_glProgramUniform2f = new Deno.UnsafeFnPointer( + proc("glProgramUniform2f"), + def_glProgramUniform2f, + ); + fn_glProgramUniform3f = new Deno.UnsafeFnPointer( + proc("glProgramUniform3f"), + def_glProgramUniform3f, + ); + fn_glProgramUniform4f = new Deno.UnsafeFnPointer( + proc("glProgramUniform4f"), + def_glProgramUniform4f, + ); + fn_glProgramUniform1iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1iv"), + def_glProgramUniform1iv, + ); + fn_glProgramUniform2iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2iv"), + def_glProgramUniform2iv, + ); + fn_glProgramUniform3iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3iv"), + def_glProgramUniform3iv, + ); + fn_glProgramUniform4iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4iv"), + def_glProgramUniform4iv, + ); + fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uiv"), + def_glProgramUniform1uiv, + ); + fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uiv"), + def_glProgramUniform2uiv, + ); + fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uiv"), + def_glProgramUniform3uiv, + ); + fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uiv"), + def_glProgramUniform4uiv, + ); + fn_glProgramUniform1fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fv"), + def_glProgramUniform1fv, + ); + fn_glProgramUniform2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fv"), + def_glProgramUniform2fv, + ); + fn_glProgramUniform3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fv"), + def_glProgramUniform3fv, + ); + fn_glProgramUniform4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fv"), + def_glProgramUniform4fv, + ); + fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2fv"), + def_glProgramUniformMatrix2fv, + ); + fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3fv"), + def_glProgramUniformMatrix3fv, + ); + fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4fv"), + def_glProgramUniformMatrix4fv, + ); + fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3fv"), + def_glProgramUniformMatrix2x3fv, + ); + fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2fv"), + def_glProgramUniformMatrix3x2fv, + ); + fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4fv"), + def_glProgramUniformMatrix2x4fv, + ); + fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2fv"), + def_glProgramUniformMatrix4x2fv, + ); + fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4fv"), + def_glProgramUniformMatrix3x4fv, + ); + fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3fv"), + def_glProgramUniformMatrix4x3fv, + ); + fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer( + proc("glValidateProgramPipeline"), + def_glValidateProgramPipeline, + ); + fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineInfoLog"), + def_glGetProgramPipelineInfoLog, + ); + fn_glBindImageTexture = new Deno.UnsafeFnPointer( + proc("glBindImageTexture"), + def_glBindImageTexture, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glMemoryBarrier = new Deno.UnsafeFnPointer( + proc("glMemoryBarrier"), + def_glMemoryBarrier, + ); + fn_glMemoryBarrierByRegion = new Deno.UnsafeFnPointer( + proc("glMemoryBarrierByRegion"), + def_glMemoryBarrierByRegion, + ); + fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage2DMultisample"), + def_glTexStorage2DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glBindVertexBuffer = new Deno.UnsafeFnPointer( + proc("glBindVertexBuffer"), + def_glBindVertexBuffer, + ); + fn_glVertexAttribFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribFormat"), + def_glVertexAttribFormat, + ); + fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribIFormat"), + def_glVertexAttribIFormat, + ); + fn_glVertexAttribBinding = new Deno.UnsafeFnPointer( + proc("glVertexAttribBinding"), + def_glVertexAttribBinding, + ); + fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer( + proc("glVertexBindingDivisor"), + def_glVertexBindingDivisor, + ); } diff --git a/api/gles23.2.ts b/api/gles23.2.ts index 54cff04..b3041d6 100644 --- a/api/gles23.2.ts +++ b/api/gles23.2.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -1101,7 +1109,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -1224,7 +1234,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -1258,7 +1270,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -1321,7 +1335,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -1438,7 +1454,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -1463,11 +1481,23 @@ export function CompressedTexImage2D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -1527,7 +1557,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -1614,7 +1646,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -1646,7 +1680,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -1774,7 +1810,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -1844,7 +1882,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -1881,7 +1921,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -1902,7 +1944,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -2077,7 +2121,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -2098,7 +2144,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -2132,7 +2180,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -2179,7 +2229,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -2236,7 +2288,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -2257,7 +2311,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -2316,7 +2372,9 @@ export const def_glGetShaderPrecisionFormat = { result: "void", } as const; -let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer; +let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer< + typeof def_glGetShaderPrecisionFormat +>; export function GetShaderPrecisionFormat( shadertype: GLenum, @@ -2373,7 +2431,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -2392,7 +2452,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -2449,7 +2511,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -2466,7 +2530,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -2485,7 +2551,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -2504,7 +2572,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -2736,7 +2806,9 @@ export const def_glReleaseShaderCompiler = { result: "void", } as const; -let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer; +let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer< + typeof def_glReleaseShaderCompiler +>; export function ReleaseShaderCompiler(): void { fn_glReleaseShaderCompiler.call(); @@ -2747,7 +2819,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -2869,7 +2943,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -2905,7 +2981,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -2941,7 +3019,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -2958,7 +3038,17 @@ export function StencilOpSeparate( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -3065,7 +3155,17 @@ export function TexParameteriv( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -3653,7 +3753,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -3714,7 +3816,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -3735,7 +3839,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -3768,7 +3883,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -3807,7 +3934,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -3834,11 +3963,23 @@ export function CopyTexSubImage3D( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -3865,11 +4006,25 @@ export function CompressedTexImage3D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -4004,7 +4159,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -4038,7 +4195,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -4074,7 +4233,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -4095,7 +4256,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -4116,7 +4279,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -4137,7 +4302,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -4158,7 +4325,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -4179,7 +4348,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -4196,7 +4367,18 @@ export function UniformMatrix4x3fv( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -4233,7 +4415,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -4256,7 +4440,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -4300,7 +4486,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -4334,7 +4522,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -4402,7 +4592,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -4417,7 +4609,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -4470,7 +4664,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -4491,7 +4687,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -4518,7 +4716,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -4541,7 +4741,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -4560,7 +4762,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -4642,7 +4846,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -4678,7 +4884,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -4946,7 +5154,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -4969,7 +5179,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -4990,7 +5202,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -5013,7 +5227,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -5030,7 +5246,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -5051,7 +5269,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -5074,7 +5294,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -5093,7 +5315,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -5114,7 +5338,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -5281,7 +5507,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -5366,7 +5594,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -5385,7 +5615,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -5404,7 +5636,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -5423,7 +5657,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -5442,7 +5678,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -5461,7 +5699,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -5480,7 +5720,9 @@ export const def_glVertexAttribDivisor = { result: "void", } as const; -let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisor +>; export function VertexAttribDivisor( index: GLuint, @@ -5497,7 +5739,9 @@ export const def_glBindTransformFeedback = { result: "void", } as const; -let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedback +>; export function BindTransformFeedback( target: GLenum, @@ -5514,7 +5758,9 @@ export const def_glDeleteTransformFeedbacks = { result: "void", } as const; -let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacks +>; export function DeleteTransformFeedbacks( n: GLsizei, @@ -5531,7 +5777,9 @@ export const def_glGenTransformFeedbacks = { result: "void", } as const; -let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacks +>; export function GenTransformFeedbacks( n: GLsizei, @@ -5548,7 +5796,9 @@ export const def_glIsTransformFeedback = { result: "u8", } as const; -let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedback +>; export function IsTransformFeedback( id: GLuint, @@ -5563,7 +5813,9 @@ export const def_glPauseTransformFeedback = { result: "void", } as const; -let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedback +>; export function PauseTransformFeedback(): void { fn_glPauseTransformFeedback.call(); @@ -5574,7 +5826,9 @@ export const def_glResumeTransformFeedback = { result: "void", } as const; -let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedback +>; export function ResumeTransformFeedback(): void { fn_glResumeTransformFeedback.call(); @@ -5629,7 +5883,9 @@ export const def_glProgramParameteri = { result: "void", } as const; -let fn_glProgramParameteri!: Deno.UnsafeFnPointer; +let fn_glProgramParameteri!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteri +>; export function ProgramParameteri( program: GLuint, @@ -5648,7 +5904,9 @@ export const def_glInvalidateFramebuffer = { result: "void", } as const; -let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateFramebuffer +>; export function InvalidateFramebuffer( target: GLenum, @@ -5667,7 +5925,9 @@ export const def_glInvalidateSubFramebuffer = { result: "void", } as const; -let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateSubFramebuffer +>; export function InvalidateSubFramebuffer( target: GLenum, @@ -5742,7 +6002,9 @@ export const def_glGetInternalformativ = { result: "void", } as const; -let fn_glGetInternalformativ!: Deno.UnsafeFnPointer; +let fn_glGetInternalformativ!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformativ +>; export function GetInternalformativ( target: GLenum, @@ -5784,7 +6046,9 @@ export const def_glDispatchComputeIndirect = { result: "void", } as const; -let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer; +let fn_glDispatchComputeIndirect!: Deno.UnsafeFnPointer< + typeof def_glDispatchComputeIndirect +>; export function DispatchComputeIndirect( indirect: GLintptr, @@ -5799,7 +6063,9 @@ export const def_glDrawArraysIndirect = { result: "void", } as const; -let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawArraysIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysIndirect +>; export function DrawArraysIndirect( mode: GLenum, @@ -5816,7 +6082,9 @@ export const def_glDrawElementsIndirect = { result: "void", } as const; -let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer; +let fn_glDrawElementsIndirect!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsIndirect +>; export function DrawElementsIndirect( mode: GLenum, @@ -5835,7 +6103,9 @@ export const def_glFramebufferParameteri = { result: "void", } as const; -let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer; +let fn_glFramebufferParameteri!: Deno.UnsafeFnPointer< + typeof def_glFramebufferParameteri +>; export function FramebufferParameteri( target: GLenum, @@ -5854,7 +6124,9 @@ export const def_glGetFramebufferParameteriv = { result: "void", } as const; -let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferParameteriv +>; export function GetFramebufferParameteriv( target: GLenum, @@ -5873,7 +6145,9 @@ export const def_glGetProgramInterfaceiv = { result: "void", } as const; -let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramInterfaceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInterfaceiv +>; export function GetProgramInterfaceiv( program: GLuint, @@ -5894,7 +6168,9 @@ export const def_glGetProgramResourceIndex = { result: "u32", } as const; -let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceIndex!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceIndex +>; export function GetProgramResourceIndex( program: GLuint, @@ -5913,7 +6189,9 @@ export const def_glGetProgramResourceName = { result: "void", } as const; -let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceName!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceName +>; export function GetProgramResourceName( program: GLuint, @@ -5938,7 +6216,9 @@ export const def_glGetProgramResourceiv = { result: "void", } as const; -let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceiv +>; export function GetProgramResourceiv( program: GLuint, @@ -5967,7 +6247,9 @@ export const def_glGetProgramResourceLocation = { result: "i32", } as const; -let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer; +let fn_glGetProgramResourceLocation!: Deno.UnsafeFnPointer< + typeof def_glGetProgramResourceLocation +>; export function GetProgramResourceLocation( program: GLuint, @@ -6005,7 +6287,9 @@ export const def_glActiveShaderProgram = { result: "void", } as const; -let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer; +let fn_glActiveShaderProgram!: Deno.UnsafeFnPointer< + typeof def_glActiveShaderProgram +>; export function ActiveShaderProgram( pipeline: GLuint, @@ -6022,7 +6306,9 @@ export const def_glCreateShaderProgramv = { result: "u32", } as const; -let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer; +let fn_glCreateShaderProgramv!: Deno.UnsafeFnPointer< + typeof def_glCreateShaderProgramv +>; export function CreateShaderProgramv( type: GLenum, @@ -6041,7 +6327,9 @@ export const def_glBindProgramPipeline = { result: "void", } as const; -let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glBindProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glBindProgramPipeline +>; export function BindProgramPipeline( pipeline: GLuint, @@ -6056,7 +6344,9 @@ export const def_glDeleteProgramPipelines = { result: "void", } as const; -let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glDeleteProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glDeleteProgramPipelines +>; export function DeleteProgramPipelines( n: GLsizei, @@ -6073,7 +6363,9 @@ export const def_glGenProgramPipelines = { result: "void", } as const; -let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer; +let fn_glGenProgramPipelines!: Deno.UnsafeFnPointer< + typeof def_glGenProgramPipelines +>; export function GenProgramPipelines( n: GLsizei, @@ -6090,7 +6382,9 @@ export const def_glIsProgramPipeline = { result: "u8", } as const; -let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glIsProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glIsProgramPipeline +>; export function IsProgramPipeline( pipeline: GLuint, @@ -6105,7 +6399,9 @@ export const def_glGetProgramPipelineiv = { result: "void", } as const; -let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineiv!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineiv +>; export function GetProgramPipelineiv( pipeline: GLuint, @@ -6212,7 +6508,9 @@ export const def_glProgramUniform1ui = { result: "void", } as const; -let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1ui +>; export function ProgramUniform1ui( program: GLuint, @@ -6231,7 +6529,9 @@ export const def_glProgramUniform2ui = { result: "void", } as const; -let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2ui +>; export function ProgramUniform2ui( program: GLuint, @@ -6252,7 +6552,9 @@ export const def_glProgramUniform3ui = { result: "void", } as const; -let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3ui +>; export function ProgramUniform3ui( program: GLuint, @@ -6275,7 +6577,9 @@ export const def_glProgramUniform4ui = { result: "void", } as const; -let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4ui!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4ui +>; export function ProgramUniform4ui( program: GLuint, @@ -6388,7 +6692,9 @@ export const def_glProgramUniform1iv = { result: "void", } as const; -let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1iv +>; export function ProgramUniform1iv( program: GLuint, @@ -6409,7 +6715,9 @@ export const def_glProgramUniform2iv = { result: "void", } as const; -let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2iv +>; export function ProgramUniform2iv( program: GLuint, @@ -6430,7 +6738,9 @@ export const def_glProgramUniform3iv = { result: "void", } as const; -let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3iv +>; export function ProgramUniform3iv( program: GLuint, @@ -6451,7 +6761,9 @@ export const def_glProgramUniform4iv = { result: "void", } as const; -let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4iv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4iv +>; export function ProgramUniform4iv( program: GLuint, @@ -6472,7 +6784,9 @@ export const def_glProgramUniform1uiv = { result: "void", } as const; -let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1uiv +>; export function ProgramUniform1uiv( program: GLuint, @@ -6493,7 +6807,9 @@ export const def_glProgramUniform2uiv = { result: "void", } as const; -let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2uiv +>; export function ProgramUniform2uiv( program: GLuint, @@ -6514,7 +6830,9 @@ export const def_glProgramUniform3uiv = { result: "void", } as const; -let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3uiv +>; export function ProgramUniform3uiv( program: GLuint, @@ -6535,7 +6853,9 @@ export const def_glProgramUniform4uiv = { result: "void", } as const; -let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4uiv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4uiv +>; export function ProgramUniform4uiv( program: GLuint, @@ -6556,7 +6876,9 @@ export const def_glProgramUniform1fv = { result: "void", } as const; -let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform1fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform1fv +>; export function ProgramUniform1fv( program: GLuint, @@ -6577,7 +6899,9 @@ export const def_glProgramUniform2fv = { result: "void", } as const; -let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform2fv +>; export function ProgramUniform2fv( program: GLuint, @@ -6598,7 +6922,9 @@ export const def_glProgramUniform3fv = { result: "void", } as const; -let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform3fv +>; export function ProgramUniform3fv( program: GLuint, @@ -6619,7 +6945,9 @@ export const def_glProgramUniform4fv = { result: "void", } as const; -let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniform4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniform4fv +>; export function ProgramUniform4fv( program: GLuint, @@ -6640,7 +6968,9 @@ export const def_glProgramUniformMatrix2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2fv +>; export function ProgramUniformMatrix2fv( program: GLuint, @@ -6663,7 +6993,9 @@ export const def_glProgramUniformMatrix3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3fv +>; export function ProgramUniformMatrix3fv( program: GLuint, @@ -6686,7 +7018,9 @@ export const def_glProgramUniformMatrix4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4fv +>; export function ProgramUniformMatrix4fv( program: GLuint, @@ -6709,7 +7043,9 @@ export const def_glProgramUniformMatrix2x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x3fv +>; export function ProgramUniformMatrix2x3fv( program: GLuint, @@ -6732,7 +7068,9 @@ export const def_glProgramUniformMatrix3x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x2fv +>; export function ProgramUniformMatrix3x2fv( program: GLuint, @@ -6755,7 +7093,9 @@ export const def_glProgramUniformMatrix2x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix2x4fv +>; export function ProgramUniformMatrix2x4fv( program: GLuint, @@ -6778,7 +7118,9 @@ export const def_glProgramUniformMatrix4x2fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x2fv +>; export function ProgramUniformMatrix4x2fv( program: GLuint, @@ -6801,7 +7143,9 @@ export const def_glProgramUniformMatrix3x4fv = { result: "void", } as const; -let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix3x4fv +>; export function ProgramUniformMatrix3x4fv( program: GLuint, @@ -6824,7 +7168,9 @@ export const def_glProgramUniformMatrix4x3fv = { result: "void", } as const; -let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glProgramUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glProgramUniformMatrix4x3fv +>; export function ProgramUniformMatrix4x3fv( program: GLuint, @@ -6847,7 +7193,9 @@ export const def_glValidateProgramPipeline = { result: "void", } as const; -let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer; +let fn_glValidateProgramPipeline!: Deno.UnsafeFnPointer< + typeof def_glValidateProgramPipeline +>; export function ValidateProgramPipeline( pipeline: GLuint, @@ -6862,7 +7210,9 @@ export const def_glGetProgramPipelineInfoLog = { result: "void", } as const; -let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramPipelineInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramPipelineInfoLog +>; export function GetProgramPipelineInfoLog( pipeline: GLuint, @@ -6944,7 +7294,9 @@ export const def_glMemoryBarrierByRegion = { result: "void", } as const; -let fn_glMemoryBarrierByRegion!: Deno.UnsafeFnPointer; +let fn_glMemoryBarrierByRegion!: Deno.UnsafeFnPointer< + typeof def_glMemoryBarrierByRegion +>; export function MemoryBarrierByRegion( barriers: GLbitfield, @@ -6959,7 +7311,9 @@ export const def_glTexStorage2DMultisample = { result: "void", } as const; -let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage2DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage2DMultisample +>; export function TexStorage2DMultisample( target: GLenum, @@ -7020,7 +7374,9 @@ export const def_glGetTexLevelParameteriv = { result: "void", } as const; -let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameteriv +>; export function GetTexLevelParameteriv( target: GLenum, @@ -7041,7 +7397,9 @@ export const def_glGetTexLevelParameterfv = { result: "void", } as const; -let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexLevelParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexLevelParameterfv +>; export function GetTexLevelParameterfv( target: GLenum, @@ -7083,7 +7441,9 @@ export const def_glVertexAttribFormat = { result: "void", } as const; -let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribFormat +>; export function VertexAttribFormat( attribindex: GLuint, @@ -7106,7 +7466,9 @@ export const def_glVertexAttribIFormat = { result: "void", } as const; -let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIFormat!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIFormat +>; export function VertexAttribIFormat( attribindex: GLuint, @@ -7127,7 +7489,9 @@ export const def_glVertexAttribBinding = { result: "void", } as const; -let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer; +let fn_glVertexAttribBinding!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribBinding +>; export function VertexAttribBinding( attribindex: GLuint, @@ -7144,7 +7508,9 @@ export const def_glVertexBindingDivisor = { result: "void", } as const; -let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexBindingDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexBindingDivisor +>; export function VertexBindingDivisor( bindingindex: GLuint, @@ -7168,7 +7534,23 @@ export function BlendBarrier(): void { } export const def_glCopyImageSubData = { - parameters: ["u32", "u32", "i32", "i32", "i32", "i32", "u32", "u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32"], + parameters: [ + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + ], result: "void", } as const; @@ -7215,7 +7597,9 @@ export const def_glDebugMessageControl = { result: "void", } as const; -let fn_glDebugMessageControl!: Deno.UnsafeFnPointer; +let fn_glDebugMessageControl!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageControl +>; export function DebugMessageControl( source: GLenum, @@ -7240,7 +7624,9 @@ export const def_glDebugMessageInsert = { result: "void", } as const; -let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer; +let fn_glDebugMessageInsert!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageInsert +>; export function DebugMessageInsert( source: GLenum, @@ -7265,7 +7651,9 @@ export const def_glDebugMessageCallback = { result: "void", } as const; -let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer; +let fn_glDebugMessageCallback!: Deno.UnsafeFnPointer< + typeof def_glDebugMessageCallback +>; export function DebugMessageCallback( callback: GLDEBUGPROC, @@ -7278,11 +7666,22 @@ export function DebugMessageCallback( } export const def_glGetDebugMessageLog = { - parameters: ["u32", "i32", "buffer", "buffer", "buffer", "buffer", "buffer", "buffer"], + parameters: [ + "u32", + "i32", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + "buffer", + ], result: "u32", } as const; -let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer; +let fn_glGetDebugMessageLog!: Deno.UnsafeFnPointer< + typeof def_glGetDebugMessageLog +>; export function GetDebugMessageLog( count: GLuint, @@ -7406,7 +7805,9 @@ export const def_glGetObjectPtrLabel = { result: "void", } as const; -let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer; +let fn_glGetObjectPtrLabel!: Deno.UnsafeFnPointer< + typeof def_glGetObjectPtrLabel +>; export function GetObjectPtrLabel( ptr: Buffer, @@ -7495,7 +7896,9 @@ export const def_glBlendEquationSeparatei = { result: "void", } as const; -let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparatei +>; export function BlendEquationSeparatei( buf: GLuint, @@ -7533,7 +7936,9 @@ export const def_glBlendFuncSeparatei = { result: "void", } as const; -let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparatei!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparatei +>; export function BlendFuncSeparatei( buf: GLuint, @@ -7596,7 +8001,9 @@ export const def_glDrawElementsBaseVertex = { result: "void", } as const; -let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsBaseVertex +>; export function DrawElementsBaseVertex( mode: GLenum, @@ -7619,7 +8026,9 @@ export const def_glDrawRangeElementsBaseVertex = { result: "void", } as const; -let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElementsBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElementsBaseVertex +>; export function DrawRangeElementsBaseVertex( mode: GLenum, @@ -7646,7 +8055,9 @@ export const def_glDrawElementsInstancedBaseVertex = { result: "void", } as const; -let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstancedBaseVertex!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstancedBaseVertex +>; export function DrawElementsInstancedBaseVertex( mode: GLenum, @@ -7671,7 +8082,9 @@ export const def_glFramebufferTexture = { result: "void", } as const; -let fn_glFramebufferTexture!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture +>; export function FramebufferTexture( target: GLenum, @@ -7692,7 +8105,9 @@ export const def_glPrimitiveBoundingBox = { result: "void", } as const; -let fn_glPrimitiveBoundingBox!: Deno.UnsafeFnPointer; +let fn_glPrimitiveBoundingBox!: Deno.UnsafeFnPointer< + typeof def_glPrimitiveBoundingBox +>; export function PrimitiveBoundingBox( minX: GLfloat, @@ -7721,7 +8136,9 @@ export const def_glGetGraphicsResetStatus = { result: "u32", } as const; -let fn_glGetGraphicsResetStatus!: Deno.UnsafeFnPointer; +let fn_glGetGraphicsResetStatus!: Deno.UnsafeFnPointer< + typeof def_glGetGraphicsResetStatus +>; export function GetGraphicsResetStatus(): GLenum { return fn_glGetGraphicsResetStatus.call(); @@ -7894,7 +8311,9 @@ export const def_glGetTexParameterIiv = { result: "void", } as const; -let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIiv +>; export function GetTexParameterIiv( target: GLenum, @@ -7913,7 +8332,9 @@ export const def_glGetTexParameterIuiv = { result: "void", } as const; -let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterIuiv +>; export function GetTexParameterIuiv( target: GLenum, @@ -7932,7 +8353,9 @@ export const def_glSamplerParameterIiv = { result: "void", } as const; -let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIiv +>; export function SamplerParameterIiv( sampler: GLuint, @@ -7951,7 +8374,9 @@ export const def_glSamplerParameterIuiv = { result: "void", } as const; -let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterIuiv +>; export function SamplerParameterIuiv( sampler: GLuint, @@ -7970,7 +8395,9 @@ export const def_glGetSamplerParameterIiv = { result: "void", } as const; -let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIiv +>; export function GetSamplerParameterIiv( sampler: GLuint, @@ -7989,7 +8416,9 @@ export const def_glGetSamplerParameterIuiv = { result: "void", } as const; -let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterIuiv +>; export function GetSamplerParameterIuiv( sampler: GLuint, @@ -8050,7 +8479,9 @@ export const def_glTexStorage3DMultisample = { result: "void", } as const; -let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer; +let fn_glTexStorage3DMultisample!: Deno.UnsafeFnPointer< + typeof def_glTexStorage3DMultisample +>; export function TexStorage3DMultisample( target: GLenum, @@ -8074,362 +8505,1382 @@ export function TexStorage3DMultisample( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer(proc("glGetShaderPrecisionFormat"), def_glGetShaderPrecisionFormat); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer( + proc("glGetShaderPrecisionFormat"), + def_glGetShaderPrecisionFormat, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer(proc("glReleaseShaderCompiler"), def_glReleaseShaderCompiler); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer( + proc("glReleaseShaderCompiler"), + def_glReleaseShaderCompiler, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glShaderBinary = new Deno.UnsafeFnPointer(proc("glShaderBinary"), def_glShaderBinary); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); + fn_glShaderBinary = new Deno.UnsafeFnPointer( + proc("glShaderBinary"), + def_glShaderBinary, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisor"), def_glVertexAttribDivisor); - fn_glBindTransformFeedback = new Deno.UnsafeFnPointer(proc("glBindTransformFeedback"), def_glBindTransformFeedback); - fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacks"), def_glDeleteTransformFeedbacks); - fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacks"), def_glGenTransformFeedbacks); - fn_glIsTransformFeedback = new Deno.UnsafeFnPointer(proc("glIsTransformFeedback"), def_glIsTransformFeedback); - fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedback"), def_glPauseTransformFeedback); - fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedback"), def_glResumeTransformFeedback); - fn_glGetProgramBinary = new Deno.UnsafeFnPointer(proc("glGetProgramBinary"), def_glGetProgramBinary); - fn_glProgramBinary = new Deno.UnsafeFnPointer(proc("glProgramBinary"), def_glProgramBinary); - fn_glProgramParameteri = new Deno.UnsafeFnPointer(proc("glProgramParameteri"), def_glProgramParameteri); - fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateFramebuffer"), def_glInvalidateFramebuffer); - fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateSubFramebuffer"), def_glInvalidateSubFramebuffer); - fn_glTexStorage2D = new Deno.UnsafeFnPointer(proc("glTexStorage2D"), def_glTexStorage2D); - fn_glTexStorage3D = new Deno.UnsafeFnPointer(proc("glTexStorage3D"), def_glTexStorage3D); - fn_glGetInternalformativ = new Deno.UnsafeFnPointer(proc("glGetInternalformativ"), def_glGetInternalformativ); - fn_glDispatchCompute = new Deno.UnsafeFnPointer(proc("glDispatchCompute"), def_glDispatchCompute); - fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer(proc("glDispatchComputeIndirect"), def_glDispatchComputeIndirect); - fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer(proc("glDrawArraysIndirect"), def_glDrawArraysIndirect); - fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer(proc("glDrawElementsIndirect"), def_glDrawElementsIndirect); - fn_glFramebufferParameteri = new Deno.UnsafeFnPointer(proc("glFramebufferParameteri"), def_glFramebufferParameteri); - fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferParameteriv"), def_glGetFramebufferParameteriv); - fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer(proc("glGetProgramInterfaceiv"), def_glGetProgramInterfaceiv); - fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer(proc("glGetProgramResourceIndex"), def_glGetProgramResourceIndex); - fn_glGetProgramResourceName = new Deno.UnsafeFnPointer(proc("glGetProgramResourceName"), def_glGetProgramResourceName); - fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer(proc("glGetProgramResourceiv"), def_glGetProgramResourceiv); - fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer(proc("glGetProgramResourceLocation"), def_glGetProgramResourceLocation); - fn_glUseProgramStages = new Deno.UnsafeFnPointer(proc("glUseProgramStages"), def_glUseProgramStages); - fn_glActiveShaderProgram = new Deno.UnsafeFnPointer(proc("glActiveShaderProgram"), def_glActiveShaderProgram); - fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer(proc("glCreateShaderProgramv"), def_glCreateShaderProgramv); - fn_glBindProgramPipeline = new Deno.UnsafeFnPointer(proc("glBindProgramPipeline"), def_glBindProgramPipeline); - fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer(proc("glDeleteProgramPipelines"), def_glDeleteProgramPipelines); - fn_glGenProgramPipelines = new Deno.UnsafeFnPointer(proc("glGenProgramPipelines"), def_glGenProgramPipelines); - fn_glIsProgramPipeline = new Deno.UnsafeFnPointer(proc("glIsProgramPipeline"), def_glIsProgramPipeline); - fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineiv"), def_glGetProgramPipelineiv); - fn_glProgramUniform1i = new Deno.UnsafeFnPointer(proc("glProgramUniform1i"), def_glProgramUniform1i); - fn_glProgramUniform2i = new Deno.UnsafeFnPointer(proc("glProgramUniform2i"), def_glProgramUniform2i); - fn_glProgramUniform3i = new Deno.UnsafeFnPointer(proc("glProgramUniform3i"), def_glProgramUniform3i); - fn_glProgramUniform4i = new Deno.UnsafeFnPointer(proc("glProgramUniform4i"), def_glProgramUniform4i); - fn_glProgramUniform1ui = new Deno.UnsafeFnPointer(proc("glProgramUniform1ui"), def_glProgramUniform1ui); - fn_glProgramUniform2ui = new Deno.UnsafeFnPointer(proc("glProgramUniform2ui"), def_glProgramUniform2ui); - fn_glProgramUniform3ui = new Deno.UnsafeFnPointer(proc("glProgramUniform3ui"), def_glProgramUniform3ui); - fn_glProgramUniform4ui = new Deno.UnsafeFnPointer(proc("glProgramUniform4ui"), def_glProgramUniform4ui); - fn_glProgramUniform1f = new Deno.UnsafeFnPointer(proc("glProgramUniform1f"), def_glProgramUniform1f); - fn_glProgramUniform2f = new Deno.UnsafeFnPointer(proc("glProgramUniform2f"), def_glProgramUniform2f); - fn_glProgramUniform3f = new Deno.UnsafeFnPointer(proc("glProgramUniform3f"), def_glProgramUniform3f); - fn_glProgramUniform4f = new Deno.UnsafeFnPointer(proc("glProgramUniform4f"), def_glProgramUniform4f); - fn_glProgramUniform1iv = new Deno.UnsafeFnPointer(proc("glProgramUniform1iv"), def_glProgramUniform1iv); - fn_glProgramUniform2iv = new Deno.UnsafeFnPointer(proc("glProgramUniform2iv"), def_glProgramUniform2iv); - fn_glProgramUniform3iv = new Deno.UnsafeFnPointer(proc("glProgramUniform3iv"), def_glProgramUniform3iv); - fn_glProgramUniform4iv = new Deno.UnsafeFnPointer(proc("glProgramUniform4iv"), def_glProgramUniform4iv); - fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform1uiv"), def_glProgramUniform1uiv); - fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform2uiv"), def_glProgramUniform2uiv); - fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform3uiv"), def_glProgramUniform3uiv); - fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer(proc("glProgramUniform4uiv"), def_glProgramUniform4uiv); - fn_glProgramUniform1fv = new Deno.UnsafeFnPointer(proc("glProgramUniform1fv"), def_glProgramUniform1fv); - fn_glProgramUniform2fv = new Deno.UnsafeFnPointer(proc("glProgramUniform2fv"), def_glProgramUniform2fv); - fn_glProgramUniform3fv = new Deno.UnsafeFnPointer(proc("glProgramUniform3fv"), def_glProgramUniform3fv); - fn_glProgramUniform4fv = new Deno.UnsafeFnPointer(proc("glProgramUniform4fv"), def_glProgramUniform4fv); - fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2fv"), def_glProgramUniformMatrix2fv); - fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3fv"), def_glProgramUniformMatrix3fv); - fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4fv"), def_glProgramUniformMatrix4fv); - fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x3fv"), def_glProgramUniformMatrix2x3fv); - fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x2fv"), def_glProgramUniformMatrix3x2fv); - fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix2x4fv"), def_glProgramUniformMatrix2x4fv); - fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x2fv"), def_glProgramUniformMatrix4x2fv); - fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix3x4fv"), def_glProgramUniformMatrix3x4fv); - fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glProgramUniformMatrix4x3fv"), def_glProgramUniformMatrix4x3fv); - fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer(proc("glValidateProgramPipeline"), def_glValidateProgramPipeline); - fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramPipelineInfoLog"), def_glGetProgramPipelineInfoLog); - fn_glBindImageTexture = new Deno.UnsafeFnPointer(proc("glBindImageTexture"), def_glBindImageTexture); - fn_glGetBooleani_v = new Deno.UnsafeFnPointer(proc("glGetBooleani_v"), def_glGetBooleani_v); - fn_glMemoryBarrier = new Deno.UnsafeFnPointer(proc("glMemoryBarrier"), def_glMemoryBarrier); - fn_glMemoryBarrierByRegion = new Deno.UnsafeFnPointer(proc("glMemoryBarrierByRegion"), def_glMemoryBarrierByRegion); - fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage2DMultisample"), def_glTexStorage2DMultisample); - fn_glGetMultisamplefv = new Deno.UnsafeFnPointer(proc("glGetMultisamplefv"), def_glGetMultisamplefv); - fn_glSampleMaski = new Deno.UnsafeFnPointer(proc("glSampleMaski"), def_glSampleMaski); - fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameteriv"), def_glGetTexLevelParameteriv); - fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexLevelParameterfv"), def_glGetTexLevelParameterfv); - fn_glBindVertexBuffer = new Deno.UnsafeFnPointer(proc("glBindVertexBuffer"), def_glBindVertexBuffer); - fn_glVertexAttribFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribFormat"), def_glVertexAttribFormat); - fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer(proc("glVertexAttribIFormat"), def_glVertexAttribIFormat); - fn_glVertexAttribBinding = new Deno.UnsafeFnPointer(proc("glVertexAttribBinding"), def_glVertexAttribBinding); - fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer(proc("glVertexBindingDivisor"), def_glVertexBindingDivisor); - fn_glBlendBarrier = new Deno.UnsafeFnPointer(proc("glBlendBarrier"), def_glBlendBarrier); - fn_glCopyImageSubData = new Deno.UnsafeFnPointer(proc("glCopyImageSubData"), def_glCopyImageSubData); - fn_glDebugMessageControl = new Deno.UnsafeFnPointer(proc("glDebugMessageControl"), def_glDebugMessageControl); - fn_glDebugMessageInsert = new Deno.UnsafeFnPointer(proc("glDebugMessageInsert"), def_glDebugMessageInsert); - fn_glDebugMessageCallback = new Deno.UnsafeFnPointer(proc("glDebugMessageCallback"), def_glDebugMessageCallback); - fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer(proc("glGetDebugMessageLog"), def_glGetDebugMessageLog); - fn_glPushDebugGroup = new Deno.UnsafeFnPointer(proc("glPushDebugGroup"), def_glPushDebugGroup); - fn_glPopDebugGroup = new Deno.UnsafeFnPointer(proc("glPopDebugGroup"), def_glPopDebugGroup); - fn_glObjectLabel = new Deno.UnsafeFnPointer(proc("glObjectLabel"), def_glObjectLabel); - fn_glGetObjectLabel = new Deno.UnsafeFnPointer(proc("glGetObjectLabel"), def_glGetObjectLabel); - fn_glObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glObjectPtrLabel"), def_glObjectPtrLabel); - fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer(proc("glGetObjectPtrLabel"), def_glGetObjectPtrLabel); - fn_glGetPointerv = new Deno.UnsafeFnPointer(proc("glGetPointerv"), def_glGetPointerv); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisor"), + def_glVertexAttribDivisor, + ); + fn_glBindTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedback"), + def_glBindTransformFeedback, + ); + fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacks"), + def_glDeleteTransformFeedbacks, + ); + fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacks"), + def_glGenTransformFeedbacks, + ); + fn_glIsTransformFeedback = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedback"), + def_glIsTransformFeedback, + ); + fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedback"), + def_glPauseTransformFeedback, + ); + fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedback"), + def_glResumeTransformFeedback, + ); + fn_glGetProgramBinary = new Deno.UnsafeFnPointer( + proc("glGetProgramBinary"), + def_glGetProgramBinary, + ); + fn_glProgramBinary = new Deno.UnsafeFnPointer( + proc("glProgramBinary"), + def_glProgramBinary, + ); + fn_glProgramParameteri = new Deno.UnsafeFnPointer( + proc("glProgramParameteri"), + def_glProgramParameteri, + ); + fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateFramebuffer"), + def_glInvalidateFramebuffer, + ); + fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateSubFramebuffer"), + def_glInvalidateSubFramebuffer, + ); + fn_glTexStorage2D = new Deno.UnsafeFnPointer( + proc("glTexStorage2D"), + def_glTexStorage2D, + ); + fn_glTexStorage3D = new Deno.UnsafeFnPointer( + proc("glTexStorage3D"), + def_glTexStorage3D, + ); + fn_glGetInternalformativ = new Deno.UnsafeFnPointer( + proc("glGetInternalformativ"), + def_glGetInternalformativ, + ); + fn_glDispatchCompute = new Deno.UnsafeFnPointer( + proc("glDispatchCompute"), + def_glDispatchCompute, + ); + fn_glDispatchComputeIndirect = new Deno.UnsafeFnPointer( + proc("glDispatchComputeIndirect"), + def_glDispatchComputeIndirect, + ); + fn_glDrawArraysIndirect = new Deno.UnsafeFnPointer( + proc("glDrawArraysIndirect"), + def_glDrawArraysIndirect, + ); + fn_glDrawElementsIndirect = new Deno.UnsafeFnPointer( + proc("glDrawElementsIndirect"), + def_glDrawElementsIndirect, + ); + fn_glFramebufferParameteri = new Deno.UnsafeFnPointer( + proc("glFramebufferParameteri"), + def_glFramebufferParameteri, + ); + fn_glGetFramebufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferParameteriv"), + def_glGetFramebufferParameteriv, + ); + fn_glGetProgramInterfaceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramInterfaceiv"), + def_glGetProgramInterfaceiv, + ); + fn_glGetProgramResourceIndex = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceIndex"), + def_glGetProgramResourceIndex, + ); + fn_glGetProgramResourceName = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceName"), + def_glGetProgramResourceName, + ); + fn_glGetProgramResourceiv = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceiv"), + def_glGetProgramResourceiv, + ); + fn_glGetProgramResourceLocation = new Deno.UnsafeFnPointer( + proc("glGetProgramResourceLocation"), + def_glGetProgramResourceLocation, + ); + fn_glUseProgramStages = new Deno.UnsafeFnPointer( + proc("glUseProgramStages"), + def_glUseProgramStages, + ); + fn_glActiveShaderProgram = new Deno.UnsafeFnPointer( + proc("glActiveShaderProgram"), + def_glActiveShaderProgram, + ); + fn_glCreateShaderProgramv = new Deno.UnsafeFnPointer( + proc("glCreateShaderProgramv"), + def_glCreateShaderProgramv, + ); + fn_glBindProgramPipeline = new Deno.UnsafeFnPointer( + proc("glBindProgramPipeline"), + def_glBindProgramPipeline, + ); + fn_glDeleteProgramPipelines = new Deno.UnsafeFnPointer( + proc("glDeleteProgramPipelines"), + def_glDeleteProgramPipelines, + ); + fn_glGenProgramPipelines = new Deno.UnsafeFnPointer( + proc("glGenProgramPipelines"), + def_glGenProgramPipelines, + ); + fn_glIsProgramPipeline = new Deno.UnsafeFnPointer( + proc("glIsProgramPipeline"), + def_glIsProgramPipeline, + ); + fn_glGetProgramPipelineiv = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineiv"), + def_glGetProgramPipelineiv, + ); + fn_glProgramUniform1i = new Deno.UnsafeFnPointer( + proc("glProgramUniform1i"), + def_glProgramUniform1i, + ); + fn_glProgramUniform2i = new Deno.UnsafeFnPointer( + proc("glProgramUniform2i"), + def_glProgramUniform2i, + ); + fn_glProgramUniform3i = new Deno.UnsafeFnPointer( + proc("glProgramUniform3i"), + def_glProgramUniform3i, + ); + fn_glProgramUniform4i = new Deno.UnsafeFnPointer( + proc("glProgramUniform4i"), + def_glProgramUniform4i, + ); + fn_glProgramUniform1ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform1ui"), + def_glProgramUniform1ui, + ); + fn_glProgramUniform2ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform2ui"), + def_glProgramUniform2ui, + ); + fn_glProgramUniform3ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform3ui"), + def_glProgramUniform3ui, + ); + fn_glProgramUniform4ui = new Deno.UnsafeFnPointer( + proc("glProgramUniform4ui"), + def_glProgramUniform4ui, + ); + fn_glProgramUniform1f = new Deno.UnsafeFnPointer( + proc("glProgramUniform1f"), + def_glProgramUniform1f, + ); + fn_glProgramUniform2f = new Deno.UnsafeFnPointer( + proc("glProgramUniform2f"), + def_glProgramUniform2f, + ); + fn_glProgramUniform3f = new Deno.UnsafeFnPointer( + proc("glProgramUniform3f"), + def_glProgramUniform3f, + ); + fn_glProgramUniform4f = new Deno.UnsafeFnPointer( + proc("glProgramUniform4f"), + def_glProgramUniform4f, + ); + fn_glProgramUniform1iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1iv"), + def_glProgramUniform1iv, + ); + fn_glProgramUniform2iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2iv"), + def_glProgramUniform2iv, + ); + fn_glProgramUniform3iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3iv"), + def_glProgramUniform3iv, + ); + fn_glProgramUniform4iv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4iv"), + def_glProgramUniform4iv, + ); + fn_glProgramUniform1uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1uiv"), + def_glProgramUniform1uiv, + ); + fn_glProgramUniform2uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2uiv"), + def_glProgramUniform2uiv, + ); + fn_glProgramUniform3uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3uiv"), + def_glProgramUniform3uiv, + ); + fn_glProgramUniform4uiv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4uiv"), + def_glProgramUniform4uiv, + ); + fn_glProgramUniform1fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform1fv"), + def_glProgramUniform1fv, + ); + fn_glProgramUniform2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform2fv"), + def_glProgramUniform2fv, + ); + fn_glProgramUniform3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform3fv"), + def_glProgramUniform3fv, + ); + fn_glProgramUniform4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniform4fv"), + def_glProgramUniform4fv, + ); + fn_glProgramUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2fv"), + def_glProgramUniformMatrix2fv, + ); + fn_glProgramUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3fv"), + def_glProgramUniformMatrix3fv, + ); + fn_glProgramUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4fv"), + def_glProgramUniformMatrix4fv, + ); + fn_glProgramUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x3fv"), + def_glProgramUniformMatrix2x3fv, + ); + fn_glProgramUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x2fv"), + def_glProgramUniformMatrix3x2fv, + ); + fn_glProgramUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix2x4fv"), + def_glProgramUniformMatrix2x4fv, + ); + fn_glProgramUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x2fv"), + def_glProgramUniformMatrix4x2fv, + ); + fn_glProgramUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix3x4fv"), + def_glProgramUniformMatrix3x4fv, + ); + fn_glProgramUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glProgramUniformMatrix4x3fv"), + def_glProgramUniformMatrix4x3fv, + ); + fn_glValidateProgramPipeline = new Deno.UnsafeFnPointer( + proc("glValidateProgramPipeline"), + def_glValidateProgramPipeline, + ); + fn_glGetProgramPipelineInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramPipelineInfoLog"), + def_glGetProgramPipelineInfoLog, + ); + fn_glBindImageTexture = new Deno.UnsafeFnPointer( + proc("glBindImageTexture"), + def_glBindImageTexture, + ); + fn_glGetBooleani_v = new Deno.UnsafeFnPointer( + proc("glGetBooleani_v"), + def_glGetBooleani_v, + ); + fn_glMemoryBarrier = new Deno.UnsafeFnPointer( + proc("glMemoryBarrier"), + def_glMemoryBarrier, + ); + fn_glMemoryBarrierByRegion = new Deno.UnsafeFnPointer( + proc("glMemoryBarrierByRegion"), + def_glMemoryBarrierByRegion, + ); + fn_glTexStorage2DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage2DMultisample"), + def_glTexStorage2DMultisample, + ); + fn_glGetMultisamplefv = new Deno.UnsafeFnPointer( + proc("glGetMultisamplefv"), + def_glGetMultisamplefv, + ); + fn_glSampleMaski = new Deno.UnsafeFnPointer( + proc("glSampleMaski"), + def_glSampleMaski, + ); + fn_glGetTexLevelParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameteriv"), + def_glGetTexLevelParameteriv, + ); + fn_glGetTexLevelParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexLevelParameterfv"), + def_glGetTexLevelParameterfv, + ); + fn_glBindVertexBuffer = new Deno.UnsafeFnPointer( + proc("glBindVertexBuffer"), + def_glBindVertexBuffer, + ); + fn_glVertexAttribFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribFormat"), + def_glVertexAttribFormat, + ); + fn_glVertexAttribIFormat = new Deno.UnsafeFnPointer( + proc("glVertexAttribIFormat"), + def_glVertexAttribIFormat, + ); + fn_glVertexAttribBinding = new Deno.UnsafeFnPointer( + proc("glVertexAttribBinding"), + def_glVertexAttribBinding, + ); + fn_glVertexBindingDivisor = new Deno.UnsafeFnPointer( + proc("glVertexBindingDivisor"), + def_glVertexBindingDivisor, + ); + fn_glBlendBarrier = new Deno.UnsafeFnPointer( + proc("glBlendBarrier"), + def_glBlendBarrier, + ); + fn_glCopyImageSubData = new Deno.UnsafeFnPointer( + proc("glCopyImageSubData"), + def_glCopyImageSubData, + ); + fn_glDebugMessageControl = new Deno.UnsafeFnPointer( + proc("glDebugMessageControl"), + def_glDebugMessageControl, + ); + fn_glDebugMessageInsert = new Deno.UnsafeFnPointer( + proc("glDebugMessageInsert"), + def_glDebugMessageInsert, + ); + fn_glDebugMessageCallback = new Deno.UnsafeFnPointer( + proc("glDebugMessageCallback"), + def_glDebugMessageCallback, + ); + fn_glGetDebugMessageLog = new Deno.UnsafeFnPointer( + proc("glGetDebugMessageLog"), + def_glGetDebugMessageLog, + ); + fn_glPushDebugGroup = new Deno.UnsafeFnPointer( + proc("glPushDebugGroup"), + def_glPushDebugGroup, + ); + fn_glPopDebugGroup = new Deno.UnsafeFnPointer( + proc("glPopDebugGroup"), + def_glPopDebugGroup, + ); + fn_glObjectLabel = new Deno.UnsafeFnPointer( + proc("glObjectLabel"), + def_glObjectLabel, + ); + fn_glGetObjectLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectLabel"), + def_glGetObjectLabel, + ); + fn_glObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glObjectPtrLabel"), + def_glObjectPtrLabel, + ); + fn_glGetObjectPtrLabel = new Deno.UnsafeFnPointer( + proc("glGetObjectPtrLabel"), + def_glGetObjectPtrLabel, + ); + fn_glGetPointerv = new Deno.UnsafeFnPointer( + proc("glGetPointerv"), + def_glGetPointerv, + ); fn_glEnablei = new Deno.UnsafeFnPointer(proc("glEnablei"), def_glEnablei); fn_glDisablei = new Deno.UnsafeFnPointer(proc("glDisablei"), def_glDisablei); - fn_glBlendEquationi = new Deno.UnsafeFnPointer(proc("glBlendEquationi"), def_glBlendEquationi); - fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparatei"), def_glBlendEquationSeparatei); - fn_glBlendFunci = new Deno.UnsafeFnPointer(proc("glBlendFunci"), def_glBlendFunci); - fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparatei"), def_glBlendFuncSeparatei); - fn_glColorMaski = new Deno.UnsafeFnPointer(proc("glColorMaski"), def_glColorMaski); - fn_glIsEnabledi = new Deno.UnsafeFnPointer(proc("glIsEnabledi"), def_glIsEnabledi); - fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsBaseVertex"), def_glDrawElementsBaseVertex); - fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawRangeElementsBaseVertex"), def_glDrawRangeElementsBaseVertex); - fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer(proc("glDrawElementsInstancedBaseVertex"), def_glDrawElementsInstancedBaseVertex); - fn_glFramebufferTexture = new Deno.UnsafeFnPointer(proc("glFramebufferTexture"), def_glFramebufferTexture); - fn_glPrimitiveBoundingBox = new Deno.UnsafeFnPointer(proc("glPrimitiveBoundingBox"), def_glPrimitiveBoundingBox); - fn_glGetGraphicsResetStatus = new Deno.UnsafeFnPointer(proc("glGetGraphicsResetStatus"), def_glGetGraphicsResetStatus); - fn_glReadnPixels = new Deno.UnsafeFnPointer(proc("glReadnPixels"), def_glReadnPixels); - fn_glGetnUniformfv = new Deno.UnsafeFnPointer(proc("glGetnUniformfv"), def_glGetnUniformfv); - fn_glGetnUniformiv = new Deno.UnsafeFnPointer(proc("glGetnUniformiv"), def_glGetnUniformiv); - fn_glGetnUniformuiv = new Deno.UnsafeFnPointer(proc("glGetnUniformuiv"), def_glGetnUniformuiv); - fn_glMinSampleShading = new Deno.UnsafeFnPointer(proc("glMinSampleShading"), def_glMinSampleShading); - fn_glPatchParameteri = new Deno.UnsafeFnPointer(proc("glPatchParameteri"), def_glPatchParameteri); - fn_glTexParameterIiv = new Deno.UnsafeFnPointer(proc("glTexParameterIiv"), def_glTexParameterIiv); - fn_glTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glTexParameterIuiv"), def_glTexParameterIuiv); - fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIiv"), def_glGetTexParameterIiv); - fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetTexParameterIuiv"), def_glGetTexParameterIuiv); - fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIiv"), def_glSamplerParameterIiv); - fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glSamplerParameterIuiv"), def_glSamplerParameterIuiv); - fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIiv"), def_glGetSamplerParameterIiv); - fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterIuiv"), def_glGetSamplerParameterIuiv); - fn_glTexBuffer = new Deno.UnsafeFnPointer(proc("glTexBuffer"), def_glTexBuffer); - fn_glTexBufferRange = new Deno.UnsafeFnPointer(proc("glTexBufferRange"), def_glTexBufferRange); - fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer(proc("glTexStorage3DMultisample"), def_glTexStorage3DMultisample); + fn_glBlendEquationi = new Deno.UnsafeFnPointer( + proc("glBlendEquationi"), + def_glBlendEquationi, + ); + fn_glBlendEquationSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparatei"), + def_glBlendEquationSeparatei, + ); + fn_glBlendFunci = new Deno.UnsafeFnPointer( + proc("glBlendFunci"), + def_glBlendFunci, + ); + fn_glBlendFuncSeparatei = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparatei"), + def_glBlendFuncSeparatei, + ); + fn_glColorMaski = new Deno.UnsafeFnPointer( + proc("glColorMaski"), + def_glColorMaski, + ); + fn_glIsEnabledi = new Deno.UnsafeFnPointer( + proc("glIsEnabledi"), + def_glIsEnabledi, + ); + fn_glDrawElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsBaseVertex"), + def_glDrawElementsBaseVertex, + ); + fn_glDrawRangeElementsBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawRangeElementsBaseVertex"), + def_glDrawRangeElementsBaseVertex, + ); + fn_glDrawElementsInstancedBaseVertex = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstancedBaseVertex"), + def_glDrawElementsInstancedBaseVertex, + ); + fn_glFramebufferTexture = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture"), + def_glFramebufferTexture, + ); + fn_glPrimitiveBoundingBox = new Deno.UnsafeFnPointer( + proc("glPrimitiveBoundingBox"), + def_glPrimitiveBoundingBox, + ); + fn_glGetGraphicsResetStatus = new Deno.UnsafeFnPointer( + proc("glGetGraphicsResetStatus"), + def_glGetGraphicsResetStatus, + ); + fn_glReadnPixels = new Deno.UnsafeFnPointer( + proc("glReadnPixels"), + def_glReadnPixels, + ); + fn_glGetnUniformfv = new Deno.UnsafeFnPointer( + proc("glGetnUniformfv"), + def_glGetnUniformfv, + ); + fn_glGetnUniformiv = new Deno.UnsafeFnPointer( + proc("glGetnUniformiv"), + def_glGetnUniformiv, + ); + fn_glGetnUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetnUniformuiv"), + def_glGetnUniformuiv, + ); + fn_glMinSampleShading = new Deno.UnsafeFnPointer( + proc("glMinSampleShading"), + def_glMinSampleShading, + ); + fn_glPatchParameteri = new Deno.UnsafeFnPointer( + proc("glPatchParameteri"), + def_glPatchParameteri, + ); + fn_glTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIiv"), + def_glTexParameterIiv, + ); + fn_glTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glTexParameterIuiv"), + def_glTexParameterIuiv, + ); + fn_glGetTexParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIiv"), + def_glGetTexParameterIiv, + ); + fn_glGetTexParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterIuiv"), + def_glGetTexParameterIuiv, + ); + fn_glSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIiv"), + def_glSamplerParameterIiv, + ); + fn_glSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterIuiv"), + def_glSamplerParameterIuiv, + ); + fn_glGetSamplerParameterIiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIiv"), + def_glGetSamplerParameterIiv, + ); + fn_glGetSamplerParameterIuiv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterIuiv"), + def_glGetSamplerParameterIuiv, + ); + fn_glTexBuffer = new Deno.UnsafeFnPointer( + proc("glTexBuffer"), + def_glTexBuffer, + ); + fn_glTexBufferRange = new Deno.UnsafeFnPointer( + proc("glTexBufferRange"), + def_glTexBufferRange, + ); + fn_glTexStorage3DMultisample = new Deno.UnsafeFnPointer( + proc("glTexStorage3DMultisample"), + def_glTexStorage3DMultisample, + ); } diff --git a/api/gles23.ts b/api/gles23.ts index 7378551..e80e0b2 100644 --- a/api/gles23.ts +++ b/api/gles23.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -722,7 +730,9 @@ export const def_glBindAttribLocation = { result: "void", } as const; -let fn_glBindAttribLocation!: Deno.UnsafeFnPointer; +let fn_glBindAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glBindAttribLocation +>; export function BindAttribLocation( program: GLuint, @@ -845,7 +855,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -879,7 +891,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -942,7 +956,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -1059,7 +1075,9 @@ export const def_glCompressedTexImage2D = { result: "void", } as const; -let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage2D +>; export function CompressedTexImage2D( target: GLenum, @@ -1084,11 +1102,23 @@ export function CompressedTexImage2D( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -1148,7 +1178,9 @@ export const def_glCopyTexSubImage2D = { result: "void", } as const; -let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage2D +>; export function CopyTexSubImage2D( target: GLenum, @@ -1235,7 +1267,9 @@ export const def_glDeleteFramebuffers = { result: "void", } as const; -let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteFramebuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteFramebuffers +>; export function DeleteFramebuffers( n: GLsizei, @@ -1267,7 +1301,9 @@ export const def_glDeleteRenderbuffers = { result: "void", } as const; -let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer; +let fn_glDeleteRenderbuffers!: Deno.UnsafeFnPointer< + typeof def_glDeleteRenderbuffers +>; export function DeleteRenderbuffers( n: GLsizei, @@ -1395,7 +1431,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -1465,7 +1503,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -1502,7 +1542,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -1523,7 +1565,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -1698,7 +1742,9 @@ export const def_glGetAttachedShaders = { result: "void", } as const; -let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer; +let fn_glGetAttachedShaders!: Deno.UnsafeFnPointer< + typeof def_glGetAttachedShaders +>; export function GetAttachedShaders( program: GLuint, @@ -1719,7 +1765,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -1753,7 +1801,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -1800,7 +1850,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -1857,7 +1909,9 @@ export const def_glGetProgramInfoLog = { result: "void", } as const; -let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer; +let fn_glGetProgramInfoLog!: Deno.UnsafeFnPointer< + typeof def_glGetProgramInfoLog +>; export function GetProgramInfoLog( program: GLuint, @@ -1878,7 +1932,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -1937,7 +1993,9 @@ export const def_glGetShaderPrecisionFormat = { result: "void", } as const; -let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer; +let fn_glGetShaderPrecisionFormat!: Deno.UnsafeFnPointer< + typeof def_glGetShaderPrecisionFormat +>; export function GetShaderPrecisionFormat( shadertype: GLenum, @@ -1994,7 +2052,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -2013,7 +2073,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -2070,7 +2132,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -2087,7 +2151,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -2106,7 +2172,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -2125,7 +2193,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -2357,7 +2427,9 @@ export const def_glReleaseShaderCompiler = { result: "void", } as const; -let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer; +let fn_glReleaseShaderCompiler!: Deno.UnsafeFnPointer< + typeof def_glReleaseShaderCompiler +>; export function ReleaseShaderCompiler(): void { fn_glReleaseShaderCompiler.call(); @@ -2368,7 +2440,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -2490,7 +2564,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -2526,7 +2602,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -2562,7 +2640,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -2579,7 +2659,17 @@ export function StencilOpSeparate( } export const def_glTexImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2686,7 +2776,17 @@ export function TexParameteriv( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -3274,7 +3374,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -3335,7 +3437,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -3356,7 +3460,18 @@ export function DrawRangeElements( } export const def_glTexImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -3389,7 +3504,19 @@ export function TexImage3D( } export const def_glTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -3428,7 +3555,9 @@ export const def_glCopyTexSubImage3D = { result: "void", } as const; -let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer; +let fn_glCopyTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCopyTexSubImage3D +>; export function CopyTexSubImage3D( target: GLenum, @@ -3455,11 +3584,23 @@ export function CopyTexSubImage3D( } export const def_glCompressedTexImage3D = { - parameters: ["u32", "i32", "u32", "i32", "i32", "i32", "i32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexImage3D +>; export function CompressedTexImage3D( target: GLenum, @@ -3486,11 +3627,25 @@ export function CompressedTexImage3D( } export const def_glCompressedTexSubImage3D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], - result: "void", -} as const; - -let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer; + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], + result: "void", +} as const; + +let fn_glCompressedTexSubImage3D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage3D +>; export function CompressedTexSubImage3D( target: GLenum, @@ -3625,7 +3780,9 @@ export const def_glGetQueryObjectuiv = { result: "void", } as const; -let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer; +let fn_glGetQueryObjectuiv!: Deno.UnsafeFnPointer< + typeof def_glGetQueryObjectuiv +>; export function GetQueryObjectuiv( id: GLuint, @@ -3659,7 +3816,9 @@ export const def_glGetBufferPointerv = { result: "void", } as const; -let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer; +let fn_glGetBufferPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferPointerv +>; export function GetBufferPointerv( target: GLenum, @@ -3695,7 +3854,9 @@ export const def_glUniformMatrix2x3fv = { result: "void", } as const; -let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x3fv +>; export function UniformMatrix2x3fv( location: GLint, @@ -3716,7 +3877,9 @@ export const def_glUniformMatrix3x2fv = { result: "void", } as const; -let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x2fv +>; export function UniformMatrix3x2fv( location: GLint, @@ -3737,7 +3900,9 @@ export const def_glUniformMatrix2x4fv = { result: "void", } as const; -let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix2x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix2x4fv +>; export function UniformMatrix2x4fv( location: GLint, @@ -3758,7 +3923,9 @@ export const def_glUniformMatrix4x2fv = { result: "void", } as const; -let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x2fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x2fv +>; export function UniformMatrix4x2fv( location: GLint, @@ -3779,7 +3946,9 @@ export const def_glUniformMatrix3x4fv = { result: "void", } as const; -let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix3x4fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix3x4fv +>; export function UniformMatrix3x4fv( location: GLint, @@ -3800,7 +3969,9 @@ export const def_glUniformMatrix4x3fv = { result: "void", } as const; -let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer; +let fn_glUniformMatrix4x3fv!: Deno.UnsafeFnPointer< + typeof def_glUniformMatrix4x3fv +>; export function UniformMatrix4x3fv( location: GLint, @@ -3817,7 +3988,18 @@ export function UniformMatrix4x3fv( } export const def_glBlitFramebuffer = { - parameters: ["i32", "i32", "i32", "i32", "i32", "i32", "i32", "i32", "u32", "u32"], + parameters: [ + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + ], result: "void", } as const; @@ -3854,7 +4036,9 @@ export const def_glRenderbufferStorageMultisample = { result: "void", } as const; -let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorageMultisample!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorageMultisample +>; export function RenderbufferStorageMultisample( target: GLenum, @@ -3877,7 +4061,9 @@ export const def_glFramebufferTextureLayer = { result: "void", } as const; -let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer; +let fn_glFramebufferTextureLayer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTextureLayer +>; export function FramebufferTextureLayer( target: GLenum, @@ -3921,7 +4107,9 @@ export const def_glFlushMappedBufferRange = { result: "void", } as const; -let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer; +let fn_glFlushMappedBufferRange!: Deno.UnsafeFnPointer< + typeof def_glFlushMappedBufferRange +>; export function FlushMappedBufferRange( target: GLenum, @@ -3955,7 +4143,9 @@ export const def_glDeleteVertexArrays = { result: "void", } as const; -let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer; +let fn_glDeleteVertexArrays!: Deno.UnsafeFnPointer< + typeof def_glDeleteVertexArrays +>; export function DeleteVertexArrays( n: GLsizei, @@ -4023,7 +4213,9 @@ export const def_glBeginTransformFeedback = { result: "void", } as const; -let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBeginTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBeginTransformFeedback +>; export function BeginTransformFeedback( primitiveMode: GLenum, @@ -4038,7 +4230,9 @@ export const def_glEndTransformFeedback = { result: "void", } as const; -let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glEndTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glEndTransformFeedback +>; export function EndTransformFeedback(): void { fn_glEndTransformFeedback.call(); @@ -4091,7 +4285,9 @@ export const def_glTransformFeedbackVaryings = { result: "void", } as const; -let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer; +let fn_glTransformFeedbackVaryings!: Deno.UnsafeFnPointer< + typeof def_glTransformFeedbackVaryings +>; export function TransformFeedbackVaryings( program: GLuint, @@ -4112,7 +4308,9 @@ export const def_glGetTransformFeedbackVarying = { result: "void", } as const; -let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer; +let fn_glGetTransformFeedbackVarying!: Deno.UnsafeFnPointer< + typeof def_glGetTransformFeedbackVarying +>; export function GetTransformFeedbackVarying( program: GLuint, @@ -4139,7 +4337,9 @@ export const def_glVertexAttribIPointer = { result: "void", } as const; -let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribIPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribIPointer +>; export function VertexAttribIPointer( index: GLuint, @@ -4162,7 +4362,9 @@ export const def_glGetVertexAttribIiv = { result: "void", } as const; -let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIiv +>; export function GetVertexAttribIiv( index: GLuint, @@ -4181,7 +4383,9 @@ export const def_glGetVertexAttribIuiv = { result: "void", } as const; -let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribIuiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribIuiv +>; export function GetVertexAttribIuiv( index: GLuint, @@ -4263,7 +4467,9 @@ export const def_glVertexAttribI4uiv = { result: "void", } as const; -let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer; +let fn_glVertexAttribI4uiv!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribI4uiv +>; export function VertexAttribI4uiv( index: GLuint, @@ -4299,7 +4505,9 @@ export const def_glGetFragDataLocation = { result: "i32", } as const; -let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer; +let fn_glGetFragDataLocation!: Deno.UnsafeFnPointer< + typeof def_glGetFragDataLocation +>; export function GetFragDataLocation( program: GLuint, @@ -4567,7 +4775,9 @@ export const def_glCopyBufferSubData = { result: "void", } as const; -let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer; +let fn_glCopyBufferSubData!: Deno.UnsafeFnPointer< + typeof def_glCopyBufferSubData +>; export function CopyBufferSubData( readTarget: GLenum, @@ -4590,7 +4800,9 @@ export const def_glGetUniformIndices = { result: "void", } as const; -let fn_glGetUniformIndices!: Deno.UnsafeFnPointer; +let fn_glGetUniformIndices!: Deno.UnsafeFnPointer< + typeof def_glGetUniformIndices +>; export function GetUniformIndices( program: GLuint, @@ -4611,7 +4823,9 @@ export const def_glGetActiveUniformsiv = { result: "void", } as const; -let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformsiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformsiv +>; export function GetActiveUniformsiv( program: GLuint, @@ -4634,7 +4848,9 @@ export const def_glGetUniformBlockIndex = { result: "u32", } as const; -let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer; +let fn_glGetUniformBlockIndex!: Deno.UnsafeFnPointer< + typeof def_glGetUniformBlockIndex +>; export function GetUniformBlockIndex( program: GLuint, @@ -4651,7 +4867,9 @@ export const def_glGetActiveUniformBlockiv = { result: "void", } as const; -let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockiv!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockiv +>; export function GetActiveUniformBlockiv( program: GLuint, @@ -4672,7 +4890,9 @@ export const def_glGetActiveUniformBlockName = { result: "void", } as const; -let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer; +let fn_glGetActiveUniformBlockName!: Deno.UnsafeFnPointer< + typeof def_glGetActiveUniformBlockName +>; export function GetActiveUniformBlockName( program: GLuint, @@ -4695,7 +4915,9 @@ export const def_glUniformBlockBinding = { result: "void", } as const; -let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer; +let fn_glUniformBlockBinding!: Deno.UnsafeFnPointer< + typeof def_glUniformBlockBinding +>; export function UniformBlockBinding( program: GLuint, @@ -4714,7 +4936,9 @@ export const def_glDrawArraysInstanced = { result: "void", } as const; -let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawArraysInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawArraysInstanced +>; export function DrawArraysInstanced( mode: GLenum, @@ -4735,7 +4959,9 @@ export const def_glDrawElementsInstanced = { result: "void", } as const; -let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer; +let fn_glDrawElementsInstanced!: Deno.UnsafeFnPointer< + typeof def_glDrawElementsInstanced +>; export function DrawElementsInstanced( mode: GLenum, @@ -4902,7 +5128,9 @@ export const def_glGetBufferParameteri64v = { result: "void", } as const; -let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteri64v!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteri64v +>; export function GetBufferParameteri64v( target: GLenum, @@ -4987,7 +5215,9 @@ export const def_glSamplerParameteri = { result: "void", } as const; -let fn_glSamplerParameteri!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteri!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteri +>; export function SamplerParameteri( sampler: GLuint, @@ -5006,7 +5236,9 @@ export const def_glSamplerParameteriv = { result: "void", } as const; -let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameteriv +>; export function SamplerParameteriv( sampler: GLuint, @@ -5025,7 +5257,9 @@ export const def_glSamplerParameterf = { result: "void", } as const; -let fn_glSamplerParameterf!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterf!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterf +>; export function SamplerParameterf( sampler: GLuint, @@ -5044,7 +5278,9 @@ export const def_glSamplerParameterfv = { result: "void", } as const; -let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glSamplerParameterfv +>; export function SamplerParameterfv( sampler: GLuint, @@ -5063,7 +5299,9 @@ export const def_glGetSamplerParameteriv = { result: "void", } as const; -let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameteriv +>; export function GetSamplerParameteriv( sampler: GLuint, @@ -5082,7 +5320,9 @@ export const def_glGetSamplerParameterfv = { result: "void", } as const; -let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetSamplerParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetSamplerParameterfv +>; export function GetSamplerParameterfv( sampler: GLuint, @@ -5101,7 +5341,9 @@ export const def_glVertexAttribDivisor = { result: "void", } as const; -let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer; +let fn_glVertexAttribDivisor!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribDivisor +>; export function VertexAttribDivisor( index: GLuint, @@ -5118,7 +5360,9 @@ export const def_glBindTransformFeedback = { result: "void", } as const; -let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glBindTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glBindTransformFeedback +>; export function BindTransformFeedback( target: GLenum, @@ -5135,7 +5379,9 @@ export const def_glDeleteTransformFeedbacks = { result: "void", } as const; -let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glDeleteTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glDeleteTransformFeedbacks +>; export function DeleteTransformFeedbacks( n: GLsizei, @@ -5152,7 +5398,9 @@ export const def_glGenTransformFeedbacks = { result: "void", } as const; -let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer; +let fn_glGenTransformFeedbacks!: Deno.UnsafeFnPointer< + typeof def_glGenTransformFeedbacks +>; export function GenTransformFeedbacks( n: GLsizei, @@ -5169,7 +5417,9 @@ export const def_glIsTransformFeedback = { result: "u8", } as const; -let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glIsTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glIsTransformFeedback +>; export function IsTransformFeedback( id: GLuint, @@ -5184,7 +5434,9 @@ export const def_glPauseTransformFeedback = { result: "void", } as const; -let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glPauseTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glPauseTransformFeedback +>; export function PauseTransformFeedback(): void { fn_glPauseTransformFeedback.call(); @@ -5195,7 +5447,9 @@ export const def_glResumeTransformFeedback = { result: "void", } as const; -let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer; +let fn_glResumeTransformFeedback!: Deno.UnsafeFnPointer< + typeof def_glResumeTransformFeedback +>; export function ResumeTransformFeedback(): void { fn_glResumeTransformFeedback.call(); @@ -5250,7 +5504,9 @@ export const def_glProgramParameteri = { result: "void", } as const; -let fn_glProgramParameteri!: Deno.UnsafeFnPointer; +let fn_glProgramParameteri!: Deno.UnsafeFnPointer< + typeof def_glProgramParameteri +>; export function ProgramParameteri( program: GLuint, @@ -5269,7 +5525,9 @@ export const def_glInvalidateFramebuffer = { result: "void", } as const; -let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateFramebuffer +>; export function InvalidateFramebuffer( target: GLenum, @@ -5288,7 +5546,9 @@ export const def_glInvalidateSubFramebuffer = { result: "void", } as const; -let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer; +let fn_glInvalidateSubFramebuffer!: Deno.UnsafeFnPointer< + typeof def_glInvalidateSubFramebuffer +>; export function InvalidateSubFramebuffer( target: GLenum, @@ -5363,7 +5623,9 @@ export const def_glGetInternalformativ = { result: "void", } as const; -let fn_glGetInternalformativ!: Deno.UnsafeFnPointer; +let fn_glGetInternalformativ!: Deno.UnsafeFnPointer< + typeof def_glGetInternalformativ +>; export function GetInternalformativ( target: GLenum, @@ -5383,250 +5645,940 @@ export function GetInternalformativ( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glAttachShader = new Deno.UnsafeFnPointer(proc("glAttachShader"), def_glAttachShader); - fn_glBindAttribLocation = new Deno.UnsafeFnPointer(proc("glBindAttribLocation"), def_glBindAttribLocation); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glAttachShader = new Deno.UnsafeFnPointer( + proc("glAttachShader"), + def_glAttachShader, + ); + fn_glBindAttribLocation = new Deno.UnsafeFnPointer( + proc("glBindAttribLocation"), + def_glBindAttribLocation, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glCompileShader = new Deno.UnsafeFnPointer(proc("glCompileShader"), def_glCompileShader); - fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage2D"), def_glCompressedTexImage2D); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCopyTexImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexImage2D"), def_glCopyTexImage2D); - fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage2D"), def_glCopyTexSubImage2D); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); - fn_glCreateShader = new Deno.UnsafeFnPointer(proc("glCreateShader"), def_glCreateShader); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glCompileShader = new Deno.UnsafeFnPointer( + proc("glCompileShader"), + def_glCompileShader, + ); + fn_glCompressedTexImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage2D"), + def_glCompressedTexImage2D, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCopyTexImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexImage2D"), + def_glCopyTexImage2D, + ); + fn_glCopyTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage2D"), + def_glCopyTexSubImage2D, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); + fn_glCreateShader = new Deno.UnsafeFnPointer( + proc("glCreateShader"), + def_glCreateShader, + ); fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glDeleteBuffers = new Deno.UnsafeFnPointer(proc("glDeleteBuffers"), def_glDeleteBuffers); - fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer(proc("glDeleteFramebuffers"), def_glDeleteFramebuffers); - fn_glDeleteProgram = new Deno.UnsafeFnPointer(proc("glDeleteProgram"), def_glDeleteProgram); - fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer(proc("glDeleteRenderbuffers"), def_glDeleteRenderbuffers); - fn_glDeleteShader = new Deno.UnsafeFnPointer(proc("glDeleteShader"), def_glDeleteShader); - fn_glDeleteTextures = new Deno.UnsafeFnPointer(proc("glDeleteTextures"), def_glDeleteTextures); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); - fn_glDetachShader = new Deno.UnsafeFnPointer(proc("glDetachShader"), def_glDetachShader); + fn_glDeleteBuffers = new Deno.UnsafeFnPointer( + proc("glDeleteBuffers"), + def_glDeleteBuffers, + ); + fn_glDeleteFramebuffers = new Deno.UnsafeFnPointer( + proc("glDeleteFramebuffers"), + def_glDeleteFramebuffers, + ); + fn_glDeleteProgram = new Deno.UnsafeFnPointer( + proc("glDeleteProgram"), + def_glDeleteProgram, + ); + fn_glDeleteRenderbuffers = new Deno.UnsafeFnPointer( + proc("glDeleteRenderbuffers"), + def_glDeleteRenderbuffers, + ); + fn_glDeleteShader = new Deno.UnsafeFnPointer( + proc("glDeleteShader"), + def_glDeleteShader, + ); + fn_glDeleteTextures = new Deno.UnsafeFnPointer( + proc("glDeleteTextures"), + def_glDeleteTextures, + ); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); + fn_glDetachShader = new Deno.UnsafeFnPointer( + proc("glDetachShader"), + def_glDetachShader, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawElements = new Deno.UnsafeFnPointer(proc("glDrawElements"), def_glDrawElements); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawElements = new Deno.UnsafeFnPointer( + proc("glDrawElements"), + def_glDrawElements, + ); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glGetActiveAttrib = new Deno.UnsafeFnPointer(proc("glGetActiveAttrib"), def_glGetActiveAttrib); - fn_glGetActiveUniform = new Deno.UnsafeFnPointer(proc("glGetActiveUniform"), def_glGetActiveUniform); - fn_glGetAttachedShaders = new Deno.UnsafeFnPointer(proc("glGetAttachedShaders"), def_glGetAttachedShaders); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glGetActiveAttrib = new Deno.UnsafeFnPointer( + proc("glGetActiveAttrib"), + def_glGetActiveAttrib, + ); + fn_glGetActiveUniform = new Deno.UnsafeFnPointer( + proc("glGetActiveUniform"), + def_glGetActiveUniform, + ); + fn_glGetAttachedShaders = new Deno.UnsafeFnPointer( + proc("glGetAttachedShaders"), + def_glGetAttachedShaders, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer(proc("glGetProgramInfoLog"), def_glGetProgramInfoLog); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glGetShaderiv = new Deno.UnsafeFnPointer(proc("glGetShaderiv"), def_glGetShaderiv); - fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer(proc("glGetShaderInfoLog"), def_glGetShaderInfoLog); - fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer(proc("glGetShaderPrecisionFormat"), def_glGetShaderPrecisionFormat); - fn_glGetShaderSource = new Deno.UnsafeFnPointer(proc("glGetShaderSource"), def_glGetShaderSource); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetUniformfv = new Deno.UnsafeFnPointer(proc("glGetUniformfv"), def_glGetUniformfv); - fn_glGetUniformiv = new Deno.UnsafeFnPointer(proc("glGetUniformiv"), def_glGetUniformiv); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetProgramInfoLog = new Deno.UnsafeFnPointer( + proc("glGetProgramInfoLog"), + def_glGetProgramInfoLog, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glGetShaderiv = new Deno.UnsafeFnPointer( + proc("glGetShaderiv"), + def_glGetShaderiv, + ); + fn_glGetShaderInfoLog = new Deno.UnsafeFnPointer( + proc("glGetShaderInfoLog"), + def_glGetShaderInfoLog, + ); + fn_glGetShaderPrecisionFormat = new Deno.UnsafeFnPointer( + proc("glGetShaderPrecisionFormat"), + def_glGetShaderPrecisionFormat, + ); + fn_glGetShaderSource = new Deno.UnsafeFnPointer( + proc("glGetShaderSource"), + def_glGetShaderSource, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetUniformfv = new Deno.UnsafeFnPointer( + proc("glGetUniformfv"), + def_glGetUniformfv, + ); + fn_glGetUniformiv = new Deno.UnsafeFnPointer( + proc("glGetUniformiv"), + def_glGetUniformiv, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); fn_glIsBuffer = new Deno.UnsafeFnPointer(proc("glIsBuffer"), def_glIsBuffer); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glIsFramebuffer = new Deno.UnsafeFnPointer(proc("glIsFramebuffer"), def_glIsFramebuffer); - fn_glIsProgram = new Deno.UnsafeFnPointer(proc("glIsProgram"), def_glIsProgram); - fn_glIsRenderbuffer = new Deno.UnsafeFnPointer(proc("glIsRenderbuffer"), def_glIsRenderbuffer); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glIsFramebuffer = new Deno.UnsafeFnPointer( + proc("glIsFramebuffer"), + def_glIsFramebuffer, + ); + fn_glIsProgram = new Deno.UnsafeFnPointer( + proc("glIsProgram"), + def_glIsProgram, + ); + fn_glIsRenderbuffer = new Deno.UnsafeFnPointer( + proc("glIsRenderbuffer"), + def_glIsRenderbuffer, + ); fn_glIsShader = new Deno.UnsafeFnPointer(proc("glIsShader"), def_glIsShader); - fn_glIsTexture = new Deno.UnsafeFnPointer(proc("glIsTexture"), def_glIsTexture); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glLinkProgram = new Deno.UnsafeFnPointer(proc("glLinkProgram"), def_glLinkProgram); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glReadPixels = new Deno.UnsafeFnPointer(proc("glReadPixels"), def_glReadPixels); - fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer(proc("glReleaseShaderCompiler"), def_glReleaseShaderCompiler); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); + fn_glIsTexture = new Deno.UnsafeFnPointer( + proc("glIsTexture"), + def_glIsTexture, + ); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glLinkProgram = new Deno.UnsafeFnPointer( + proc("glLinkProgram"), + def_glLinkProgram, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glReadPixels = new Deno.UnsafeFnPointer( + proc("glReadPixels"), + def_glReadPixels, + ); + fn_glReleaseShaderCompiler = new Deno.UnsafeFnPointer( + proc("glReleaseShaderCompiler"), + def_glReleaseShaderCompiler, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glShaderBinary = new Deno.UnsafeFnPointer(proc("glShaderBinary"), def_glShaderBinary); - fn_glShaderSource = new Deno.UnsafeFnPointer(proc("glShaderSource"), def_glShaderSource); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glTexImage2D = new Deno.UnsafeFnPointer(proc("glTexImage2D"), def_glTexImage2D); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glValidateProgram = new Deno.UnsafeFnPointer(proc("glValidateProgram"), def_glValidateProgram); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); + fn_glShaderBinary = new Deno.UnsafeFnPointer( + proc("glShaderBinary"), + def_glShaderBinary, + ); + fn_glShaderSource = new Deno.UnsafeFnPointer( + proc("glShaderSource"), + def_glShaderSource, + ); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glTexImage2D = new Deno.UnsafeFnPointer( + proc("glTexImage2D"), + def_glTexImage2D, + ); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glValidateProgram = new Deno.UnsafeFnPointer( + proc("glValidateProgram"), + def_glValidateProgram, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); - fn_glReadBuffer = new Deno.UnsafeFnPointer(proc("glReadBuffer"), def_glReadBuffer); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); - fn_glTexImage3D = new Deno.UnsafeFnPointer(proc("glTexImage3D"), def_glTexImage3D); - fn_glTexSubImage3D = new Deno.UnsafeFnPointer(proc("glTexSubImage3D"), def_glTexSubImage3D); - fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCopyTexSubImage3D"), def_glCopyTexSubImage3D); - fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexImage3D"), def_glCompressedTexImage3D); - fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage3D"), def_glCompressedTexSubImage3D); - fn_glGenQueries = new Deno.UnsafeFnPointer(proc("glGenQueries"), def_glGenQueries); - fn_glDeleteQueries = new Deno.UnsafeFnPointer(proc("glDeleteQueries"), def_glDeleteQueries); + fn_glReadBuffer = new Deno.UnsafeFnPointer( + proc("glReadBuffer"), + def_glReadBuffer, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); + fn_glTexImage3D = new Deno.UnsafeFnPointer( + proc("glTexImage3D"), + def_glTexImage3D, + ); + fn_glTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glTexSubImage3D"), + def_glTexSubImage3D, + ); + fn_glCopyTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCopyTexSubImage3D"), + def_glCopyTexSubImage3D, + ); + fn_glCompressedTexImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexImage3D"), + def_glCompressedTexImage3D, + ); + fn_glCompressedTexSubImage3D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage3D"), + def_glCompressedTexSubImage3D, + ); + fn_glGenQueries = new Deno.UnsafeFnPointer( + proc("glGenQueries"), + def_glGenQueries, + ); + fn_glDeleteQueries = new Deno.UnsafeFnPointer( + proc("glDeleteQueries"), + def_glDeleteQueries, + ); fn_glIsQuery = new Deno.UnsafeFnPointer(proc("glIsQuery"), def_glIsQuery); - fn_glBeginQuery = new Deno.UnsafeFnPointer(proc("glBeginQuery"), def_glBeginQuery); + fn_glBeginQuery = new Deno.UnsafeFnPointer( + proc("glBeginQuery"), + def_glBeginQuery, + ); fn_glEndQuery = new Deno.UnsafeFnPointer(proc("glEndQuery"), def_glEndQuery); - fn_glGetQueryiv = new Deno.UnsafeFnPointer(proc("glGetQueryiv"), def_glGetQueryiv); - fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer(proc("glGetQueryObjectuiv"), def_glGetQueryObjectuiv); - fn_glUnmapBuffer = new Deno.UnsafeFnPointer(proc("glUnmapBuffer"), def_glUnmapBuffer); - fn_glGetBufferPointerv = new Deno.UnsafeFnPointer(proc("glGetBufferPointerv"), def_glGetBufferPointerv); - fn_glDrawBuffers = new Deno.UnsafeFnPointer(proc("glDrawBuffers"), def_glDrawBuffers); - fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x3fv"), def_glUniformMatrix2x3fv); - fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x2fv"), def_glUniformMatrix3x2fv); - fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2x4fv"), def_glUniformMatrix2x4fv); - fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x2fv"), def_glUniformMatrix4x2fv); - fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3x4fv"), def_glUniformMatrix3x4fv); - fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4x3fv"), def_glUniformMatrix4x3fv); - fn_glBlitFramebuffer = new Deno.UnsafeFnPointer(proc("glBlitFramebuffer"), def_glBlitFramebuffer); - fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer(proc("glRenderbufferStorageMultisample"), def_glRenderbufferStorageMultisample); - fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer(proc("glFramebufferTextureLayer"), def_glFramebufferTextureLayer); - fn_glMapBufferRange = new Deno.UnsafeFnPointer(proc("glMapBufferRange"), def_glMapBufferRange); - fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer(proc("glFlushMappedBufferRange"), def_glFlushMappedBufferRange); - fn_glBindVertexArray = new Deno.UnsafeFnPointer(proc("glBindVertexArray"), def_glBindVertexArray); - fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer(proc("glDeleteVertexArrays"), def_glDeleteVertexArrays); - fn_glGenVertexArrays = new Deno.UnsafeFnPointer(proc("glGenVertexArrays"), def_glGenVertexArrays); - fn_glIsVertexArray = new Deno.UnsafeFnPointer(proc("glIsVertexArray"), def_glIsVertexArray); - fn_glGetIntegeri_v = new Deno.UnsafeFnPointer(proc("glGetIntegeri_v"), def_glGetIntegeri_v); - fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer(proc("glBeginTransformFeedback"), def_glBeginTransformFeedback); - fn_glEndTransformFeedback = new Deno.UnsafeFnPointer(proc("glEndTransformFeedback"), def_glEndTransformFeedback); - fn_glBindBufferRange = new Deno.UnsafeFnPointer(proc("glBindBufferRange"), def_glBindBufferRange); - fn_glBindBufferBase = new Deno.UnsafeFnPointer(proc("glBindBufferBase"), def_glBindBufferBase); - fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer(proc("glTransformFeedbackVaryings"), def_glTransformFeedbackVaryings); - fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer(proc("glGetTransformFeedbackVarying"), def_glGetTransformFeedbackVarying); - fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribIPointer"), def_glVertexAttribIPointer); - fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIiv"), def_glGetVertexAttribIiv); - fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribIuiv"), def_glGetVertexAttribIuiv); - fn_glVertexAttribI4i = new Deno.UnsafeFnPointer(proc("glVertexAttribI4i"), def_glVertexAttribI4i); - fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer(proc("glVertexAttribI4ui"), def_glVertexAttribI4ui); - fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4iv"), def_glVertexAttribI4iv); - fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer(proc("glVertexAttribI4uiv"), def_glVertexAttribI4uiv); - fn_glGetUniformuiv = new Deno.UnsafeFnPointer(proc("glGetUniformuiv"), def_glGetUniformuiv); - fn_glGetFragDataLocation = new Deno.UnsafeFnPointer(proc("glGetFragDataLocation"), def_glGetFragDataLocation); - fn_glUniform1ui = new Deno.UnsafeFnPointer(proc("glUniform1ui"), def_glUniform1ui); - fn_glUniform2ui = new Deno.UnsafeFnPointer(proc("glUniform2ui"), def_glUniform2ui); - fn_glUniform3ui = new Deno.UnsafeFnPointer(proc("glUniform3ui"), def_glUniform3ui); - fn_glUniform4ui = new Deno.UnsafeFnPointer(proc("glUniform4ui"), def_glUniform4ui); - fn_glUniform1uiv = new Deno.UnsafeFnPointer(proc("glUniform1uiv"), def_glUniform1uiv); - fn_glUniform2uiv = new Deno.UnsafeFnPointer(proc("glUniform2uiv"), def_glUniform2uiv); - fn_glUniform3uiv = new Deno.UnsafeFnPointer(proc("glUniform3uiv"), def_glUniform3uiv); - fn_glUniform4uiv = new Deno.UnsafeFnPointer(proc("glUniform4uiv"), def_glUniform4uiv); - fn_glClearBufferiv = new Deno.UnsafeFnPointer(proc("glClearBufferiv"), def_glClearBufferiv); - fn_glClearBufferuiv = new Deno.UnsafeFnPointer(proc("glClearBufferuiv"), def_glClearBufferuiv); - fn_glClearBufferfv = new Deno.UnsafeFnPointer(proc("glClearBufferfv"), def_glClearBufferfv); - fn_glClearBufferfi = new Deno.UnsafeFnPointer(proc("glClearBufferfi"), def_glClearBufferfi); - fn_glGetStringi = new Deno.UnsafeFnPointer(proc("glGetStringi"), def_glGetStringi); - fn_glCopyBufferSubData = new Deno.UnsafeFnPointer(proc("glCopyBufferSubData"), def_glCopyBufferSubData); - fn_glGetUniformIndices = new Deno.UnsafeFnPointer(proc("glGetUniformIndices"), def_glGetUniformIndices); - fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformsiv"), def_glGetActiveUniformsiv); - fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer(proc("glGetUniformBlockIndex"), def_glGetUniformBlockIndex); - fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockiv"), def_glGetActiveUniformBlockiv); - fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer(proc("glGetActiveUniformBlockName"), def_glGetActiveUniformBlockName); - fn_glUniformBlockBinding = new Deno.UnsafeFnPointer(proc("glUniformBlockBinding"), def_glUniformBlockBinding); - fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer(proc("glDrawArraysInstanced"), def_glDrawArraysInstanced); - fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer(proc("glDrawElementsInstanced"), def_glDrawElementsInstanced); - fn_glFenceSync = new Deno.UnsafeFnPointer(proc("glFenceSync"), def_glFenceSync); + fn_glGetQueryiv = new Deno.UnsafeFnPointer( + proc("glGetQueryiv"), + def_glGetQueryiv, + ); + fn_glGetQueryObjectuiv = new Deno.UnsafeFnPointer( + proc("glGetQueryObjectuiv"), + def_glGetQueryObjectuiv, + ); + fn_glUnmapBuffer = new Deno.UnsafeFnPointer( + proc("glUnmapBuffer"), + def_glUnmapBuffer, + ); + fn_glGetBufferPointerv = new Deno.UnsafeFnPointer( + proc("glGetBufferPointerv"), + def_glGetBufferPointerv, + ); + fn_glDrawBuffers = new Deno.UnsafeFnPointer( + proc("glDrawBuffers"), + def_glDrawBuffers, + ); + fn_glUniformMatrix2x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x3fv"), + def_glUniformMatrix2x3fv, + ); + fn_glUniformMatrix3x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x2fv"), + def_glUniformMatrix3x2fv, + ); + fn_glUniformMatrix2x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2x4fv"), + def_glUniformMatrix2x4fv, + ); + fn_glUniformMatrix4x2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x2fv"), + def_glUniformMatrix4x2fv, + ); + fn_glUniformMatrix3x4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3x4fv"), + def_glUniformMatrix3x4fv, + ); + fn_glUniformMatrix4x3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4x3fv"), + def_glUniformMatrix4x3fv, + ); + fn_glBlitFramebuffer = new Deno.UnsafeFnPointer( + proc("glBlitFramebuffer"), + def_glBlitFramebuffer, + ); + fn_glRenderbufferStorageMultisample = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorageMultisample"), + def_glRenderbufferStorageMultisample, + ); + fn_glFramebufferTextureLayer = new Deno.UnsafeFnPointer( + proc("glFramebufferTextureLayer"), + def_glFramebufferTextureLayer, + ); + fn_glMapBufferRange = new Deno.UnsafeFnPointer( + proc("glMapBufferRange"), + def_glMapBufferRange, + ); + fn_glFlushMappedBufferRange = new Deno.UnsafeFnPointer( + proc("glFlushMappedBufferRange"), + def_glFlushMappedBufferRange, + ); + fn_glBindVertexArray = new Deno.UnsafeFnPointer( + proc("glBindVertexArray"), + def_glBindVertexArray, + ); + fn_glDeleteVertexArrays = new Deno.UnsafeFnPointer( + proc("glDeleteVertexArrays"), + def_glDeleteVertexArrays, + ); + fn_glGenVertexArrays = new Deno.UnsafeFnPointer( + proc("glGenVertexArrays"), + def_glGenVertexArrays, + ); + fn_glIsVertexArray = new Deno.UnsafeFnPointer( + proc("glIsVertexArray"), + def_glIsVertexArray, + ); + fn_glGetIntegeri_v = new Deno.UnsafeFnPointer( + proc("glGetIntegeri_v"), + def_glGetIntegeri_v, + ); + fn_glBeginTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBeginTransformFeedback"), + def_glBeginTransformFeedback, + ); + fn_glEndTransformFeedback = new Deno.UnsafeFnPointer( + proc("glEndTransformFeedback"), + def_glEndTransformFeedback, + ); + fn_glBindBufferRange = new Deno.UnsafeFnPointer( + proc("glBindBufferRange"), + def_glBindBufferRange, + ); + fn_glBindBufferBase = new Deno.UnsafeFnPointer( + proc("glBindBufferBase"), + def_glBindBufferBase, + ); + fn_glTransformFeedbackVaryings = new Deno.UnsafeFnPointer( + proc("glTransformFeedbackVaryings"), + def_glTransformFeedbackVaryings, + ); + fn_glGetTransformFeedbackVarying = new Deno.UnsafeFnPointer( + proc("glGetTransformFeedbackVarying"), + def_glGetTransformFeedbackVarying, + ); + fn_glVertexAttribIPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribIPointer"), + def_glVertexAttribIPointer, + ); + fn_glGetVertexAttribIiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIiv"), + def_glGetVertexAttribIiv, + ); + fn_glGetVertexAttribIuiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribIuiv"), + def_glGetVertexAttribIuiv, + ); + fn_glVertexAttribI4i = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4i"), + def_glVertexAttribI4i, + ); + fn_glVertexAttribI4ui = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4ui"), + def_glVertexAttribI4ui, + ); + fn_glVertexAttribI4iv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4iv"), + def_glVertexAttribI4iv, + ); + fn_glVertexAttribI4uiv = new Deno.UnsafeFnPointer( + proc("glVertexAttribI4uiv"), + def_glVertexAttribI4uiv, + ); + fn_glGetUniformuiv = new Deno.UnsafeFnPointer( + proc("glGetUniformuiv"), + def_glGetUniformuiv, + ); + fn_glGetFragDataLocation = new Deno.UnsafeFnPointer( + proc("glGetFragDataLocation"), + def_glGetFragDataLocation, + ); + fn_glUniform1ui = new Deno.UnsafeFnPointer( + proc("glUniform1ui"), + def_glUniform1ui, + ); + fn_glUniform2ui = new Deno.UnsafeFnPointer( + proc("glUniform2ui"), + def_glUniform2ui, + ); + fn_glUniform3ui = new Deno.UnsafeFnPointer( + proc("glUniform3ui"), + def_glUniform3ui, + ); + fn_glUniform4ui = new Deno.UnsafeFnPointer( + proc("glUniform4ui"), + def_glUniform4ui, + ); + fn_glUniform1uiv = new Deno.UnsafeFnPointer( + proc("glUniform1uiv"), + def_glUniform1uiv, + ); + fn_glUniform2uiv = new Deno.UnsafeFnPointer( + proc("glUniform2uiv"), + def_glUniform2uiv, + ); + fn_glUniform3uiv = new Deno.UnsafeFnPointer( + proc("glUniform3uiv"), + def_glUniform3uiv, + ); + fn_glUniform4uiv = new Deno.UnsafeFnPointer( + proc("glUniform4uiv"), + def_glUniform4uiv, + ); + fn_glClearBufferiv = new Deno.UnsafeFnPointer( + proc("glClearBufferiv"), + def_glClearBufferiv, + ); + fn_glClearBufferuiv = new Deno.UnsafeFnPointer( + proc("glClearBufferuiv"), + def_glClearBufferuiv, + ); + fn_glClearBufferfv = new Deno.UnsafeFnPointer( + proc("glClearBufferfv"), + def_glClearBufferfv, + ); + fn_glClearBufferfi = new Deno.UnsafeFnPointer( + proc("glClearBufferfi"), + def_glClearBufferfi, + ); + fn_glGetStringi = new Deno.UnsafeFnPointer( + proc("glGetStringi"), + def_glGetStringi, + ); + fn_glCopyBufferSubData = new Deno.UnsafeFnPointer( + proc("glCopyBufferSubData"), + def_glCopyBufferSubData, + ); + fn_glGetUniformIndices = new Deno.UnsafeFnPointer( + proc("glGetUniformIndices"), + def_glGetUniformIndices, + ); + fn_glGetActiveUniformsiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformsiv"), + def_glGetActiveUniformsiv, + ); + fn_glGetUniformBlockIndex = new Deno.UnsafeFnPointer( + proc("glGetUniformBlockIndex"), + def_glGetUniformBlockIndex, + ); + fn_glGetActiveUniformBlockiv = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockiv"), + def_glGetActiveUniformBlockiv, + ); + fn_glGetActiveUniformBlockName = new Deno.UnsafeFnPointer( + proc("glGetActiveUniformBlockName"), + def_glGetActiveUniformBlockName, + ); + fn_glUniformBlockBinding = new Deno.UnsafeFnPointer( + proc("glUniformBlockBinding"), + def_glUniformBlockBinding, + ); + fn_glDrawArraysInstanced = new Deno.UnsafeFnPointer( + proc("glDrawArraysInstanced"), + def_glDrawArraysInstanced, + ); + fn_glDrawElementsInstanced = new Deno.UnsafeFnPointer( + proc("glDrawElementsInstanced"), + def_glDrawElementsInstanced, + ); + fn_glFenceSync = new Deno.UnsafeFnPointer( + proc("glFenceSync"), + def_glFenceSync, + ); fn_glIsSync = new Deno.UnsafeFnPointer(proc("glIsSync"), def_glIsSync); - fn_glDeleteSync = new Deno.UnsafeFnPointer(proc("glDeleteSync"), def_glDeleteSync); - fn_glClientWaitSync = new Deno.UnsafeFnPointer(proc("glClientWaitSync"), def_glClientWaitSync); + fn_glDeleteSync = new Deno.UnsafeFnPointer( + proc("glDeleteSync"), + def_glDeleteSync, + ); + fn_glClientWaitSync = new Deno.UnsafeFnPointer( + proc("glClientWaitSync"), + def_glClientWaitSync, + ); fn_glWaitSync = new Deno.UnsafeFnPointer(proc("glWaitSync"), def_glWaitSync); - fn_glGetInteger64v = new Deno.UnsafeFnPointer(proc("glGetInteger64v"), def_glGetInteger64v); - fn_glGetSynciv = new Deno.UnsafeFnPointer(proc("glGetSynciv"), def_glGetSynciv); - fn_glGetInteger64i_v = new Deno.UnsafeFnPointer(proc("glGetInteger64i_v"), def_glGetInteger64i_v); - fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer(proc("glGetBufferParameteri64v"), def_glGetBufferParameteri64v); - fn_glGenSamplers = new Deno.UnsafeFnPointer(proc("glGenSamplers"), def_glGenSamplers); - fn_glDeleteSamplers = new Deno.UnsafeFnPointer(proc("glDeleteSamplers"), def_glDeleteSamplers); - fn_glIsSampler = new Deno.UnsafeFnPointer(proc("glIsSampler"), def_glIsSampler); - fn_glBindSampler = new Deno.UnsafeFnPointer(proc("glBindSampler"), def_glBindSampler); - fn_glSamplerParameteri = new Deno.UnsafeFnPointer(proc("glSamplerParameteri"), def_glSamplerParameteri); - fn_glSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glSamplerParameteriv"), def_glSamplerParameteriv); - fn_glSamplerParameterf = new Deno.UnsafeFnPointer(proc("glSamplerParameterf"), def_glSamplerParameterf); - fn_glSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glSamplerParameterfv"), def_glSamplerParameterfv); - fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameteriv"), def_glGetSamplerParameteriv); - fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer(proc("glGetSamplerParameterfv"), def_glGetSamplerParameterfv); - fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer(proc("glVertexAttribDivisor"), def_glVertexAttribDivisor); - fn_glBindTransformFeedback = new Deno.UnsafeFnPointer(proc("glBindTransformFeedback"), def_glBindTransformFeedback); - fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glDeleteTransformFeedbacks"), def_glDeleteTransformFeedbacks); - fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer(proc("glGenTransformFeedbacks"), def_glGenTransformFeedbacks); - fn_glIsTransformFeedback = new Deno.UnsafeFnPointer(proc("glIsTransformFeedback"), def_glIsTransformFeedback); - fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer(proc("glPauseTransformFeedback"), def_glPauseTransformFeedback); - fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer(proc("glResumeTransformFeedback"), def_glResumeTransformFeedback); - fn_glGetProgramBinary = new Deno.UnsafeFnPointer(proc("glGetProgramBinary"), def_glGetProgramBinary); - fn_glProgramBinary = new Deno.UnsafeFnPointer(proc("glProgramBinary"), def_glProgramBinary); - fn_glProgramParameteri = new Deno.UnsafeFnPointer(proc("glProgramParameteri"), def_glProgramParameteri); - fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateFramebuffer"), def_glInvalidateFramebuffer); - fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer(proc("glInvalidateSubFramebuffer"), def_glInvalidateSubFramebuffer); - fn_glTexStorage2D = new Deno.UnsafeFnPointer(proc("glTexStorage2D"), def_glTexStorage2D); - fn_glTexStorage3D = new Deno.UnsafeFnPointer(proc("glTexStorage3D"), def_glTexStorage3D); - fn_glGetInternalformativ = new Deno.UnsafeFnPointer(proc("glGetInternalformativ"), def_glGetInternalformativ); + fn_glGetInteger64v = new Deno.UnsafeFnPointer( + proc("glGetInteger64v"), + def_glGetInteger64v, + ); + fn_glGetSynciv = new Deno.UnsafeFnPointer( + proc("glGetSynciv"), + def_glGetSynciv, + ); + fn_glGetInteger64i_v = new Deno.UnsafeFnPointer( + proc("glGetInteger64i_v"), + def_glGetInteger64i_v, + ); + fn_glGetBufferParameteri64v = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteri64v"), + def_glGetBufferParameteri64v, + ); + fn_glGenSamplers = new Deno.UnsafeFnPointer( + proc("glGenSamplers"), + def_glGenSamplers, + ); + fn_glDeleteSamplers = new Deno.UnsafeFnPointer( + proc("glDeleteSamplers"), + def_glDeleteSamplers, + ); + fn_glIsSampler = new Deno.UnsafeFnPointer( + proc("glIsSampler"), + def_glIsSampler, + ); + fn_glBindSampler = new Deno.UnsafeFnPointer( + proc("glBindSampler"), + def_glBindSampler, + ); + fn_glSamplerParameteri = new Deno.UnsafeFnPointer( + proc("glSamplerParameteri"), + def_glSamplerParameteri, + ); + fn_glSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glSamplerParameteriv"), + def_glSamplerParameteriv, + ); + fn_glSamplerParameterf = new Deno.UnsafeFnPointer( + proc("glSamplerParameterf"), + def_glSamplerParameterf, + ); + fn_glSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glSamplerParameterfv"), + def_glSamplerParameterfv, + ); + fn_glGetSamplerParameteriv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameteriv"), + def_glGetSamplerParameteriv, + ); + fn_glGetSamplerParameterfv = new Deno.UnsafeFnPointer( + proc("glGetSamplerParameterfv"), + def_glGetSamplerParameterfv, + ); + fn_glVertexAttribDivisor = new Deno.UnsafeFnPointer( + proc("glVertexAttribDivisor"), + def_glVertexAttribDivisor, + ); + fn_glBindTransformFeedback = new Deno.UnsafeFnPointer( + proc("glBindTransformFeedback"), + def_glBindTransformFeedback, + ); + fn_glDeleteTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glDeleteTransformFeedbacks"), + def_glDeleteTransformFeedbacks, + ); + fn_glGenTransformFeedbacks = new Deno.UnsafeFnPointer( + proc("glGenTransformFeedbacks"), + def_glGenTransformFeedbacks, + ); + fn_glIsTransformFeedback = new Deno.UnsafeFnPointer( + proc("glIsTransformFeedback"), + def_glIsTransformFeedback, + ); + fn_glPauseTransformFeedback = new Deno.UnsafeFnPointer( + proc("glPauseTransformFeedback"), + def_glPauseTransformFeedback, + ); + fn_glResumeTransformFeedback = new Deno.UnsafeFnPointer( + proc("glResumeTransformFeedback"), + def_glResumeTransformFeedback, + ); + fn_glGetProgramBinary = new Deno.UnsafeFnPointer( + proc("glGetProgramBinary"), + def_glGetProgramBinary, + ); + fn_glProgramBinary = new Deno.UnsafeFnPointer( + proc("glProgramBinary"), + def_glProgramBinary, + ); + fn_glProgramParameteri = new Deno.UnsafeFnPointer( + proc("glProgramParameteri"), + def_glProgramParameteri, + ); + fn_glInvalidateFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateFramebuffer"), + def_glInvalidateFramebuffer, + ); + fn_glInvalidateSubFramebuffer = new Deno.UnsafeFnPointer( + proc("glInvalidateSubFramebuffer"), + def_glInvalidateSubFramebuffer, + ); + fn_glTexStorage2D = new Deno.UnsafeFnPointer( + proc("glTexStorage2D"), + def_glTexStorage2D, + ); + fn_glTexStorage3D = new Deno.UnsafeFnPointer( + proc("glTexStorage3D"), + def_glTexStorage3D, + ); + fn_glGetInternalformativ = new Deno.UnsafeFnPointer( + proc("glGetInternalformativ"), + def_glGetInternalformativ, + ); } diff --git a/api/glsc22.ts b/api/glsc22.ts index cfe6792..6b9dd65 100644 --- a/api/glsc22.ts +++ b/api/glsc22.ts @@ -1,7 +1,15 @@ /// This file is auto-generated. Do not edit. /// Util -export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; +export type TypedArray = + | Int8Array + | Uint8Array + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue; export function bufferToFFI(buf: Buffer): Uint8Array | null { @@ -460,7 +468,9 @@ export const def_glBlendEquationSeparate = { result: "void", } as const; -let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendEquationSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendEquationSeparate +>; export function BlendEquationSeparate( modeRGB: GLenum, @@ -494,7 +504,9 @@ export const def_glBlendFuncSeparate = { result: "void", } as const; -let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glBlendFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glBlendFuncSeparate +>; export function BlendFuncSeparate( sfactorRGB: GLenum, @@ -557,7 +569,9 @@ export const def_glCheckFramebufferStatus = { result: "u32", } as const; -let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer; +let fn_glCheckFramebufferStatus!: Deno.UnsafeFnPointer< + typeof def_glCheckFramebufferStatus +>; export function CheckFramebufferStatus( target: GLenum, @@ -655,11 +669,23 @@ export function ColorMask( } export const def_glCompressedTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "i32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "i32", + "buffer", + ], result: "void", } as const; -let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer; +let fn_glCompressedTexSubImage2D!: Deno.UnsafeFnPointer< + typeof def_glCompressedTexSubImage2D +>; export function CompressedTexSubImage2D( target: GLenum, @@ -778,7 +804,9 @@ export const def_glDisableVertexAttribArray = { result: "void", } as const; -let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glDisableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glDisableVertexAttribArray +>; export function DisableVertexAttribArray( index: GLuint, @@ -812,7 +840,9 @@ export const def_glDrawRangeElements = { result: "void", } as const; -let fn_glDrawRangeElements!: Deno.UnsafeFnPointer; +let fn_glDrawRangeElements!: Deno.UnsafeFnPointer< + typeof def_glDrawRangeElements +>; export function DrawRangeElements( mode: GLenum, @@ -852,7 +882,9 @@ export const def_glEnableVertexAttribArray = { result: "void", } as const; -let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer; +let fn_glEnableVertexAttribArray!: Deno.UnsafeFnPointer< + typeof def_glEnableVertexAttribArray +>; export function EnableVertexAttribArray( index: GLuint, @@ -889,7 +921,9 @@ export const def_glFramebufferRenderbuffer = { result: "void", } as const; -let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer; +let fn_glFramebufferRenderbuffer!: Deno.UnsafeFnPointer< + typeof def_glFramebufferRenderbuffer +>; export function FramebufferRenderbuffer( target: GLenum, @@ -910,7 +944,9 @@ export const def_glFramebufferTexture2D = { result: "void", } as const; -let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer; +let fn_glFramebufferTexture2D!: Deno.UnsafeFnPointer< + typeof def_glFramebufferTexture2D +>; export function FramebufferTexture2D( target: GLenum, @@ -1031,7 +1067,9 @@ export const def_glGetAttribLocation = { result: "i32", } as const; -let fn_glGetAttribLocation!: Deno.UnsafeFnPointer; +let fn_glGetAttribLocation!: Deno.UnsafeFnPointer< + typeof def_glGetAttribLocation +>; export function GetAttribLocation( program: GLuint, @@ -1065,7 +1103,9 @@ export const def_glGetBufferParameteriv = { result: "void", } as const; -let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetBufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetBufferParameteriv +>; export function GetBufferParameteriv( target: GLenum, @@ -1112,7 +1152,9 @@ export const def_glGetFramebufferAttachmentParameteriv = { result: "void", } as const; -let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetFramebufferAttachmentParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetFramebufferAttachmentParameteriv +>; export function GetFramebufferAttachmentParameteriv( target: GLenum, @@ -1133,7 +1175,9 @@ export const def_glGetGraphicsResetStatus = { result: "u32", } as const; -let fn_glGetGraphicsResetStatus!: Deno.UnsafeFnPointer; +let fn_glGetGraphicsResetStatus!: Deno.UnsafeFnPointer< + typeof def_glGetGraphicsResetStatus +>; export function GetGraphicsResetStatus(): GLenum { return fn_glGetGraphicsResetStatus.call(); @@ -1180,7 +1224,9 @@ export const def_glGetRenderbufferParameteriv = { result: "void", } as const; -let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetRenderbufferParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetRenderbufferParameteriv +>; export function GetRenderbufferParameteriv( target: GLenum, @@ -1214,7 +1260,9 @@ export const def_glGetTexParameterfv = { result: "void", } as const; -let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameterfv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameterfv +>; export function GetTexParameterfv( target: GLenum, @@ -1233,7 +1281,9 @@ export const def_glGetTexParameteriv = { result: "void", } as const; -let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer; +let fn_glGetTexParameteriv!: Deno.UnsafeFnPointer< + typeof def_glGetTexParameteriv +>; export function GetTexParameteriv( target: GLenum, @@ -1294,7 +1344,9 @@ export const def_glGetUniformLocation = { result: "i32", } as const; -let fn_glGetUniformLocation!: Deno.UnsafeFnPointer; +let fn_glGetUniformLocation!: Deno.UnsafeFnPointer< + typeof def_glGetUniformLocation +>; export function GetUniformLocation( program: GLuint, @@ -1311,7 +1363,9 @@ export const def_glGetVertexAttribfv = { result: "void", } as const; -let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribfv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribfv +>; export function GetVertexAttribfv( index: GLuint, @@ -1330,7 +1384,9 @@ export const def_glGetVertexAttribiv = { result: "void", } as const; -let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribiv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribiv +>; export function GetVertexAttribiv( index: GLuint, @@ -1349,7 +1405,9 @@ export const def_glGetVertexAttribPointerv = { result: "void", } as const; -let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer; +let fn_glGetVertexAttribPointerv!: Deno.UnsafeFnPointer< + typeof def_glGetVertexAttribPointerv +>; export function GetVertexAttribPointerv( index: GLuint, @@ -1499,7 +1557,9 @@ export const def_glRenderbufferStorage = { result: "void", } as const; -let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer; +let fn_glRenderbufferStorage!: Deno.UnsafeFnPointer< + typeof def_glRenderbufferStorage +>; export function RenderbufferStorage( target: GLenum, @@ -1577,7 +1637,9 @@ export const def_glStencilFuncSeparate = { result: "void", } as const; -let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilFuncSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilFuncSeparate +>; export function StencilFuncSeparate( face: GLenum, @@ -1613,7 +1675,9 @@ export const def_glStencilMaskSeparate = { result: "void", } as const; -let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilMaskSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilMaskSeparate +>; export function StencilMaskSeparate( face: GLenum, @@ -1649,7 +1713,9 @@ export const def_glStencilOpSeparate = { result: "void", } as const; -let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer; +let fn_glStencilOpSeparate!: Deno.UnsafeFnPointer< + typeof def_glStencilOpSeparate +>; export function StencilOpSeparate( face: GLenum, @@ -1765,7 +1831,17 @@ export function TexParameteriv( } export const def_glTexSubImage2D = { - parameters: ["u32", "i32", "i32", "i32", "i32", "i32", "u32", "u32", "buffer"], + parameters: [ + "u32", + "i32", + "i32", + "i32", + "i32", + "i32", + "u32", + "u32", + "buffer", + ], result: "void", } as const; @@ -2338,7 +2414,9 @@ export const def_glVertexAttribPointer = { result: "void", } as const; -let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer; +let fn_glVertexAttribPointer!: Deno.UnsafeFnPointer< + typeof def_glVertexAttribPointer +>; export function VertexAttribPointer( index: GLuint, @@ -2381,115 +2459,418 @@ export function Viewport( /** Loads all OpenGL API function pointers. */ export function load(proc: (name: string) => Deno.PointerValue): void { - fn_glActiveTexture = new Deno.UnsafeFnPointer(proc("glActiveTexture"), def_glActiveTexture); - fn_glBindBuffer = new Deno.UnsafeFnPointer(proc("glBindBuffer"), def_glBindBuffer); - fn_glBindFramebuffer = new Deno.UnsafeFnPointer(proc("glBindFramebuffer"), def_glBindFramebuffer); - fn_glBindRenderbuffer = new Deno.UnsafeFnPointer(proc("glBindRenderbuffer"), def_glBindRenderbuffer); - fn_glBindTexture = new Deno.UnsafeFnPointer(proc("glBindTexture"), def_glBindTexture); - fn_glBlendColor = new Deno.UnsafeFnPointer(proc("glBlendColor"), def_glBlendColor); - fn_glBlendEquation = new Deno.UnsafeFnPointer(proc("glBlendEquation"), def_glBlendEquation); - fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer(proc("glBlendEquationSeparate"), def_glBlendEquationSeparate); - fn_glBlendFunc = new Deno.UnsafeFnPointer(proc("glBlendFunc"), def_glBlendFunc); - fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer(proc("glBlendFuncSeparate"), def_glBlendFuncSeparate); - fn_glBufferData = new Deno.UnsafeFnPointer(proc("glBufferData"), def_glBufferData); - fn_glBufferSubData = new Deno.UnsafeFnPointer(proc("glBufferSubData"), def_glBufferSubData); - fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer(proc("glCheckFramebufferStatus"), def_glCheckFramebufferStatus); + fn_glActiveTexture = new Deno.UnsafeFnPointer( + proc("glActiveTexture"), + def_glActiveTexture, + ); + fn_glBindBuffer = new Deno.UnsafeFnPointer( + proc("glBindBuffer"), + def_glBindBuffer, + ); + fn_glBindFramebuffer = new Deno.UnsafeFnPointer( + proc("glBindFramebuffer"), + def_glBindFramebuffer, + ); + fn_glBindRenderbuffer = new Deno.UnsafeFnPointer( + proc("glBindRenderbuffer"), + def_glBindRenderbuffer, + ); + fn_glBindTexture = new Deno.UnsafeFnPointer( + proc("glBindTexture"), + def_glBindTexture, + ); + fn_glBlendColor = new Deno.UnsafeFnPointer( + proc("glBlendColor"), + def_glBlendColor, + ); + fn_glBlendEquation = new Deno.UnsafeFnPointer( + proc("glBlendEquation"), + def_glBlendEquation, + ); + fn_glBlendEquationSeparate = new Deno.UnsafeFnPointer( + proc("glBlendEquationSeparate"), + def_glBlendEquationSeparate, + ); + fn_glBlendFunc = new Deno.UnsafeFnPointer( + proc("glBlendFunc"), + def_glBlendFunc, + ); + fn_glBlendFuncSeparate = new Deno.UnsafeFnPointer( + proc("glBlendFuncSeparate"), + def_glBlendFuncSeparate, + ); + fn_glBufferData = new Deno.UnsafeFnPointer( + proc("glBufferData"), + def_glBufferData, + ); + fn_glBufferSubData = new Deno.UnsafeFnPointer( + proc("glBufferSubData"), + def_glBufferSubData, + ); + fn_glCheckFramebufferStatus = new Deno.UnsafeFnPointer( + proc("glCheckFramebufferStatus"), + def_glCheckFramebufferStatus, + ); fn_glClear = new Deno.UnsafeFnPointer(proc("glClear"), def_glClear); - fn_glClearColor = new Deno.UnsafeFnPointer(proc("glClearColor"), def_glClearColor); - fn_glClearDepthf = new Deno.UnsafeFnPointer(proc("glClearDepthf"), def_glClearDepthf); - fn_glClearStencil = new Deno.UnsafeFnPointer(proc("glClearStencil"), def_glClearStencil); - fn_glColorMask = new Deno.UnsafeFnPointer(proc("glColorMask"), def_glColorMask); - fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer(proc("glCompressedTexSubImage2D"), def_glCompressedTexSubImage2D); - fn_glCreateProgram = new Deno.UnsafeFnPointer(proc("glCreateProgram"), def_glCreateProgram); + fn_glClearColor = new Deno.UnsafeFnPointer( + proc("glClearColor"), + def_glClearColor, + ); + fn_glClearDepthf = new Deno.UnsafeFnPointer( + proc("glClearDepthf"), + def_glClearDepthf, + ); + fn_glClearStencil = new Deno.UnsafeFnPointer( + proc("glClearStencil"), + def_glClearStencil, + ); + fn_glColorMask = new Deno.UnsafeFnPointer( + proc("glColorMask"), + def_glColorMask, + ); + fn_glCompressedTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glCompressedTexSubImage2D"), + def_glCompressedTexSubImage2D, + ); + fn_glCreateProgram = new Deno.UnsafeFnPointer( + proc("glCreateProgram"), + def_glCreateProgram, + ); fn_glCullFace = new Deno.UnsafeFnPointer(proc("glCullFace"), def_glCullFace); - fn_glDepthFunc = new Deno.UnsafeFnPointer(proc("glDepthFunc"), def_glDepthFunc); - fn_glDepthMask = new Deno.UnsafeFnPointer(proc("glDepthMask"), def_glDepthMask); - fn_glDepthRangef = new Deno.UnsafeFnPointer(proc("glDepthRangef"), def_glDepthRangef); + fn_glDepthFunc = new Deno.UnsafeFnPointer( + proc("glDepthFunc"), + def_glDepthFunc, + ); + fn_glDepthMask = new Deno.UnsafeFnPointer( + proc("glDepthMask"), + def_glDepthMask, + ); + fn_glDepthRangef = new Deno.UnsafeFnPointer( + proc("glDepthRangef"), + def_glDepthRangef, + ); fn_glDisable = new Deno.UnsafeFnPointer(proc("glDisable"), def_glDisable); - fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glDisableVertexAttribArray"), def_glDisableVertexAttribArray); - fn_glDrawArrays = new Deno.UnsafeFnPointer(proc("glDrawArrays"), def_glDrawArrays); - fn_glDrawRangeElements = new Deno.UnsafeFnPointer(proc("glDrawRangeElements"), def_glDrawRangeElements); + fn_glDisableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glDisableVertexAttribArray"), + def_glDisableVertexAttribArray, + ); + fn_glDrawArrays = new Deno.UnsafeFnPointer( + proc("glDrawArrays"), + def_glDrawArrays, + ); + fn_glDrawRangeElements = new Deno.UnsafeFnPointer( + proc("glDrawRangeElements"), + def_glDrawRangeElements, + ); fn_glEnable = new Deno.UnsafeFnPointer(proc("glEnable"), def_glEnable); - fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer(proc("glEnableVertexAttribArray"), def_glEnableVertexAttribArray); + fn_glEnableVertexAttribArray = new Deno.UnsafeFnPointer( + proc("glEnableVertexAttribArray"), + def_glEnableVertexAttribArray, + ); fn_glFinish = new Deno.UnsafeFnPointer(proc("glFinish"), def_glFinish); fn_glFlush = new Deno.UnsafeFnPointer(proc("glFlush"), def_glFlush); - fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer(proc("glFramebufferRenderbuffer"), def_glFramebufferRenderbuffer); - fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer(proc("glFramebufferTexture2D"), def_glFramebufferTexture2D); - fn_glFrontFace = new Deno.UnsafeFnPointer(proc("glFrontFace"), def_glFrontFace); - fn_glGenBuffers = new Deno.UnsafeFnPointer(proc("glGenBuffers"), def_glGenBuffers); - fn_glGenerateMipmap = new Deno.UnsafeFnPointer(proc("glGenerateMipmap"), def_glGenerateMipmap); - fn_glGenFramebuffers = new Deno.UnsafeFnPointer(proc("glGenFramebuffers"), def_glGenFramebuffers); - fn_glGenRenderbuffers = new Deno.UnsafeFnPointer(proc("glGenRenderbuffers"), def_glGenRenderbuffers); - fn_glGenTextures = new Deno.UnsafeFnPointer(proc("glGenTextures"), def_glGenTextures); - fn_glGetAttribLocation = new Deno.UnsafeFnPointer(proc("glGetAttribLocation"), def_glGetAttribLocation); - fn_glGetBooleanv = new Deno.UnsafeFnPointer(proc("glGetBooleanv"), def_glGetBooleanv); - fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetBufferParameteriv"), def_glGetBufferParameteriv); + fn_glFramebufferRenderbuffer = new Deno.UnsafeFnPointer( + proc("glFramebufferRenderbuffer"), + def_glFramebufferRenderbuffer, + ); + fn_glFramebufferTexture2D = new Deno.UnsafeFnPointer( + proc("glFramebufferTexture2D"), + def_glFramebufferTexture2D, + ); + fn_glFrontFace = new Deno.UnsafeFnPointer( + proc("glFrontFace"), + def_glFrontFace, + ); + fn_glGenBuffers = new Deno.UnsafeFnPointer( + proc("glGenBuffers"), + def_glGenBuffers, + ); + fn_glGenerateMipmap = new Deno.UnsafeFnPointer( + proc("glGenerateMipmap"), + def_glGenerateMipmap, + ); + fn_glGenFramebuffers = new Deno.UnsafeFnPointer( + proc("glGenFramebuffers"), + def_glGenFramebuffers, + ); + fn_glGenRenderbuffers = new Deno.UnsafeFnPointer( + proc("glGenRenderbuffers"), + def_glGenRenderbuffers, + ); + fn_glGenTextures = new Deno.UnsafeFnPointer( + proc("glGenTextures"), + def_glGenTextures, + ); + fn_glGetAttribLocation = new Deno.UnsafeFnPointer( + proc("glGetAttribLocation"), + def_glGetAttribLocation, + ); + fn_glGetBooleanv = new Deno.UnsafeFnPointer( + proc("glGetBooleanv"), + def_glGetBooleanv, + ); + fn_glGetBufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetBufferParameteriv"), + def_glGetBufferParameteriv, + ); fn_glGetError = new Deno.UnsafeFnPointer(proc("glGetError"), def_glGetError); - fn_glGetFloatv = new Deno.UnsafeFnPointer(proc("glGetFloatv"), def_glGetFloatv); - fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer(proc("glGetFramebufferAttachmentParameteriv"), def_glGetFramebufferAttachmentParameteriv); - fn_glGetGraphicsResetStatus = new Deno.UnsafeFnPointer(proc("glGetGraphicsResetStatus"), def_glGetGraphicsResetStatus); - fn_glGetIntegerv = new Deno.UnsafeFnPointer(proc("glGetIntegerv"), def_glGetIntegerv); - fn_glGetProgramiv = new Deno.UnsafeFnPointer(proc("glGetProgramiv"), def_glGetProgramiv); - fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer(proc("glGetRenderbufferParameteriv"), def_glGetRenderbufferParameteriv); - fn_glGetString = new Deno.UnsafeFnPointer(proc("glGetString"), def_glGetString); - fn_glGetTexParameterfv = new Deno.UnsafeFnPointer(proc("glGetTexParameterfv"), def_glGetTexParameterfv); - fn_glGetTexParameteriv = new Deno.UnsafeFnPointer(proc("glGetTexParameteriv"), def_glGetTexParameteriv); - fn_glGetnUniformfv = new Deno.UnsafeFnPointer(proc("glGetnUniformfv"), def_glGetnUniformfv); - fn_glGetnUniformiv = new Deno.UnsafeFnPointer(proc("glGetnUniformiv"), def_glGetnUniformiv); - fn_glGetUniformLocation = new Deno.UnsafeFnPointer(proc("glGetUniformLocation"), def_glGetUniformLocation); - fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribfv"), def_glGetVertexAttribfv); - fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribiv"), def_glGetVertexAttribiv); - fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer(proc("glGetVertexAttribPointerv"), def_glGetVertexAttribPointerv); + fn_glGetFloatv = new Deno.UnsafeFnPointer( + proc("glGetFloatv"), + def_glGetFloatv, + ); + fn_glGetFramebufferAttachmentParameteriv = new Deno.UnsafeFnPointer( + proc("glGetFramebufferAttachmentParameteriv"), + def_glGetFramebufferAttachmentParameteriv, + ); + fn_glGetGraphicsResetStatus = new Deno.UnsafeFnPointer( + proc("glGetGraphicsResetStatus"), + def_glGetGraphicsResetStatus, + ); + fn_glGetIntegerv = new Deno.UnsafeFnPointer( + proc("glGetIntegerv"), + def_glGetIntegerv, + ); + fn_glGetProgramiv = new Deno.UnsafeFnPointer( + proc("glGetProgramiv"), + def_glGetProgramiv, + ); + fn_glGetRenderbufferParameteriv = new Deno.UnsafeFnPointer( + proc("glGetRenderbufferParameteriv"), + def_glGetRenderbufferParameteriv, + ); + fn_glGetString = new Deno.UnsafeFnPointer( + proc("glGetString"), + def_glGetString, + ); + fn_glGetTexParameterfv = new Deno.UnsafeFnPointer( + proc("glGetTexParameterfv"), + def_glGetTexParameterfv, + ); + fn_glGetTexParameteriv = new Deno.UnsafeFnPointer( + proc("glGetTexParameteriv"), + def_glGetTexParameteriv, + ); + fn_glGetnUniformfv = new Deno.UnsafeFnPointer( + proc("glGetnUniformfv"), + def_glGetnUniformfv, + ); + fn_glGetnUniformiv = new Deno.UnsafeFnPointer( + proc("glGetnUniformiv"), + def_glGetnUniformiv, + ); + fn_glGetUniformLocation = new Deno.UnsafeFnPointer( + proc("glGetUniformLocation"), + def_glGetUniformLocation, + ); + fn_glGetVertexAttribfv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribfv"), + def_glGetVertexAttribfv, + ); + fn_glGetVertexAttribiv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribiv"), + def_glGetVertexAttribiv, + ); + fn_glGetVertexAttribPointerv = new Deno.UnsafeFnPointer( + proc("glGetVertexAttribPointerv"), + def_glGetVertexAttribPointerv, + ); fn_glHint = new Deno.UnsafeFnPointer(proc("glHint"), def_glHint); - fn_glIsEnabled = new Deno.UnsafeFnPointer(proc("glIsEnabled"), def_glIsEnabled); - fn_glLineWidth = new Deno.UnsafeFnPointer(proc("glLineWidth"), def_glLineWidth); - fn_glPixelStorei = new Deno.UnsafeFnPointer(proc("glPixelStorei"), def_glPixelStorei); - fn_glPolygonOffset = new Deno.UnsafeFnPointer(proc("glPolygonOffset"), def_glPolygonOffset); - fn_glProgramBinary = new Deno.UnsafeFnPointer(proc("glProgramBinary"), def_glProgramBinary); - fn_glReadnPixels = new Deno.UnsafeFnPointer(proc("glReadnPixels"), def_glReadnPixels); - fn_glRenderbufferStorage = new Deno.UnsafeFnPointer(proc("glRenderbufferStorage"), def_glRenderbufferStorage); - fn_glSampleCoverage = new Deno.UnsafeFnPointer(proc("glSampleCoverage"), def_glSampleCoverage); + fn_glIsEnabled = new Deno.UnsafeFnPointer( + proc("glIsEnabled"), + def_glIsEnabled, + ); + fn_glLineWidth = new Deno.UnsafeFnPointer( + proc("glLineWidth"), + def_glLineWidth, + ); + fn_glPixelStorei = new Deno.UnsafeFnPointer( + proc("glPixelStorei"), + def_glPixelStorei, + ); + fn_glPolygonOffset = new Deno.UnsafeFnPointer( + proc("glPolygonOffset"), + def_glPolygonOffset, + ); + fn_glProgramBinary = new Deno.UnsafeFnPointer( + proc("glProgramBinary"), + def_glProgramBinary, + ); + fn_glReadnPixels = new Deno.UnsafeFnPointer( + proc("glReadnPixels"), + def_glReadnPixels, + ); + fn_glRenderbufferStorage = new Deno.UnsafeFnPointer( + proc("glRenderbufferStorage"), + def_glRenderbufferStorage, + ); + fn_glSampleCoverage = new Deno.UnsafeFnPointer( + proc("glSampleCoverage"), + def_glSampleCoverage, + ); fn_glScissor = new Deno.UnsafeFnPointer(proc("glScissor"), def_glScissor); - fn_glStencilFunc = new Deno.UnsafeFnPointer(proc("glStencilFunc"), def_glStencilFunc); - fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer(proc("glStencilFuncSeparate"), def_glStencilFuncSeparate); - fn_glStencilMask = new Deno.UnsafeFnPointer(proc("glStencilMask"), def_glStencilMask); - fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer(proc("glStencilMaskSeparate"), def_glStencilMaskSeparate); - fn_glStencilOp = new Deno.UnsafeFnPointer(proc("glStencilOp"), def_glStencilOp); - fn_glStencilOpSeparate = new Deno.UnsafeFnPointer(proc("glStencilOpSeparate"), def_glStencilOpSeparate); - fn_glTexStorage2D = new Deno.UnsafeFnPointer(proc("glTexStorage2D"), def_glTexStorage2D); - fn_glTexParameterf = new Deno.UnsafeFnPointer(proc("glTexParameterf"), def_glTexParameterf); - fn_glTexParameterfv = new Deno.UnsafeFnPointer(proc("glTexParameterfv"), def_glTexParameterfv); - fn_glTexParameteri = new Deno.UnsafeFnPointer(proc("glTexParameteri"), def_glTexParameteri); - fn_glTexParameteriv = new Deno.UnsafeFnPointer(proc("glTexParameteriv"), def_glTexParameteriv); - fn_glTexSubImage2D = new Deno.UnsafeFnPointer(proc("glTexSubImage2D"), def_glTexSubImage2D); - fn_glUniform1f = new Deno.UnsafeFnPointer(proc("glUniform1f"), def_glUniform1f); - fn_glUniform1fv = new Deno.UnsafeFnPointer(proc("glUniform1fv"), def_glUniform1fv); - fn_glUniform1i = new Deno.UnsafeFnPointer(proc("glUniform1i"), def_glUniform1i); - fn_glUniform1iv = new Deno.UnsafeFnPointer(proc("glUniform1iv"), def_glUniform1iv); - fn_glUniform2f = new Deno.UnsafeFnPointer(proc("glUniform2f"), def_glUniform2f); - fn_glUniform2fv = new Deno.UnsafeFnPointer(proc("glUniform2fv"), def_glUniform2fv); - fn_glUniform2i = new Deno.UnsafeFnPointer(proc("glUniform2i"), def_glUniform2i); - fn_glUniform2iv = new Deno.UnsafeFnPointer(proc("glUniform2iv"), def_glUniform2iv); - fn_glUniform3f = new Deno.UnsafeFnPointer(proc("glUniform3f"), def_glUniform3f); - fn_glUniform3fv = new Deno.UnsafeFnPointer(proc("glUniform3fv"), def_glUniform3fv); - fn_glUniform3i = new Deno.UnsafeFnPointer(proc("glUniform3i"), def_glUniform3i); - fn_glUniform3iv = new Deno.UnsafeFnPointer(proc("glUniform3iv"), def_glUniform3iv); - fn_glUniform4f = new Deno.UnsafeFnPointer(proc("glUniform4f"), def_glUniform4f); - fn_glUniform4fv = new Deno.UnsafeFnPointer(proc("glUniform4fv"), def_glUniform4fv); - fn_glUniform4i = new Deno.UnsafeFnPointer(proc("glUniform4i"), def_glUniform4i); - fn_glUniform4iv = new Deno.UnsafeFnPointer(proc("glUniform4iv"), def_glUniform4iv); - fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix2fv"), def_glUniformMatrix2fv); - fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix3fv"), def_glUniformMatrix3fv); - fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer(proc("glUniformMatrix4fv"), def_glUniformMatrix4fv); - fn_glUseProgram = new Deno.UnsafeFnPointer(proc("glUseProgram"), def_glUseProgram); - fn_glVertexAttrib1f = new Deno.UnsafeFnPointer(proc("glVertexAttrib1f"), def_glVertexAttrib1f); - fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib1fv"), def_glVertexAttrib1fv); - fn_glVertexAttrib2f = new Deno.UnsafeFnPointer(proc("glVertexAttrib2f"), def_glVertexAttrib2f); - fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib2fv"), def_glVertexAttrib2fv); - fn_glVertexAttrib3f = new Deno.UnsafeFnPointer(proc("glVertexAttrib3f"), def_glVertexAttrib3f); - fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib3fv"), def_glVertexAttrib3fv); - fn_glVertexAttrib4f = new Deno.UnsafeFnPointer(proc("glVertexAttrib4f"), def_glVertexAttrib4f); - fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer(proc("glVertexAttrib4fv"), def_glVertexAttrib4fv); - fn_glVertexAttribPointer = new Deno.UnsafeFnPointer(proc("glVertexAttribPointer"), def_glVertexAttribPointer); + fn_glStencilFunc = new Deno.UnsafeFnPointer( + proc("glStencilFunc"), + def_glStencilFunc, + ); + fn_glStencilFuncSeparate = new Deno.UnsafeFnPointer( + proc("glStencilFuncSeparate"), + def_glStencilFuncSeparate, + ); + fn_glStencilMask = new Deno.UnsafeFnPointer( + proc("glStencilMask"), + def_glStencilMask, + ); + fn_glStencilMaskSeparate = new Deno.UnsafeFnPointer( + proc("glStencilMaskSeparate"), + def_glStencilMaskSeparate, + ); + fn_glStencilOp = new Deno.UnsafeFnPointer( + proc("glStencilOp"), + def_glStencilOp, + ); + fn_glStencilOpSeparate = new Deno.UnsafeFnPointer( + proc("glStencilOpSeparate"), + def_glStencilOpSeparate, + ); + fn_glTexStorage2D = new Deno.UnsafeFnPointer( + proc("glTexStorage2D"), + def_glTexStorage2D, + ); + fn_glTexParameterf = new Deno.UnsafeFnPointer( + proc("glTexParameterf"), + def_glTexParameterf, + ); + fn_glTexParameterfv = new Deno.UnsafeFnPointer( + proc("glTexParameterfv"), + def_glTexParameterfv, + ); + fn_glTexParameteri = new Deno.UnsafeFnPointer( + proc("glTexParameteri"), + def_glTexParameteri, + ); + fn_glTexParameteriv = new Deno.UnsafeFnPointer( + proc("glTexParameteriv"), + def_glTexParameteriv, + ); + fn_glTexSubImage2D = new Deno.UnsafeFnPointer( + proc("glTexSubImage2D"), + def_glTexSubImage2D, + ); + fn_glUniform1f = new Deno.UnsafeFnPointer( + proc("glUniform1f"), + def_glUniform1f, + ); + fn_glUniform1fv = new Deno.UnsafeFnPointer( + proc("glUniform1fv"), + def_glUniform1fv, + ); + fn_glUniform1i = new Deno.UnsafeFnPointer( + proc("glUniform1i"), + def_glUniform1i, + ); + fn_glUniform1iv = new Deno.UnsafeFnPointer( + proc("glUniform1iv"), + def_glUniform1iv, + ); + fn_glUniform2f = new Deno.UnsafeFnPointer( + proc("glUniform2f"), + def_glUniform2f, + ); + fn_glUniform2fv = new Deno.UnsafeFnPointer( + proc("glUniform2fv"), + def_glUniform2fv, + ); + fn_glUniform2i = new Deno.UnsafeFnPointer( + proc("glUniform2i"), + def_glUniform2i, + ); + fn_glUniform2iv = new Deno.UnsafeFnPointer( + proc("glUniform2iv"), + def_glUniform2iv, + ); + fn_glUniform3f = new Deno.UnsafeFnPointer( + proc("glUniform3f"), + def_glUniform3f, + ); + fn_glUniform3fv = new Deno.UnsafeFnPointer( + proc("glUniform3fv"), + def_glUniform3fv, + ); + fn_glUniform3i = new Deno.UnsafeFnPointer( + proc("glUniform3i"), + def_glUniform3i, + ); + fn_glUniform3iv = new Deno.UnsafeFnPointer( + proc("glUniform3iv"), + def_glUniform3iv, + ); + fn_glUniform4f = new Deno.UnsafeFnPointer( + proc("glUniform4f"), + def_glUniform4f, + ); + fn_glUniform4fv = new Deno.UnsafeFnPointer( + proc("glUniform4fv"), + def_glUniform4fv, + ); + fn_glUniform4i = new Deno.UnsafeFnPointer( + proc("glUniform4i"), + def_glUniform4i, + ); + fn_glUniform4iv = new Deno.UnsafeFnPointer( + proc("glUniform4iv"), + def_glUniform4iv, + ); + fn_glUniformMatrix2fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix2fv"), + def_glUniformMatrix2fv, + ); + fn_glUniformMatrix3fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix3fv"), + def_glUniformMatrix3fv, + ); + fn_glUniformMatrix4fv = new Deno.UnsafeFnPointer( + proc("glUniformMatrix4fv"), + def_glUniformMatrix4fv, + ); + fn_glUseProgram = new Deno.UnsafeFnPointer( + proc("glUseProgram"), + def_glUseProgram, + ); + fn_glVertexAttrib1f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1f"), + def_glVertexAttrib1f, + ); + fn_glVertexAttrib1fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib1fv"), + def_glVertexAttrib1fv, + ); + fn_glVertexAttrib2f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2f"), + def_glVertexAttrib2f, + ); + fn_glVertexAttrib2fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib2fv"), + def_glVertexAttrib2fv, + ); + fn_glVertexAttrib3f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3f"), + def_glVertexAttrib3f, + ); + fn_glVertexAttrib3fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib3fv"), + def_glVertexAttrib3fv, + ); + fn_glVertexAttrib4f = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4f"), + def_glVertexAttrib4f, + ); + fn_glVertexAttrib4fv = new Deno.UnsafeFnPointer( + proc("glVertexAttrib4fv"), + def_glVertexAttrib4fv, + ); + fn_glVertexAttribPointer = new Deno.UnsafeFnPointer( + proc("glVertexAttribPointer"), + def_glVertexAttribPointer, + ); fn_glViewport = new Deno.UnsafeFnPointer(proc("glViewport"), def_glViewport); } diff --git a/scripts/emitter.ts b/scripts/emitter.ts index 0623506..cac2a29 100644 --- a/scripts/emitter.ts +++ b/scripts/emitter.ts @@ -1,315 +1,315 @@ -import { - Command, - commands, - enums, - Extension, - extensions, - Feature, - features, - RequireOrRemove, - typedefs, -} from "./process_xml.ts"; - -let src = ""; -let ident = 0; - -export function reset() { - src = `/// This file is auto-generated. Do not edit.\n`; - ident = 0; -} - -export function newline() { - emit(""); -} - -export function emit(line: string, newline = "\n") { - src += (" ".repeat(ident)) + line + newline; -} - -export function block(fn: CallableFunction) { - ident += 1; - fn(); - ident -= 1; -} - -export function jsify(name: string) { - if (["function"].includes(name)) { - return "_" + name; - } else { - return name; - } -} - -export function stripGL(name: string) { - if (name.startsWith("gl")) { - name = name.slice(2); - } else if (name.startsWith("GL_")) { - name = name.slice(3); - } - if (name.match(/^[0-9]/)) { - name = "GL_" + name; - } - return name; -} - -export function write(file: string) { - Deno.writeTextFileSync(new URL(file, import.meta.url), src); -} - -export function toJSType(ty: string): string { - switch (ty) { - case "u8": - case "u16": - case "u32": - case "i8": - case "i16": - case "i32": - case "f32": - case "f64": - return "number"; - case "void": - return "void"; - case "u64": - case "i64": - case "usize": - case "isize": - return "Deno.PointerValue"; - case "buffer": - case "pointer": - return "Buffer"; - default: { - if (ty.endsWith("*")) { - return toJSType("pointer"); - } - const td = typedefs.find((t) => t.name === ty); - if (td) { - return td.name; - } - throw new Error(`Unknown type: ${ty}`); - } - } -} - -export function toFFIType(ty: string): string { - switch (ty) { - case "u8": - case "u16": - case "u32": - case "i8": - case "i16": - case "i32": - case "f32": - case "f64": - case "void": - case "u64": - case "i64": - case "usize": - case "isize": - case "buffer": - return ty; - case "pointer": - return "buffer"; - default: { - if (ty.endsWith("*")) { - return toFFIType("pointer"); - } - const td = typedefs.find((t) => t.name === ty); - if (td) { - return toFFIType(td.type); - } - throw new Error(`Unknown type: ${ty}`); - } - } -} - -export function emitRequire(req: RequireOrRemove) { - newline(); - emit("/// Util"); - emit( - `export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array;`, - ); - emit( - `export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue;`, - ); - newline(); - emit("export function bufferToFFI(buf: Buffer): Uint8Array | null {"); - block(() => { - emit("if (buf === null) return null;"); - emit(`else if (typeof buf === "number" || typeof buf === "bigint") {`); - block(() => { - emit("if (buf === 0 || buf === 0n) return null;"); - emit( - "return new Uint8Array(Deno.UnsafePointerView.getArrayBuffer(buf, 1));", - ); - }); - emit(`} else if (buf instanceof ArrayBuffer) {`); - block(() => { - emit(`return new Uint8Array(buf);`); - }); - emit(`} else {`); - block(() => { - emit(`return new Uint8Array(buf.buffer);`); - }); - emit(`}`); - }); - emit("}"); - newline(); - emit("/// Typedefs"); - for (const td of typedefs) { - if (td.comment) { - emit(`/** ${td.comment} */`); - } - emit(`export type ${td.name} = ${toJSType(td.type)};`); - } - - if (req.enums.length > 0) { - newline(); - emit("/// Enums"); - for (const name of req.enums) { - const en = enums.find((e) => e.name === name); - if (!en) { - throw new Error(`Enum ${name} not found`); - } - emit( - `export const ${stripGL(en.name)} = ${ - typeof en.value === "number" - ? ("0x" + en.value.toString(16)) - : en.value - };`, - ); - } - } - - if (req.commands.length > 0) { - newline(); - emit("/// Commands"); - for (const name of req.commands) { - const cmd = commands.find((c) => c.name === name); - if (!cmd) { - throw new Error(`Command ${name} not found`); - } - newline(); - emitCommand(cmd); - } - - newline(); - emit(`/** Loads all OpenGL API function pointers. */`); - emit( - `export function load(proc: (name: string) => Deno.PointerValue): void {`, - ); - block(() => { - for (const name of req.commands) { - const cmd = commands.find((c) => c.name === name); - if (!cmd) { - throw new Error(`Command ${name} not found`); - } - emit( - `fn_${cmd.name} = new Deno.UnsafeFnPointer(proc("${cmd.name}"), def_${cmd.name});`, - ); - } - }); - emit(`}`); - } -} - -export function emitCommand(cmd: Command) { - emit(`export const def_${cmd.name} = {`); - block(() => { - emit( - `parameters: [${ - cmd.params.map((e) => `"${toFFIType(e.type)}"`).join(", ") - }],`, - ); - emit(`result: "${toFFIType(cmd.result)}",`); - }); - emit(`} as const;`); - newline(); - emit(`let fn_${cmd.name}!: Deno.UnsafeFnPointer;`); - newline(); - if (cmd.comment) { - emit(`/** ${cmd.comment} */`); - } - const rtype = toJSType(cmd.result); - if (cmd.params.length) { - emit(`export function ${stripGL(cmd.name)}(`); - block(() => { - for (const p of cmd.params) { - emit(`${p.name}: ${toJSType(p.type)},`); - } - }); - emit(`): ${rtype} {`); - } else { - emit(`export function ${stripGL(cmd.name)}(): ${rtype} {`); - } - block(() => { - const ret = cmd.result !== "void" ? "return " : ""; - if (cmd.params.length === 0) { - emit(`${ret}fn_${cmd.name}.call();`); - } else { - emit(`${ret}fn_${cmd.name}.call(`); - block(() => { - for (const p of cmd.params) { - emit( - `${ - toFFIType(p.type) === "buffer" ? `bufferToFFI(${p.name})` : p.name - },`, - ); - } - }); - emit(`);`); - } - }); - emit(`}`); -} - -export function emitFeature(feature: Feature) { - reset(); - const accum: RequireOrRemove = { - typedefs: [], - enums: [], - commands: [], - }; - for (const f of features) { - if (f.api !== feature.api) continue; - if (f.number <= feature.number) { - accum.enums.push(...f.require.enums); - accum.commands.push(...f.require.commands); - accum.typedefs = accum.typedefs.filter((x) => - !f.remove.typedefs.includes(x) - ); - accum.enums = accum.enums.filter((x) => !f.remove.enums.includes(x)); - accum.commands = accum.commands.filter((x) => - !f.remove.commands.includes(x) - ); - } - } - accum.enums = [...new Set(accum.enums)]; - accum.commands = [...new Set(accum.commands)]; - emitRequire(accum); - write(`../api/${feature.api}${feature.number}.ts`); - console.log("Emit", feature.api, feature.number); -} - -export function emitExtension(ext: Extension) { - reset(); - emitRequire(ext.require); - write("../api/ext/" + ext.name + ".ts"); - console.log("Emit", ext.name); -} - -try { - Deno.removeSync(new URL("../api", import.meta.url), { recursive: true }); -} catch (_e) { - // pass -} - -Deno.mkdirSync(new URL("../api", import.meta.url)); -Deno.mkdirSync(new URL("../api/ext", import.meta.url)); - -for (const feature of features) { - emitFeature(feature); -} - -for (const ext of extensions) { - emitExtension(ext); -} +import { + Command, + commands, + enums, + Extension, + extensions, + Feature, + features, + RequireOrRemove, + typedefs, +} from "./process_xml.ts"; + +let src = ""; +let ident = 0; + +export function reset() { + src = `/// This file is auto-generated. Do not edit.\n`; + ident = 0; +} + +export function newline() { + emit(""); +} + +export function emit(line: string, newline = "\n") { + src += (" ".repeat(ident)) + line + newline; +} + +export function block(fn: CallableFunction) { + ident += 1; + fn(); + ident -= 1; +} + +export function jsify(name: string) { + if (["function"].includes(name)) { + return "_" + name; + } else { + return name; + } +} + +export function stripGL(name: string) { + if (name.startsWith("gl")) { + name = name.slice(2); + } else if (name.startsWith("GL_")) { + name = name.slice(3); + } + if (name.match(/^[0-9]/)) { + name = "GL_" + name; + } + return name; +} + +export function write(file: string) { + Deno.writeTextFileSync(new URL(file, import.meta.url), src); +} + +export function toJSType(ty: string): string { + switch (ty) { + case "u8": + case "u16": + case "u32": + case "i8": + case "i16": + case "i32": + case "f32": + case "f64": + return "number"; + case "void": + return "void"; + case "u64": + case "i64": + case "usize": + case "isize": + return "Deno.PointerValue"; + case "buffer": + case "pointer": + return "Buffer"; + default: { + if (ty.endsWith("*")) { + return toJSType("pointer"); + } + const td = typedefs.find((t) => t.name === ty); + if (td) { + return td.name; + } + throw new Error(`Unknown type: ${ty}`); + } + } +} + +export function toFFIType(ty: string): string { + switch (ty) { + case "u8": + case "u16": + case "u32": + case "i8": + case "i16": + case "i32": + case "f32": + case "f64": + case "void": + case "u64": + case "i64": + case "usize": + case "isize": + case "buffer": + return ty; + case "pointer": + return "buffer"; + default: { + if (ty.endsWith("*")) { + return toFFIType("pointer"); + } + const td = typedefs.find((t) => t.name === ty); + if (td) { + return toFFIType(td.type); + } + throw new Error(`Unknown type: ${ty}`); + } + } +} + +export function emitRequire(req: RequireOrRemove) { + newline(); + emit("/// Util"); + emit( + `export type TypedArray = Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array;`, + ); + emit( + `export type Buffer = TypedArray | ArrayBuffer | null | Deno.PointerValue;`, + ); + newline(); + emit("export function bufferToFFI(buf: Buffer): Uint8Array | null {"); + block(() => { + emit("if (buf === null) return null;"); + emit(`else if (typeof buf === "number" || typeof buf === "bigint") {`); + block(() => { + emit("if (buf === 0 || buf === 0n) return null;"); + emit( + "return new Uint8Array(Deno.UnsafePointerView.getArrayBuffer(buf, 1));", + ); + }); + emit(`} else if (buf instanceof ArrayBuffer) {`); + block(() => { + emit(`return new Uint8Array(buf);`); + }); + emit(`} else {`); + block(() => { + emit(`return new Uint8Array(buf.buffer);`); + }); + emit(`}`); + }); + emit("}"); + newline(); + emit("/// Typedefs"); + for (const td of typedefs) { + if (td.comment) { + emit(`/** ${td.comment} */`); + } + emit(`export type ${td.name} = ${toJSType(td.type)};`); + } + + if (req.enums.length > 0) { + newline(); + emit("/// Enums"); + for (const name of req.enums) { + const en = enums.find((e) => e.name === name); + if (!en) { + throw new Error(`Enum ${name} not found`); + } + emit( + `export const ${stripGL(en.name)} = ${ + typeof en.value === "number" + ? ("0x" + en.value.toString(16)) + : en.value + };`, + ); + } + } + + if (req.commands.length > 0) { + newline(); + emit("/// Commands"); + for (const name of req.commands) { + const cmd = commands.find((c) => c.name === name); + if (!cmd) { + throw new Error(`Command ${name} not found`); + } + newline(); + emitCommand(cmd); + } + + newline(); + emit(`/** Loads all OpenGL API function pointers. */`); + emit( + `export function load(proc: (name: string) => Deno.PointerValue): void {`, + ); + block(() => { + for (const name of req.commands) { + const cmd = commands.find((c) => c.name === name); + if (!cmd) { + throw new Error(`Command ${name} not found`); + } + emit( + `fn_${cmd.name} = new Deno.UnsafeFnPointer(proc("${cmd.name}"), def_${cmd.name});`, + ); + } + }); + emit(`}`); + } +} + +export function emitCommand(cmd: Command) { + emit(`export const def_${cmd.name} = {`); + block(() => { + emit( + `parameters: [${ + cmd.params.map((e) => `"${toFFIType(e.type)}"`).join(", ") + }],`, + ); + emit(`result: "${toFFIType(cmd.result)}",`); + }); + emit(`} as const;`); + newline(); + emit(`let fn_${cmd.name}!: Deno.UnsafeFnPointer;`); + newline(); + if (cmd.comment) { + emit(`/** ${cmd.comment} */`); + } + const rtype = toJSType(cmd.result); + if (cmd.params.length) { + emit(`export function ${stripGL(cmd.name)}(`); + block(() => { + for (const p of cmd.params) { + emit(`${p.name}: ${toJSType(p.type)},`); + } + }); + emit(`): ${rtype} {`); + } else { + emit(`export function ${stripGL(cmd.name)}(): ${rtype} {`); + } + block(() => { + const ret = cmd.result !== "void" ? "return " : ""; + if (cmd.params.length === 0) { + emit(`${ret}fn_${cmd.name}.call();`); + } else { + emit(`${ret}fn_${cmd.name}.call(`); + block(() => { + for (const p of cmd.params) { + emit( + `${ + toFFIType(p.type) === "buffer" ? `bufferToFFI(${p.name})` : p.name + },`, + ); + } + }); + emit(`);`); + } + }); + emit(`}`); +} + +export function emitFeature(feature: Feature) { + reset(); + const accum: RequireOrRemove = { + typedefs: [], + enums: [], + commands: [], + }; + for (const f of features) { + if (f.api !== feature.api) continue; + if (f.number <= feature.number) { + accum.enums.push(...f.require.enums); + accum.commands.push(...f.require.commands); + accum.typedefs = accum.typedefs.filter((x) => + !f.remove.typedefs.includes(x) + ); + accum.enums = accum.enums.filter((x) => !f.remove.enums.includes(x)); + accum.commands = accum.commands.filter((x) => + !f.remove.commands.includes(x) + ); + } + } + accum.enums = [...new Set(accum.enums)]; + accum.commands = [...new Set(accum.commands)]; + emitRequire(accum); + write(`../api/${feature.api}${feature.number}.ts`); + console.log("Emit", feature.api, feature.number); +} + +export function emitExtension(ext: Extension) { + reset(); + emitRequire(ext.require); + write("../api/ext/" + ext.name + ".ts"); + console.log("Emit", ext.name); +} + +try { + Deno.removeSync(new URL("../api", import.meta.url), { recursive: true }); +} catch (_e) { + // pass +} + +Deno.mkdirSync(new URL("../api", import.meta.url)); +Deno.mkdirSync(new URL("../api/ext", import.meta.url)); + +for (const feature of features) { + emitFeature(feature); +} + +for (const ext of extensions) { + emitExtension(ext); +} diff --git a/src/webgl/deps.ts b/src/webgl/deps.ts index 22f550e..2ceaa6a 100644 --- a/src/webgl/deps.ts +++ b/src/webgl/deps.ts @@ -1 +1 @@ -export * from "https://deno.land/x/dwm@0.1.0/mod.ts"; +export * from "https://deno.land/x/dwm@0.2.0/mod.ts";