Sign in

    Milky2018/wgpu_mbt/c does not have a README file

    WGPUBufferUsage

    type WGPUBufferUsage = UInt64

    WGPULogLevel

    type WGPULogLevel = UInt

    WGPUMapMode

    type WGPUMapMode = UInt64

    WGPUShaderStage

    type WGPUShaderStage = UInt64

    WGPUSubmissionIndex

    type WGPUSubmissionIndex = UInt64

    WGPUTextureUsage

    type WGPUTextureUsage = UInt64

    BindGroupBuilderObj

    pub type BindGroupBuilderObj

    BindGroupLayoutBuilderObj

    pub type BindGroupLayoutBuilderObj

    BindGroupLayout / BindGroup builders (for constructing arbitrary entries).

    ComputePipelineDescBuilderObj

    pub type ComputePipelineDescBuilderObj

    OpaquePtr

    #external
    pub type OpaquePtr

    RenderPipelineDescBuilderObj

    pub type RenderPipelineDescBuilderObj

    UIntPtr

    #external
    pub type UIntPtr

    UnitPtr

    #external
    pub type UnitPtr

    WGPUAdapter

    #alias(Adapter)
    #alias(UnitPtr)
    #external
    pub type WGPUAdapter

    WGPUAdapterInfo

    #external
    pub type WGPUAdapterInfo

    WGPUAdapterInfoPtr

    #alias(UnitPtr)
    #external
    pub type WGPUAdapterInfoPtr

    WGPUAdapterPtr

    #alias(UnitPtr)
    #external
    pub type WGPUAdapterPtr

    WGPUBindGroup

    #alias(BindGroup)
    #alias(UnitPtr)
    #external
    pub type WGPUBindGroup

    WGPUBindGroupDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUBindGroupDescriptorPtr

    WGPUBindGroupLayout

    #alias(BindGroupLayout)
    #alias(UnitPtr)
    #external
    pub type WGPUBindGroupLayout

    WGPUBindGroupLayoutDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUBindGroupLayoutDescriptorPtr

    WGPUBuffer

    #alias(Buffer)
    #alias(UnitPtr)
    #external
    pub type WGPUBuffer

    WGPUBufferDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUBufferDescriptorPtr

    WGPUBufferMapCallbackInfo

    #external
    pub type WGPUBufferMapCallbackInfo

    WGPUBufferMapState

    #external
    pub type WGPUBufferMapState

    WGPUColorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUColorPtr

    WGPUCommandBuffer

    #alias(CommandBuffer)
    #alias(UnitPtr)
    #external
    pub type WGPUCommandBuffer

    WGPUCommandBufferDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUCommandBufferDescriptorPtr

    WGPUCommandBufferPtr

    #alias(UnitPtr)
    #external
    pub type WGPUCommandBufferPtr

    WGPUCommandEncoder

    #alias(CommandEncoder)
    #alias(UnitPtr)
    #external
    pub type WGPUCommandEncoder

    WGPUCommandEncoderDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUCommandEncoderDescriptorPtr

    WGPUCompilationInfoCallbackInfo

    #external
    pub type WGPUCompilationInfoCallbackInfo

    WGPUComputePassDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUComputePassDescriptorPtr

    WGPUComputePassEncoder

    #alias(ComputePassEncoder)
    #alias(UnitPtr)
    #external
    pub type WGPUComputePassEncoder

    WGPUComputePipeline

    #alias(ComputePipeline)
    #alias(UnitPtr)
    #external
    pub type WGPUComputePipeline

    WGPUComputePipelineDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUComputePipelineDescriptorPtr

    WGPUCreateComputePipelineAsyncCallbackInfo

    #external
    pub type WGPUCreateComputePipelineAsyncCallbackInfo

    WGPUCreateRenderPipelineAsyncCallbackInfo

    #external
    pub type WGPUCreateRenderPipelineAsyncCallbackInfo

    WGPUDevice

    #alias(Device)
    #alias(UnitPtr)
    #external
    pub type WGPUDevice

    WGPUDeviceDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUDeviceDescriptorPtr

    WGPUErrorFilter

    #external
    pub type WGPUErrorFilter

    WGPUExtent3DPtr

    #alias(UnitPtr)
    #external
    pub type WGPUExtent3DPtr

    WGPUFeatureName

    #external
    pub type WGPUFeatureName

    WGPUFuture

    #external
    pub type WGPUFuture

    WGPUFutureWaitInfoPtr

    #alias(UnitPtr)
    #external
    pub type WGPUFutureWaitInfoPtr

    WGPUGlobalReportPtr

    #alias(UnitPtr)
    #external
    pub type WGPUGlobalReportPtr

    WGPUIndexFormat

    #external
    pub type WGPUIndexFormat

    WGPUInstance

    #alias(Instance)
    #alias(UnitPtr)
    #external
    pub type WGPUInstance

    WGPUInstanceCapabilitiesPtr

    #alias(UnitPtr)
    #external
    pub type WGPUInstanceCapabilitiesPtr

    WGPUInstanceDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUInstanceDescriptorPtr

    WGPUInstanceEnumerateAdapterOptionsPtr

    #alias(UnitPtr)
    #external
    pub type WGPUInstanceEnumerateAdapterOptionsPtr

    WGPULimitsPtr

    #alias(UnitPtr)
    #external
    pub type WGPULimitsPtr

    WGPULogCallback

    #external
    pub type WGPULogCallback

    WGPUPipelineLayout

    #alias(PipelineLayout)
    #alias(UnitPtr)
    #external
    pub type WGPUPipelineLayout

    WGPUPipelineLayoutDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUPipelineLayoutDescriptorPtr

    WGPUPopErrorScopeCallbackInfo

    #external
    pub type WGPUPopErrorScopeCallbackInfo

    WGPUProc

    #external
    pub type WGPUProc

    WGPUQuerySet

    #alias(QuerySet)
    #alias(UnitPtr)
    #external
    pub type WGPUQuerySet

    WGPUQuerySetDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUQuerySetDescriptorPtr

    WGPUQueryType

    #external
    pub type WGPUQueryType

    WGPUQueue

    #alias(Queue)
    #alias(UnitPtr)
    #external
    pub type WGPUQueue

    WGPUQueueWorkDoneCallbackInfo

    #external
    pub type WGPUQueueWorkDoneCallbackInfo

    WGPURenderBundle

    #alias(UnitPtr)
    #external
    pub type WGPURenderBundle

    WGPURenderBundleDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPURenderBundleDescriptorPtr

    WGPURenderBundleEncoder

    #alias(UnitPtr)
    #external
    pub type WGPURenderBundleEncoder

    WGPURenderBundleEncoderDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPURenderBundleEncoderDescriptorPtr

    WGPURenderBundlePtr

    #alias(UnitPtr)
    #external
    pub type WGPURenderBundlePtr

    WGPURenderPassDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPURenderPassDescriptorPtr

    WGPURenderPassEncoder

    #alias(RenderPassEncoder)
    #alias(UnitPtr)
    #external
    pub type WGPURenderPassEncoder

    WGPURenderPipeline

    #alias(RenderPipeline)
    #alias(UnitPtr)
    #external
    pub type WGPURenderPipeline

    WGPURenderPipelineDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPURenderPipelineDescriptorPtr

    WGPURequestAdapterCallbackInfo

    #external
    pub type WGPURequestAdapterCallbackInfo

    WGPURequestAdapterOptionsPtr

    #alias(UnitPtr)
    #external
    pub type WGPURequestAdapterOptionsPtr

    WGPURequestDeviceCallbackInfo

    #external
    pub type WGPURequestDeviceCallbackInfo

    WGPUSampler

    #alias(Sampler)
    #alias(UnitPtr)
    #external
    pub type WGPUSampler

    WGPUSamplerDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUSamplerDescriptorPtr

    WGPUShaderModule

    #alias(ShaderModule)
    #alias(UnitPtr)
    #external
    pub type WGPUShaderModule

    WGPUShaderModuleDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUShaderModuleDescriptorPtr

    WGPUShaderModuleDescriptorSpirVPtr

    #alias(UnitPtr)
    #external
    pub type WGPUShaderModuleDescriptorSpirVPtr

    WGPUStatus

    #external
    pub type WGPUStatus

    WGPUStringView

    #external
    pub type WGPUStringView

    WGPUSubmissionIndexPtr

    #alias(UnitPtr)
    #external
    pub type WGPUSubmissionIndexPtr

    WGPUSupportedFeatures

    #external
    pub type WGPUSupportedFeatures

    WGPUSupportedFeaturesPtr

    #alias(UnitPtr)
    #external
    pub type WGPUSupportedFeaturesPtr

    WGPUSupportedWGSLLanguageFeatures

    #external
    pub type WGPUSupportedWGSLLanguageFeatures

    WGPUSupportedWGSLLanguageFeaturesPtr

    #alias(UnitPtr)
    #external
    pub type WGPUSupportedWGSLLanguageFeaturesPtr

    WGPUSurface

    #alias(UnitPtr)
    #external
    pub type WGPUSurface

    WGPUSurfaceCapabilities

    #external
    pub type WGPUSurfaceCapabilities

    WGPUSurfaceCapabilitiesPtr

    #alias(UnitPtr)
    #external
    pub type WGPUSurfaceCapabilitiesPtr

    WGPUSurfaceConfigurationPtr

    #alias(UnitPtr)
    #external
    pub type WGPUSurfaceConfigurationPtr

    WGPUSurfaceDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUSurfaceDescriptorPtr

    WGPUSurfaceTexturePtr

    #alias(UnitPtr)
    #external
    pub type WGPUSurfaceTexturePtr

    WGPUTexelCopyBufferInfoPtr

    #alias(UnitPtr)
    #external
    pub type WGPUTexelCopyBufferInfoPtr

    WGPUTexelCopyBufferLayoutPtr

    #alias(UnitPtr)
    #external
    pub type WGPUTexelCopyBufferLayoutPtr

    WGPUTexelCopyTextureInfoPtr

    #alias(UnitPtr)
    #external
    pub type WGPUTexelCopyTextureInfoPtr

    WGPUTexture

    #alias(Texture)
    #alias(UnitPtr)
    #external
    pub type WGPUTexture

    WGPUTextureDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUTextureDescriptorPtr

    WGPUTextureDimension

    #external
    pub type WGPUTextureDimension

    WGPUTextureFormat

    #external
    pub type WGPUTextureFormat

    WGPUTextureView

    #alias(TextureView)
    #alias(UnitPtr)
    #external
    pub type WGPUTextureView

    WGPUTextureViewDescriptorPtr

    #alias(UnitPtr)
    #external
    pub type WGPUTextureViewDescriptorPtr

    WGPUWGSLLanguageFeatureName

    #external
    pub type WGPUWGSLLanguageFeatureName

    WGPUWaitStatus

    #external
    pub type WGPUWaitStatus

    adapter_has_feature_native_clear_texture

    fn adapter_has_feature_native_clear_texture(adapter : WGPUAdapter) -> Bool

    adapter_has_feature_native_multiview

    fn adapter_has_feature_native_multiview(adapter : WGPUAdapter) -> Bool

    adapter_has_feature_native_pipeline_statistics_query

    fn adapter_has_feature_native_pipeline_statistics_query(adapter : WGPUAdapter) -> Bool

    adapter_has_feature_native_push_constants

    fn adapter_has_feature_native_push_constants(adapter : WGPUAdapter) -> Bool

    adapter_has_feature_native_spirv_shader_passthrough

    fn adapter_has_feature_native_spirv_shader_passthrough(adapter : WGPUAdapter) -> Bool

    adapter_has_feature_native_timestamp_query_inside_encoders

    fn adapter_has_feature_native_timestamp_query_inside_encoders(adapter : WGPUAdapter) -> Bool

    adapter_has_feature_native_timestamp_query_inside_passes

    fn adapter_has_feature_native_timestamp_query_inside_passes(adapter : WGPUAdapter) -> Bool

    adapter_has_feature_timestamp_query

    fn adapter_has_feature_timestamp_query(adapter : WGPUAdapter) -> Bool

    adapter_info_adapter_type_u32

    fn adapter_info_adapter_type_u32(adapter : WGPUAdapter) -> UInt

    adapter_info_architecture_utf8

    fn adapter_info_architecture_utf8(adapter : WGPUAdapter, out : Bytes, out_len : UInt64) -> Bool

    adapter_info_architecture_utf8_len

    fn adapter_info_architecture_utf8_len(adapter : WGPUAdapter) -> UInt64

    adapter_info_backend_type_u32

    fn adapter_info_backend_type_u32(adapter : WGPUAdapter) -> UInt

    adapter_info_description_utf8

    fn adapter_info_description_utf8(adapter : WGPUAdapter, out : Bytes, out_len : UInt64) -> Bool

    adapter_info_description_utf8_len

    fn adapter_info_description_utf8_len(adapter : WGPUAdapter) -> UInt64

    adapter_info_device_id_u32

    fn adapter_info_device_id_u32(adapter : WGPUAdapter) -> UInt

    adapter_info_device_utf8

    fn adapter_info_device_utf8(adapter : WGPUAdapter, out : Bytes, out_len : UInt64) -> Bool

    adapter_info_device_utf8_len

    fn adapter_info_device_utf8_len(adapter : WGPUAdapter) -> UInt64

    adapter_info_vendor_id_u32

    fn adapter_info_vendor_id_u32(adapter : WGPUAdapter) -> UInt

    adapter_info_vendor_utf8

    fn adapter_info_vendor_utf8(adapter : WGPUAdapter, out : Bytes, out_len : UInt64) -> Bool

    adapter_info_vendor_utf8_len

    fn adapter_info_vendor_utf8_len(adapter : WGPUAdapter) -> UInt64

    adapter_is_null

    fn adapter_is_null(adapter : WGPUAdapter) -> Bool

    adapter_limits_max_bind_groups_plus_vertex_buffers_u32

    fn adapter_limits_max_bind_groups_plus_vertex_buffers_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_bind_groups_u32

    fn adapter_limits_max_bind_groups_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_bindings_per_bind_group_u32

    fn adapter_limits_max_bindings_per_bind_group_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_buffer_size_u64

    fn adapter_limits_max_buffer_size_u64(adapter : WGPUAdapter) -> UInt64

    adapter_limits_max_color_attachment_bytes_per_sample_u32

    fn adapter_limits_max_color_attachment_bytes_per_sample_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_color_attachments_u32

    fn adapter_limits_max_color_attachments_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_compute_invocations_per_workgroup_u32

    fn adapter_limits_max_compute_invocations_per_workgroup_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_compute_workgroup_size_x_u32

    fn adapter_limits_max_compute_workgroup_size_x_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_compute_workgroup_size_y_u32

    fn adapter_limits_max_compute_workgroup_size_y_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_compute_workgroup_size_z_u32

    fn adapter_limits_max_compute_workgroup_size_z_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_compute_workgroup_storage_size_u32

    fn adapter_limits_max_compute_workgroup_storage_size_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_compute_workgroups_per_dimension_u32

    fn adapter_limits_max_compute_workgroups_per_dimension_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_dynamic_storage_buffers_per_pipeline_layout_u32

    fn adapter_limits_max_dynamic_storage_buffers_per_pipeline_layout_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_dynamic_uniform_buffers_per_pipeline_layout_u32

    fn adapter_limits_max_dynamic_uniform_buffers_per_pipeline_layout_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_inter_stage_shader_variables_u32

    fn adapter_limits_max_inter_stage_shader_variables_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_non_sampler_bindings_u32

    fn adapter_limits_max_non_sampler_bindings_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_push_constant_size_u32

    fn adapter_limits_max_push_constant_size_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_sampled_textures_per_shader_stage_u32

    fn adapter_limits_max_sampled_textures_per_shader_stage_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_samplers_per_shader_stage_u32

    fn adapter_limits_max_samplers_per_shader_stage_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_storage_buffer_binding_size_u64

    fn adapter_limits_max_storage_buffer_binding_size_u64(adapter : WGPUAdapter) -> UInt64

    adapter_limits_max_storage_buffers_per_shader_stage_u32

    fn adapter_limits_max_storage_buffers_per_shader_stage_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_storage_textures_per_shader_stage_u32

    fn adapter_limits_max_storage_textures_per_shader_stage_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_texture_array_layers_u32

    fn adapter_limits_max_texture_array_layers_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_texture_dimension_1d_u32

    fn adapter_limits_max_texture_dimension_1d_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_texture_dimension_2d_u32

    fn adapter_limits_max_texture_dimension_2d_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_texture_dimension_3d_u32

    fn adapter_limits_max_texture_dimension_3d_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_uniform_buffer_binding_size_u64

    fn adapter_limits_max_uniform_buffer_binding_size_u64(adapter : WGPUAdapter) -> UInt64

    adapter_limits_max_uniform_buffers_per_shader_stage_u32

    fn adapter_limits_max_uniform_buffers_per_shader_stage_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_vertex_attributes_u32

    fn adapter_limits_max_vertex_attributes_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_vertex_buffer_array_stride_u32

    fn adapter_limits_max_vertex_buffer_array_stride_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_max_vertex_buffers_u32

    fn adapter_limits_max_vertex_buffers_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_min_storage_buffer_offset_alignment_u32

    fn adapter_limits_min_storage_buffer_offset_alignment_u32(adapter : WGPUAdapter) -> UInt

    adapter_limits_min_uniform_buffer_offset_alignment_u32

    fn adapter_limits_min_uniform_buffer_offset_alignment_u32(adapter : WGPUAdapter) -> UInt

    adapter_release

    fn adapter_release(adapter : WGPUAdapter) -> Unit

    adapter_request_device_async_clear

    fn adapter_request_device_async_clear(future_id : UInt64) -> Unit

    adapter_request_device_async_device

    fn adapter_request_device_async_device(future_id : UInt64) -> WGPUDevice

    adapter_request_device_async_message_utf8

    fn adapter_request_device_async_message_utf8(future_id : UInt64, out : Bytes, out_len : UInt64) -> Bool

    adapter_request_device_async_message_utf8_len

    fn adapter_request_device_async_message_utf8_len(future_id : UInt64) -> UInt64

    adapter_request_device_async_status_u32

    fn adapter_request_device_async_status_u32(future_id : UInt64) -> UInt

    adapter_request_device_future_id_u64

    fn adapter_request_device_future_id_u64(adapter : WGPUAdapter, descriptor : WGPUDeviceDescriptorPtr) -> UInt64

    adapter_request_device_sync

    fn adapter_request_device_sync(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevice

    adapter_request_device_sync_clear_texture

    fn adapter_request_device_sync_clear_texture(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevice

    adapter_request_device_sync_last_message_utf8

    fn adapter_request_device_sync_last_message_utf8(out : Bytes, out_len : UInt64) -> Bool

    adapter_request_device_sync_last_message_utf8_len

    fn adapter_request_device_sync_last_message_utf8_len() -> UInt64

    adapter_request_device_sync_last_status_u32

    fn adapter_request_device_sync_last_status_u32() -> UInt

    adapter_request_device_sync_multiview

    fn adapter_request_device_sync_multiview(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevice

    adapter_request_device_sync_pipeline_statistics_query

    fn adapter_request_device_sync_pipeline_statistics_query(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevice

    adapter_request_device_sync_ptr

    fn adapter_request_device_sync_ptr(instance : WGPUInstance, adapter : WGPUAdapter, descriptor : WGPUDeviceDescriptorPtr) -> WGPUDevice

    adapter_request_device_sync_push_constants

    fn adapter_request_device_sync_push_constants(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevice

    adapter_request_device_sync_spirv_shader_passthrough

    fn adapter_request_device_sync_spirv_shader_passthrough(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevice

    adapter_request_device_sync_texture_binding_array

    fn adapter_request_device_sync_texture_binding_array(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevice

    adapter_request_device_sync_timestamp_query

    fn adapter_request_device_sync_timestamp_query(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevice

    adapter_request_device_sync_timestamp_query_inside_encoders

    fn adapter_request_device_sync_timestamp_query_inside_encoders(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevice

    adapter_request_device_sync_timestamp_query_inside_passes

    fn adapter_request_device_sync_timestamp_query_inside_passes(instance : WGPUInstance, adapter : WGPUAdapter) -> WGPUDevice

    adapter_supported_feature_u32_at

    fn adapter_supported_feature_u32_at(adapter : WGPUAdapter, index : UInt64) -> UInt

    adapter_supported_features_contains_u32

    fn adapter_supported_features_contains_u32(adapter : WGPUAdapter, feature_u32 : UInt) -> Bool

    adapter_supported_features_count_u64

    fn adapter_supported_features_count_u64(adapter : WGPUAdapter) -> UInt64

    bind_group_add_ref

    fn bind_group_add_ref(bind_group : WGPUBindGroup) -> Unit

    bind_group_builder_add_buffer

    fn bind_group_builder_add_buffer(builder : BindGroupBuilderObj, binding : UInt, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Bool

    bind_group_builder_add_buffer_array

    fn bind_group_builder_add_buffer_array(builder : BindGroupBuilderObj, binding : UInt, buffer_count : UInt64, buffers : FixedArray[WGPUBuffer], offset : UInt64, size : UInt64) -> Bool

    bind_group_builder_add_sampler

    fn bind_group_builder_add_sampler(builder : BindGroupBuilderObj, binding : UInt, sampler : WGPUSampler) -> Bool

    bind_group_builder_add_sampler_array

    fn bind_group_builder_add_sampler_array(builder : BindGroupBuilderObj, binding : UInt, sampler_count : UInt64, samplers : FixedArray[WGPUSampler]) -> Bool

    bind_group_builder_add_texture_view

    fn bind_group_builder_add_texture_view(builder : BindGroupBuilderObj, binding : UInt, view : WGPUTextureView) -> Bool

    bind_group_builder_add_texture_view_array

    fn bind_group_builder_add_texture_view_array(builder : BindGroupBuilderObj, binding : UInt, view_count : UInt64, views : FixedArray[WGPUTextureView]) -> Bool

    bind_group_builder_finish

    fn bind_group_builder_finish(device : WGPUDevice, layout : WGPUBindGroupLayout, builder : BindGroupBuilderObj, label : Bytes, label_len : UInt64) -> WGPUBindGroup

    bind_group_builder_free

    fn bind_group_builder_free(builder : BindGroupBuilderObj) -> Unit

    bind_group_builder_new

    fn bind_group_builder_new(max_entries : UInt64) -> BindGroupBuilderObj

    bind_group_descriptor_free

    fn bind_group_descriptor_free(desc : WGPUBindGroupDescriptorPtr) -> Unit

    bind_group_descriptor_sampler_new

    fn bind_group_descriptor_sampler_new(layout : WGPUBindGroupLayout, sampler : WGPUSampler) -> WGPUBindGroupDescriptorPtr

    bind_group_descriptor_sampler_texture_2d_new

    fn bind_group_descriptor_sampler_texture_2d_new(layout : WGPUBindGroupLayout, sampler : WGPUSampler, view : WGPUTextureView) -> WGPUBindGroupDescriptorPtr

    bind_group_descriptor_storage_buffer_new

    fn bind_group_descriptor_storage_buffer_new(layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroupDescriptorPtr

    bind_group_descriptor_storage_texture_2d_new

    fn bind_group_descriptor_storage_texture_2d_new(layout : WGPUBindGroupLayout, view : WGPUTextureView) -> WGPUBindGroupDescriptorPtr

    bind_group_descriptor_texture_2d_new

    fn bind_group_descriptor_texture_2d_new(layout : WGPUBindGroupLayout, view : WGPUTextureView) -> WGPUBindGroupDescriptorPtr

    bind_group_descriptor_uniform_buffer_16_new

    fn bind_group_descriptor_uniform_buffer_16_new(layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroupDescriptorPtr

    bind_group_descriptor_uniform_buffer_new

    fn bind_group_descriptor_uniform_buffer_new(layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroupDescriptorPtr

    bind_group_layout_add_ref

    fn bind_group_layout_add_ref(bind_group_layout : WGPUBindGroupLayout) -> Unit

    bind_group_layout_builder_add_buffer

    fn bind_group_layout_builder_add_buffer(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, type_u32 : UInt, has_dynamic_offset : Bool, min_binding_size : UInt64) -> Bool

    bind_group_layout_builder_add_buffer_array

    fn 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) -> Bool

    bind_group_layout_builder_add_sampler

    fn bind_group_layout_builder_add_sampler(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, type_u32 : UInt) -> Bool

    bind_group_layout_builder_add_sampler_array

    fn bind_group_layout_builder_add_sampler_array(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, type_u32 : UInt, count_u32 : UInt) -> Bool

    bind_group_layout_builder_add_storage_texture

    fn bind_group_layout_builder_add_storage_texture(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, access_u32 : UInt, format_u32 : UInt, view_dimension_u32 : UInt) -> Bool

    bind_group_layout_builder_add_storage_texture_array

    fn 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) -> Bool

    bind_group_layout_builder_add_texture

    fn bind_group_layout_builder_add_texture(builder : BindGroupLayoutBuilderObj, binding : UInt, visibility : UInt64, sample_type_u32 : UInt, view_dimension_u32 : UInt, multisampled : Bool) -> Bool

    bind_group_layout_builder_add_texture_array

    fn 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) -> Bool

    bind_group_layout_builder_finish

    fn bind_group_layout_builder_finish(device : WGPUDevice, builder : BindGroupLayoutBuilderObj, label : Bytes, label_len : UInt64) -> WGPUBindGroupLayout

    bind_group_layout_builder_free

    fn bind_group_layout_builder_free(builder : BindGroupLayoutBuilderObj) -> Unit

    bind_group_layout_builder_new

    fn bind_group_layout_builder_new(max_entries : UInt64) -> BindGroupLayoutBuilderObj

    bind_group_layout_descriptor_empty_new

    fn bind_group_layout_descriptor_empty_new() -> WGPUBindGroupLayoutDescriptorPtr

    bind_group_layout_descriptor_free

    fn bind_group_layout_descriptor_free(desc : WGPUBindGroupLayoutDescriptorPtr) -> Unit

    bind_group_layout_descriptor_sampler_filtering_new

    fn bind_group_layout_descriptor_sampler_filtering_new() -> WGPUBindGroupLayoutDescriptorPtr

    bind_group_layout_descriptor_sampler_texture_2d_new

    fn bind_group_layout_descriptor_sampler_texture_2d_new() -> WGPUBindGroupLayoutDescriptorPtr

    bind_group_layout_descriptor_storage_buffer_new

    fn bind_group_layout_descriptor_storage_buffer_new() -> WGPUBindGroupLayoutDescriptorPtr

    bind_group_layout_descriptor_storage_texture_rgba8_writeonly_new

    fn bind_group_layout_descriptor_storage_texture_rgba8_writeonly_new() -> WGPUBindGroupLayoutDescriptorPtr

    bind_group_layout_descriptor_texture_2d_float_new

    fn bind_group_layout_descriptor_texture_2d_float_new() -> WGPUBindGroupLayoutDescriptorPtr

    bind_group_layout_descriptor_uniform_buffer_dynamic_new

    fn bind_group_layout_descriptor_uniform_buffer_dynamic_new() -> WGPUBindGroupLayoutDescriptorPtr

    bind_group_layout_descriptor_uniform_buffer_new

    fn bind_group_layout_descriptor_uniform_buffer_new() -> WGPUBindGroupLayoutDescriptorPtr

    bind_group_layout_is_null

    fn bind_group_layout_is_null(bind_group_layout : WGPUBindGroupLayout) -> Bool

    bind_group_layout_release

    fn bind_group_layout_release(bind_group_layout : WGPUBindGroupLayout) -> Unit

    bind_group_layout_set_label_utf8

    fn bind_group_layout_set_label_utf8(bind_group_layout : WGPUBindGroupLayout, label : Bytes, label_len : UInt64) -> Unit

    bind_group_release

    fn bind_group_release(bind_group : WGPUBindGroup) -> Unit

    bind_group_set_label_utf8

    fn bind_group_set_label_utf8(bind_group : WGPUBindGroup, label : Bytes, label_len : UInt64) -> Unit

    buffer_add_ref_tracked

    fn buffer_add_ref_tracked(buffer : WGPUBuffer) -> Unit

    buffer_descriptor_free

    fn buffer_descriptor_free(desc : WGPUBufferDescriptorPtr) -> Unit

    buffer_descriptor_new

    fn buffer_descriptor_new(size : UInt64, usage : UInt64, mapped_at_creation : Bool) -> WGPUBufferDescriptorPtr

    buffer_destroy

    fn buffer_destroy(buffer : WGPUBuffer) -> Unit

    buffer_get_map_state_tracked

    fn buffer_get_map_state_tracked(buffer : WGPUBuffer) -> WGPUBufferMapState

    buffer_get_size

    fn buffer_get_size(buffer : WGPUBuffer) -> UInt64

    buffer_map_read_sync

    fn buffer_map_read_sync(instance : WGPUInstance, buffer : WGPUBuffer, offset : UInt64, size : UInt64, out : Bytes, out_len : UInt64) -> Bool

    buffer_map_state_u32

    fn buffer_map_state_u32(state : WGPUBufferMapState) -> UInt

    buffer_map_write_sync

    fn buffer_map_write_sync(instance : WGPUInstance, buffer : WGPUBuffer, offset : UInt64, data : Bytes, data_len : UInt64) -> Bool

    buffer_readback_sync

    fn buffer_readback_sync(instance : WGPUInstance, buffer : WGPUBuffer, offset : UInt64, size : UInt64, out : Bytes, out_len : UInt64) -> Bool

    buffer_release

    fn buffer_release(buffer : WGPUBuffer) -> Unit

    buffer_set_label_utf8

    fn buffer_set_label_utf8(buffer : WGPUBuffer, label : Bytes, label_len : UInt64) -> Unit

    buffer_unmap

    fn buffer_unmap(buffer : WGPUBuffer) -> Unit

    cametallayer_new

    fn cametallayer_new() -> OpaquePtr

    macOS/Metal surface helpers (CAMetalLayer + WGPUSurface).

    cametallayer_release

    fn cametallayer_release(layer : OpaquePtr) -> Unit

    cametallayer_retain

    fn cametallayer_retain(layer : OpaquePtr) -> Unit

    command_buffer_release

    fn command_buffer_release(command_buffer : WGPUCommandBuffer) -> Unit

    command_buffer_set_label_utf8

    fn command_buffer_set_label_utf8(command_buffer : WGPUCommandBuffer, label : Bytes, label_len : UInt64) -> Unit

    command_encoder_begin_compute_pass

    fn command_encoder_begin_compute_pass(encoder : WGPUCommandEncoder) -> WGPUComputePassEncoder

    command_encoder_begin_render_pass_color

    fn command_encoder_begin_render_pass_color(encoder : WGPUCommandEncoder, view : WGPUTextureView) -> WGPURenderPassEncoder

    command_encoder_begin_render_pass_color2

    fn command_encoder_begin_render_pass_color2(encoder : WGPUCommandEncoder, view0 : WGPUTextureView, view1 : WGPUTextureView) -> WGPURenderPassEncoder

    command_encoder_begin_render_pass_color2_depth

    fn command_encoder_begin_render_pass_color2_depth(encoder : WGPUCommandEncoder, color0_view : WGPUTextureView, color1_view : WGPUTextureView, depth_view : WGPUTextureView) -> WGPURenderPassEncoder

    command_encoder_begin_render_pass_color2_depth_u32

    fn 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) -> WGPURenderPassEncoder

    command_encoder_begin_render_pass_color_clear

    fn command_encoder_begin_render_pass_color_clear(encoder : WGPUCommandEncoder, view : WGPUTextureView, r : Float, g : Float, b : Float, a : Float) -> WGPURenderPassEncoder

    command_encoder_begin_render_pass_color_depth

    fn command_encoder_begin_render_pass_color_depth(encoder : WGPUCommandEncoder, color_view : WGPUTextureView, depth_view : WGPUTextureView) -> WGPURenderPassEncoder

    command_encoder_begin_render_pass_color_depth_u32

    fn 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) -> WGPURenderPassEncoder

    command_encoder_begin_render_pass_color_load

    fn command_encoder_begin_render_pass_color_load(encoder : WGPUCommandEncoder, view : WGPUTextureView) -> WGPURenderPassEncoder

    command_encoder_begin_render_pass_color_occlusion

    fn command_encoder_begin_render_pass_color_occlusion(encoder : WGPUCommandEncoder, view : WGPUTextureView, query_set : WGPUQuerySet) -> WGPURenderPassEncoder

    command_encoder_clear_buffer

    fn command_encoder_clear_buffer(encoder : WGPUCommandEncoder, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unit

    command_encoder_copy_buffer_to_buffer

    fn command_encoder_copy_buffer_to_buffer(encoder : WGPUCommandEncoder, source : WGPUBuffer, source_offset : UInt64, destination : WGPUBuffer, destination_offset : UInt64, size : UInt64) -> Unit

    command_encoder_copy_buffer_to_texture_rgba8

    fn command_encoder_copy_buffer_to_texture_rgba8(encoder : WGPUCommandEncoder, buffer : WGPUBuffer, texture : WGPUTexture, width : UInt, height : UInt) -> Unit

    command_encoder_copy_buffer_to_texture_rgba8_mip_layer

    fn 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) -> Unit

    command_encoder_copy_texture_to_buffer_bytes_per_pixel

    fn command_encoder_copy_texture_to_buffer_bytes_per_pixel(encoder : WGPUCommandEncoder, texture : WGPUTexture, buffer : WGPUBuffer, width : UInt, height : UInt, bytes_per_pixel : UInt) -> Unit

    command_encoder_copy_texture_to_buffer_bytes_per_pixel_mip_layer

    fn 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) -> Unit

    command_encoder_copy_texture_to_buffer_rgba8

    fn command_encoder_copy_texture_to_buffer_rgba8(encoder : WGPUCommandEncoder, texture : WGPUTexture, buffer : WGPUBuffer, width : UInt, height : UInt) -> Unit

    command_encoder_copy_texture_to_buffer_rgba8_mip_layer

    fn 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) -> Unit

    command_encoder_copy_texture_to_texture_rgba8

    fn command_encoder_copy_texture_to_texture_rgba8(encoder : WGPUCommandEncoder, src : WGPUTexture, dst : WGPUTexture, width : UInt, height : UInt) -> Unit

    command_encoder_copy_texture_to_texture_rgba8_mip_layer

    fn 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) -> Unit

    command_encoder_finish

    fn command_encoder_finish(encoder : WGPUCommandEncoder) -> WGPUCommandBuffer

    command_encoder_insert_debug_marker_utf8

    fn command_encoder_insert_debug_marker_utf8(encoder : WGPUCommandEncoder, label : Bytes, label_len : UInt64) -> Unit

    command_encoder_pop_debug_group

    fn command_encoder_pop_debug_group(encoder : WGPUCommandEncoder) -> Unit

    command_encoder_push_debug_group_utf8

    fn command_encoder_push_debug_group_utf8(encoder : WGPUCommandEncoder, label : Bytes, label_len : UInt64) -> Unit

    command_encoder_release

    fn command_encoder_release(command_encoder : WGPUCommandEncoder) -> Unit

    command_encoder_resolve_query_set

    fn command_encoder_resolve_query_set(encoder : WGPUCommandEncoder, query_set : WGPUQuerySet, first_query : UInt, query_count : UInt, destination : WGPUBuffer, destination_offset : UInt64) -> Unit

    command_encoder_set_label_utf8

    fn command_encoder_set_label_utf8(encoder : WGPUCommandEncoder, label : Bytes, label_len : UInt64) -> Unit

    command_encoder_write_timestamp

    fn command_encoder_write_timestamp(encoder : WGPUCommandEncoder, query_set : WGPUQuerySet, query_index : UInt) -> Unit

    compilation_info_availability_u32

    fn compilation_info_availability_u32() -> UInt

    compilation_info_enabled_u32

    fn compilation_info_enabled_u32() -> UInt

    compilation_info_free

    fn compilation_info_free(info : OpaquePtr) -> Unit

    compilation_info_last_error_kind_u32

    fn compilation_info_last_error_kind_u32() -> UInt

    compilation_info_last_status_u32

    fn compilation_info_last_status_u32() -> UInt

    compilation_info_message_count_u32

    fn compilation_info_message_count_u32(info : OpaquePtr) -> UInt

    compilation_info_message_length_u64

    fn compilation_info_message_length_u64(info : OpaquePtr, index : UInt) -> UInt64

    compilation_info_message_line_num_u64

    fn compilation_info_message_line_num_u64(info : OpaquePtr, index : UInt) -> UInt64

    compilation_info_message_line_pos_u64

    fn compilation_info_message_line_pos_u64(info : OpaquePtr, index : UInt) -> UInt64

    compilation_info_message_offset_u64

    fn compilation_info_message_offset_u64(info : OpaquePtr, index : UInt) -> UInt64

    compilation_info_message_type_u32

    fn compilation_info_message_type_u32(info : OpaquePtr, index : UInt) -> UInt

    compilation_info_message_utf8

    fn compilation_info_message_utf8(info : OpaquePtr, index : UInt, out : Bytes, out_len : UInt64) -> Bool

    compilation_info_message_utf8_len

    fn compilation_info_message_utf8_len(info : OpaquePtr, index : UInt) -> UInt64

    compilation_info_status_u32

    fn compilation_info_status_u32(info : OpaquePtr) -> UInt

    compute_pass_begin_pipeline_statistics_query

    fn compute_pass_begin_pipeline_statistics_query(pass : WGPUComputePassEncoder, query_set : WGPUQuerySet, query_index : UInt) -> Unit

    compute_pass_descriptor_default_new

    fn compute_pass_descriptor_default_new() -> WGPUComputePassDescriptorPtr

    compute_pass_descriptor_free

    fn compute_pass_descriptor_free(desc : WGPUComputePassDescriptorPtr) -> Unit

    compute_pass_dispatch_workgroups

    fn compute_pass_dispatch_workgroups(pass : WGPUComputePassEncoder, x : UInt, y : UInt, z : UInt) -> Unit

    compute_pass_dispatch_workgroups_indirect

    fn compute_pass_dispatch_workgroups_indirect(pass : WGPUComputePassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64) -> Unit

    compute_pass_end

    fn compute_pass_end(pass : WGPUComputePassEncoder) -> Unit

    compute_pass_end_pipeline_statistics_query

    fn compute_pass_end_pipeline_statistics_query(pass : WGPUComputePassEncoder) -> Unit

    compute_pass_insert_debug_marker_utf8

    fn compute_pass_insert_debug_marker_utf8(pass : WGPUComputePassEncoder, label : Bytes, label_len : UInt64) -> Unit

    compute_pass_pop_debug_group

    fn compute_pass_pop_debug_group(pass : WGPUComputePassEncoder) -> Unit

    compute_pass_push_debug_group_utf8

    fn compute_pass_push_debug_group_utf8(pass : WGPUComputePassEncoder, label : Bytes, label_len : UInt64) -> Unit

    compute_pass_release

    fn compute_pass_release(pass : WGPUComputePassEncoder) -> Unit

    compute_pass_set_bind_group

    fn compute_pass_set_bind_group(pass : WGPUComputePassEncoder, index : UInt, group : WGPUBindGroup, dynamic_offsets : Array[UInt]) -> Unit

    compute_pass_set_bind_group0

    fn compute_pass_set_bind_group0(pass : WGPUComputePassEncoder, group : WGPUBindGroup) -> Unit

    compute_pass_set_label_utf8

    fn compute_pass_set_label_utf8(pass : WGPUComputePassEncoder, label : Bytes, label_len : UInt64) -> Unit

    compute_pass_set_pipeline

    fn compute_pass_set_pipeline(pass : WGPUComputePassEncoder, pipeline : WGPUComputePipeline) -> Unit

    compute_pass_set_push_constants_bytes

    fn compute_pass_set_push_constants_bytes(encoder : WGPUComputePassEncoder, offset : UInt, data : Bytes, data_len : UInt64) -> Unit

    compute_pass_write_timestamp

    fn compute_pass_write_timestamp(pass : WGPUComputePassEncoder, query_set : WGPUQuerySet, query_index : UInt) -> Unit

    compute_pipeline_desc_builder_free

    fn compute_pipeline_desc_builder_free(builder : ComputePipelineDescBuilderObj) -> Unit

    compute_pipeline_desc_builder_is_null

    fn compute_pipeline_desc_builder_is_null(builder : ComputePipelineDescBuilderObj) -> Bool

    compute_pipeline_desc_builder_last_error_args_u64

    fn compute_pipeline_desc_builder_last_error_args_u64(builder : ComputePipelineDescBuilderObj) -> UInt64

    compute_pipeline_desc_builder_last_error_u32

    fn compute_pipeline_desc_builder_last_error_u32(builder : ComputePipelineDescBuilderObj) -> UInt

    compute_pipeline_desc_builder_new

    fn compute_pipeline_desc_builder_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> ComputePipelineDescBuilderObj

    compute_pipeline_desc_builder_set_entry_point_utf8

    fn compute_pipeline_desc_builder_set_entry_point_utf8(builder : ComputePipelineDescBuilderObj, entry_point : Bytes, entry_point_len : UInt64) -> UInt

    compute_pipeline_desc_builder_take_descriptor

    fn compute_pipeline_desc_builder_take_descriptor(builder : ComputePipelineDescBuilderObj) -> WGPUComputePipelineDescriptorPtr

    compute_pipeline_descriptor_free

    fn compute_pipeline_descriptor_free(desc : WGPUComputePipelineDescriptorPtr) -> Unit

    compute_pipeline_descriptor_last_error_args_u64

    fn compute_pipeline_descriptor_last_error_args_u64(desc : WGPUComputePipelineDescriptorPtr) -> UInt64

    compute_pipeline_descriptor_last_error_u32

    fn compute_pipeline_descriptor_last_error_u32(desc : WGPUComputePipelineDescriptorPtr) -> UInt

    compute_pipeline_descriptor_new

    fn compute_pipeline_descriptor_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPUComputePipelineDescriptorPtr

    compute_pipeline_descriptor_ptr_is_null

    fn compute_pipeline_descriptor_ptr_is_null(p : WGPUComputePipelineDescriptorPtr) -> Bool

    compute_pipeline_descriptor_set_entry_point_utf8

    fn compute_pipeline_descriptor_set_entry_point_utf8(desc : WGPUComputePipelineDescriptorPtr, entry_point : Bytes, entry_point_len : UInt64) -> UInt

    compute_pipeline_release

    fn compute_pipeline_release(pipeline : WGPUComputePipeline) -> Unit

    compute_pipeline_set_label_utf8

    fn compute_pipeline_set_label_utf8(pipeline : WGPUComputePipeline, label : Bytes, label_len : UInt64) -> Unit

    create_instance

    fn create_instance() -> WGPUInstance

    create_instance_with_extras_u32

    fn 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) -> WGPUInstance

    create_instance_with_extras_utf8

    fn 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) -> WGPUInstance

    device_create_bind_group_layout_empty

    fn device_create_bind_group_layout_empty(device : WGPUDevice) -> WGPUBindGroupLayout

    device_create_bind_group_layout_sampler_filtering

    fn device_create_bind_group_layout_sampler_filtering(device : WGPUDevice) -> WGPUBindGroupLayout

    device_create_bind_group_layout_sampler_texture_2d

    fn device_create_bind_group_layout_sampler_texture_2d(device : WGPUDevice) -> WGPUBindGroupLayout

    device_create_bind_group_layout_storage_buffer

    fn device_create_bind_group_layout_storage_buffer(device : WGPUDevice) -> WGPUBindGroupLayout

    device_create_bind_group_layout_storage_texture_rgba8_writeonly

    fn device_create_bind_group_layout_storage_texture_rgba8_writeonly(device : WGPUDevice) -> WGPUBindGroupLayout

    device_create_bind_group_layout_texture_2d_float

    fn device_create_bind_group_layout_texture_2d_float(device : WGPUDevice) -> WGPUBindGroupLayout

    device_create_bind_group_layout_uniform_buffer

    fn device_create_bind_group_layout_uniform_buffer(device : WGPUDevice) -> WGPUBindGroupLayout

    device_create_bind_group_layout_uniform_buffer_dynamic

    fn device_create_bind_group_layout_uniform_buffer_dynamic(device : WGPUDevice) -> WGPUBindGroupLayout

    device_create_bind_group_sampler

    fn device_create_bind_group_sampler(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, sampler : WGPUSampler) -> WGPUBindGroup

    device_create_bind_group_sampler_texture_2d

    fn device_create_bind_group_sampler_texture_2d(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, sampler : WGPUSampler, view : WGPUTextureView) -> WGPUBindGroup

    device_create_bind_group_storage_buffer

    fn device_create_bind_group_storage_buffer(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroup

    device_create_bind_group_storage_texture_2d

    fn device_create_bind_group_storage_texture_2d(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, view : WGPUTextureView) -> WGPUBindGroup

    device_create_bind_group_texture_2d

    fn device_create_bind_group_texture_2d(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, view : WGPUTextureView) -> WGPUBindGroup

    device_create_bind_group_uniform_buffer

    fn device_create_bind_group_uniform_buffer(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroup

    device_create_bind_group_uniform_buffer_16

    fn device_create_bind_group_uniform_buffer_16(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout, buffer : WGPUBuffer) -> WGPUBindGroup

    device_create_buffer

    fn device_create_buffer(device : WGPUDevice, size : UInt64, usage : UInt64, mapped_at_creation : Bool) -> WGPUBuffer

    device_create_buffer_ptr_tracked

    fn device_create_buffer_ptr_tracked(device : WGPUDevice, descriptor : WGPUBufferDescriptorPtr) -> WGPUBuffer

    device_create_command_encoder

    fn device_create_command_encoder(device : WGPUDevice) -> WGPUCommandEncoder

    device_create_compute_pipeline

    fn device_create_compute_pipeline(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPUComputePipeline

    device_create_compute_pipeline_async_sync_ptr

    fn device_create_compute_pipeline_async_sync_ptr(instance : WGPUInstance, device : WGPUDevice, descriptor : WGPUComputePipelineDescriptorPtr) -> WGPUComputePipeline

    device_create_compute_pipeline_async_sync_ptr_strict

    fn device_create_compute_pipeline_async_sync_ptr_strict(instance : WGPUInstance, device : WGPUDevice, descriptor : WGPUComputePipelineDescriptorPtr) -> WGPUComputePipeline

    device_create_compute_pipeline_with_layout

    fn device_create_compute_pipeline_with_layout(device : WGPUDevice, layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPUComputePipeline

    device_create_pipeline_layout_1

    fn device_create_pipeline_layout_1(device : WGPUDevice, bind_group_layout : WGPUBindGroupLayout) -> WGPUPipelineLayout

    device_create_pipeline_layout_2

    fn device_create_pipeline_layout_2(device : WGPUDevice, bind_group_layout0 : WGPUBindGroupLayout, bind_group_layout1 : WGPUBindGroupLayout) -> WGPUPipelineLayout

    device_create_pipeline_layout_push_constants

    fn device_create_pipeline_layout_push_constants(device : WGPUDevice, stages : UInt64, start : UInt, end : UInt) -> WGPUPipelineLayout

    device_create_pipeline_layout_push_constants_many

    fn device_create_pipeline_layout_push_constants_many(device : WGPUDevice, first_stages : UInt64, first_start : UInt, first_end : UInt, other_ranges : Array[(UInt64, UInt, UInt)]) -> WGPUPipelineLayout

    device_create_query_set

    fn device_create_query_set(device : WGPUDevice, descriptor : WGPUQuerySetDescriptorPtr) -> WGPUQuerySet

    device_create_query_set_occlusion

    fn device_create_query_set_occlusion(device : WGPUDevice, count : UInt) -> WGPUQuerySet

    device_create_query_set_pipeline_statistics

    fn device_create_query_set_pipeline_statistics(device : WGPUDevice, count : UInt, statistic_name : UInt) -> WGPUQuerySet

    device_create_query_set_pipeline_statistics_many

    fn device_create_query_set_pipeline_statistics_many(device : WGPUDevice, count : UInt, first_statistic_name_u32 : UInt, other_statistic_names_u32 : Array[UInt]) -> WGPUQuerySet

    device_create_query_set_timestamp

    fn device_create_query_set_timestamp(device : WGPUDevice, count : UInt) -> WGPUQuerySet

    device_create_render_bundle_encoder_rgba8

    fn device_create_render_bundle_encoder_rgba8(device : WGPUDevice) -> WGPURenderBundleEncoder

    device_create_render_pipeline_async_sync_ptr

    fn device_create_render_pipeline_async_sync_ptr(instance : WGPUInstance, device : WGPUDevice, descriptor : WGPURenderPipelineDescriptorPtr) -> WGPURenderPipeline

    device_create_render_pipeline_async_sync_ptr_strict

    fn device_create_render_pipeline_async_sync_ptr_strict(instance : WGPUInstance, device : WGPUDevice, descriptor : WGPURenderPipelineDescriptorPtr) -> WGPURenderPipeline

    device_create_render_pipeline_color_format

    fn device_create_render_pipeline_color_format(device : WGPUDevice, shader_module : WGPUShaderModule, format : UInt) -> WGPURenderPipeline

    device_create_render_pipeline_color_format_alpha_blend

    fn device_create_render_pipeline_color_format_alpha_blend(device : WGPUDevice, shader_module : WGPUShaderModule, format : UInt) -> WGPURenderPipeline

    device_create_render_pipeline_rgba8

    fn device_create_render_pipeline_rgba8(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPURenderPipeline

    device_create_render_pipeline_rgba8_alpha_blend

    fn device_create_render_pipeline_rgba8_alpha_blend(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPURenderPipeline

    device_create_render_pipeline_rgba8_depth

    fn device_create_render_pipeline_rgba8_depth(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPURenderPipeline

    device_create_render_pipeline_rgba8_mrt2

    fn device_create_render_pipeline_rgba8_mrt2(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPURenderPipeline

    device_create_render_pipeline_rgba8_pos2

    fn device_create_render_pipeline_rgba8_pos2(device : WGPUDevice, shader_module : WGPUShaderModule) -> WGPURenderPipeline

    device_create_render_pipeline_rgba8_pos2_with_layout

    fn device_create_render_pipeline_rgba8_pos2_with_layout(device : WGPUDevice, layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipeline

    device_create_render_pipeline_rgba8_with_layout

    fn device_create_render_pipeline_rgba8_with_layout(device : WGPUDevice, layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipeline

    device_create_sampler_linear_clamp

    fn device_create_sampler_linear_clamp(device : WGPUDevice) -> WGPUSampler

    device_create_sampler_linear_mirror_repeat

    fn device_create_sampler_linear_mirror_repeat(device : WGPUDevice) -> WGPUSampler

    device_create_sampler_linear_repeat

    fn device_create_sampler_linear_repeat(device : WGPUDevice) -> WGPUSampler

    device_create_sampler_nearest_clamp

    fn device_create_sampler_nearest_clamp(device : WGPUDevice) -> WGPUSampler

    device_create_sampler_nearest_mirror_repeat

    fn device_create_sampler_nearest_mirror_repeat(device : WGPUDevice) -> WGPUSampler

    device_create_sampler_nearest_repeat

    fn device_create_sampler_nearest_repeat(device : WGPUDevice) -> WGPUSampler

    device_create_sampler_u32

    fn 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) -> WGPUSampler

    device_create_shader_module_glsl

    fn device_create_shader_module_glsl(device : WGPUDevice, stage_u64 : UInt64, code : Bytes, code_len : UInt64) -> WGPUShaderModule

    device_create_shader_module_spirv

    fn device_create_shader_module_spirv(device : WGPUDevice, source : Bytes, source_len : UInt64) -> WGPUShaderModule

    device_create_shader_module_wgsl

    fn device_create_shader_module_wgsl(device : WGPUDevice, code : Bytes, code_len : UInt64) -> WGPUShaderModule

    device_create_texture_depth24plus_2d

    fn device_create_texture_depth24plus_2d(device : WGPUDevice, width : UInt, height : UInt) -> WGPUTexture

    device_create_texture_rgba8_2d

    fn device_create_texture_rgba8_2d(device : WGPUDevice, width : UInt, height : UInt) -> WGPUTexture

    device_create_texture_rgba8_2d_array_with_usage

    fn device_create_texture_rgba8_2d_array_with_usage(device : WGPUDevice, width : UInt, height : UInt, layers : UInt, mip_level_count : UInt, usage : UInt64) -> WGPUTexture

    device_create_texture_rgba8_2d_with_usage

    fn device_create_texture_rgba8_2d_with_usage(device : WGPUDevice, width : UInt, height : UInt, usage : UInt64) -> WGPUTexture

    device_create_texture_u32

    fn 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) -> WGPUTexture

    device_create_texture_view_formats_u32

    fn 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]) -> WGPUTexture

    device_descriptor_free

    fn device_descriptor_free(desc : WGPUDeviceDescriptorPtr) -> Unit

    device_descriptor_new_features_utf8

    fn 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) -> WGPUDeviceDescriptorPtr

    device_descriptor_new_no_features_utf8

    fn device_descriptor_new_no_features_utf8(label : Bytes, label_len : UInt64, queue_label : Bytes, queue_label_len : UInt64) -> WGPUDeviceDescriptorPtr

    device_descriptor_set_required_limits

    fn device_descriptor_set_required_limits(desc : WGPUDeviceDescriptorPtr, limits : WGPULimitsPtr) -> Unit

    device_descriptor_set_trace_path_utf8

    fn device_descriptor_set_trace_path_utf8(desc : WGPUDeviceDescriptorPtr, trace_path : Bytes, trace_path_len : UInt64) -> Unit

    Set native WGPUDeviceExtras.tracePath on a descriptor allocated by this package.

    device_destroy

    fn device_destroy(device : WGPUDevice) -> Unit

    device_destroy_record_lost

    fn device_destroy_record_lost(device : WGPUDevice) -> Unit

    device_get_queue

    fn device_get_queue(device : WGPUDevice) -> WGPUQueue

    device_info_adapter_type_u32

    fn device_info_adapter_type_u32(device : WGPUDevice) -> UInt

    device_info_architecture_utf8

    fn device_info_architecture_utf8(device : WGPUDevice, out : Bytes, out_len : UInt64) -> Bool

    device_info_architecture_utf8_len

    fn device_info_architecture_utf8_len(device : WGPUDevice) -> UInt64

    device_info_backend_type_u32

    fn device_info_backend_type_u32(device : WGPUDevice) -> UInt

    device_info_description_utf8

    fn device_info_description_utf8(device : WGPUDevice, out : Bytes, out_len : UInt64) -> Bool

    device_info_description_utf8_len

    fn device_info_description_utf8_len(device : WGPUDevice) -> UInt64

    device_info_device_id_u32

    fn device_info_device_id_u32(device : WGPUDevice) -> UInt

    device_info_device_utf8

    fn device_info_device_utf8(device : WGPUDevice, out : Bytes, out_len : UInt64) -> Bool

    device_info_device_utf8_len

    fn device_info_device_utf8_len(device : WGPUDevice) -> UInt64

    device_info_vendor_id_u32

    fn device_info_vendor_id_u32(device : WGPUDevice) -> UInt

    device_info_vendor_utf8

    fn device_info_vendor_utf8(device : WGPUDevice, out : Bytes, out_len : UInt64) -> Bool

    device_info_vendor_utf8_len

    fn device_info_vendor_utf8_len(device : WGPUDevice) -> UInt64

    device_is_null

    fn device_is_null(device : WGPUDevice) -> Bool

    device_limits_max_bind_groups_plus_vertex_buffers_u32

    fn device_limits_max_bind_groups_plus_vertex_buffers_u32(device : WGPUDevice) -> UInt

    device_limits_max_bind_groups_u32

    fn device_limits_max_bind_groups_u32(device : WGPUDevice) -> UInt

    device_limits_max_bindings_per_bind_group_u32

    fn device_limits_max_bindings_per_bind_group_u32(device : WGPUDevice) -> UInt

    device_limits_max_buffer_size_u64

    fn device_limits_max_buffer_size_u64(device : WGPUDevice) -> UInt64

    device_limits_max_color_attachment_bytes_per_sample_u32

    fn device_limits_max_color_attachment_bytes_per_sample_u32(device : WGPUDevice) -> UInt

    device_limits_max_color_attachments_u32

    fn device_limits_max_color_attachments_u32(device : WGPUDevice) -> UInt

    device_limits_max_compute_invocations_per_workgroup_u32

    fn device_limits_max_compute_invocations_per_workgroup_u32(device : WGPUDevice) -> UInt

    device_limits_max_compute_workgroup_size_x_u32

    fn device_limits_max_compute_workgroup_size_x_u32(device : WGPUDevice) -> UInt

    device_limits_max_compute_workgroup_size_y_u32

    fn device_limits_max_compute_workgroup_size_y_u32(device : WGPUDevice) -> UInt

    device_limits_max_compute_workgroup_size_z_u32

    fn device_limits_max_compute_workgroup_size_z_u32(device : WGPUDevice) -> UInt

    device_limits_max_compute_workgroup_storage_size_u32

    fn device_limits_max_compute_workgroup_storage_size_u32(device : WGPUDevice) -> UInt

    device_limits_max_compute_workgroups_per_dimension_u32

    fn device_limits_max_compute_workgroups_per_dimension_u32(device : WGPUDevice) -> UInt

    device_limits_max_dynamic_storage_buffers_per_pipeline_layout_u32

    fn device_limits_max_dynamic_storage_buffers_per_pipeline_layout_u32(device : WGPUDevice) -> UInt

    device_limits_max_dynamic_uniform_buffers_per_pipeline_layout_u32

    fn device_limits_max_dynamic_uniform_buffers_per_pipeline_layout_u32(device : WGPUDevice) -> UInt

    device_limits_max_inter_stage_shader_variables_u32

    fn device_limits_max_inter_stage_shader_variables_u32(device : WGPUDevice) -> UInt

    device_limits_max_non_sampler_bindings_u32

    fn device_limits_max_non_sampler_bindings_u32(device : WGPUDevice) -> UInt

    device_limits_max_push_constant_size_u32

    fn device_limits_max_push_constant_size_u32(device : WGPUDevice) -> UInt

    device_limits_max_sampled_textures_per_shader_stage_u32

    fn device_limits_max_sampled_textures_per_shader_stage_u32(device : WGPUDevice) -> UInt

    device_limits_max_samplers_per_shader_stage_u32

    fn device_limits_max_samplers_per_shader_stage_u32(device : WGPUDevice) -> UInt

    device_limits_max_storage_buffer_binding_size_u64

    fn device_limits_max_storage_buffer_binding_size_u64(device : WGPUDevice) -> UInt64

    device_limits_max_storage_buffers_per_shader_stage_u32

    fn device_limits_max_storage_buffers_per_shader_stage_u32(device : WGPUDevice) -> UInt

    device_limits_max_storage_textures_per_shader_stage_u32

    fn device_limits_max_storage_textures_per_shader_stage_u32(device : WGPUDevice) -> UInt

    device_limits_max_texture_array_layers_u32

    fn device_limits_max_texture_array_layers_u32(device : WGPUDevice) -> UInt

    device_limits_max_texture_dimension_1d_u32

    fn device_limits_max_texture_dimension_1d_u32(device : WGPUDevice) -> UInt

    device_limits_max_texture_dimension_2d_u32

    fn device_limits_max_texture_dimension_2d_u32(device : WGPUDevice) -> UInt

    device_limits_max_texture_dimension_3d_u32

    fn device_limits_max_texture_dimension_3d_u32(device : WGPUDevice) -> UInt

    device_limits_max_uniform_buffer_binding_size_u64

    fn device_limits_max_uniform_buffer_binding_size_u64(device : WGPUDevice) -> UInt64

    device_limits_max_uniform_buffers_per_shader_stage_u32

    fn device_limits_max_uniform_buffers_per_shader_stage_u32(device : WGPUDevice) -> UInt

    device_limits_max_vertex_attributes_u32

    fn device_limits_max_vertex_attributes_u32(device : WGPUDevice) -> UInt

    device_limits_max_vertex_buffer_array_stride_u32

    fn device_limits_max_vertex_buffer_array_stride_u32(device : WGPUDevice) -> UInt

    device_limits_max_vertex_buffers_u32

    fn device_limits_max_vertex_buffers_u32(device : WGPUDevice) -> UInt

    device_limits_min_storage_buffer_offset_alignment_u32

    fn device_limits_min_storage_buffer_offset_alignment_u32(device : WGPUDevice) -> UInt

    device_limits_min_uniform_buffer_offset_alignment_u32

    fn device_limits_min_uniform_buffer_offset_alignment_u32(device : WGPUDevice) -> UInt

    device_poll

    fn device_poll(device : WGPUDevice, wait : Bool, submission_index : WGPUSubmissionIndexPtr) -> Bool

    device_pop_error_scope_sync_last_message_utf8

    fn device_pop_error_scope_sync_last_message_utf8(out : Bytes, out_len : UInt64) -> Bool

    device_pop_error_scope_sync_last_message_utf8_len

    fn device_pop_error_scope_sync_last_message_utf8_len() -> UInt64

    device_pop_error_scope_sync_u32

    fn device_pop_error_scope_sync_u32(instance : WGPUInstance, device : WGPUDevice) -> UInt

    device_push_error_scope_u32

    fn device_push_error_scope_u32(device : WGPUDevice, filter_u32 : UInt) -> Unit

    device_release

    fn device_release(device : WGPUDevice) -> Unit

    device_set_label_utf8

    fn device_set_label_utf8(device : WGPUDevice, label : Bytes, label_len : UInt64) -> Unit

    device_supported_feature_u32_at

    fn device_supported_feature_u32_at(device : WGPUDevice, index : UInt64) -> UInt

    device_supported_features_contains_u32

    fn device_supported_features_contains_u32(device : WGPUDevice, feature_u32 : UInt) -> Bool

    device_supported_features_count_u64

    fn device_supported_features_count_u64(device : WGPUDevice) -> UInt64

    device_take_lost_reason_u32

    fn device_take_lost_reason_u32(device : WGPUDevice) -> UInt

    device_wait_lost_reason_sync_u32

    fn device_wait_lost_reason_sync_u32(instance : WGPUInstance, device : WGPUDevice) -> UInt

    extent3d_free

    fn extent3d_free(extent : WGPUExtent3DPtr) -> Unit

    extent3d_new

    fn extent3d_new(width : UInt, height : UInt, depth_or_array_layers : UInt) -> WGPUExtent3DPtr

    feature_name_native_clear_texture

    fn feature_name_native_clear_texture() -> WGPUFeatureName

    feature_name_native_multiview

    fn feature_name_native_multiview() -> WGPUFeatureName

    feature_name_native_pipeline_statistics_query

    fn feature_name_native_pipeline_statistics_query() -> WGPUFeatureName

    feature_name_native_push_constants

    fn feature_name_native_push_constants() -> WGPUFeatureName

    feature_name_native_spirv_shader_passthrough

    fn feature_name_native_spirv_shader_passthrough() -> WGPUFeatureName

    feature_name_native_timestamp_query_inside_encoders

    fn feature_name_native_timestamp_query_inside_encoders() -> WGPUFeatureName

    feature_name_native_timestamp_query_inside_passes

    fn feature_name_native_timestamp_query_inside_passes() -> WGPUFeatureName

    feature_name_timestamp_query

    fn feature_name_timestamp_query() -> WGPUFeatureName

    global_report_free

    fn global_report_free(report : WGPUGlobalReportPtr) -> Unit

    global_report_hub_bind_group_layouts_num_kept_from_user

    fn global_report_hub_bind_group_layouts_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_bind_group_layouts_num_released_from_user

    fn global_report_hub_bind_group_layouts_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_bind_groups_num_kept_from_user

    fn global_report_hub_bind_groups_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_bind_groups_num_released_from_user

    fn global_report_hub_bind_groups_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_buffers_num_kept_from_user

    fn global_report_hub_buffers_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_buffers_num_released_from_user

    fn global_report_hub_buffers_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_command_buffers_num_kept_from_user

    fn global_report_hub_command_buffers_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_command_buffers_num_released_from_user

    fn global_report_hub_command_buffers_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_compute_pipelines_num_kept_from_user

    fn global_report_hub_compute_pipelines_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_compute_pipelines_num_released_from_user

    fn global_report_hub_compute_pipelines_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_devices_element_size

    fn global_report_hub_devices_element_size(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_devices_num_allocated

    fn global_report_hub_devices_num_allocated(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_devices_num_kept_from_user

    fn global_report_hub_devices_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_devices_num_released_from_user

    fn global_report_hub_devices_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_pipeline_layouts_num_kept_from_user

    fn global_report_hub_pipeline_layouts_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_pipeline_layouts_num_released_from_user

    fn global_report_hub_pipeline_layouts_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_queues_num_kept_from_user

    fn global_report_hub_queues_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_queues_num_released_from_user

    fn global_report_hub_queues_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_render_pipelines_num_kept_from_user

    fn global_report_hub_render_pipelines_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_render_pipelines_num_released_from_user

    fn global_report_hub_render_pipelines_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_samplers_num_kept_from_user

    fn global_report_hub_samplers_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_samplers_num_released_from_user

    fn global_report_hub_samplers_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_shader_modules_num_kept_from_user

    fn global_report_hub_shader_modules_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_shader_modules_num_released_from_user

    fn global_report_hub_shader_modules_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_texture_views_num_kept_from_user

    fn global_report_hub_texture_views_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_texture_views_num_released_from_user

    fn global_report_hub_texture_views_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_textures_num_kept_from_user

    fn global_report_hub_textures_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_hub_textures_num_released_from_user

    fn global_report_hub_textures_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_surfaces_element_size

    fn global_report_surfaces_element_size(report : WGPUGlobalReportPtr) -> UInt64

    global_report_surfaces_num_allocated

    fn global_report_surfaces_num_allocated(report : WGPUGlobalReportPtr) -> UInt64

    global_report_surfaces_num_kept_from_user

    fn global_report_surfaces_num_kept_from_user(report : WGPUGlobalReportPtr) -> UInt64

    global_report_surfaces_num_released_from_user

    fn global_report_surfaces_num_released_from_user(report : WGPUGlobalReportPtr) -> UInt64

    index_format_uint16

    fn index_format_uint16() -> WGPUIndexFormat

    index_format_uint32

    fn index_format_uint32() -> WGPUIndexFormat

    instance_capabilities_timed_wait_any_enable_u32

    fn instance_capabilities_timed_wait_any_enable_u32() -> UInt

    instance_capabilities_timed_wait_any_max_count_u64

    fn instance_capabilities_timed_wait_any_max_count_u64() -> UInt64

    instance_create_surface_android_native_window

    fn instance_create_surface_android_native_window(instance : WGPUInstance, window : OpaquePtr) -> WGPUSurface

    Android surface helper (ANativeWindow*).

    instance_create_surface_metal_layer

    fn instance_create_surface_metal_layer(instance : WGPUInstance, layer : OpaquePtr) -> WGPUSurface

    instance_create_surface_swap_chain_panel

    fn instance_create_surface_swap_chain_panel(instance : WGPUInstance, panel_native : OpaquePtr) -> WGPUSurface

    SwapChainPanel surface helper (IInspectable* panel native pointer).

    instance_create_surface_wayland

    fn instance_create_surface_wayland(instance : WGPUInstance, display : OpaquePtr, surface : OpaquePtr) -> WGPUSurface

    Cross-platform surface helpers for Linux window systems.

    These create a WGPUSurface using the corresponding WGPUSurfaceSource* chained struct. Pointers are passed through as opaque handles.

    instance_create_surface_windows_hwnd

    fn instance_create_surface_windows_hwnd(instance : WGPUInstance, hinstance : OpaquePtr, hwnd : OpaquePtr) -> WGPUSurface

    Windows HWND surface helper (HINSTANCE, HWND).

    instance_create_surface_xcb

    fn instance_create_surface_xcb(instance : WGPUInstance, connection : OpaquePtr, window : UInt) -> WGPUSurface

    XCB surface helper (xcb_connection_t*, xcb_window_t).

    instance_create_surface_xlib

    fn instance_create_surface_xlib(instance : WGPUInstance, display : OpaquePtr, window : UInt64) -> WGPUSurface

    Xlib surface helper (Display*, Window).

    instance_enumerate_adapter_first_dx11

    fn instance_enumerate_adapter_first_dx11(instance : WGPUInstance) -> WGPUAdapter

    instance_enumerate_adapter_first_dx12

    fn instance_enumerate_adapter_first_dx12(instance : WGPUInstance) -> WGPUAdapter

    instance_enumerate_adapter_first_gl

    fn instance_enumerate_adapter_first_gl(instance : WGPUInstance) -> WGPUAdapter

    instance_enumerate_adapter_first_metal

    fn instance_enumerate_adapter_first_metal(instance : WGPUInstance) -> WGPUAdapter

    instance_enumerate_adapter_first_primary

    fn instance_enumerate_adapter_first_primary(instance : WGPUInstance) -> WGPUAdapter

    instance_enumerate_adapter_first_vulkan

    fn instance_enumerate_adapter_first_vulkan(instance : WGPUInstance) -> WGPUAdapter

    instance_enumerate_adapters_count_metal

    fn instance_enumerate_adapters_count_metal(instance : WGPUInstance) -> UInt64

    instance_enumerate_adapters_count_vulkan

    fn instance_enumerate_adapters_count_vulkan(instance : WGPUInstance) -> UInt64

    instance_generate_report_new

    fn instance_generate_report_new(instance : WGPUInstance) -> WGPUGlobalReportPtr

    instance_get_wgsl_language_features_safe

    fn instance_get_wgsl_language_features_safe(instance : WGPUInstance, features : WGPUSupportedWGSLLanguageFeaturesPtr) -> WGPUStatus

    instance_has_wgsl_language_feature_safe

    fn instance_has_wgsl_language_feature_safe(instance : WGPUInstance, feature : WGPUWGSLLanguageFeatureName) -> Bool

    instance_process_events

    fn instance_process_events(instance : WGPUInstance) -> Unit

    instance_release

    fn instance_release(instance : WGPUInstance) -> Unit

    instance_request_adapter_async_adapter

    fn instance_request_adapter_async_adapter(future_id : UInt64) -> WGPUAdapter

    instance_request_adapter_async_clear

    fn instance_request_adapter_async_clear(future_id : UInt64) -> Unit

    instance_request_adapter_async_message_utf8

    fn instance_request_adapter_async_message_utf8(future_id : UInt64, out : Bytes, out_len : UInt64) -> Bool

    instance_request_adapter_async_message_utf8_len

    fn instance_request_adapter_async_message_utf8_len(future_id : UInt64) -> UInt64

    instance_request_adapter_async_status_u32

    fn instance_request_adapter_async_status_u32(future_id : UInt64) -> UInt

    instance_request_adapter_future_id_u64

    fn instance_request_adapter_future_id_u64(instance : WGPUInstance, options : WGPURequestAdapterOptionsPtr) -> UInt64

    instance_request_adapter_sync

    fn instance_request_adapter_sync(instance : WGPUInstance) -> WGPUAdapter

    instance_request_adapter_sync_last_message_utf8

    fn instance_request_adapter_sync_last_message_utf8(out : Bytes, out_len : UInt64) -> Bool

    instance_request_adapter_sync_last_message_utf8_len

    fn instance_request_adapter_sync_last_message_utf8_len() -> UInt64

    instance_request_adapter_sync_last_status_u32

    fn instance_request_adapter_sync_last_status_u32() -> UInt

    instance_request_adapter_sync_options_u32

    fn 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) -> WGPUAdapter

    instance_request_adapter_sync_ptr

    fn instance_request_adapter_sync_ptr(instance : WGPUInstance, options : WGPURequestAdapterOptionsPtr) -> WGPUAdapter

    instance_wait_any_one_packed_u64

    fn instance_wait_any_one_packed_u64(instance : WGPUInstance, future_id : UInt64, timeout_ns : UInt64) -> UInt64

    instance_wgsl_language_features_count_u64

    fn instance_wgsl_language_features_count_u64(instance : WGPUInstance) -> UInt64

    limits_free

    fn limits_free(limits : WGPULimitsPtr) -> Unit

    limits_new_from_adapter_overrides_u32

    fn 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) -> WGPULimitsPtr

    native_available_u32

    fn native_available_u32() -> UInt

    native_diagnostic_utf8

    fn native_diagnostic_utf8(out : Bytes, out_len : UInt64) -> Bool

    native_diagnostic_utf8_len

    fn native_diagnostic_utf8_len() -> UInt64

    native_expected_tag_utf8

    fn native_expected_tag_utf8(out : Bytes, out_len : UInt64) -> Bool

    native_expected_tag_utf8_len

    fn native_expected_tag_utf8_len() -> UInt64

    native_recovery_hint_utf8

    fn native_recovery_hint_utf8(out : Bytes, out_len : UInt64) -> Bool

    native_recovery_hint_utf8_len

    fn native_recovery_hint_utf8_len() -> UInt64

    native_resolved_lib_path_utf8

    fn native_resolved_lib_path_utf8(out : Bytes, out_len : UInt64) -> Bool

    native_resolved_lib_path_utf8_len

    fn native_resolved_lib_path_utf8_len() -> UInt64

    native_static_linked_u32

    fn native_static_linked_u32() -> UInt

    native_supported_u32

    fn native_supported_u32() -> UInt

    null_adapter

    fn null_adapter() -> WGPUAdapter

    null_command_buffer_descriptor_ptr

    fn null_command_buffer_descriptor_ptr() -> WGPUCommandBufferDescriptorPtr

    null_command_encoder_descriptor_ptr

    fn null_command_encoder_descriptor_ptr() -> WGPUCommandEncoderDescriptorPtr

    null_compute_pipeline_descriptor_ptr

    fn null_compute_pipeline_descriptor_ptr() -> WGPUComputePipelineDescriptorPtr

    null_device

    fn null_device() -> WGPUDevice

    null_device_descriptor_ptr

    fn null_device_descriptor_ptr() -> WGPUDeviceDescriptorPtr

    null_instance_descriptor_ptr

    fn null_instance_descriptor_ptr() -> WGPUInstanceDescriptorPtr

    null_opaque_ptr

    fn null_opaque_ptr() -> OpaquePtr

    null_pipeline_layout

    fn null_pipeline_layout() -> WGPUPipelineLayout

    null_ptr

    fn null_ptr() -> UnitPtr

    null_render_pipeline_descriptor_ptr

    fn null_render_pipeline_descriptor_ptr() -> WGPURenderPipelineDescriptorPtr

    null_request_adapter_options_ptr

    fn null_request_adapter_options_ptr() -> WGPURequestAdapterOptionsPtr

    null_submission_index_ptr

    fn null_submission_index_ptr() -> WGPUSubmissionIndexPtr

    null_surface

    fn null_surface() -> WGPUSurface

    null_texture_view_descriptor_ptr

    fn null_texture_view_descriptor_ptr() -> WGPUTextureViewDescriptorPtr

    null_uint_ptr

    fn null_uint_ptr() -> UIntPtr

    opaque_ptr_is_null

    fn opaque_ptr_is_null(p : OpaquePtr) -> Bool

    optional_sym_present_utf8

    fn optional_sym_present_utf8(name : Bytes, name_len : UInt64) -> Bool

    pipeline_async_availability_u32

    fn pipeline_async_availability_u32() -> UInt

    pipeline_async_enabled_u32

    fn pipeline_async_enabled_u32() -> UInt

    pipeline_async_last_error_kind_u32

    fn pipeline_async_last_error_kind_u32() -> UInt

    pipeline_async_last_status_u32

    fn pipeline_async_last_status_u32() -> UInt

    pipeline_layout_descriptor_1_new

    fn pipeline_layout_descriptor_1_new(bind_group_layout : WGPUBindGroupLayout) -> WGPUPipelineLayoutDescriptorPtr

    pipeline_layout_descriptor_2_new

    fn pipeline_layout_descriptor_2_new(bind_group_layout0 : WGPUBindGroupLayout, bind_group_layout1 : WGPUBindGroupLayout) -> WGPUPipelineLayoutDescriptorPtr

    pipeline_layout_descriptor_free

    fn pipeline_layout_descriptor_free(desc : WGPUPipelineLayoutDescriptorPtr) -> Unit

    pipeline_layout_descriptor_push_constants_many_new

    fn pipeline_layout_descriptor_push_constants_many_new(range_count : UInt64, stages_u64 : FixedArray[UInt64], starts_u32 : FixedArray[UInt], ends_u32 : FixedArray[UInt]) -> WGPUPipelineLayoutDescriptorPtr

    pipeline_layout_descriptor_push_constants_new

    fn pipeline_layout_descriptor_push_constants_new(stages : UInt64, start : UInt, end : UInt) -> WGPUPipelineLayoutDescriptorPtr

    pipeline_layout_is_null

    fn pipeline_layout_is_null(pipeline_layout : WGPUPipelineLayout) -> Bool

    pipeline_layout_release

    fn pipeline_layout_release(pipeline_layout : WGPUPipelineLayout) -> Unit

    pipeline_layout_set_label_utf8

    fn pipeline_layout_set_label_utf8(pipeline_layout : WGPUPipelineLayout, label : Bytes, label_len : UInt64) -> Unit

    platform_is_linux

    fn platform_is_linux() -> Bool

    platform_is_macos

    fn platform_is_macos() -> Bool

    platform_is_windows

    fn platform_is_windows() -> Bool

    query_set_descriptor_free

    fn query_set_descriptor_free(desc : WGPUQuerySetDescriptorPtr) -> Unit

    query_set_descriptor_new

    fn query_set_descriptor_new(query_type : WGPUQueryType, count : UInt) -> WGPUQuerySetDescriptorPtr

    query_set_descriptor_pipeline_statistics_many_new

    fn query_set_descriptor_pipeline_statistics_many_new(count : UInt, statistic_count : UInt64, statistic_names_u32 : FixedArray[UInt]) -> WGPUQuerySetDescriptorPtr

    query_set_descriptor_pipeline_statistics_new

    fn query_set_descriptor_pipeline_statistics_new(count : UInt, statistic_name : UInt) -> WGPUQuerySetDescriptorPtr

    query_set_release

    fn query_set_release(query_set : WGPUQuerySet) -> Unit

    query_set_set_label_utf8

    fn query_set_set_label_utf8(query_set : WGPUQuerySet, label : Bytes, label_len : UInt64) -> Unit

    query_type_occlusion

    fn query_type_occlusion() -> WGPUQueryType

    query_type_pipeline_statistics

    fn query_type_pipeline_statistics() -> WGPUQueryType

    query_type_timestamp

    fn query_type_timestamp() -> WGPUQueryType

    queue_get_timestamp_period

    fn queue_get_timestamp_period(queue : WGPUQueue) -> Float

    queue_on_submitted_work_done_async_clear

    fn queue_on_submitted_work_done_async_clear(future_id : UInt64) -> Unit

    queue_on_submitted_work_done_async_status_u32

    fn queue_on_submitted_work_done_async_status_u32(future_id : UInt64) -> UInt

    queue_on_submitted_work_done_future_id_u64

    fn queue_on_submitted_work_done_future_id_u64(queue : WGPUQueue) -> UInt64

    queue_on_submitted_work_done_sync

    fn queue_on_submitted_work_done_sync(instance : WGPUInstance, queue : WGPUQueue) -> UInt

    queue_release

    fn queue_release(queue : WGPUQueue) -> Unit

    queue_set_label_utf8

    fn queue_set_label_utf8(queue : WGPUQueue, label : Bytes, label_len : UInt64) -> Unit

    queue_submit

    fn queue_submit(queue : WGPUQueue, command_count : UInt64, commands : FixedArray[WGPUCommandBuffer]) -> Unit

    queue_submit_for_index

    fn queue_submit_for_index(queue : WGPUQueue, command_count : UInt64, commands : FixedArray[WGPUCommandBuffer]) -> UInt64

    queue_write_buffer

    fn queue_write_buffer(queue : WGPUQueue, buffer : WGPUBuffer, buffer_offset : UInt64, data : Bytes, size : UInt64) -> Unit

    queue_write_texture_2d_bytes_per_pixel

    fn queue_write_texture_2d_bytes_per_pixel(queue : WGPUQueue, texture : WGPUTexture, width : UInt, height : UInt, bytes_per_pixel : UInt, data : Bytes, size : UInt64) -> Unit

    queue_write_texture_2d_bytes_per_pixel_mip_layer

    fn 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) -> Unit

    queue_write_texture_rgba8_2d

    fn queue_write_texture_rgba8_2d(queue : WGPUQueue, texture : WGPUTexture, width : UInt, height : UInt, data : Bytes, size : UInt64) -> Unit

    queue_write_texture_rgba8_2d_mip_layer

    fn 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) -> Unit

    render_bundle_descriptor_default_new

    fn render_bundle_descriptor_default_new() -> WGPURenderBundleDescriptorPtr

    render_bundle_descriptor_free

    fn render_bundle_descriptor_free(desc : WGPURenderBundleDescriptorPtr) -> Unit

    render_bundle_encoder_descriptor_free

    fn render_bundle_encoder_descriptor_free(desc : WGPURenderBundleEncoderDescriptorPtr) -> Unit

    render_bundle_encoder_descriptor_rgba8_new

    fn render_bundle_encoder_descriptor_rgba8_new() -> WGPURenderBundleEncoderDescriptorPtr

    render_bundle_encoder_draw

    fn render_bundle_encoder_draw(encoder : WGPURenderBundleEncoder, vertex_count : UInt, instance_count : UInt, first_vertex : UInt, first_instance : UInt) -> Unit

    render_bundle_encoder_finish

    fn render_bundle_encoder_finish(encoder : WGPURenderBundleEncoder) -> WGPURenderBundle

    render_bundle_encoder_insert_debug_marker_utf8

    fn render_bundle_encoder_insert_debug_marker_utf8(render_bundle_encoder : WGPURenderBundleEncoder, label : Bytes, label_len : UInt64) -> Unit

    render_bundle_encoder_pop_debug_group

    fn render_bundle_encoder_pop_debug_group(render_bundle_encoder : WGPURenderBundleEncoder) -> Unit

    render_bundle_encoder_push_debug_group_utf8

    fn render_bundle_encoder_push_debug_group_utf8(render_bundle_encoder : WGPURenderBundleEncoder, label : Bytes, label_len : UInt64) -> Unit

    render_bundle_encoder_release

    fn render_bundle_encoder_release(encoder : WGPURenderBundleEncoder) -> Unit

    render_bundle_encoder_set_bind_group

    fn render_bundle_encoder_set_bind_group(encoder : WGPURenderBundleEncoder, index : UInt, group : WGPUBindGroup, dynamic_offsets : Array[UInt]) -> Unit

    render_bundle_encoder_set_bind_group0

    fn render_bundle_encoder_set_bind_group0(encoder : WGPURenderBundleEncoder, group : WGPUBindGroup) -> Unit

    render_bundle_encoder_set_label_utf8

    fn render_bundle_encoder_set_label_utf8(render_bundle_encoder : WGPURenderBundleEncoder, label : Bytes, label_len : UInt64) -> Unit

    render_bundle_encoder_set_pipeline

    fn render_bundle_encoder_set_pipeline(encoder : WGPURenderBundleEncoder, pipeline : WGPURenderPipeline) -> Unit

    render_bundle_encoder_set_push_constants_bytes

    fn render_bundle_encoder_set_push_constants_bytes(encoder : WGPURenderBundleEncoder, stages : UInt64, offset : UInt, data : Bytes, data_len : UInt64) -> Unit

    render_bundle_release

    fn render_bundle_release(bundle : WGPURenderBundle) -> Unit

    render_bundle_set_label_utf8

    fn render_bundle_set_label_utf8(render_bundle : WGPURenderBundle, label : Bytes, label_len : UInt64) -> Unit

    render_pass_begin_occlusion_query

    fn render_pass_begin_occlusion_query(pass : WGPURenderPassEncoder, query_index : UInt) -> Unit

    render_pass_begin_pipeline_statistics_query

    fn render_pass_begin_pipeline_statistics_query(pass : WGPURenderPassEncoder, query_set : WGPUQuerySet, query_index : UInt) -> Unit

    render_pass_descriptor_color2_clear_default_new

    fn render_pass_descriptor_color2_clear_default_new(view0 : WGPUTextureView, view1 : WGPUTextureView) -> WGPURenderPassDescriptorPtr

    render_pass_descriptor_color2_depth_new

    fn render_pass_descriptor_color2_depth_new(color0_view : WGPUTextureView, color1_view : WGPUTextureView, depth_view : WGPUTextureView) -> WGPURenderPassDescriptorPtr

    render_pass_descriptor_color2_depth_u32_new

    fn 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) -> WGPURenderPassDescriptorPtr

    render_pass_descriptor_color_clear_default_new

    fn render_pass_descriptor_color_clear_default_new(view : WGPUTextureView) -> WGPURenderPassDescriptorPtr

    render_pass_descriptor_color_clear_default_occlusion_new

    fn render_pass_descriptor_color_clear_default_occlusion_new(view : WGPUTextureView, query_set : WGPUQuerySet) -> WGPURenderPassDescriptorPtr

    render_pass_descriptor_color_clear_new

    fn render_pass_descriptor_color_clear_new(view : WGPUTextureView, r : Float, g : Float, b : Float, a : Float) -> WGPURenderPassDescriptorPtr

    render_pass_descriptor_color_depth_new

    fn render_pass_descriptor_color_depth_new(color_view : WGPUTextureView, depth_view : WGPUTextureView) -> WGPURenderPassDescriptorPtr

    render_pass_descriptor_color_depth_u32_new

    fn 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) -> WGPURenderPassDescriptorPtr

    render_pass_descriptor_color_load_new

    fn render_pass_descriptor_color_load_new(view : WGPUTextureView) -> WGPURenderPassDescriptorPtr

    render_pass_descriptor_free

    fn render_pass_descriptor_free(desc : WGPURenderPassDescriptorPtr) -> Unit

    render_pass_draw

    fn render_pass_draw(pass : WGPURenderPassEncoder, vertex_count : UInt, instance_count : UInt, first_vertex : UInt, first_instance : UInt) -> Unit

    render_pass_draw_indexed

    fn render_pass_draw_indexed(pass : WGPURenderPassEncoder, index_count : UInt, instance_count : UInt, first_index : UInt, base_vertex : Int, first_instance : UInt) -> Unit

    render_pass_draw_indexed_indirect

    fn render_pass_draw_indexed_indirect(pass : WGPURenderPassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64) -> Unit

    render_pass_draw_indirect

    fn render_pass_draw_indirect(pass : WGPURenderPassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64) -> Unit

    render_pass_end

    fn render_pass_end(pass : WGPURenderPassEncoder) -> Unit

    render_pass_end_occlusion_query

    fn render_pass_end_occlusion_query(pass : WGPURenderPassEncoder) -> Unit

    render_pass_end_pipeline_statistics_query

    fn render_pass_end_pipeline_statistics_query(pass : WGPURenderPassEncoder) -> Unit

    render_pass_execute_bundles

    fn render_pass_execute_bundles(pass : WGPURenderPassEncoder, bundles : Array[WGPURenderBundle]) -> Unit

    render_pass_insert_debug_marker_utf8

    fn render_pass_insert_debug_marker_utf8(pass : WGPURenderPassEncoder, label : Bytes, label_len : UInt64) -> Unit

    render_pass_multi_draw_indexed_indirect

    fn render_pass_multi_draw_indexed_indirect(pass : WGPURenderPassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64, count : UInt) -> Unit

    render_pass_multi_draw_indexed_indirect_count

    fn 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) -> Unit

    render_pass_multi_draw_indirect

    fn render_pass_multi_draw_indirect(pass : WGPURenderPassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64, count : UInt) -> Unit

    render_pass_multi_draw_indirect_count

    fn render_pass_multi_draw_indirect_count(pass : WGPURenderPassEncoder, indirect_buffer : WGPUBuffer, indirect_offset : UInt64, count_buffer : WGPUBuffer, count_buffer_offset : UInt64, max_count : UInt) -> Unit

    render_pass_pop_debug_group

    fn render_pass_pop_debug_group(pass : WGPURenderPassEncoder) -> Unit

    render_pass_push_debug_group_utf8

    fn render_pass_push_debug_group_utf8(pass : WGPURenderPassEncoder, label : Bytes, label_len : UInt64) -> Unit

    render_pass_release

    fn render_pass_release(pass : WGPURenderPassEncoder) -> Unit

    render_pass_set_bind_group

    fn render_pass_set_bind_group(pass : WGPURenderPassEncoder, index : UInt, group : WGPUBindGroup, dynamic_offsets : Array[UInt]) -> Unit

    render_pass_set_bind_group0

    fn render_pass_set_bind_group0(pass : WGPURenderPassEncoder, group : WGPUBindGroup) -> Unit

    render_pass_set_blend_constant_rgba

    fn render_pass_set_blend_constant_rgba(pass : WGPURenderPassEncoder, r : Double, g : Double, b : Double, a : Double) -> Unit

    render_pass_set_index_buffer_u16

    fn render_pass_set_index_buffer_u16(pass : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unit

    render_pass_set_index_buffer_u32

    fn render_pass_set_index_buffer_u32(pass : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unit

    render_pass_set_label_utf8

    fn render_pass_set_label_utf8(pass : WGPURenderPassEncoder, label : Bytes, label_len : UInt64) -> Unit

    render_pass_set_pipeline

    fn render_pass_set_pipeline(pass : WGPURenderPassEncoder, pipeline : WGPURenderPipeline) -> Unit

    render_pass_set_push_constants_bytes

    fn render_pass_set_push_constants_bytes(encoder : WGPURenderPassEncoder, stages : UInt64, offset : UInt, data : Bytes, data_len : UInt64) -> Unit

    render_pass_set_scissor_rect

    fn render_pass_set_scissor_rect(pass : WGPURenderPassEncoder, x : UInt, y : UInt, width : UInt, height : UInt) -> Unit

    render_pass_set_stencil_reference

    fn render_pass_set_stencil_reference(pass : WGPURenderPassEncoder, reference : UInt) -> Unit

    render_pass_set_vertex_buffer

    fn render_pass_set_vertex_buffer(pass : WGPURenderPassEncoder, slot : UInt, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unit

    render_pass_set_viewport

    fn render_pass_set_viewport(pass : WGPURenderPassEncoder, x : Float, y : Float, width : Float, height : Float, min_depth : Float, max_depth : Float) -> Unit

    render_pass_write_timestamp

    fn render_pass_write_timestamp(pass : WGPURenderPassEncoder, query_set : WGPUQuerySet, query_index : UInt) -> Unit

    render_pipeline_desc_builder_add_vertex_attribute

    fn render_pipeline_desc_builder_add_vertex_attribute(builder : RenderPipelineDescBuilderObj, format_u32 : UInt, offset : UInt64, shader_location : UInt) -> UInt

    render_pipeline_desc_builder_add_vertex_buffer_layout

    fn render_pipeline_desc_builder_add_vertex_buffer_layout(builder : RenderPipelineDescBuilderObj, array_stride : UInt64, step_mode_u32 : UInt) -> UInt

    render_pipeline_desc_builder_clear_primitive_extras

    fn render_pipeline_desc_builder_clear_primitive_extras(builder : RenderPipelineDescBuilderObj) -> UInt

    render_pipeline_desc_builder_disable_blend

    fn render_pipeline_desc_builder_disable_blend(builder : RenderPipelineDescBuilderObj) -> UInt

    render_pipeline_desc_builder_enable_alpha_blend

    fn render_pipeline_desc_builder_enable_alpha_blend(builder : RenderPipelineDescBuilderObj) -> UInt

    render_pipeline_desc_builder_finish

    fn render_pipeline_desc_builder_finish(builder : RenderPipelineDescBuilderObj) -> WGPURenderPipelineDescriptorPtr

    render_pipeline_desc_builder_free

    fn render_pipeline_desc_builder_free(builder : RenderPipelineDescBuilderObj) -> Unit

    render_pipeline_desc_builder_is_null

    fn render_pipeline_desc_builder_is_null(builder : RenderPipelineDescBuilderObj) -> Bool

    render_pipeline_desc_builder_last_error_args_u64

    fn render_pipeline_desc_builder_last_error_args_u64(builder : RenderPipelineDescBuilderObj) -> UInt64

    render_pipeline_desc_builder_last_error_u32

    fn render_pipeline_desc_builder_last_error_u32(builder : RenderPipelineDescBuilderObj) -> UInt

    render_pipeline_desc_builder_new

    fn render_pipeline_desc_builder_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> RenderPipelineDescBuilderObj

    RenderPipelineDescriptor arena builder (MVP).

    The builder is MoonBit-managed. render_pipeline_desc_builder_finish detaches the descriptor allocation from the builder; free the returned descriptor with render_pipeline_descriptor_free(desc) from desc_builders.mbt if you take it out explicitly.

    render_pipeline_desc_builder_set_blend_components

    fn 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) -> UInt

    render_pipeline_desc_builder_set_color_target_count

    fn render_pipeline_desc_builder_set_color_target_count(builder : RenderPipelineDescBuilderObj, count_u32 : UInt) -> UInt

    render_pipeline_desc_builder_set_color_target_format

    fn render_pipeline_desc_builder_set_color_target_format(builder : RenderPipelineDescBuilderObj, format_u32 : UInt) -> UInt

    render_pipeline_desc_builder_set_color_target_format_at

    fn render_pipeline_desc_builder_set_color_target_format_at(builder : RenderPipelineDescBuilderObj, index_u32 : UInt, format_u32 : UInt) -> UInt

    render_pipeline_desc_builder_set_color_target_write_mask

    fn render_pipeline_desc_builder_set_color_target_write_mask(builder : RenderPipelineDescBuilderObj, write_mask_u64 : UInt64) -> UInt

    render_pipeline_desc_builder_set_color_target_write_mask_at

    fn render_pipeline_desc_builder_set_color_target_write_mask_at(builder : RenderPipelineDescBuilderObj, index_u32 : UInt, write_mask_u64 : UInt64) -> UInt

    render_pipeline_desc_builder_set_conservative

    fn render_pipeline_desc_builder_set_conservative(builder : RenderPipelineDescBuilderObj, conservative : Bool) -> UInt

    render_pipeline_desc_builder_set_depth_stencil

    fn render_pipeline_desc_builder_set_depth_stencil(builder : RenderPipelineDescBuilderObj, depth_format_u32 : UInt, depth_write_enabled : Bool, depth_compare_u32 : UInt) -> UInt

    render_pipeline_desc_builder_set_entry_points_utf8

    fn render_pipeline_desc_builder_set_entry_points_utf8(builder : RenderPipelineDescBuilderObj, vs_entry : Bytes, vs_entry_len : UInt64, fs_entry : Bytes, fs_entry_len : UInt64) -> UInt

    render_pipeline_desc_builder_set_polygon_mode

    fn render_pipeline_desc_builder_set_polygon_mode(builder : RenderPipelineDescBuilderObj, polygon_mode_u32 : UInt) -> UInt

    render_pipeline_desc_builder_set_topology

    fn render_pipeline_desc_builder_set_topology(builder : RenderPipelineDescBuilderObj, topology_u32 : UInt) -> UInt

    render_pipeline_desc_builder_set_vertex_buffer_layout

    fn render_pipeline_desc_builder_set_vertex_buffer_layout(builder : RenderPipelineDescBuilderObj, array_stride : UInt64, step_mode_u32 : UInt) -> UInt

    render_pipeline_descriptor_color_format_alpha_blend_new

    fn render_pipeline_descriptor_color_format_alpha_blend_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule, format : UInt) -> WGPURenderPipelineDescriptorPtr

    render_pipeline_descriptor_color_format_entries_u32_new

    fn 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) -> WGPURenderPipelineDescriptorPtr

    render_pipeline_descriptor_color_format_new

    fn render_pipeline_descriptor_color_format_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule, format : UInt) -> WGPURenderPipelineDescriptorPtr

    render_pipeline_descriptor_free

    fn render_pipeline_descriptor_free(desc : WGPURenderPipelineDescriptorPtr) -> Unit

    render_pipeline_descriptor_ptr_is_null

    fn render_pipeline_descriptor_ptr_is_null(p : WGPURenderPipelineDescriptorPtr) -> Bool

    render_pipeline_descriptor_rgba8_alpha_blend_new

    fn render_pipeline_descriptor_rgba8_alpha_blend_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelineDescriptorPtr

    render_pipeline_descriptor_rgba8_depth_new

    fn render_pipeline_descriptor_rgba8_depth_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelineDescriptorPtr

    render_pipeline_descriptor_rgba8_mrt2_new

    fn render_pipeline_descriptor_rgba8_mrt2_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelineDescriptorPtr

    render_pipeline_descriptor_rgba8_new

    fn render_pipeline_descriptor_rgba8_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelineDescriptorPtr

    render_pipeline_descriptor_rgba8_pos2_new

    fn render_pipeline_descriptor_rgba8_pos2_new(layout : WGPUPipelineLayout, shader_module : WGPUShaderModule) -> WGPURenderPipelineDescriptorPtr

    render_pipeline_release

    fn render_pipeline_release(pipeline : WGPURenderPipeline) -> Unit

    render_pipeline_set_label_utf8

    fn render_pipeline_set_label_utf8(pipeline : WGPURenderPipeline, label : Bytes, label_len : UInt64) -> Unit

    request_adapter_options_free

    fn request_adapter_options_free(options : WGPURequestAdapterOptionsPtr) -> Unit

    request_adapter_options_new_u32

    fn request_adapter_options_new_u32(feature_level_u32 : UInt, power_preference_u32 : UInt, force_fallback_adapter : Bool, backend_type_u32 : UInt, compatible_surface : WGPUSurface) -> WGPURequestAdapterOptionsPtr

    sampler_descriptor_free

    fn sampler_descriptor_free(desc : WGPUSamplerDescriptorPtr) -> Unit

    sampler_descriptor_linear_clamp_new

    fn sampler_descriptor_linear_clamp_new() -> WGPUSamplerDescriptorPtr

    sampler_descriptor_linear_mirror_repeat_new

    fn sampler_descriptor_linear_mirror_repeat_new() -> WGPUSamplerDescriptorPtr

    sampler_descriptor_linear_repeat_new

    fn sampler_descriptor_linear_repeat_new() -> WGPUSamplerDescriptorPtr

    sampler_descriptor_nearest_clamp_new

    fn sampler_descriptor_nearest_clamp_new() -> WGPUSamplerDescriptorPtr

    sampler_descriptor_nearest_mirror_repeat_new

    fn sampler_descriptor_nearest_mirror_repeat_new() -> WGPUSamplerDescriptorPtr

    sampler_descriptor_nearest_repeat_new

    fn sampler_descriptor_nearest_repeat_new() -> WGPUSamplerDescriptorPtr

    sampler_descriptor_u32_new

    fn 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) -> WGPUSamplerDescriptorPtr

    sampler_release

    fn sampler_release(sampler : WGPUSampler) -> Unit

    sampler_set_label_utf8

    fn sampler_set_label_utf8(sampler : WGPUSampler, label : Bytes, label_len : UInt64) -> Unit

    set_compilation_info_enabled

    fn set_compilation_info_enabled(enabled : Bool) -> Unit

    set_debug_labels_enabled

    fn set_debug_labels_enabled(enabled : Bool) -> Unit

    set_device_lost_stderr_enabled

    fn set_device_lost_stderr_enabled(enabled : Bool) -> Unit

    set_log_callback_stderr_enabled

    fn set_log_callback_stderr_enabled(enabled : Bool) -> Unit

    set_pipeline_async_enabled

    fn set_pipeline_async_enabled(enabled : Bool) -> Unit

    set_uncaptured_error_stderr_enabled

    fn set_uncaptured_error_stderr_enabled(enabled : Bool) -> Unit

    shader_module_descriptor_free

    fn shader_module_descriptor_free(desc : WGPUShaderModuleDescriptorPtr) -> Unit

    shader_module_descriptor_glsl_new

    fn shader_module_descriptor_glsl_new(stage_u64 : UInt64, code : Bytes, code_len : UInt64) -> WGPUShaderModuleDescriptorPtr

    shader_module_descriptor_wgsl_new

    fn shader_module_descriptor_wgsl_new(code : Bytes, code_len : UInt64) -> WGPUShaderModuleDescriptorPtr

    shader_module_get_compilation_info_sync_new

    fn shader_module_get_compilation_info_sync_new(instance : WGPUInstance, shader_module : WGPUShaderModule) -> OpaquePtr

    shader_module_get_compilation_info_sync_status_u32

    fn shader_module_get_compilation_info_sync_status_u32(instance : WGPUInstance, shader_module : WGPUShaderModule) -> UInt

    shader_module_is_null

    fn shader_module_is_null(shader_module : WGPUShaderModule) -> Bool

    shader_module_release

    fn shader_module_release(shader_module : WGPUShaderModule) -> Unit

    shader_module_set_label_utf8

    fn shader_module_set_label_utf8(shader_module : WGPUShaderModule, label : Bytes, label_len : UInt64) -> Unit

    surface_add_ref

    fn surface_add_ref(surface : WGPUSurface) -> Unit

    surface_capabilities_alpha_mode_u32_at

    fn surface_capabilities_alpha_mode_u32_at(surface : WGPUSurface, adapter : WGPUAdapter, index : UInt64) -> UInt

    surface_capabilities_alpha_modes_count_u64

    fn surface_capabilities_alpha_modes_count_u64(surface : WGPUSurface, adapter : WGPUAdapter) -> UInt64

    surface_capabilities_format_u32_at

    fn surface_capabilities_format_u32_at(surface : WGPUSurface, adapter : WGPUAdapter, index : UInt64) -> UInt

    surface_capabilities_formats_count_u64

    fn surface_capabilities_formats_count_u64(surface : WGPUSurface, adapter : WGPUAdapter) -> UInt64

    surface_capabilities_present_mode_u32_at

    fn surface_capabilities_present_mode_u32_at(surface : WGPUSurface, adapter : WGPUAdapter, index : UInt64) -> UInt

    surface_capabilities_present_modes_count_u64

    fn surface_capabilities_present_modes_count_u64(surface : WGPUSurface, adapter : WGPUAdapter) -> UInt64

    surface_capabilities_usages_u64

    fn surface_capabilities_usages_u64(surface : WGPUSurface, adapter : WGPUAdapter) -> UInt64

    surface_configuration_free

    fn surface_configuration_free(config : WGPUSurfaceConfigurationPtr) -> Unit

    surface_configuration_u32_new

    fn 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) -> WGPUSurfaceConfigurationPtr

    surface_configuration_u32_with_view_formats_new

    fn 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]) -> WGPUSurfaceConfigurationPtr

    surface_configure_default

    fn surface_configure_default(surface : WGPUSurface, adapter : WGPUAdapter, device : WGPUDevice, width : UInt, height : UInt, usage : UInt64, desired_maximum_frame_latency : UInt) -> UInt

    surface_configure_u32

    fn 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) -> Bool

    surface_configure_view_formats_u32

    fn 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]) -> Bool

    surface_descriptor_android_native_window_new

    fn surface_descriptor_android_native_window_new(window : OpaquePtr) -> WGPUSurfaceDescriptorPtr

    Build a WGPUSurfaceDescriptor for WGPUSurfaceSourceAndroidNativeWindow.

    surface_descriptor_free

    fn surface_descriptor_free(desc : WGPUSurfaceDescriptorPtr) -> Unit

    surface_descriptor_metal_layer_new

    fn surface_descriptor_metal_layer_new(layer : OpaquePtr) -> WGPUSurfaceDescriptorPtr

    Build a WGPUSurfaceDescriptor for WGPUSurfaceSourceMetalLayer.

    surface_descriptor_swap_chain_panel_new

    fn surface_descriptor_swap_chain_panel_new(panel_native : OpaquePtr) -> WGPUSurfaceDescriptorPtr

    Build a WGPUSurfaceDescriptor for WGPUSurfaceSourceSwapChainPanel.

    surface_descriptor_wayland_new

    fn surface_descriptor_wayland_new(display : OpaquePtr, surface : OpaquePtr) -> WGPUSurfaceDescriptorPtr

    Build a WGPUSurfaceDescriptor for WGPUSurfaceSourceWaylandSurface.

    surface_descriptor_windows_hwnd_new

    fn surface_descriptor_windows_hwnd_new(hinstance : OpaquePtr, hwnd : OpaquePtr) -> WGPUSurfaceDescriptorPtr

    Build a WGPUSurfaceDescriptor for WGPUSurfaceSourceWindowsHWND.

    surface_descriptor_xcb_new

    fn surface_descriptor_xcb_new(connection : OpaquePtr, window : UInt) -> WGPUSurfaceDescriptorPtr

    Build a WGPUSurfaceDescriptor for WGPUSurfaceSourceXCBWindow.

    surface_descriptor_xlib_new

    fn surface_descriptor_xlib_new(display : OpaquePtr, window : UInt64) -> WGPUSurfaceDescriptorPtr

    Build a WGPUSurfaceDescriptor for WGPUSurfaceSourceXlibWindow.

    surface_present_u32

    fn surface_present_u32(surface : WGPUSurface) -> UInt

    surface_release_safe

    fn surface_release_safe(surface : WGPUSurface) -> Unit

    surface_set_label_utf8

    fn surface_set_label_utf8(surface : WGPUSurface, label : Bytes, label_len : UInt64) -> Unit

    surface_texture_acquire

    fn surface_texture_acquire(surface : WGPUSurface) -> OpaquePtr

    surface_texture_free

    fn surface_texture_free(st : OpaquePtr) -> Unit

    surface_texture_status

    fn surface_texture_status(st : OpaquePtr) -> UInt

    surface_texture_take_texture

    fn surface_texture_take_texture(st : OpaquePtr) -> WGPUTexture

    surface_unconfigure

    fn surface_unconfigure(surface : WGPUSurface) -> Unit

    texel_copy_buffer_info_free

    fn texel_copy_buffer_info_free(info : WGPUTexelCopyBufferInfoPtr) -> Unit

    texel_copy_buffer_info_new

    fn texel_copy_buffer_info_new(buffer : WGPUBuffer, offset : UInt64, bytes_per_row : UInt, rows_per_image : UInt) -> WGPUTexelCopyBufferInfoPtr

    texel_copy_buffer_layout_free

    fn texel_copy_buffer_layout_free(layout : WGPUTexelCopyBufferLayoutPtr) -> Unit

    texel_copy_buffer_layout_new

    fn texel_copy_buffer_layout_new(offset : UInt64, bytes_per_row : UInt, rows_per_image : UInt) -> WGPUTexelCopyBufferLayoutPtr

    texel_copy_texture_info_default_new

    fn texel_copy_texture_info_default_new(texture : WGPUTexture) -> WGPUTexelCopyTextureInfoPtr

    texel_copy_texture_info_free

    fn texel_copy_texture_info_free(info : WGPUTexelCopyTextureInfoPtr) -> Unit

    texel_copy_texture_info_new

    fn texel_copy_texture_info_new(texture : WGPUTexture, mip_level : UInt, origin_x : UInt, origin_y : UInt, origin_z : UInt) -> WGPUTexelCopyTextureInfoPtr

    texture_add_ref

    fn texture_add_ref(texture : WGPUTexture) -> Unit

    texture_create_view

    fn texture_create_view(texture : WGPUTexture) -> WGPUTextureView

    texture_create_view_2d

    fn texture_create_view_2d(texture : WGPUTexture, base_mip_level : UInt, mip_level_count : UInt) -> WGPUTextureView

    texture_create_view_2d_array

    fn texture_create_view_2d_array(texture : WGPUTexture, base_array_layer : UInt, array_layer_count : UInt, base_mip_level : UInt, mip_level_count : UInt) -> WGPUTextureView

    texture_create_view_u32

    fn 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) -> WGPUTextureView

    texture_descriptor_depth24plus_2d_new

    fn texture_descriptor_depth24plus_2d_new(width : UInt, height : UInt) -> WGPUTextureDescriptorPtr

    texture_descriptor_free

    fn texture_descriptor_free(desc : WGPUTextureDescriptorPtr) -> Unit

    texture_descriptor_rgba8_2d_array_with_usage_new

    fn texture_descriptor_rgba8_2d_array_with_usage_new(width : UInt, height : UInt, layers : UInt, mip_level_count : UInt, usage : UInt64) -> WGPUTextureDescriptorPtr

    texture_descriptor_rgba8_2d_default_new

    fn texture_descriptor_rgba8_2d_default_new(width : UInt, height : UInt) -> WGPUTextureDescriptorPtr

    texture_descriptor_rgba8_2d_with_usage_new

    fn texture_descriptor_rgba8_2d_with_usage_new(width : UInt, height : UInt, usage : UInt64) -> WGPUTextureDescriptorPtr

    texture_descriptor_u32_new

    fn 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) -> WGPUTextureDescriptorPtr

    texture_descriptor_u32_with_view_formats_new

    fn 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]) -> WGPUTextureDescriptorPtr

    texture_destroy

    fn texture_destroy(texture : WGPUTexture) -> Unit

    texture_get_depth_or_array_layers_u32

    fn texture_get_depth_or_array_layers_u32(texture : WGPUTexture) -> UInt

    texture_get_dimension_u32

    fn texture_get_dimension_u32(texture : WGPUTexture) -> UInt

    texture_get_format_u32

    fn texture_get_format_u32(texture : WGPUTexture) -> UInt

    texture_get_height_u32

    fn texture_get_height_u32(texture : WGPUTexture) -> UInt

    texture_get_mip_level_count_u32

    fn texture_get_mip_level_count_u32(texture : WGPUTexture) -> UInt

    texture_get_sample_count_u32

    fn texture_get_sample_count_u32(texture : WGPUTexture) -> UInt

    texture_get_usage_u64

    fn texture_get_usage_u64(texture : WGPUTexture) -> UInt64

    texture_get_width_u32

    fn texture_get_width_u32(texture : WGPUTexture) -> UInt

    texture_release

    fn texture_release(texture : WGPUTexture) -> Unit

    texture_set_label_utf8

    fn texture_set_label_utf8(texture : WGPUTexture, label : Bytes, label_len : UInt64) -> Unit

    texture_view_add_ref

    fn texture_view_add_ref(view : WGPUTextureView) -> Unit

    texture_view_descriptor_2d_array_new

    fn texture_view_descriptor_2d_array_new(base_array_layer : UInt, array_layer_count : UInt, base_mip_level : UInt, mip_level_count : UInt) -> WGPUTextureViewDescriptorPtr

    texture_view_descriptor_2d_new

    fn texture_view_descriptor_2d_new(base_mip_level : UInt, mip_level_count : UInt) -> WGPUTextureViewDescriptorPtr

    texture_view_descriptor_free

    fn texture_view_descriptor_free(desc : WGPUTextureViewDescriptorPtr) -> Unit

    texture_view_descriptor_u32_new

    fn 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) -> WGPUTextureViewDescriptorPtr

    texture_view_release

    fn texture_view_release(view : WGPUTextureView) -> Unit

    texture_view_set_label_utf8

    fn texture_view_set_label_utf8(texture_view : WGPUTextureView, label : Bytes, label_len : UInt64) -> Unit

    wgpuAdapterAddRef

    fn wgpuAdapterAddRef(adapter : WGPUAdapter) -> Unit

    wgpuAdapterGetFeatures

    fn wgpuAdapterGetFeatures(adapter : WGPUAdapter, features : WGPUSupportedFeaturesPtr) -> Unit

    wgpuAdapterGetInfo

    fn wgpuAdapterGetInfo(adapter : WGPUAdapter, info : WGPUAdapterInfoPtr) -> WGPUStatus

    wgpuAdapterGetLimits

    fn wgpuAdapterGetLimits(adapter : WGPUAdapter, limits : WGPULimitsPtr) -> WGPUStatus

    wgpuAdapterHasFeature

    fn wgpuAdapterHasFeature(adapter : WGPUAdapter, feature : WGPUFeatureName) -> Bool

    wgpuAdapterInfoFreeMembers

    fn wgpuAdapterInfoFreeMembers(adapterInfo : WGPUAdapterInfo) -> Unit

    wgpuAdapterRelease

    fn wgpuAdapterRelease(adapter : WGPUAdapter) -> Unit

    wgpuAdapterRequestDevice

    fn wgpuAdapterRequestDevice(adapter : WGPUAdapter, descriptor : WGPUDeviceDescriptorPtr, callbackInfo : WGPURequestDeviceCallbackInfo) -> WGPUFuture

    wgpuBindGroupAddRef

    fn wgpuBindGroupAddRef(bindGroup : WGPUBindGroup) -> Unit

    wgpuBindGroupLayoutAddRef

    fn wgpuBindGroupLayoutAddRef(bindGroupLayout : WGPUBindGroupLayout) -> Unit

    wgpuBindGroupLayoutRelease

    fn wgpuBindGroupLayoutRelease(bindGroupLayout : WGPUBindGroupLayout) -> Unit

    wgpuBindGroupLayoutSetLabel

    fn wgpuBindGroupLayoutSetLabel(bindGroupLayout : WGPUBindGroupLayout, label : WGPUStringView) -> Unit

    wgpuBindGroupRelease

    fn wgpuBindGroupRelease(bindGroup : WGPUBindGroup) -> Unit

    wgpuBindGroupSetLabel

    fn wgpuBindGroupSetLabel(bindGroup : WGPUBindGroup, label : WGPUStringView) -> Unit

    wgpuBufferAddRef

    fn wgpuBufferAddRef(buffer : WGPUBuffer) -> Unit

    wgpuBufferDestroy

    fn wgpuBufferDestroy(buffer : WGPUBuffer) -> Unit

    wgpuBufferGetConstMappedRange

    fn wgpuBufferGetConstMappedRange(buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> UnitPtr

    wgpuBufferGetMapState

    fn wgpuBufferGetMapState(buffer : WGPUBuffer) -> WGPUBufferMapState

    wgpuBufferGetMappedRange

    fn wgpuBufferGetMappedRange(buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> UnitPtr

    wgpuBufferGetSize

    fn wgpuBufferGetSize(buffer : WGPUBuffer) -> UInt64

    wgpuBufferGetUsage

    fn wgpuBufferGetUsage(buffer : WGPUBuffer) -> UInt64

    wgpuBufferMapAsync

    fn wgpuBufferMapAsync(buffer : WGPUBuffer, mode : UInt64, offset : UInt64, size : UInt64, callbackInfo : WGPUBufferMapCallbackInfo) -> WGPUFuture

    wgpuBufferRelease

    fn wgpuBufferRelease(buffer : WGPUBuffer) -> Unit

    wgpuBufferSetLabel

    fn wgpuBufferSetLabel(buffer : WGPUBuffer, label : WGPUStringView) -> Unit

    wgpuBufferUnmap

    fn wgpuBufferUnmap(buffer : WGPUBuffer) -> Unit

    wgpuCommandBufferAddRef

    fn wgpuCommandBufferAddRef(commandBuffer : WGPUCommandBuffer) -> Unit

    wgpuCommandBufferRelease

    fn wgpuCommandBufferRelease(commandBuffer : WGPUCommandBuffer) -> Unit

    wgpuCommandBufferSetLabel

    fn wgpuCommandBufferSetLabel(commandBuffer : WGPUCommandBuffer, label : WGPUStringView) -> Unit

    wgpuCommandEncoderAddRef

    fn wgpuCommandEncoderAddRef(commandEncoder : WGPUCommandEncoder) -> Unit

    wgpuCommandEncoderBeginComputePass

    fn wgpuCommandEncoderBeginComputePass(commandEncoder : WGPUCommandEncoder, descriptor : WGPUComputePassDescriptorPtr) -> WGPUComputePassEncoder

    wgpuCommandEncoderBeginRenderPass

    fn wgpuCommandEncoderBeginRenderPass(commandEncoder : WGPUCommandEncoder, descriptor : WGPURenderPassDescriptorPtr) -> WGPURenderPassEncoder

    wgpuCommandEncoderClearBuffer

    fn wgpuCommandEncoderClearBuffer(commandEncoder : WGPUCommandEncoder, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unit

    wgpuCommandEncoderCopyBufferToBuffer

    fn wgpuCommandEncoderCopyBufferToBuffer(commandEncoder : WGPUCommandEncoder, source : WGPUBuffer, sourceOffset : UInt64, destination : WGPUBuffer, destinationOffset : UInt64, size : UInt64) -> Unit

    wgpuCommandEncoderCopyBufferToTexture

    fn wgpuCommandEncoderCopyBufferToTexture(commandEncoder : WGPUCommandEncoder, source : WGPUTexelCopyBufferInfoPtr, destination : WGPUTexelCopyTextureInfoPtr, copySize : WGPUExtent3DPtr) -> Unit

    wgpuCommandEncoderCopyTextureToBuffer

    fn wgpuCommandEncoderCopyTextureToBuffer(commandEncoder : WGPUCommandEncoder, source : WGPUTexelCopyTextureInfoPtr, destination : WGPUTexelCopyBufferInfoPtr, copySize : WGPUExtent3DPtr) -> Unit

    wgpuCommandEncoderCopyTextureToTexture

    fn wgpuCommandEncoderCopyTextureToTexture(commandEncoder : WGPUCommandEncoder, source : WGPUTexelCopyTextureInfoPtr, destination : WGPUTexelCopyTextureInfoPtr, copySize : WGPUExtent3DPtr) -> Unit

    wgpuCommandEncoderFinish

    fn wgpuCommandEncoderFinish(commandEncoder : WGPUCommandEncoder, descriptor : WGPUCommandBufferDescriptorPtr) -> WGPUCommandBuffer

    wgpuCommandEncoderInsertDebugMarker

    fn wgpuCommandEncoderInsertDebugMarker(commandEncoder : WGPUCommandEncoder, markerLabel : WGPUStringView) -> Unit

    wgpuCommandEncoderPopDebugGroup

    fn wgpuCommandEncoderPopDebugGroup(commandEncoder : WGPUCommandEncoder) -> Unit

    wgpuCommandEncoderPushDebugGroup

    fn wgpuCommandEncoderPushDebugGroup(commandEncoder : WGPUCommandEncoder, groupLabel : WGPUStringView) -> Unit

    wgpuCommandEncoderRelease

    fn wgpuCommandEncoderRelease(commandEncoder : WGPUCommandEncoder) -> Unit

    wgpuCommandEncoderResolveQuerySet

    fn wgpuCommandEncoderResolveQuerySet(commandEncoder : WGPUCommandEncoder, querySet : WGPUQuerySet, firstQuery : UInt, queryCount : UInt, destination : WGPUBuffer, destinationOffset : UInt64) -> Unit

    wgpuCommandEncoderSetLabel

    fn wgpuCommandEncoderSetLabel(commandEncoder : WGPUCommandEncoder, label : WGPUStringView) -> Unit

    wgpuCommandEncoderWriteTimestamp

    fn wgpuCommandEncoderWriteTimestamp(commandEncoder : WGPUCommandEncoder, querySet : WGPUQuerySet, queryIndex : UInt) -> Unit

    wgpuComputePassEncoderAddRef

    fn wgpuComputePassEncoderAddRef(computePassEncoder : WGPUComputePassEncoder) -> Unit

    wgpuComputePassEncoderBeginPipelineStatisticsQuery

    fn wgpuComputePassEncoderBeginPipelineStatisticsQuery(computePassEncoder : WGPUComputePassEncoder, querySet : WGPUQuerySet, queryIndex : UInt) -> Unit

    wgpuComputePassEncoderDispatchWorkgroups

    fn wgpuComputePassEncoderDispatchWorkgroups(computePassEncoder : WGPUComputePassEncoder, workgroupCountX : UInt, workgroupCountY : UInt, workgroupCountZ : UInt) -> Unit

    wgpuComputePassEncoderDispatchWorkgroupsIndirect

    fn wgpuComputePassEncoderDispatchWorkgroupsIndirect(computePassEncoder : WGPUComputePassEncoder, indirectBuffer : WGPUBuffer, indirectOffset : UInt64) -> Unit

    wgpuComputePassEncoderEnd

    fn wgpuComputePassEncoderEnd(computePassEncoder : WGPUComputePassEncoder) -> Unit

    wgpuComputePassEncoderEndPipelineStatisticsQuery

    fn wgpuComputePassEncoderEndPipelineStatisticsQuery(computePassEncoder : WGPUComputePassEncoder) -> Unit

    wgpuComputePassEncoderInsertDebugMarker

    fn wgpuComputePassEncoderInsertDebugMarker(computePassEncoder : WGPUComputePassEncoder, markerLabel : WGPUStringView) -> Unit

    wgpuComputePassEncoderPopDebugGroup

    fn wgpuComputePassEncoderPopDebugGroup(computePassEncoder : WGPUComputePassEncoder) -> Unit

    wgpuComputePassEncoderPushDebugGroup

    fn wgpuComputePassEncoderPushDebugGroup(computePassEncoder : WGPUComputePassEncoder, groupLabel : WGPUStringView) -> Unit

    wgpuComputePassEncoderRelease

    fn wgpuComputePassEncoderRelease(computePassEncoder : WGPUComputePassEncoder) -> Unit

    wgpuComputePassEncoderSetBindGroup

    fn wgpuComputePassEncoderSetBindGroup(computePassEncoder : WGPUComputePassEncoder, groupIndex : UInt, group : WGPUBindGroup, dynamicOffsetCount : UInt64, dynamicOffsets : UIntPtr) -> Unit

    wgpuComputePassEncoderSetBindGroup_offsets

    fn wgpuComputePassEncoderSetBindGroup_offsets(pass : WGPUComputePassEncoder, group_index : UInt, group : WGPUBindGroup, dynamic_offset_count : UInt64, offsets : FixedArray[UInt]) -> Unit

    wgpuComputePassEncoderSetLabel

    fn wgpuComputePassEncoderSetLabel(computePassEncoder : WGPUComputePassEncoder, label : WGPUStringView) -> Unit

    wgpuComputePassEncoderSetPipeline

    fn wgpuComputePassEncoderSetPipeline(computePassEncoder : WGPUComputePassEncoder, pipeline : WGPUComputePipeline) -> Unit

    wgpuComputePassEncoderSetPushConstants

    fn wgpuComputePassEncoderSetPushConstants(encoder : WGPUComputePassEncoder, offset : UInt, sizeBytes : UInt, data : UnitPtr) -> Unit

    wgpuComputePassEncoderWriteTimestamp

    fn wgpuComputePassEncoderWriteTimestamp(computePassEncoder : WGPUComputePassEncoder, querySet : WGPUQuerySet, queryIndex : UInt) -> Unit

    wgpuComputePipelineAddRef

    fn wgpuComputePipelineAddRef(computePipeline : WGPUComputePipeline) -> Unit

    wgpuComputePipelineGetBindGroupLayout

    fn wgpuComputePipelineGetBindGroupLayout(computePipeline : WGPUComputePipeline, groupIndex : UInt) -> WGPUBindGroupLayout

    wgpuComputePipelineRelease

    fn wgpuComputePipelineRelease(computePipeline : WGPUComputePipeline) -> Unit

    wgpuComputePipelineSetLabel

    fn wgpuComputePipelineSetLabel(computePipeline : WGPUComputePipeline, label : WGPUStringView) -> Unit

    wgpuCreateInstance

    fn wgpuCreateInstance(descriptor : WGPUInstanceDescriptorPtr) -> WGPUInstance

    wgpuDeviceAddRef

    fn wgpuDeviceAddRef(device : WGPUDevice) -> Unit

    wgpuDeviceCreateBindGroup

    fn wgpuDeviceCreateBindGroup(device : WGPUDevice, descriptor : WGPUBindGroupDescriptorPtr) -> WGPUBindGroup

    wgpuDeviceCreateBindGroupLayout

    fn wgpuDeviceCreateBindGroupLayout(device : WGPUDevice, descriptor : WGPUBindGroupLayoutDescriptorPtr) -> WGPUBindGroupLayout

    wgpuDeviceCreateBuffer

    fn wgpuDeviceCreateBuffer(device : WGPUDevice, descriptor : WGPUBufferDescriptorPtr) -> WGPUBuffer

    wgpuDeviceCreateCommandEncoder

    fn wgpuDeviceCreateCommandEncoder(device : WGPUDevice, descriptor : WGPUCommandEncoderDescriptorPtr) -> WGPUCommandEncoder

    wgpuDeviceCreateComputePipeline

    fn wgpuDeviceCreateComputePipeline(device : WGPUDevice, descriptor : WGPUComputePipelineDescriptorPtr) -> WGPUComputePipeline

    wgpuDeviceCreateComputePipelineAsync

    fn wgpuDeviceCreateComputePipelineAsync(device : WGPUDevice, descriptor : WGPUComputePipelineDescriptorPtr, callbackInfo : WGPUCreateComputePipelineAsyncCallbackInfo) -> WGPUFuture

    wgpuDeviceCreatePipelineLayout

    fn wgpuDeviceCreatePipelineLayout(device : WGPUDevice, descriptor : WGPUPipelineLayoutDescriptorPtr) -> WGPUPipelineLayout

    wgpuDeviceCreateQuerySet

    fn wgpuDeviceCreateQuerySet(device : WGPUDevice, descriptor : WGPUQuerySetDescriptorPtr) -> WGPUQuerySet

    wgpuDeviceCreateRenderBundleEncoder

    fn wgpuDeviceCreateRenderBundleEncoder(device : WGPUDevice, descriptor : WGPURenderBundleEncoderDescriptorPtr) -> WGPURenderBundleEncoder

    wgpuDeviceCreateRenderPipeline

    fn wgpuDeviceCreateRenderPipeline(device : WGPUDevice, descriptor : WGPURenderPipelineDescriptorPtr) -> WGPURenderPipeline

    wgpuDeviceCreateRenderPipelineAsync

    fn wgpuDeviceCreateRenderPipelineAsync(device : WGPUDevice, descriptor : WGPURenderPipelineDescriptorPtr, callbackInfo : WGPUCreateRenderPipelineAsyncCallbackInfo) -> WGPUFuture

    wgpuDeviceCreateSampler

    fn wgpuDeviceCreateSampler(device : WGPUDevice, descriptor : WGPUSamplerDescriptorPtr) -> WGPUSampler

    wgpuDeviceCreateShaderModule

    fn wgpuDeviceCreateShaderModule(device : WGPUDevice, descriptor : WGPUShaderModuleDescriptorPtr) -> WGPUShaderModule

    wgpuDeviceCreateShaderModuleSpirV

    fn wgpuDeviceCreateShaderModuleSpirV(device : WGPUDevice, descriptor : WGPUShaderModuleDescriptorSpirVPtr) -> WGPUShaderModule

    wgpuDeviceCreateTexture

    fn wgpuDeviceCreateTexture(device : WGPUDevice, descriptor : WGPUTextureDescriptorPtr) -> WGPUTexture

    wgpuDeviceDestroy

    fn wgpuDeviceDestroy(device : WGPUDevice) -> Unit

    wgpuDeviceGetAdapterInfo

    fn wgpuDeviceGetAdapterInfo(device : WGPUDevice) -> WGPUAdapterInfo

    wgpuDeviceGetFeatures

    fn wgpuDeviceGetFeatures(device : WGPUDevice, features : WGPUSupportedFeaturesPtr) -> Unit

    wgpuDeviceGetLimits

    fn wgpuDeviceGetLimits(device : WGPUDevice, limits : WGPULimitsPtr) -> WGPUStatus

    wgpuDeviceGetLostFuture

    fn wgpuDeviceGetLostFuture(device : WGPUDevice) -> WGPUFuture

    wgpuDeviceGetQueue

    fn wgpuDeviceGetQueue(device : WGPUDevice) -> WGPUQueue

    wgpuDeviceHasFeature

    fn wgpuDeviceHasFeature(device : WGPUDevice, feature : WGPUFeatureName) -> Bool

    wgpuDevicePoll

    fn wgpuDevicePoll(device : WGPUDevice, wait : Bool, submissionIndex : WGPUSubmissionIndexPtr) -> Bool

    wgpuDevicePopErrorScope

    fn wgpuDevicePopErrorScope(device : WGPUDevice, callbackInfo : WGPUPopErrorScopeCallbackInfo) -> WGPUFuture

    wgpuDevicePushErrorScope

    fn wgpuDevicePushErrorScope(device : WGPUDevice, filter : WGPUErrorFilter) -> Unit

    wgpuDeviceRelease

    fn wgpuDeviceRelease(device : WGPUDevice) -> Unit

    wgpuDeviceSetLabel

    fn wgpuDeviceSetLabel(device : WGPUDevice, label : WGPUStringView) -> Unit

    wgpuGenerateReport

    fn wgpuGenerateReport(instance : WGPUInstance, report : WGPUGlobalReportPtr) -> Unit

    wgpuGetInstanceCapabilities

    fn wgpuGetInstanceCapabilities(capabilities : WGPUInstanceCapabilitiesPtr) -> WGPUStatus

    wgpuGetProcAddress

    fn wgpuGetProcAddress(procName : WGPUStringView) -> WGPUProc

    wgpuGetVersion

    fn wgpuGetVersion() -> UInt

    wgpuInstanceAddRef

    fn wgpuInstanceAddRef(instance : WGPUInstance) -> Unit

    wgpuInstanceCreateSurface

    fn wgpuInstanceCreateSurface(instance : WGPUInstance, descriptor : WGPUSurfaceDescriptorPtr) -> WGPUSurface

    wgpuInstanceEnumerateAdapters

    fn wgpuInstanceEnumerateAdapters(instance : WGPUInstance, options : WGPUInstanceEnumerateAdapterOptionsPtr, adapters : WGPUAdapterPtr) -> UInt64

    wgpuInstanceGetWGSLLanguageFeatures

    fn wgpuInstanceGetWGSLLanguageFeatures(instance : WGPUInstance, features : WGPUSupportedWGSLLanguageFeaturesPtr) -> WGPUStatus

    wgpuInstanceHasWGSLLanguageFeature

    fn wgpuInstanceHasWGSLLanguageFeature(instance : WGPUInstance, feature : WGPUWGSLLanguageFeatureName) -> Bool

    wgpuInstanceProcessEvents

    fn wgpuInstanceProcessEvents(instance : WGPUInstance) -> Unit

    wgpuInstanceRelease

    fn wgpuInstanceRelease(instance : WGPUInstance) -> Unit

    wgpuInstanceRequestAdapter

    fn wgpuInstanceRequestAdapter(instance : WGPUInstance, options : WGPURequestAdapterOptionsPtr, callbackInfo : WGPURequestAdapterCallbackInfo) -> WGPUFuture

    wgpuInstanceWaitAny

    fn wgpuInstanceWaitAny(instance : WGPUInstance, futureCount : UInt64, futures : WGPUFutureWaitInfoPtr, timeoutNS : UInt64) -> WGPUWaitStatus

    wgpuPipelineLayoutAddRef

    fn wgpuPipelineLayoutAddRef(pipelineLayout : WGPUPipelineLayout) -> Unit

    wgpuPipelineLayoutRelease

    fn wgpuPipelineLayoutRelease(pipelineLayout : WGPUPipelineLayout) -> Unit

    wgpuPipelineLayoutSetLabel

    fn wgpuPipelineLayoutSetLabel(pipelineLayout : WGPUPipelineLayout, label : WGPUStringView) -> Unit

    wgpuQuerySetAddRef

    fn wgpuQuerySetAddRef(querySet : WGPUQuerySet) -> Unit

    wgpuQuerySetDestroy

    fn wgpuQuerySetDestroy(querySet : WGPUQuerySet) -> Unit

    wgpuQuerySetGetCount

    fn wgpuQuerySetGetCount(querySet : WGPUQuerySet) -> UInt

    wgpuQuerySetGetType

    fn wgpuQuerySetGetType(querySet : WGPUQuerySet) -> WGPUQueryType

    wgpuQuerySetRelease

    fn wgpuQuerySetRelease(querySet : WGPUQuerySet) -> Unit

    wgpuQuerySetSetLabel

    fn wgpuQuerySetSetLabel(querySet : WGPUQuerySet, label : WGPUStringView) -> Unit

    wgpuQueueAddRef

    fn wgpuQueueAddRef(queue : WGPUQueue) -> Unit

    wgpuQueueGetTimestampPeriod

    fn wgpuQueueGetTimestampPeriod(queue : WGPUQueue) -> Float

    wgpuQueueOnSubmittedWorkDone

    fn wgpuQueueOnSubmittedWorkDone(queue : WGPUQueue, callbackInfo : WGPUQueueWorkDoneCallbackInfo) -> WGPUFuture

    wgpuQueueRelease

    fn wgpuQueueRelease(queue : WGPUQueue) -> Unit

    wgpuQueueSetLabel

    fn wgpuQueueSetLabel(queue : WGPUQueue, label : WGPUStringView) -> Unit

    wgpuQueueSubmit

    fn wgpuQueueSubmit(queue : WGPUQueue, commandCount : UInt64, commands : WGPUCommandBufferPtr) -> Unit

    wgpuQueueSubmitForIndex

    fn wgpuQueueSubmitForIndex(queue : WGPUQueue, commandCount : UInt64, commands : WGPUCommandBufferPtr) -> UInt64

    wgpuQueueWriteBuffer

    fn wgpuQueueWriteBuffer(queue : WGPUQueue, buffer : WGPUBuffer, bufferOffset : UInt64, data : UnitPtr, size : UInt64) -> Unit

    wgpuQueueWriteTexture

    fn wgpuQueueWriteTexture(queue : WGPUQueue, destination : WGPUTexelCopyTextureInfoPtr, data : UnitPtr, dataSize : UInt64, dataLayout : WGPUTexelCopyBufferLayoutPtr, writeSize : WGPUExtent3DPtr) -> Unit

    wgpuQueueWriteTexture_bytes

    fn wgpuQueueWriteTexture_bytes(queue : WGPUQueue, destination : WGPUTexelCopyTextureInfoPtr, data : Bytes, data_size : UInt64, data_layout : WGPUTexelCopyBufferLayoutPtr, write_size : WGPUExtent3DPtr) -> Unit

    wgpuRenderBundleAddRef

    fn wgpuRenderBundleAddRef(renderBundle : WGPURenderBundle) -> Unit

    wgpuRenderBundleEncoderAddRef

    fn wgpuRenderBundleEncoderAddRef(renderBundleEncoder : WGPURenderBundleEncoder) -> Unit

    wgpuRenderBundleEncoderDraw

    fn wgpuRenderBundleEncoderDraw(renderBundleEncoder : WGPURenderBundleEncoder, vertexCount : UInt, instanceCount : UInt, firstVertex : UInt, firstInstance : UInt) -> Unit

    wgpuRenderBundleEncoderDrawIndexed

    fn wgpuRenderBundleEncoderDrawIndexed(renderBundleEncoder : WGPURenderBundleEncoder, indexCount : UInt, instanceCount : UInt, firstIndex : UInt, baseVertex : Int, firstInstance : UInt) -> Unit

    wgpuRenderBundleEncoderDrawIndexedIndirect

    fn wgpuRenderBundleEncoderDrawIndexedIndirect(renderBundleEncoder : WGPURenderBundleEncoder, indirectBuffer : WGPUBuffer, indirectOffset : UInt64) -> Unit

    wgpuRenderBundleEncoderDrawIndirect

    fn wgpuRenderBundleEncoderDrawIndirect(renderBundleEncoder : WGPURenderBundleEncoder, indirectBuffer : WGPUBuffer, indirectOffset : UInt64) -> Unit

    wgpuRenderBundleEncoderFinish

    fn wgpuRenderBundleEncoderFinish(renderBundleEncoder : WGPURenderBundleEncoder, descriptor : WGPURenderBundleDescriptorPtr) -> WGPURenderBundle

    wgpuRenderBundleEncoderInsertDebugMarker

    fn wgpuRenderBundleEncoderInsertDebugMarker(renderBundleEncoder : WGPURenderBundleEncoder, markerLabel : WGPUStringView) -> Unit

    wgpuRenderBundleEncoderPopDebugGroup

    fn wgpuRenderBundleEncoderPopDebugGroup(renderBundleEncoder : WGPURenderBundleEncoder) -> Unit

    wgpuRenderBundleEncoderPushDebugGroup

    fn wgpuRenderBundleEncoderPushDebugGroup(renderBundleEncoder : WGPURenderBundleEncoder, groupLabel : WGPUStringView) -> Unit

    wgpuRenderBundleEncoderRelease

    fn wgpuRenderBundleEncoderRelease(renderBundleEncoder : WGPURenderBundleEncoder) -> Unit

    wgpuRenderBundleEncoderSetBindGroup

    fn wgpuRenderBundleEncoderSetBindGroup(renderBundleEncoder : WGPURenderBundleEncoder, groupIndex : UInt, group : WGPUBindGroup, dynamicOffsetCount : UInt64, dynamicOffsets : UIntPtr) -> Unit

    wgpuRenderBundleEncoderSetBindGroup_offsets

    fn wgpuRenderBundleEncoderSetBindGroup_offsets(encoder : WGPURenderBundleEncoder, group_index : UInt, group : WGPUBindGroup, dynamic_offset_count : UInt64, offsets : FixedArray[UInt]) -> Unit

    wgpuRenderBundleEncoderSetIndexBuffer

    fn wgpuRenderBundleEncoderSetIndexBuffer(renderBundleEncoder : WGPURenderBundleEncoder, buffer : WGPUBuffer, format : WGPUIndexFormat, offset : UInt64, size : UInt64) -> Unit

    wgpuRenderBundleEncoderSetLabel

    fn wgpuRenderBundleEncoderSetLabel(renderBundleEncoder : WGPURenderBundleEncoder, label : WGPUStringView) -> Unit

    wgpuRenderBundleEncoderSetPipeline

    fn wgpuRenderBundleEncoderSetPipeline(renderBundleEncoder : WGPURenderBundleEncoder, pipeline : WGPURenderPipeline) -> Unit

    wgpuRenderBundleEncoderSetPushConstants

    fn wgpuRenderBundleEncoderSetPushConstants(encoder : WGPURenderBundleEncoder, stages : UInt64, offset : UInt, sizeBytes : UInt, data : UnitPtr) -> Unit

    wgpuRenderBundleEncoderSetVertexBuffer

    fn wgpuRenderBundleEncoderSetVertexBuffer(renderBundleEncoder : WGPURenderBundleEncoder, slot : UInt, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unit

    wgpuRenderBundleRelease

    fn wgpuRenderBundleRelease(renderBundle : WGPURenderBundle) -> Unit

    wgpuRenderBundleSetLabel

    fn wgpuRenderBundleSetLabel(renderBundle : WGPURenderBundle, label : WGPUStringView) -> Unit

    wgpuRenderPassEncoderAddRef

    fn wgpuRenderPassEncoderAddRef(renderPassEncoder : WGPURenderPassEncoder) -> Unit

    wgpuRenderPassEncoderBeginOcclusionQuery

    fn wgpuRenderPassEncoderBeginOcclusionQuery(renderPassEncoder : WGPURenderPassEncoder, queryIndex : UInt) -> Unit

    wgpuRenderPassEncoderBeginPipelineStatisticsQuery

    fn wgpuRenderPassEncoderBeginPipelineStatisticsQuery(renderPassEncoder : WGPURenderPassEncoder, querySet : WGPUQuerySet, queryIndex : UInt) -> Unit

    wgpuRenderPassEncoderDraw

    fn wgpuRenderPassEncoderDraw(renderPassEncoder : WGPURenderPassEncoder, vertexCount : UInt, instanceCount : UInt, firstVertex : UInt, firstInstance : UInt) -> Unit

    wgpuRenderPassEncoderDrawIndexed

    fn wgpuRenderPassEncoderDrawIndexed(renderPassEncoder : WGPURenderPassEncoder, indexCount : UInt, instanceCount : UInt, firstIndex : UInt, baseVertex : Int, firstInstance : UInt) -> Unit

    wgpuRenderPassEncoderDrawIndexedIndirect

    fn wgpuRenderPassEncoderDrawIndexedIndirect(renderPassEncoder : WGPURenderPassEncoder, indirectBuffer : WGPUBuffer, indirectOffset : UInt64) -> Unit

    wgpuRenderPassEncoderDrawIndirect

    fn wgpuRenderPassEncoderDrawIndirect(renderPassEncoder : WGPURenderPassEncoder, indirectBuffer : WGPUBuffer, indirectOffset : UInt64) -> Unit

    wgpuRenderPassEncoderEnd

    fn wgpuRenderPassEncoderEnd(renderPassEncoder : WGPURenderPassEncoder) -> Unit

    wgpuRenderPassEncoderEndOcclusionQuery

    fn wgpuRenderPassEncoderEndOcclusionQuery(renderPassEncoder : WGPURenderPassEncoder) -> Unit

    wgpuRenderPassEncoderEndPipelineStatisticsQuery

    fn wgpuRenderPassEncoderEndPipelineStatisticsQuery(renderPassEncoder : WGPURenderPassEncoder) -> Unit

    wgpuRenderPassEncoderExecuteBundles

    fn wgpuRenderPassEncoderExecuteBundles(renderPassEncoder : WGPURenderPassEncoder, bundleCount : UInt64, bundles : WGPURenderBundlePtr) -> Unit

    wgpuRenderPassEncoderExecuteBundles_bundles

    fn wgpuRenderPassEncoderExecuteBundles_bundles(pass : WGPURenderPassEncoder, bundle_count : UInt64, bundles : FixedArray[WGPURenderBundle]) -> Unit

    wgpuRenderPassEncoderInsertDebugMarker

    fn wgpuRenderPassEncoderInsertDebugMarker(renderPassEncoder : WGPURenderPassEncoder, markerLabel : WGPUStringView) -> Unit

    wgpuRenderPassEncoderMultiDrawIndexedIndirect

    fn wgpuRenderPassEncoderMultiDrawIndexedIndirect(encoder : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, count : UInt) -> Unit

    wgpuRenderPassEncoderMultiDrawIndexedIndirectCount

    fn wgpuRenderPassEncoderMultiDrawIndexedIndirectCount(encoder : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, count_buffer : WGPUBuffer, count_buffer_offset : UInt64, max_count : UInt) -> Unit

    wgpuRenderPassEncoderMultiDrawIndirect

    fn wgpuRenderPassEncoderMultiDrawIndirect(encoder : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, count : UInt) -> Unit

    wgpuRenderPassEncoderMultiDrawIndirectCount

    fn wgpuRenderPassEncoderMultiDrawIndirectCount(encoder : WGPURenderPassEncoder, buffer : WGPUBuffer, offset : UInt64, count_buffer : WGPUBuffer, count_buffer_offset : UInt64, max_count : UInt) -> Unit

    wgpuRenderPassEncoderPopDebugGroup

    fn wgpuRenderPassEncoderPopDebugGroup(renderPassEncoder : WGPURenderPassEncoder) -> Unit

    wgpuRenderPassEncoderPushDebugGroup

    fn wgpuRenderPassEncoderPushDebugGroup(renderPassEncoder : WGPURenderPassEncoder, groupLabel : WGPUStringView) -> Unit

    wgpuRenderPassEncoderRelease

    fn wgpuRenderPassEncoderRelease(renderPassEncoder : WGPURenderPassEncoder) -> Unit

    wgpuRenderPassEncoderSetBindGroup

    fn wgpuRenderPassEncoderSetBindGroup(renderPassEncoder : WGPURenderPassEncoder, groupIndex : UInt, group : WGPUBindGroup, dynamicOffsetCount : UInt64, dynamicOffsets : UIntPtr) -> Unit

    wgpuRenderPassEncoderSetBindGroup_offsets

    fn wgpuRenderPassEncoderSetBindGroup_offsets(pass : WGPURenderPassEncoder, group_index : UInt, group : WGPUBindGroup, dynamic_offset_count : UInt64, offsets : FixedArray[UInt]) -> Unit

    wgpuRenderPassEncoderSetBlendConstant

    fn wgpuRenderPassEncoderSetBlendConstant(renderPassEncoder : WGPURenderPassEncoder, color : WGPUColorPtr) -> Unit

    wgpuRenderPassEncoderSetIndexBuffer

    fn wgpuRenderPassEncoderSetIndexBuffer(renderPassEncoder : WGPURenderPassEncoder, buffer : WGPUBuffer, format : WGPUIndexFormat, offset : UInt64, size : UInt64) -> Unit

    wgpuRenderPassEncoderSetLabel

    fn wgpuRenderPassEncoderSetLabel(renderPassEncoder : WGPURenderPassEncoder, label : WGPUStringView) -> Unit

    wgpuRenderPassEncoderSetPipeline

    fn wgpuRenderPassEncoderSetPipeline(renderPassEncoder : WGPURenderPassEncoder, pipeline : WGPURenderPipeline) -> Unit

    wgpuRenderPassEncoderSetPushConstants

    fn wgpuRenderPassEncoderSetPushConstants(encoder : WGPURenderPassEncoder, stages : UInt64, offset : UInt, sizeBytes : UInt, data : UnitPtr) -> Unit

    wgpuRenderPassEncoderSetScissorRect

    fn wgpuRenderPassEncoderSetScissorRect(renderPassEncoder : WGPURenderPassEncoder, x : UInt, y : UInt, width : UInt, height : UInt) -> Unit

    wgpuRenderPassEncoderSetStencilReference

    fn wgpuRenderPassEncoderSetStencilReference(renderPassEncoder : WGPURenderPassEncoder, reference : UInt) -> Unit

    wgpuRenderPassEncoderSetVertexBuffer

    fn wgpuRenderPassEncoderSetVertexBuffer(renderPassEncoder : WGPURenderPassEncoder, slot : UInt, buffer : WGPUBuffer, offset : UInt64, size : UInt64) -> Unit

    wgpuRenderPassEncoderSetViewport

    fn wgpuRenderPassEncoderSetViewport(renderPassEncoder : WGPURenderPassEncoder, x : Float, y : Float, width : Float, height : Float, minDepth : Float, maxDepth : Float) -> Unit

    wgpuRenderPassEncoderWriteTimestamp

    fn wgpuRenderPassEncoderWriteTimestamp(renderPassEncoder : WGPURenderPassEncoder, querySet : WGPUQuerySet, queryIndex : UInt) -> Unit

    wgpuRenderPipelineAddRef

    fn wgpuRenderPipelineAddRef(renderPipeline : WGPURenderPipeline) -> Unit

    wgpuRenderPipelineGetBindGroupLayout

    fn wgpuRenderPipelineGetBindGroupLayout(renderPipeline : WGPURenderPipeline, groupIndex : UInt) -> WGPUBindGroupLayout

    wgpuRenderPipelineRelease

    fn wgpuRenderPipelineRelease(renderPipeline : WGPURenderPipeline) -> Unit

    wgpuRenderPipelineSetLabel

    fn wgpuRenderPipelineSetLabel(renderPipeline : WGPURenderPipeline, label : WGPUStringView) -> Unit

    wgpuSamplerAddRef

    fn wgpuSamplerAddRef(sampler : WGPUSampler) -> Unit

    wgpuSamplerRelease

    fn wgpuSamplerRelease(sampler : WGPUSampler) -> Unit

    wgpuSamplerSetLabel

    fn wgpuSamplerSetLabel(sampler : WGPUSampler, label : WGPUStringView) -> Unit

    wgpuSetLogCallback

    fn wgpuSetLogCallback(callback : WGPULogCallback, userdata : UnitPtr) -> Unit

    wgpuSetLogLevel

    fn wgpuSetLogLevel(level : UInt) -> Unit

    wgpuShaderModuleAddRef

    fn wgpuShaderModuleAddRef(shaderModule : WGPUShaderModule) -> Unit

    wgpuShaderModuleGetCompilationInfo

    fn wgpuShaderModuleGetCompilationInfo(shaderModule : WGPUShaderModule, callbackInfo : WGPUCompilationInfoCallbackInfo) -> WGPUFuture

    wgpuShaderModuleRelease

    fn wgpuShaderModuleRelease(shaderModule : WGPUShaderModule) -> Unit

    wgpuShaderModuleSetLabel

    fn wgpuShaderModuleSetLabel(shaderModule : WGPUShaderModule, label : WGPUStringView) -> Unit

    wgpuSupportedFeaturesFreeMembers

    fn wgpuSupportedFeaturesFreeMembers(supportedFeatures : WGPUSupportedFeatures) -> Unit

    wgpuSupportedWGSLLanguageFeaturesFreeMembers

    fn wgpuSupportedWGSLLanguageFeaturesFreeMembers(supportedWGSLLanguageFeatures : WGPUSupportedWGSLLanguageFeatures) -> Unit

    wgpuSurfaceAddRef

    fn wgpuSurfaceAddRef(surface : WGPUSurface) -> Unit

    wgpuSurfaceCapabilitiesFreeMembers

    fn wgpuSurfaceCapabilitiesFreeMembers(surfaceCapabilities : WGPUSurfaceCapabilities) -> Unit

    wgpuSurfaceConfigure

    fn wgpuSurfaceConfigure(surface : WGPUSurface, config : WGPUSurfaceConfigurationPtr) -> Unit

    wgpuSurfaceGetCapabilities

    fn wgpuSurfaceGetCapabilities(surface : WGPUSurface, adapter : WGPUAdapter, capabilities : WGPUSurfaceCapabilitiesPtr) -> WGPUStatus

    wgpuSurfaceGetCurrentTexture

    fn wgpuSurfaceGetCurrentTexture(surface : WGPUSurface, surfaceTexture : WGPUSurfaceTexturePtr) -> Unit

    wgpuSurfacePresent

    fn wgpuSurfacePresent(surface : WGPUSurface) -> WGPUStatus

    wgpuSurfaceRelease

    fn wgpuSurfaceRelease(surface : WGPUSurface) -> Unit

    wgpuSurfaceSetLabel

    fn wgpuSurfaceSetLabel(surface : WGPUSurface, label : WGPUStringView) -> Unit

    wgpuSurfaceUnconfigure

    fn wgpuSurfaceUnconfigure(surface : WGPUSurface) -> Unit

    wgpuTextureAddRef

    fn wgpuTextureAddRef(texture : WGPUTexture) -> Unit

    wgpuTextureCreateView

    fn wgpuTextureCreateView(texture : WGPUTexture, descriptor : WGPUTextureViewDescriptorPtr) -> WGPUTextureView

    wgpuTextureDestroy

    fn wgpuTextureDestroy(texture : WGPUTexture) -> Unit

    wgpuTextureGetDepthOrArrayLayers

    fn wgpuTextureGetDepthOrArrayLayers(texture : WGPUTexture) -> UInt

    wgpuTextureGetDimension

    fn wgpuTextureGetDimension(texture : WGPUTexture) -> WGPUTextureDimension

    wgpuTextureGetFormat

    fn wgpuTextureGetFormat(texture : WGPUTexture) -> WGPUTextureFormat

    wgpuTextureGetHeight

    fn wgpuTextureGetHeight(texture : WGPUTexture) -> UInt

    wgpuTextureGetMipLevelCount

    fn wgpuTextureGetMipLevelCount(texture : WGPUTexture) -> UInt

    wgpuTextureGetSampleCount

    fn wgpuTextureGetSampleCount(texture : WGPUTexture) -> UInt

    wgpuTextureGetUsage

    fn wgpuTextureGetUsage(texture : WGPUTexture) -> UInt64

    wgpuTextureGetWidth

    fn wgpuTextureGetWidth(texture : WGPUTexture) -> UInt

    wgpuTextureRelease

    fn wgpuTextureRelease(texture : WGPUTexture) -> Unit

    wgpuTextureSetLabel

    fn wgpuTextureSetLabel(texture : WGPUTexture, label : WGPUStringView) -> Unit

    wgpuTextureViewAddRef

    fn wgpuTextureViewAddRef(textureView : WGPUTextureView) -> Unit

    wgpuTextureViewRelease

    fn wgpuTextureViewRelease(textureView : WGPUTextureView) -> Unit

    wgpuTextureViewSetLabel

    fn wgpuTextureViewSetLabel(textureView : WGPUTextureView, label : WGPUStringView) -> Unit

    wgsl_language_feature_name_from_u32

    fn wgsl_language_feature_name_from_u32(raw : UInt) -> WGPUWGSLLanguageFeatureName