1- /* Generated with cbindgen:0.14.1 */
1+ /* Generated with cbindgen:0.14.2 */
22
33/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen.
44 * To generate this file:
@@ -324,6 +324,10 @@ typedef WGPUNonZeroU64 WGPUId_BindGroup_Dummy;
324324
325325typedef WGPUId_BindGroup_Dummy WGPUBindGroupId ;
326326
327+ typedef WGPUNonZeroU64 WGPUId_BindGroupLayout_Dummy ;
328+
329+ typedef WGPUId_BindGroupLayout_Dummy WGPUBindGroupLayoutId ;
330+
327331typedef WGPUNonZeroU64 WGPUId_Buffer_Dummy ;
328332
329333typedef WGPUId_Buffer_Dummy WGPUBufferId ;
@@ -445,10 +449,6 @@ typedef WGPUNonZeroU64 WGPUId_Surface;
445449
446450typedef WGPUId_Surface WGPUSurfaceId ;
447451
448- typedef WGPUNonZeroU64 WGPUId_BindGroupLayout_Dummy ;
449-
450- typedef WGPUId_BindGroupLayout_Dummy WGPUBindGroupLayoutId ;
451-
452452typedef struct {
453453 WGPUBufferId buffer ;
454454 WGPUBufferAddress offset ;
@@ -774,6 +774,8 @@ WGPUDeviceId wgpu_adapter_request_device(WGPUAdapterId adapter_id,
774774
775775void wgpu_bind_group_destroy (WGPUBindGroupId bind_group_id );
776776
777+ void wgpu_bind_group_layout_destroy (WGPUBindGroupLayoutId bind_group_layout_id );
778+
777779void wgpu_buffer_destroy (WGPUBufferId buffer_id );
778780
779781void wgpu_buffer_map_read_async (WGPUBufferId buffer_id ,
@@ -872,6 +874,8 @@ void wgpu_compute_pass_set_bind_group(WGPURawPass *pass,
872874
873875void wgpu_compute_pass_set_pipeline (WGPURawPass * pass , WGPUComputePipelineId pipeline_id );
874876
877+ void wgpu_compute_pipeline_destroy (WGPUComputePipelineId compute_pipeline_id );
878+
875879WGPUSurfaceId wgpu_create_surface_from_android (void * a_native_window );
876880
877881WGPUSurfaceId wgpu_create_surface_from_metal_layer (void * layer );
@@ -933,6 +937,8 @@ void wgpu_device_poll(WGPUDeviceId device_id, bool force_wait);
933937
934938unsigned int wgpu_get_version (void );
935939
940+ void wgpu_pipeline_layout_destroy (WGPUPipelineLayoutId pipeline_layout_id );
941+
936942/**
937943 * # Safety
938944 *
@@ -1040,6 +1046,8 @@ void wgpu_render_pass_set_viewport(WGPURawPass *pass,
10401046 float depth_min ,
10411047 float depth_max );
10421048
1049+ void wgpu_render_pipeline_destroy (WGPURenderPipelineId render_pipeline_id );
1050+
10431051/**
10441052 * # Safety
10451053 *
@@ -1056,6 +1064,8 @@ void wgpu_set_log_callback(WGPULogCallback callback);
10561064
10571065int wgpu_set_log_level (WGPULogLevel level );
10581066
1067+ void wgpu_shader_module_destroy (WGPUShaderModuleId shader_module_id );
1068+
10591069WGPUSwapChainOutput wgpu_swap_chain_get_next_texture (WGPUSwapChainId swap_chain_id );
10601070
10611071void wgpu_swap_chain_present (WGPUSwapChainId swap_chain_id );
0 commit comments