Milky2018/wgpu_mbt/c does not have a README file
pub type BindGroupLayoutBuilderObj#alias(BindGroupLayout)
#alias(UnitPtr)
#external
pub type WGPUBindGroupLayout#alias(UnitPtr)
#external
pub type WGPUBindGroupLayoutDescriptorPtr#alias(UnitPtr)
#external
pub type WGPUCommandEncoderDescriptorPtr#alias(ComputePassEncoder)
#alias(UnitPtr)
#external
pub type WGPUComputePassEncoder#alias(ComputePipeline)
#alias(UnitPtr)
#external
pub type WGPUComputePipeline#alias(UnitPtr)
#external
pub type WGPUComputePipelineDescriptorPtr#external
pub type WGPUCreateComputePipelineAsyncCallbackInfo#external
pub type WGPUCreateRenderPipelineAsyncCallbackInfo#alias(UnitPtr)
#external
pub type WGPUInstanceEnumerateAdapterOptionsPtr#alias(UnitPtr)
#external
pub type WGPUPipelineLayoutDescriptorPtr#alias(UnitPtr)
#external
pub type WGPURenderBundleEncoderDescriptorPtr#alias(RenderPassEncoder)
#alias(UnitPtr)
#external
pub type WGPURenderPassEncoder#alias(UnitPtr)
#external
pub type WGPURenderPipelineDescriptorPtr#alias(UnitPtr)
#external
pub type WGPUShaderModuleDescriptorSpirVPtr#alias(UnitPtr)
#external
pub type WGPUSupportedWGSLLanguageFeaturesPtrfn adapter_limits_max_dynamic_storage_buffers_per_pipeline_layout_u32(adapter : WGPUAdapter) -> UIntfn adapter_limits_max_dynamic_uniform_buffers_per_pipeline_layout_u32(adapter : WGPUAdapter) -> UIntfn adapter_request_device_async_clear(future_id : UInt64) -> Unitfn adapter_request_device_async_message_utf8(future_id : UInt64, out : Bytes, out_len : UInt64) -> Boolfn adapter_request_device_async_message_utf8_len(future_id : UInt64) -> UInt64fn adapter_request_device_async_status_u32(future_id : UInt64) -> UIntfn adapter_request_device_future_id_u64(adapter : WGPUAdapter, descriptor : WGPUDeviceDescriptorPtr) -> UInt64fn adapter_request_device_sync_clear_texture(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevicefn adapter_request_device_sync_last_message_utf8(out : Bytes, out_len : UInt64) -> Boolfn adapter_request_device_sync_last_message_utf8_len() -> UInt64fn adapter_request_device_sync_last_status_u32() -> UIntfn adapter_request_device_sync_multiview(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevicefn adapter_request_device_sync_pipeline_statistics_query(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevicefn adapter_request_device_sync_ptr(instance : WGPUInstance, adapter : WGPUAdapter, descriptor : WGPUDeviceDescriptorPtr) -> WGPUDevicefn adapter_request_device_sync_push_constants(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevicefn adapter_request_device_sync_spirv_shader_passthrough(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevicefn adapter_request_device_sync_texture_binding_array(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevicefn adapter_request_device_sync_timestamp_query(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevicefn adapter_request_device_sync_timestamp_query_inside_encoders(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevicefn adapter_request_device_sync_timestamp_query_inside_passes(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevicefn bind_group_builder_add_buffer(builder : BindGroupBuilderObj, binding : UInt, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Boolfn bind_group_builder_add_buffer_array(builder : BindGroupBuilderObj, binding : UInt, buffer_count : UInt64, buffers : FixedArray[WGPUBuffer], offset : UInt64, size : UInt64) -> Boolfn bind_group_builder_add_sampler(builder : BindGroupBuilderObj, binding : UInt, sampler : WGPUSampler) -> Boolfn bind_group_builder_add_sampler_array(builder : BindGroupBuilderObj, binding : UInt, sampler_count : UInt64, samplers : FixedArray[WGPUSampler]) -> Boolfn bind_group_builder_add_texture_view(builder : BindGroupBuilderObj, binding : UInt, view : WGPUTextureView) -> Boolfn bind_group_builder_add_texture_view_array(builder : BindGroupBuilderObj, binding : UInt, view_count : UInt64, views : FixedArray[WGPUTextureView]) -> Boolfn bind_group_builder_finish(device : WGPUDevice, layout : WGPUBindGroupLayout, builder : BindGroupBuilderObj, label : Bytes, label_len : UInt64) -> WGPUBindGroupfn bind_group_descriptor_sampler_new(layout : WGPUBindGroupLayout, sampler : WGPUSampler) -> WGPUBindGroupDescriptorPtrfn bind_group_descriptor_sampler_texture_2d_new(layout : WGPUBindGroupLayout, sampler : WGPUSampler, view : WGPUTextureView) -> WGPUBindGroupDescriptorPtrfn bind_group_descriptor_storage_buffer_new(layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroupDescriptorPtrfn bind_group_descriptor_storage_texture_2d_new(layout : WGPUBindGroupLayout, view : WGPUTextureView) -> WGPUBindGroupDescriptorPtrfn bind_group_descriptor_texture_2d_new(layout : WGPUBindGroupLayout, view : WGPUTextureView) -> WGPUBindGroupDescriptorPtrfn bind_group_descriptor_uniform_buffer_16_new(layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroupDescriptorPtrfn bind_group_descriptor_uniform_buffer_new(layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroupDescriptorPtrfn bind_group_layout_builder_add_buffer(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, type_u32 : UInt, has_dynamic_offset : Bool, min_binding_size : UInt64) -> Boolfn bind_group_layout_builder_add_buffer_array(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, type_u32 : UInt, has_dynamic_offset : Bool, min_binding_size : UInt64, count_u32 : UInt) -> Boolfn bind_group_layout_builder_add_sampler(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, type_u32 : UInt) -> Boolfn bind_group_layout_builder_add_sampler_array(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, type_u32 : UInt, count_u32 : UInt) -> Boolfn bind_group_layout_builder_add_storage_texture(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, access_u32 : UInt, format_u32 : UInt, view_dimension_u32 : UInt) -> Boolfn bind_group_layout_builder_add_storage_texture_array(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, access_u32 : UInt, format_u32 : UInt, view_dimension_u32 : UInt, count_u32 : UInt) -> Boolfn bind_group_layout_builder_add_texture(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, sample_type_u32 : UInt, view_dimension_u32 : UInt, multisampled : Bool) -> Boolfn bind_group_layout_builder_add_texture_array(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, sample_type_u32 : UInt, view_dimension_u32 : UInt, multisampled : Bool, count_u32 : UInt) -> Boolfn bind_group_layout_builder_finish(device : WGPUDevice, builder : BindGroupLayoutBuilderObj, label : Bytes, label_len : UInt64) -> WGPUBindGroupLayoutfn bind_group_layout_descriptor_storage_texture_rgba8_writeonly_new() -> WGPUBindGroupLayoutDescriptorPtrfn bind_group_layout_set_label_utf8(bind_group_layout : WGPUBindGroupLayout, label : Bytes, label_len : UInt64) -> Unitfn buffer_descriptor_new(size : UInt64, usage : UInt64, mapped_at_creation : Bool) -> WGPUBufferDescriptorPtrfn buffer_map_read_sync(instance : WGPUInstance, buffer : WGPUBuffer, offset : UInt64, size : UInt64, out : Bytes, out_len : UInt64) -> Boolfn buffer_map_write_sync(instance : WGPUInstance, buffer : WGPUBuffer, offset : UInt64, data : Bytes, data_len : UInt64) -> Boolfn buffer_readback_sync(instance : WGPUInstance, buffer : WGPUBuffer, offset : UInt64, size : UInt64, out : Bytes, out_len : UInt64) -> Boolfn command_buffer_set_label_utf8(command_buffer : WGPUCommandBuffer, label : Bytes, label_len : UInt64) -> Unitfn command_encoder_begin_render_pass_color(encoder : WGPUCommandEncoder, view : WGPUTextureView) -> WGPURenderPassEncoderfn command_encoder_begin_render_pass_color2(encoder : WGPUCommandEncoder, view0 : WGPUTextureView, view1 : WGPUTextureView) -> WGPURenderPassEncoderfn command_encoder_begin_render_pass_color2_depth(encoder : WGPUCommandEncoder, color0_view : WGPUTextureView, color1_view : WGPUTextureView, depth_view : WGPUTextureView) -> WGPURenderPassEncoderfn command_encoder_begin_render_pass_color2_depth_u32(encoder : WGPUCommandEncoder, color0_view : WGPUTextureView, color1_view : WGPUTextureView, depth_view : WGPUTextureView, color0_load_op_u32 : UInt, color0_store_op_u32 : UInt, color0_clear_r_f32 : Float, color0_clear_g_f32 : Float, color0_clear_b_f32 : Float, color0_clear_a_f32 : Float, color1_load_op_u32 : UInt, color1_store_op_u32 : UInt, color1_clear_r_f32 : Float, color1_clear_g_f32 : Float, color1_clear_b_f32 : Float, color1_clear_a_f32 : Float, depth_load_op_u32 : UInt, depth_store_op_u32 : UInt, depth_clear_value_f32 : Float, stencil_load_op_u32 : UInt, stencil_store_op_u32 : UInt, stencil_clear_value_u32 : UInt, depth_read_only : Bool, stencil_read_only : Bool) -> WGPURenderPassEncoderfn command_encoder_begin_render_pass_color_clear(encoder : WGPUCommandEncoder, view : WGPUTextureView, r : Float, g : Float, b : Float, a : Float) -> WGPURenderPassEncoderfn command_encoder_begin_render_pass_color_depth(encoder : WGPUCommandEncoder, color_view : WGPUTextureView, depth_view : WGPUTextureView) -> WGPURenderPassEncoderfn command_encoder_begin_render_pass_color_depth_u32(encoder : WGPUCommandEncoder, color_view : WGPUTextureView, color_load_op_u32 : UInt, color_store_op_u32 : UInt, color_clear_r_f32 : Float, color_clear_g_f32 : Float, color_clear_b_f32 : Float, color_clear_a_f32 : Float, depth_view : WGPUTextureView, depth_load_op_u32 : UInt, depth_store_op_u32 : UInt, depth_clear_value_f32 : Float, stencil_load_op_u32 : UInt, stencil_store_op_u32 : UInt, stencil_clear_value_u32 : UInt, depth_read_only : Bool, stencil_read_only : Bool) -> WGPURenderPassEncoderfn command_encoder_begin_render_pass_color_load(encoder : WGPUCommandEncoder, view : WGPUTextureView) -> WGPURenderPassEncoderfn command_encoder_begin_render_pass_color_occlusion(encoder : WGPUCommandEncoder, view : WGPUTextureView, query_set : WGPUQuerySet) -> WGPURenderPassEncoderfn command_encoder_clear_buffer(encoder : WGPUCommandEncoder, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unitfn command_encoder_copy_buffer_to_buffer(encoder : WGPUCommandEncoder, source : WGPUBuffer, source_offset : UInt64, destination : WGPUBuffer, destination_offset : UInt64, size : UInt64) -> Unitfn command_encoder_copy_buffer_to_texture_rgba8(encoder : WGPUCommandEncoder, buffer : WGPUBuffer, texture : WGPUTexture, width : UInt, height : UInt) -> Unitfn command_encoder_copy_buffer_to_texture_rgba8_mip_layer(encoder : WGPUCommandEncoder, buffer : WGPUBuffer, texture : WGPUTexture, mip_level : UInt, array_layer : UInt, width : UInt, height : UInt) -> Unitfn command_encoder_copy_texture_to_buffer_bytes_per_pixel(encoder : WGPUCommandEncoder, texture : WGPUTexture, buffer : WGPUBuffer, width : UInt, height : UInt, bytes_per_pixel : UInt) -> Unitfn command_encoder_copy_texture_to_buffer_bytes_per_pixel_mip_layer(encoder : WGPUCommandEncoder, texture : WGPUTexture, mip_level : UInt, array_layer : UInt, buffer : WGPUBuffer, width : UInt, height : UInt, bytes_per_pixel : UInt) -> Unitfn command_encoder_copy_texture_to_buffer_rgba8(encoder : WGPUCommandEncoder, texture : WGPUTexture, buffer : WGPUBuffer, width : UInt, height : UInt) -> Unitfn command_encoder_copy_texture_to_buffer_rgba8_mip_layer(encoder : WGPUCommandEncoder, texture : WGPUTexture, mip_level : UInt, array_layer : UInt, buffer : WGPUBuffer, width : UInt, height : UInt) -> Unitfn command_encoder_copy_texture_to_texture_rgba8(encoder : WGPUCommandEncoder, src : WGPUTexture, dst : WGPUTexture, width : UInt, height : UInt) -> Unitfn command_encoder_copy_texture_to_texture_rgba8_mip_layer(encoder : WGPUCommandEncoder, src : WGPUTexture, src_mip_level : UInt, src_array_layer : UInt, dst : WGPUTexture, dst_mip_level : UInt, dst_array_layer : UInt, width : UInt, height : UInt) -> Unitfn command_encoder_insert_debug_marker_utf8(encoder : WGPUCommandEncoder, label : Bytes, label_len : UInt64) -> Unitfn command_encoder_push_debug_group_utf8(encoder : WGPUCommandEncoder, label : Bytes, label_len : UInt64) -> Unitfn command_encoder_resolve_query_set(encoder : WGPUCommandEncoder, query_set : WGPUQuerySet, first_query : UInt, query_count : UInt, destination : WGPUBuffer, destination_offset : UInt64) -> Unitfn command_encoder_set_label_utf8(encoder : WGPUCommandEncoder, label : Bytes, label_len : UInt64) -> Unitfn command_encoder_write_timestamp(encoder : WGPUCommandEncoder, query_set : WGPUQuerySet, query_index : UInt) -> Unitfn compilation_info_message_utf8(info : OpaquePtr, index : UInt, out : Bytes, out_len : UInt64) -> Boolfn compute_pass_begin_pipeline_statistics_query(pass : WGPUComputePassEncoder, query_set : WGPUQuerySet, query_index : UInt) -> Unitfn compute_pass_dispatch_workgroups(pass : WGPUComputePassEncoder, x : UInt, y : UInt, z : UInt) -> Unitfn compute_pass_dispatch_workgroups_indirect(pass : WGPUComputePassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64) -> Unitfn compute_pass_insert_debug_marker_utf8(pass : WGPUComputePassEncoder, label : Bytes, label_len : UInt64) -> Unitfn compute_pass_push_debug_group_utf8(pass : WGPUComputePassEncoder, label : Bytes, label_len : UInt64) -> Unitfn compute_pass_set_bind_group(pass : WGPUComputePassEncoder, index : UInt, group : WGPUBindGroup, dynamic_offsets : Array[UInt]) -> Unitfn compute_pass_set_label_utf8(pass : WGPUComputePassEncoder, label : Bytes, label_len : UInt64) -> Unitfn compute_pass_set_push_constants_bytes(encoder : WGPUComputePassEncoder, offset : UInt, data : Bytes, data_len : UInt64) -> Unitfn compute_pass_write_timestamp(pass : WGPUComputePassEncoder, query_set : WGPUQuerySet, query_index : UInt) -> Unitfn compute_pipeline_desc_builder_last_error_args_u64(builder : ComputePipelineDescBuilderObj) -> UInt64fn compute_pipeline_desc_builder_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> ComputePipelineDescBuilderObjfn compute_pipeline_desc_builder_set_entry_point_utf8(builder : ComputePipelineDescBuilderObj, entry_point : Bytes, entry_point_len : UInt64) -> UIntfn compute_pipeline_desc_builder_take_descriptor(builder : ComputePipelineDescBuilderObj) -> WGPUComputePipelineDescriptorPtrfn compute_pipeline_descriptor_last_error_args_u64(desc : WGPUComputePipelineDescriptorPtr) -> UInt64fn compute_pipeline_descriptor_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPUComputePipelineDescriptorPtrfn compute_pipeline_descriptor_set_entry_point_utf8(desc : WGPUComputePipelineDescriptorPtr, entry_point : Bytes, entry_point_len : UInt64) -> UIntfn compute_pipeline_set_label_utf8(pipeline : WGPUComputePipeline, label : Bytes, label_len : UInt64) -> Unitfn create_instance_with_extras_u32(backends_u64 : UInt64, flags_u32 : UInt, dx12_shader_compiler_u32 : UInt, gles3_minor_version_u32 : UInt, gl_fence_behaviour_u32 : UInt, dxc_max_shader_model_u32 : UInt, dx12_presentation_system_u32 : UInt) -> WGPUInstancefn create_instance_with_extras_utf8(backends_u64 : UInt64, flags_u32 : UInt, dx12_shader_compiler_u32 : UInt, dxc_path_utf8 : Bytes, dxc_path_utf8_len : UInt64, gles3_minor_version_u32 : UInt, gl_fence_behaviour_u32 : UInt, dxc_max_shader_model_u32 : UInt, dx12_presentation_system_u32 : UInt) -> WGPUInstancefn device_create_bind_group_layout_storage_texture_rgba8_writeonly(device : WGPUDevice) -> WGPUBindGroupLayoutfn device_create_bind_group_layout_uniform_buffer_dynamic(device : WGPUDevice) -> WGPUBindGroupLayoutfn device_create_bind_group_sampler(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, sampler : WGPUSampler) -> WGPUBindGroupfn device_create_bind_group_sampler_texture_2d(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, sampler : WGPUSampler, view : WGPUTextureView) -> WGPUBindGroupfn device_create_bind_group_storage_buffer(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroupfn device_create_bind_group_storage_texture_2d(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, view : WGPUTextureView) -> WGPUBindGroupfn device_create_bind_group_texture_2d(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, view : WGPUTextureView) -> WGPUBindGroupfn device_create_bind_group_uniform_buffer(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroupfn device_create_bind_group_uniform_buffer_16(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroupfn device_create_buffer(device : WGPUDevice, size : UInt64, usage : UInt64, mapped_at_creation : Bool) -> WGPUBufferfn device_create_buffer_ptr_tracked(device : WGPUDevice, descriptor : WGPUBufferDescriptorPtr) -> WGPUBufferfn device_create_compute_pipeline(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPUComputePipelinefn device_create_compute_pipeline_async_sync_ptr(instance : WGPUInstance, device : WGPUDevice, descriptor : WGPUComputePipelineDescriptorPtr) -> WGPUComputePipelinefn device_create_compute_pipeline_async_sync_ptr_strict(instance : WGPUInstance, device : WGPUDevice, descriptor : WGPUComputePipelineDescriptorPtr) -> WGPUComputePipelinefn device_create_compute_pipeline_with_layout(device : WGPUDevice, layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPUComputePipelinefn device_create_pipeline_layout_1(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout) -> WGPUPipelineLayoutfn device_create_pipeline_layout_2(device : WGPUDevice, bind_group_layout0 : WGPUBindGroupLayout, bind_group_layout1 : WGPUBindGroupLayout) -> WGPUPipelineLayoutfn device_create_pipeline_layout_push_constants(device : WGPUDevice, stages : UInt64, start : UInt, end : UInt) -> WGPUPipelineLayoutfn device_create_pipeline_layout_push_constants_many(device : WGPUDevice, first_stages : UInt64, first_start : UInt, first_end : UInt, other_ranges : Array[(UInt64, UInt, UInt)]) -> WGPUPipelineLayoutfn device_create_query_set(device : WGPUDevice, descriptor : WGPUQuerySetDescriptorPtr) -> WGPUQuerySetfn device_create_query_set_pipeline_statistics(device : WGPUDevice, count : UInt, statistic_name : UInt) -> WGPUQuerySetfn device_create_query_set_pipeline_statistics_many(device : WGPUDevice, count : UInt, first_statistic_name_u32 : UInt, other_statistic_names_u32 : Array[UInt]) -> WGPUQuerySetfn device_create_render_pipeline_async_sync_ptr(instance : WGPUInstance, device : WGPUDevice, descriptor : WGPURenderPipelineDescriptorPtr) -> WGPURenderPipelinefn device_create_render_pipeline_async_sync_ptr_strict(instance : WGPUInstance, device : WGPUDevice, descriptor : WGPURenderPipelineDescriptorPtr) -> WGPURenderPipelinefn device_create_render_pipeline_color_format(device : WGPUDevice, shader_module : WGPUShaderModule, format : UInt) -> WGPURenderPipelinefn device_create_render_pipeline_color_format_alpha_blend(device : WGPUDevice, shader_module : WGPUShaderModule, format : UInt) -> WGPURenderPipelinefn device_create_render_pipeline_rgba8(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPURenderPipelinefn device_create_render_pipeline_rgba8_alpha_blend(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPURenderPipelinefn device_create_render_pipeline_rgba8_depth(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPURenderPipelinefn device_create_render_pipeline_rgba8_mrt2(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPURenderPipelinefn device_create_render_pipeline_rgba8_pos2(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPURenderPipelinefn device_create_render_pipeline_rgba8_pos2_with_layout(device : WGPUDevice, layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelinefn device_create_render_pipeline_rgba8_with_layout(device : WGPUDevice, layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelinefn device_create_sampler_u32(device : WGPUDevice, address_mode_u_u32 : UInt, address_mode_v_u32 : UInt, address_mode_w_u32 : UInt, mag_filter_u32 : UInt, min_filter_u32 : UInt, mipmap_filter_u32 : UInt, lod_min_clamp_f32 : Float, lod_max_clamp_f32 : Float, compare_u32 : UInt, max_anisotropy_u32 : UInt) -> WGPUSamplerfn device_create_shader_module_glsl(device : WGPUDevice, stage_u64 : UInt64, code : Bytes, code_len : UInt64) -> WGPUShaderModulefn device_create_shader_module_spirv(device : WGPUDevice, source : Bytes, source_len : UInt64) -> WGPUShaderModulefn device_create_shader_module_wgsl(device : WGPUDevice, code : Bytes, code_len : UInt64) -> WGPUShaderModulefn device_create_texture_depth24plus_2d(device : WGPUDevice, width : UInt, height : UInt) -> WGPUTexturefn device_create_texture_rgba8_2d_array_with_usage(device : WGPUDevice, width : UInt, height : UInt, layers : UInt, mip_level_count : UInt, usage : UInt64) -> WGPUTexturefn device_create_texture_rgba8_2d_with_usage(device : WGPUDevice, width : UInt, height : UInt, usage : UInt64) -> WGPUTexturefn device_create_texture_u32(device : WGPUDevice, width : UInt, height : UInt, depth_or_array_layers : UInt, usage : UInt64, dimension_u32 : UInt, format_u32 : UInt, mip_level_count : UInt, sample_count : UInt) -> WGPUTexturefn device_create_texture_view_formats_u32(device : WGPUDevice, width : UInt, height : UInt, depth_or_array_layers : UInt, usage : UInt64, dimension_u32 : UInt, format_u32 : UInt, mip_level_count : UInt, sample_count : UInt, view_format_count : UInt64, view_formats : FixedArray[UInt]) -> WGPUTexturefn device_descriptor_new_features_utf8(label : Bytes, label_len : UInt64, required_feature_count : UInt64, required_features_u32 : FixedArray[UInt], queue_label : Bytes, queue_label_len : UInt64) -> WGPUDeviceDescriptorPtrfn device_descriptor_new_no_features_utf8(label : Bytes, label_len : UInt64, queue_label : Bytes, queue_label_len : UInt64) -> WGPUDeviceDescriptorPtrfn device_descriptor_set_required_limits(desc : WGPUDeviceDescriptorPtr, limits : WGPULimitsPtr) -> Unitfn device_descriptor_set_trace_path_utf8(desc : WGPUDeviceDescriptorPtr, trace_path : Bytes, trace_path_len : UInt64) -> Unitfn device_pop_error_scope_sync_last_message_utf8(out : Bytes, out_len : UInt64) -> Boolfn device_pop_error_scope_sync_last_message_utf8_len() -> UInt64fn global_report_hub_bind_group_layouts_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64fn global_report_hub_compute_pipelines_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64fn global_report_hub_pipeline_layouts_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64fn global_report_hub_render_pipelines_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64fn instance_capabilities_timed_wait_any_enable_u32() -> UIntfn instance_capabilities_timed_wait_any_max_count_u64() -> UInt64fn instance_create_surface_android_native_window(instance : WGPUInstance, window : OpaquePtr) -> WGPUSurfacefn instance_create_surface_swap_chain_panel(instance : WGPUInstance, panel_native : OpaquePtr) -> WGPUSurfacefn instance_create_surface_wayland(instance : WGPUInstance, display : OpaquePtr, surface : OpaquePtr) -> WGPUSurfacefn instance_create_surface_windows_hwnd(instance : WGPUInstance, hinstance : OpaquePtr, hwnd : OpaquePtr) -> WGPUSurfacefn instance_create_surface_xcb(instance : WGPUInstance, connection : OpaquePtr, window : UInt) -> WGPUSurfacefn instance_create_surface_xlib(instance : WGPUInstance, display : OpaquePtr, window : UInt64) -> WGPUSurfacefn instance_get_wgsl_language_features_safe(instance : WGPUInstance, features : WGPUSupportedWGSLLanguageFeaturesPtr) -> WGPUStatusfn instance_has_wgsl_language_feature_safe(instance : WGPUInstance, feature : WGPUWGSLLanguageFeatureName) -> Boolfn instance_request_adapter_async_clear(future_id : UInt64) -> Unitfn instance_request_adapter_async_message_utf8(future_id : UInt64, out : Bytes, out_len : UInt64) -> Boolfn instance_request_adapter_async_message_utf8_len(future_id : UInt64) -> UInt64fn instance_request_adapter_async_status_u32(future_id : UInt64) -> UIntfn instance_request_adapter_future_id_u64(instance : WGPUInstance, options : WGPURequestAdapterOptionsPtr) -> UInt64fn instance_request_adapter_sync_last_message_utf8(out : Bytes, out_len : UInt64) -> Boolfn instance_request_adapter_sync_last_message_utf8_len() -> UInt64fn instance_request_adapter_sync_last_status_u32() -> UIntfn instance_request_adapter_sync_options_u32(instance : WGPUInstance, feature_level_u32 : UInt, power_preference_u32 : UInt, force_fallback_adapter : Bool, backend_type_u32 : UInt, compatible_surface : WGPUSurface) -> WGPUAdapterfn instance_request_adapter_sync_ptr(instance : WGPUInstance, options : WGPURequestAdapterOptionsPtr) -> WGPUAdapterfn instance_wait_any_one_packed_u64(instance : WGPUInstance, future_id : UInt64, timeout_ns : UInt64) -> UInt64fn limits_new_from_adapter_overrides_u32(adapter : WGPUAdapter, max_bind_groups_u32 : UInt, max_dynamic_uniform_buffers_u32 : UInt, max_uniform_buffer_binding_size : UInt64, max_storage_buffer_binding_size : UInt64, max_push_constant_size_u32 : UInt, max_non_sampler_bindings_u32 : UInt) -> WGPULimitsPtrfn native_resolved_lib_path_utf8(out : Bytes, out_len : UInt64) -> Boolfn optional_sym_present_utf8(name : Bytes, name_len : UInt64) -> Boolfn pipeline_layout_descriptor_1_new(bind_group_layout : WGPUBindGroupLayout) -> WGPUPipelineLayoutDescriptorPtrfn pipeline_layout_descriptor_2_new(bind_group_layout0 : WGPUBindGroupLayout, bind_group_layout1 : WGPUBindGroupLayout) -> WGPUPipelineLayoutDescriptorPtrfn pipeline_layout_descriptor_push_constants_many_new(range_count : UInt64, stages_u64 : FixedArray[UInt64], starts_u32 : FixedArray[UInt], ends_u32 : FixedArray[UInt]) -> WGPUPipelineLayoutDescriptorPtrfn pipeline_layout_descriptor_push_constants_new(stages : UInt64, start : UInt, end : UInt) -> WGPUPipelineLayoutDescriptorPtrfn pipeline_layout_set_label_utf8(pipeline_layout : WGPUPipelineLayout, label : Bytes, label_len : UInt64) -> Unitfn query_set_descriptor_pipeline_statistics_many_new(count : UInt, statistic_count : UInt64, statistic_names_u32 : FixedArray[UInt]) -> WGPUQuerySetDescriptorPtrfn query_set_descriptor_pipeline_statistics_new(count : UInt, statistic_name : UInt) -> WGPUQuerySetDescriptorPtrfn queue_on_submitted_work_done_async_clear(future_id : UInt64) -> Unitfn queue_on_submitted_work_done_async_status_u32(future_id : UInt64) -> UIntfn queue_submit(queue : WGPUQueue, command_count : UInt64, commands : FixedArray[WGPUCommandBuffer]) -> Unitfn queue_submit_for_index(queue : WGPUQueue, command_count : UInt64, commands : FixedArray[WGPUCommandBuffer]) -> UInt64fn queue_write_buffer(queue : WGPUQueue, buffer : WGPUBuffer, buffer_offset : UInt64, data : Bytes, size : UInt64) -> Unitfn queue_write_texture_2d_bytes_per_pixel(queue : WGPUQueue, texture : WGPUTexture, width : UInt, height : UInt, bytes_per_pixel : UInt, data : Bytes, size : UInt64) -> Unitfn queue_write_texture_2d_bytes_per_pixel_mip_layer(queue : WGPUQueue, texture : WGPUTexture, mip_level : UInt, array_layer : UInt, width : UInt, height : UInt, bytes_per_pixel : UInt, data : Bytes, size : UInt64) -> Unitfn queue_write_texture_rgba8_2d(queue : WGPUQueue, texture : WGPUTexture, width : UInt, height : UInt, data : Bytes, size : UInt64) -> Unitfn queue_write_texture_rgba8_2d_mip_layer(queue : WGPUQueue, texture : WGPUTexture, mip_level : UInt, array_layer : UInt, width : UInt, height : UInt, data : Bytes, size : UInt64) -> Unitfn render_bundle_encoder_draw(encoder : WGPURenderBundleEncoder, vertex_count : UInt, instance_count : UInt, first_vertex : UInt, first_instance : UInt) -> Unitfn render_bundle_encoder_insert_debug_marker_utf8(render_bundle_encoder : WGPURenderBundleEncoder, label : Bytes, label_len : UInt64) -> Unitfn render_bundle_encoder_push_debug_group_utf8(render_bundle_encoder : WGPURenderBundleEncoder, label : Bytes, label_len : UInt64) -> Unitfn render_bundle_encoder_set_bind_group(encoder : WGPURenderBundleEncoder, index : UInt, group : WGPUBindGroup, dynamic_offsets : Array[UInt]) -> Unitfn render_bundle_encoder_set_bind_group0(encoder : WGPURenderBundleEncoder, group : WGPUBindGroup) -> Unitfn render_bundle_encoder_set_label_utf8(render_bundle_encoder : WGPURenderBundleEncoder, label : Bytes, label_len : UInt64) -> Unitfn render_bundle_encoder_set_pipeline(encoder : WGPURenderBundleEncoder, pipeline : WGPURenderPipeline) -> Unitfn render_bundle_encoder_set_push_constants_bytes(encoder : WGPURenderBundleEncoder, stages : UInt64, offset : UInt, data : Bytes, data_len : UInt64) -> Unitfn render_bundle_set_label_utf8(render_bundle : WGPURenderBundle, label : Bytes, label_len : UInt64) -> Unitfn render_pass_begin_pipeline_statistics_query(pass : WGPURenderPassEncoder, query_set : WGPUQuerySet, query_index : UInt) -> Unitfn render_pass_descriptor_color2_clear_default_new(view0 : WGPUTextureView, view1 : WGPUTextureView) -> WGPURenderPassDescriptorPtrfn render_pass_descriptor_color2_depth_new(color0_view : WGPUTextureView, color1_view : WGPUTextureView, depth_view : WGPUTextureView) -> WGPURenderPassDescriptorPtrfn render_pass_descriptor_color2_depth_u32_new(color0_view : WGPUTextureView, color0_load_op_u32 : UInt, color0_store_op_u32 : UInt, color0_clear_r_f32 : Float, color0_clear_g_f32 : Float, color0_clear_b_f32 : Float, color0_clear_a_f32 : Float, color1_view : WGPUTextureView, color1_load_op_u32 : UInt, color1_store_op_u32 : UInt, color1_clear_r_f32 : Float, color1_clear_g_f32 : Float, color1_clear_b_f32 : Float, color1_clear_a_f32 : Float, depth_view : WGPUTextureView, depth_load_op_u32 : UInt, depth_store_op_u32 : UInt, depth_clear_value_f32 : Float, stencil_load_op_u32 : UInt, stencil_store_op_u32 : UInt, stencil_clear_value_u32 : UInt, depth_read_only : Bool, stencil_read_only : Bool) -> WGPURenderPassDescriptorPtrfn render_pass_descriptor_color_clear_default_new(view : WGPUTextureView) -> WGPURenderPassDescriptorPtrfn render_pass_descriptor_color_clear_default_occlusion_new(view : WGPUTextureView, query_set : WGPUQuerySet) -> WGPURenderPassDescriptorPtrfn render_pass_descriptor_color_clear_new(view : WGPUTextureView, r : Float, g : Float, b : Float, a : Float) -> WGPURenderPassDescriptorPtrfn render_pass_descriptor_color_depth_new(color_view : WGPUTextureView, depth_view : WGPUTextureView) -> WGPURenderPassDescriptorPtrfn render_pass_descriptor_color_depth_u32_new(color_view : WGPUTextureView, color_load_op_u32 : UInt, color_store_op_u32 : UInt, color_clear_r_f32 : Float, color_clear_g_f32 : Float, color_clear_b_f32 : Float, color_clear_a_f32 : Float, depth_view : WGPUTextureView, depth_load_op_u32 : UInt, depth_store_op_u32 : UInt, depth_clear_value_f32 : Float, stencil_load_op_u32 : UInt, stencil_store_op_u32 : UInt, stencil_clear_value_u32 : UInt, depth_read_only : Bool, stencil_read_only : Bool) -> WGPURenderPassDescriptorPtrfn render_pass_draw(pass : WGPURenderPassEncoder, vertex_count : UInt, instance_count : UInt, first_vertex : UInt, first_instance : UInt) -> Unitfn render_pass_draw_indexed(pass : WGPURenderPassEncoder, index_count : UInt, instance_count : UInt, first_index : UInt, base_vertex : Int, first_instance : UInt) -> Unitfn render_pass_draw_indexed_indirect(pass : WGPURenderPassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64) -> Unitfn render_pass_draw_indirect(pass : WGPURenderPassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64) -> Unitfn render_pass_execute_bundles(pass : WGPURenderPassEncoder, bundles : Array[WGPURenderBundle]) -> Unitfn render_pass_insert_debug_marker_utf8(pass : WGPURenderPassEncoder, label : Bytes, label_len : UInt64) -> Unitfn render_pass_multi_draw_indexed_indirect(pass : WGPURenderPassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64, count : UInt) -> Unitfn render_pass_multi_draw_indexed_indirect_count(pass : WGPURenderPassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64, count_buffer : WGPUBuffer, count_buffer_offset : UInt64, max_count : UInt) -> Unitfn render_pass_multi_draw_indirect(pass : WGPURenderPassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64, count : UInt) -> Unitfn render_pass_multi_draw_indirect_count(pass : WGPURenderPassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64, count_buffer : WGPUBuffer, count_buffer_offset : UInt64, max_count : UInt) -> Unitfn render_pass_push_debug_group_utf8(pass : WGPURenderPassEncoder, label : Bytes, label_len : UInt64) -> Unitfn render_pass_set_bind_group(pass : WGPURenderPassEncoder, index : UInt, group : WGPUBindGroup, dynamic_offsets : Array[UInt]) -> Unitfn render_pass_set_blend_constant_rgba(pass : WGPURenderPassEncoder, r : Double, g : Double, b : Double, a : Double) -> Unitfn render_pass_set_index_buffer_u16(pass : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unitfn render_pass_set_index_buffer_u32(pass : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unitfn render_pass_set_label_utf8(pass : WGPURenderPassEncoder, label : Bytes, label_len : UInt64) -> Unitfn render_pass_set_push_constants_bytes(encoder : WGPURenderPassEncoder, stages : UInt64, offset : UInt, data : Bytes, data_len : UInt64) -> Unitfn render_pass_set_scissor_rect(pass : WGPURenderPassEncoder, x : UInt, y : UInt, width : UInt, height : UInt) -> Unitfn render_pass_set_vertex_buffer(pass : WGPURenderPassEncoder, slot : UInt, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unitfn render_pass_set_viewport(pass : WGPURenderPassEncoder, x : Float, y : Float, width : Float, height : Float, min_depth : Float, max_depth : Float) -> Unitfn render_pass_write_timestamp(pass : WGPURenderPassEncoder, query_set : WGPUQuerySet, query_index : UInt) -> Unitfn render_pipeline_desc_builder_add_vertex_attribute(builder : RenderPipelineDescBuilderObj, format_u32 : UInt, offset : UInt64, shader_location : UInt) -> UIntfn render_pipeline_desc_builder_add_vertex_buffer_layout(builder : RenderPipelineDescBuilderObj, array_stride : UInt64, step_mode_u32 : UInt) -> UIntfn render_pipeline_desc_builder_clear_primitive_extras(builder : RenderPipelineDescBuilderObj) -> UIntfn render_pipeline_desc_builder_finish(builder : RenderPipelineDescBuilderObj) -> WGPURenderPipelineDescriptorPtrfn render_pipeline_desc_builder_last_error_args_u64(builder : RenderPipelineDescBuilderObj) -> UInt64fn render_pipeline_desc_builder_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> RenderPipelineDescBuilderObjfn render_pipeline_desc_builder_set_blend_components(builder : RenderPipelineDescBuilderObj, color_src_factor_u32 : UInt, color_dst_factor_u32 : UInt, color_operation_u32 : UInt, alpha_src_factor_u32 : UInt, alpha_dst_factor_u32 : UInt, alpha_operation_u32 : UInt) -> UIntfn render_pipeline_desc_builder_set_color_target_count(builder : RenderPipelineDescBuilderObj, count_u32 : UInt) -> UIntfn render_pipeline_desc_builder_set_color_target_format(builder : RenderPipelineDescBuilderObj, format_u32 : UInt) -> UIntfn render_pipeline_desc_builder_set_color_target_format_at(builder : RenderPipelineDescBuilderObj, index_u32 : UInt, format_u32 : UInt) -> UIntfn render_pipeline_desc_builder_set_color_target_write_mask(builder : RenderPipelineDescBuilderObj, write_mask_u64 : UInt64) -> UIntfn render_pipeline_desc_builder_set_color_target_write_mask_at(builder : RenderPipelineDescBuilderObj, index_u32 : UInt, write_mask_u64 : UInt64) -> UIntfn render_pipeline_desc_builder_set_conservative(builder : RenderPipelineDescBuilderObj, conservative : Bool) -> UIntfn render_pipeline_desc_builder_set_depth_stencil(builder : RenderPipelineDescBuilderObj, depth_format_u32 : UInt, depth_write_enabled : Bool, depth_compare_u32 : UInt) -> UIntfn render_pipeline_desc_builder_set_entry_points_utf8(builder : RenderPipelineDescBuilderObj, vs_entry : Bytes, vs_entry_len : UInt64, fs_entry : Bytes, fs_entry_len : UInt64) -> UIntfn render_pipeline_desc_builder_set_polygon_mode(builder : RenderPipelineDescBuilderObj, polygon_mode_u32 : UInt) -> UIntfn render_pipeline_desc_builder_set_topology(builder : RenderPipelineDescBuilderObj, topology_u32 : UInt) -> UIntfn render_pipeline_desc_builder_set_vertex_buffer_layout(builder : RenderPipelineDescBuilderObj, array_stride : UInt64, step_mode_u32 : UInt) -> UIntfn render_pipeline_descriptor_color_format_alpha_blend_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule, format : UInt) -> WGPURenderPipelineDescriptorPtrfn render_pipeline_descriptor_color_format_entries_u32_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule, format_u32 : UInt, color_write_mask_u32 : UInt, alpha_blend : Bool, depth : Bool, vs_entry : Bytes, vs_entry_len : UInt64, fs_entry : Bytes, fs_entry_len : UInt64) -> WGPURenderPipelineDescriptorPtrfn render_pipeline_descriptor_color_format_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule, format : UInt) -> WGPURenderPipelineDescriptorPtrfn render_pipeline_descriptor_rgba8_alpha_blend_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelineDescriptorPtrfn render_pipeline_descriptor_rgba8_depth_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelineDescriptorPtrfn render_pipeline_descriptor_rgba8_mrt2_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelineDescriptorPtrfn render_pipeline_descriptor_rgba8_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelineDescriptorPtrfn render_pipeline_descriptor_rgba8_pos2_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelineDescriptorPtrfn render_pipeline_set_label_utf8(pipeline : WGPURenderPipeline, label : Bytes, label_len : UInt64) -> Unitfn request_adapter_options_new_u32(feature_level_u32 : UInt, power_preference_u32 : UInt, force_fallback_adapter : Bool, backend_type_u32 : UInt, compatible_surface : WGPUSurface) -> WGPURequestAdapterOptionsPtrfn sampler_descriptor_u32_new(address_mode_u_u32 : UInt, address_mode_v_u32 : UInt, address_mode_w_u32 : UInt, mag_filter_u32 : UInt, min_filter_u32 : UInt, mipmap_filter_u32 : UInt, lod_min_clamp_f32 : Float, lod_max_clamp_f32 : Float, compare_u32 : UInt, max_anisotropy_u32 : UInt) -> WGPUSamplerDescriptorPtrfn set_uncaptured_error_stderr_enabled(enabled : Bool) -> Unitfn shader_module_descriptor_glsl_new(stage_u64 : UInt64, code : Bytes, code_len : UInt64) -> WGPUShaderModuleDescriptorPtrfn shader_module_descriptor_wgsl_new(code : Bytes, code_len : UInt64) -> WGPUShaderModuleDescriptorPtrfn shader_module_get_compilation_info_sync_new(instance : WGPUInstance, shader_module : WGPUShaderModule) -> OpaquePtrfn shader_module_get_compilation_info_sync_status_u32(instance : WGPUInstance, shader_module : WGPUShaderModule) -> UIntfn shader_module_set_label_utf8(shader_module : WGPUShaderModule, label : Bytes, label_len : UInt64) -> Unitfn surface_capabilities_alpha_mode_u32_at(surface : WGPUSurface, adapter : WGPUAdapter, index : UInt64) -> UIntfn surface_capabilities_alpha_modes_count_u64(surface : WGPUSurface, adapter : WGPUAdapter) -> UInt64fn surface_capabilities_format_u32_at(surface : WGPUSurface, adapter : WGPUAdapter, index : UInt64) -> UIntfn surface_capabilities_present_mode_u32_at(surface : WGPUSurface, adapter : WGPUAdapter, index : UInt64) -> UIntfn surface_capabilities_present_modes_count_u64(surface : WGPUSurface, adapter : WGPUAdapter) -> UInt64fn surface_configuration_u32_new(device : WGPUDevice, usage_u64 : UInt64, format_u32 : UInt, width : UInt, height : UInt, present_mode_u32 : UInt, alpha_mode_u32 : UInt, desired_maximum_frame_latency : UInt) -> WGPUSurfaceConfigurationPtrfn surface_configuration_u32_with_view_formats_new(device : WGPUDevice, usage_u64 : UInt64, format_u32 : UInt, width : UInt, height : UInt, present_mode_u32 : UInt, alpha_mode_u32 : UInt, desired_maximum_frame_latency : UInt, view_format_count : UInt64, view_formats_u32 : FixedArray[UInt]) -> WGPUSurfaceConfigurationPtrfn surface_configure_default(surface : WGPUSurface, adapter : WGPUAdapter, device : WGPUDevice, width : UInt, height : UInt, usage : UInt64, desired_maximum_frame_latency : UInt) -> UIntfn surface_configure_u32(surface : WGPUSurface, adapter : WGPUAdapter, device : WGPUDevice, width : UInt, height : UInt, usage : UInt64, format_u32 : UInt, present_mode_u32 : UInt, alpha_mode_and_desired_maximum_frame_latency_u64 : UInt64) -> Boolfn surface_configure_view_formats_u32(surface : WGPUSurface, adapter : WGPUAdapter, device : WGPUDevice, width : UInt, height : UInt, usage : UInt64, format_u32 : UInt, present_mode_u32 : UInt, alpha_mode_and_desired_maximum_frame_latency_u64 : UInt64, view_format_count : UInt64, view_formats : FixedArray[UInt]) -> Boolfn surface_descriptor_wayland_new(display : OpaquePtr, surface : OpaquePtr) -> WGPUSurfaceDescriptorPtrfn surface_descriptor_windows_hwnd_new(hinstance : OpaquePtr, hwnd : OpaquePtr) -> WGPUSurfaceDescriptorPtrfn texel_copy_buffer_info_new(buffer : WGPUBuffer, offset : UInt64, bytes_per_row : UInt, rows_per_image : UInt) -> WGPUTexelCopyBufferInfoPtrfn texel_copy_buffer_layout_new(offset : UInt64, bytes_per_row : UInt, rows_per_image : UInt) -> WGPUTexelCopyBufferLayoutPtrfn texel_copy_texture_info_new(texture : WGPUTexture, mip_level : UInt, origin_x : UInt, origin_y : UInt, origin_z : UInt) -> WGPUTexelCopyTextureInfoPtrfn texture_create_view_2d(texture : WGPUTexture, base_mip_level : UInt, mip_level_count : UInt) -> WGPUTextureViewfn texture_create_view_2d_array(texture : WGPUTexture, base_array_layer : UInt, array_layer_count : UInt, base_mip_level : UInt, mip_level_count : UInt) -> WGPUTextureViewfn texture_create_view_u32(texture : WGPUTexture, format_u32 : UInt, view_dimension_u32 : UInt, aspect_u32 : UInt, base_array_layer : UInt, array_layer_count : UInt, base_mip_level : UInt, mip_level_count : UInt) -> WGPUTextureViewfn texture_descriptor_rgba8_2d_array_with_usage_new(width : UInt, height : UInt, layers : UInt, mip_level_count : UInt, usage : UInt64) -> WGPUTextureDescriptorPtrfn texture_descriptor_rgba8_2d_with_usage_new(width : UInt, height : UInt, usage : UInt64) -> WGPUTextureDescriptorPtrfn texture_descriptor_u32_new(usage : UInt64, dimension_u32 : UInt, width : UInt, height : UInt, depth_or_array_layers : UInt, format_u32 : UInt, mip_level_count : UInt, sample_count : UInt) -> WGPUTextureDescriptorPtrfn texture_descriptor_u32_with_view_formats_new(usage : UInt64, dimension_u32 : UInt, width : UInt, height : UInt, depth_or_array_layers : UInt, format_u32 : UInt, mip_level_count : UInt, sample_count : UInt, view_format_count : UInt64, view_formats : FixedArray[UInt]) -> WGPUTextureDescriptorPtrfn texture_view_descriptor_2d_array_new(base_array_layer : UInt, array_layer_count : UInt, base_mip_level : UInt, mip_level_count : UInt) -> WGPUTextureViewDescriptorPtrfn texture_view_descriptor_2d_new(base_mip_level : UInt, mip_level_count : UInt) -> WGPUTextureViewDescriptorPtrfn texture_view_descriptor_u32_new(format_u32 : UInt, view_dimension_u32 : UInt, aspect_u32 : UInt, base_array_layer : UInt, array_layer_count : UInt, base_mip_level : UInt, mip_level_count : UInt) -> WGPUTextureViewDescriptorPtrfn texture_view_set_label_utf8(texture_view : WGPUTextureView, label : Bytes, label_len : UInt64) -> Unitfn wgpuAdapterRequestDevice(adapter : WGPUAdapter, descriptor : WGPUDeviceDescriptorPtr, callbackInfo : WGPURequestDeviceCallbackInfo) -> WGPUFuturefn wgpuBindGroupLayoutSetLabel(bindGroupLayout : WGPUBindGroupLayout, label : WGPUStringView) -> Unitfn wgpuBufferMapAsync(buffer : WGPUBuffer, mode : UInt64, offset : UInt64, size : UInt64, callbackInfo : WGPUBufferMapCallbackInfo) -> WGPUFuturefn wgpuCommandEncoderBeginComputePass(commandEncoder : WGPUCommandEncoder, descriptor : WGPUComputePassDescriptorPtr) -> WGPUComputePassEncoderfn wgpuCommandEncoderBeginRenderPass(commandEncoder : WGPUCommandEncoder, descriptor : WGPURenderPassDescriptorPtr) -> WGPURenderPassEncoderfn wgpuCommandEncoderClearBuffer(commandEncoder : WGPUCommandEncoder, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unitfn wgpuCommandEncoderCopyBufferToBuffer(commandEncoder : WGPUCommandEncoder, source : WGPUBuffer, sourceOffset : UInt64, destination : WGPUBuffer, destinationOffset : UInt64, size : UInt64) -> Unitfn wgpuCommandEncoderCopyBufferToTexture(commandEncoder : WGPUCommandEncoder, source : WGPUTexelCopyBufferInfoPtr, destination : WGPUTexelCopyTextureInfoPtr, copySize : WGPUExtent3DPtr) -> Unitfn wgpuCommandEncoderCopyTextureToBuffer(commandEncoder : WGPUCommandEncoder, source : WGPUTexelCopyTextureInfoPtr, destination : WGPUTexelCopyBufferInfoPtr, copySize : WGPUExtent3DPtr) -> Unitfn wgpuCommandEncoderCopyTextureToTexture(commandEncoder : WGPUCommandEncoder, source : WGPUTexelCopyTextureInfoPtr, destination : WGPUTexelCopyTextureInfoPtr, copySize : WGPUExtent3DPtr) -> Unitfn wgpuCommandEncoderFinish(commandEncoder : WGPUCommandEncoder, descriptor : WGPUCommandBufferDescriptorPtr) -> WGPUCommandBufferfn wgpuCommandEncoderInsertDebugMarker(commandEncoder : WGPUCommandEncoder, markerLabel : WGPUStringView) -> Unitfn wgpuCommandEncoderPushDebugGroup(commandEncoder : WGPUCommandEncoder, groupLabel : WGPUStringView) -> Unitfn wgpuCommandEncoderResolveQuerySet(commandEncoder : WGPUCommandEncoder, querySet : WGPUQuerySet, firstQuery : UInt, queryCount : UInt, destination : WGPUBuffer, destinationOffset : UInt64) -> Unitfn wgpuCommandEncoderWriteTimestamp(commandEncoder : WGPUCommandEncoder, querySet : WGPUQuerySet, queryIndex : UInt) -> Unitfn wgpuComputePassEncoderBeginPipelineStatisticsQuery(computePassEncoder : WGPUComputePassEncoder, querySet : WGPUQuerySet, queryIndex : UInt) -> Unitfn wgpuComputePassEncoderDispatchWorkgroups(computePassEncoder : WGPUComputePassEncoder, workgroupCountX : UInt, workgroupCountY : UInt, workgroupCountZ : UInt) -> Unitfn wgpuComputePassEncoderDispatchWorkgroupsIndirect(computePassEncoder : WGPUComputePassEncoder, indirectBuffer : WGPUBuffer, indirectOffset : UInt64) -> Unitfn wgpuComputePassEncoderEndPipelineStatisticsQuery(computePassEncoder : WGPUComputePassEncoder) -> Unitfn wgpuComputePassEncoderInsertDebugMarker(computePassEncoder : WGPUComputePassEncoder, markerLabel : WGPUStringView) -> Unitfn wgpuComputePassEncoderPushDebugGroup(computePassEncoder : WGPUComputePassEncoder, groupLabel : WGPUStringView) -> Unitfn wgpuComputePassEncoderSetBindGroup(computePassEncoder : WGPUComputePassEncoder, groupIndex : UInt, group : WGPUBindGroup, dynamicOffsetCount : UInt64, dynamicOffsets : UIntPtr) -> Unitfn wgpuComputePassEncoderSetBindGroup_offsets(pass : WGPUComputePassEncoder, group_index : UInt, group : WGPUBindGroup, dynamic_offset_count : UInt64, offsets : FixedArray[UInt]) -> Unitfn wgpuComputePassEncoderSetLabel(computePassEncoder : WGPUComputePassEncoder, label : WGPUStringView) -> Unitfn wgpuComputePassEncoderSetPipeline(computePassEncoder : WGPUComputePassEncoder, pipeline : WGPUComputePipeline) -> Unitfn wgpuComputePassEncoderSetPushConstants(encoder : WGPUComputePassEncoder, offset : UInt, sizeBytes : UInt, data : UnitPtr) -> Unitfn wgpuComputePassEncoderWriteTimestamp(computePassEncoder : WGPUComputePassEncoder, querySet : WGPUQuerySet, queryIndex : UInt) -> Unitfn wgpuComputePipelineGetBindGroupLayout(computePipeline : WGPUComputePipeline, groupIndex : UInt) -> WGPUBindGroupLayoutfn wgpuComputePipelineSetLabel(computePipeline : WGPUComputePipeline, label : WGPUStringView) -> Unitfn wgpuDeviceCreateBindGroup(device : WGPUDevice, descriptor : WGPUBindGroupDescriptorPtr) -> WGPUBindGroupfn wgpuDeviceCreateBindGroupLayout(device : WGPUDevice, descriptor : WGPUBindGroupLayoutDescriptorPtr) -> WGPUBindGroupLayoutfn wgpuDeviceCreateCommandEncoder(device : WGPUDevice, descriptor : WGPUCommandEncoderDescriptorPtr) -> WGPUCommandEncoderfn wgpuDeviceCreateComputePipeline(device : WGPUDevice, descriptor : WGPUComputePipelineDescriptorPtr) -> WGPUComputePipelinefn wgpuDeviceCreateComputePipelineAsync(device : WGPUDevice, descriptor : WGPUComputePipelineDescriptorPtr, callbackInfo : WGPUCreateComputePipelineAsyncCallbackInfo) -> WGPUFuturefn wgpuDeviceCreatePipelineLayout(device : WGPUDevice, descriptor : WGPUPipelineLayoutDescriptorPtr) -> WGPUPipelineLayoutfn wgpuDeviceCreateQuerySet(device : WGPUDevice, descriptor : WGPUQuerySetDescriptorPtr) -> WGPUQuerySetfn wgpuDeviceCreateRenderBundleEncoder(device : WGPUDevice, descriptor : WGPURenderBundleEncoderDescriptorPtr) -> WGPURenderBundleEncoderfn wgpuDeviceCreateRenderPipeline(device : WGPUDevice, descriptor : WGPURenderPipelineDescriptorPtr) -> WGPURenderPipelinefn wgpuDeviceCreateRenderPipelineAsync(device : WGPUDevice, descriptor : WGPURenderPipelineDescriptorPtr, callbackInfo : WGPUCreateRenderPipelineAsyncCallbackInfo) -> WGPUFuturefn wgpuDeviceCreateSampler(device : WGPUDevice, descriptor : WGPUSamplerDescriptorPtr) -> WGPUSamplerfn wgpuDeviceCreateShaderModule(device : WGPUDevice, descriptor : WGPUShaderModuleDescriptorPtr) -> WGPUShaderModulefn wgpuDeviceCreateShaderModuleSpirV(device : WGPUDevice, descriptor : WGPUShaderModuleDescriptorSpirVPtr) -> WGPUShaderModulefn wgpuDeviceCreateTexture(device : WGPUDevice, descriptor : WGPUTextureDescriptorPtr) -> WGPUTexturefn wgpuDevicePoll(device : WGPUDevice, wait : Bool, submissionIndex : WGPUSubmissionIndexPtr) -> Boolfn wgpuDevicePopErrorScope(device : WGPUDevice, callbackInfo : WGPUPopErrorScopeCallbackInfo) -> WGPUFuturefn wgpuInstanceCreateSurface(instance : WGPUInstance, descriptor : WGPUSurfaceDescriptorPtr) -> WGPUSurfacefn wgpuInstanceEnumerateAdapters(instance : WGPUInstance, options : WGPUInstanceEnumerateAdapterOptionsPtr, adapters : WGPUAdapterPtr) -> UInt64fn wgpuInstanceGetWGSLLanguageFeatures(instance : WGPUInstance, features : WGPUSupportedWGSLLanguageFeaturesPtr) -> WGPUStatusfn wgpuInstanceHasWGSLLanguageFeature(instance : WGPUInstance, feature : WGPUWGSLLanguageFeatureName) -> Boolfn wgpuInstanceRequestAdapter(instance : WGPUInstance, options : WGPURequestAdapterOptionsPtr, callbackInfo : WGPURequestAdapterCallbackInfo) -> WGPUFuturefn wgpuInstanceWaitAny(instance : WGPUInstance, futureCount : UInt64, futures : WGPUFutureWaitInfoPtr, timeoutNS : UInt64) -> WGPUWaitStatusfn wgpuQueueOnSubmittedWorkDone(queue : WGPUQueue, callbackInfo : WGPUQueueWorkDoneCallbackInfo) -> WGPUFuturefn wgpuQueueSubmit(queue : WGPUQueue, commandCount : UInt64, commands : WGPUCommandBufferPtr) -> Unitfn wgpuQueueSubmitForIndex(queue : WGPUQueue, commandCount : UInt64, commands : WGPUCommandBufferPtr) -> UInt64fn wgpuQueueWriteBuffer(queue : WGPUQueue, buffer : WGPUBuffer, bufferOffset : UInt64, data : UnitPtr, size : UInt64) -> Unitfn wgpuQueueWriteTexture(queue : WGPUQueue, destination : WGPUTexelCopyTextureInfoPtr, data : UnitPtr, dataSize : UInt64, dataLayout : WGPUTexelCopyBufferLayoutPtr, writeSize : WGPUExtent3DPtr) -> Unitfn wgpuQueueWriteTexture_bytes(queue : WGPUQueue, destination : WGPUTexelCopyTextureInfoPtr, data : Bytes, data_size : UInt64, data_layout : WGPUTexelCopyBufferLayoutPtr, write_size : WGPUExtent3DPtr) -> Unitfn wgpuRenderBundleEncoderDraw(renderBundleEncoder : WGPURenderBundleEncoder, vertexCount : UInt, instanceCount : UInt, firstVertex : UInt, firstInstance : UInt) -> Unitfn wgpuRenderBundleEncoderDrawIndexed(renderBundleEncoder : WGPURenderBundleEncoder, indexCount : UInt, instanceCount : UInt, firstIndex : UInt, baseVertex : Int, firstInstance : UInt) -> Unitfn wgpuRenderBundleEncoderDrawIndexedIndirect(renderBundleEncoder : WGPURenderBundleEncoder, indirectBuffer : WGPUBuffer, indirectOffset : UInt64) -> Unitfn wgpuRenderBundleEncoderDrawIndirect(renderBundleEncoder : WGPURenderBundleEncoder, indirectBuffer : WGPUBuffer, indirectOffset : UInt64) -> Unitfn wgpuRenderBundleEncoderFinish(renderBundleEncoder : WGPURenderBundleEncoder, descriptor : WGPURenderBundleDescriptorPtr) -> WGPURenderBundlefn wgpuRenderBundleEncoderInsertDebugMarker(renderBundleEncoder : WGPURenderBundleEncoder, markerLabel : WGPUStringView) -> Unitfn wgpuRenderBundleEncoderPushDebugGroup(renderBundleEncoder : WGPURenderBundleEncoder, groupLabel : WGPUStringView) -> Unitfn wgpuRenderBundleEncoderSetBindGroup(renderBundleEncoder : WGPURenderBundleEncoder, groupIndex : UInt, group : WGPUBindGroup, dynamicOffsetCount : UInt64, dynamicOffsets : UIntPtr) -> Unitfn wgpuRenderBundleEncoderSetBindGroup_offsets(encoder : WGPURenderBundleEncoder, group_index : UInt, group : WGPUBindGroup, dynamic_offset_count : UInt64, offsets : FixedArray[UInt]) -> Unitfn wgpuRenderBundleEncoderSetIndexBuffer(renderBundleEncoder : WGPURenderBundleEncoder, buffer : WGPUBuffer, format : WGPUIndexFormat, offset : UInt64, size : UInt64) -> Unitfn wgpuRenderBundleEncoderSetLabel(renderBundleEncoder : WGPURenderBundleEncoder, label : WGPUStringView) -> Unitfn wgpuRenderBundleEncoderSetPipeline(renderBundleEncoder : WGPURenderBundleEncoder, pipeline : WGPURenderPipeline) -> Unitfn wgpuRenderBundleEncoderSetPushConstants(encoder : WGPURenderBundleEncoder, stages : UInt64, offset : UInt, sizeBytes : UInt, data : UnitPtr) -> Unitfn wgpuRenderBundleEncoderSetVertexBuffer(renderBundleEncoder : WGPURenderBundleEncoder, slot : UInt, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unitfn wgpuRenderPassEncoderBeginOcclusionQuery(renderPassEncoder : WGPURenderPassEncoder, queryIndex : UInt) -> Unitfn wgpuRenderPassEncoderBeginPipelineStatisticsQuery(renderPassEncoder : WGPURenderPassEncoder, querySet : WGPUQuerySet, queryIndex : UInt) -> Unitfn wgpuRenderPassEncoderDraw(renderPassEncoder : WGPURenderPassEncoder, vertexCount : UInt, instanceCount : UInt, firstVertex : UInt, firstInstance : UInt) -> Unitfn wgpuRenderPassEncoderDrawIndexed(renderPassEncoder : WGPURenderPassEncoder, indexCount : UInt, instanceCount : UInt, firstIndex : UInt, baseVertex : Int, firstInstance : UInt) -> Unitfn wgpuRenderPassEncoderDrawIndexedIndirect(renderPassEncoder : WGPURenderPassEncoder, indirectBuffer : WGPUBuffer, indirectOffset : UInt64) -> Unitfn wgpuRenderPassEncoderDrawIndirect(renderPassEncoder : WGPURenderPassEncoder, indirectBuffer : WGPUBuffer, indirectOffset : UInt64) -> Unitfn wgpuRenderPassEncoderEndPipelineStatisticsQuery(renderPassEncoder : WGPURenderPassEncoder) -> Unitfn wgpuRenderPassEncoderExecuteBundles(renderPassEncoder : WGPURenderPassEncoder, bundleCount : UInt64, bundles : WGPURenderBundlePtr) -> Unitfn wgpuRenderPassEncoderExecuteBundles_bundles(pass : WGPURenderPassEncoder, bundle_count : UInt64, bundles : FixedArray[WGPURenderBundle]) -> Unitfn wgpuRenderPassEncoderInsertDebugMarker(renderPassEncoder : WGPURenderPassEncoder, markerLabel : WGPUStringView) -> Unitfn wgpuRenderPassEncoderMultiDrawIndexedIndirect(encoder : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, count : UInt) -> Unitfn wgpuRenderPassEncoderMultiDrawIndexedIndirectCount(encoder : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, count_buffer : WGPUBuffer, count_buffer_offset : UInt64, max_count : UInt) -> Unitfn wgpuRenderPassEncoderMultiDrawIndirect(encoder : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, count : UInt) -> Unitfn wgpuRenderPassEncoderMultiDrawIndirectCount(encoder : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, count_buffer : WGPUBuffer, count_buffer_offset : UInt64, max_count : UInt) -> Unitfn wgpuRenderPassEncoderPushDebugGroup(renderPassEncoder : WGPURenderPassEncoder, groupLabel : WGPUStringView) -> Unitfn wgpuRenderPassEncoderSetBindGroup(renderPassEncoder : WGPURenderPassEncoder, groupIndex : UInt, group : WGPUBindGroup, dynamicOffsetCount : UInt64, dynamicOffsets : UIntPtr) -> Unitfn wgpuRenderPassEncoderSetBindGroup_offsets(pass : WGPURenderPassEncoder, group_index : UInt, group : WGPUBindGroup, dynamic_offset_count : UInt64, offsets : FixedArray[UInt]) -> Unitfn wgpuRenderPassEncoderSetBlendConstant(renderPassEncoder : WGPURenderPassEncoder, color : WGPUColorPtr) -> Unitfn wgpuRenderPassEncoderSetIndexBuffer(renderPassEncoder : WGPURenderPassEncoder, buffer : WGPUBuffer, format : WGPUIndexFormat, offset : UInt64, size : UInt64) -> Unitfn wgpuRenderPassEncoderSetLabel(renderPassEncoder : WGPURenderPassEncoder, label : WGPUStringView) -> Unitfn wgpuRenderPassEncoderSetPipeline(renderPassEncoder : WGPURenderPassEncoder, pipeline : WGPURenderPipeline) -> Unitfn wgpuRenderPassEncoderSetPushConstants(encoder : WGPURenderPassEncoder, stages : UInt64, offset : UInt, sizeBytes : UInt, data : UnitPtr) -> Unitfn wgpuRenderPassEncoderSetScissorRect(renderPassEncoder : WGPURenderPassEncoder, x : UInt, y : UInt, width : UInt, height : UInt) -> Unitfn wgpuRenderPassEncoderSetStencilReference(renderPassEncoder : WGPURenderPassEncoder, reference : UInt) -> Unitfn wgpuRenderPassEncoderSetVertexBuffer(renderPassEncoder : WGPURenderPassEncoder, slot : UInt, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unitfn wgpuRenderPassEncoderSetViewport(renderPassEncoder : WGPURenderPassEncoder, x : Float, y : Float, width : Float, height : Float, minDepth : Float, maxDepth : Float) -> Unitfn wgpuRenderPassEncoderWriteTimestamp(renderPassEncoder : WGPURenderPassEncoder, querySet : WGPUQuerySet, queryIndex : UInt) -> Unitfn wgpuRenderPipelineGetBindGroupLayout(renderPipeline : WGPURenderPipeline, groupIndex : UInt) -> WGPUBindGroupLayoutfn wgpuShaderModuleGetCompilationInfo(shaderModule : WGPUShaderModule, callbackInfo : WGPUCompilationInfoCallbackInfo) -> WGPUFuturefn wgpuSupportedWGSLLanguageFeaturesFreeMembers(supportedWGSLLanguageFeatures : WGPUSupportedWGSLLanguageFeatures) -> Unitfn wgpuSurfaceGetCapabilities(surface : WGPUSurface, adapter : WGPUAdapter, capabilities : WGPUSurfaceCapabilitiesPtr) -> WGPUStatusfn wgpuSurfaceGetCurrentTexture(surface : WGPUSurface, surfaceTexture : WGPUSurfaceTexturePtr) -> Unitfn wgpuTextureCreateView(texture : WGPUTexture, descriptor : WGPUTextureViewDescriptorPtr) -> WGPUTextureView