1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[cfg(web_sys_unstable_apis)] 5 #[wasm_bindgen] 6 extern "C" { 7 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = GPUSupportedLimits , typescript_type = "GPUSupportedLimits")] 8 #[derive(Debug, Clone, PartialEq, Eq)] 9 #[doc = "The `GpuSupportedLimits` class."] 10 #[doc = ""] 11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits)"] 12 #[doc = ""] 13 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 14 #[doc = ""] 15 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 16 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] 17 pub type GpuSupportedLimits; 18 #[cfg(web_sys_unstable_apis)] 19 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureDimension1D)] 20 #[doc = "Getter for the `maxTextureDimension1D` field of this object."] 21 #[doc = ""] 22 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension1D)"] 23 #[doc = ""] 24 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 25 #[doc = ""] 26 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 27 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_texture_dimension_1d(this: &GpuSupportedLimits) -> u3228 pub fn max_texture_dimension_1d(this: &GpuSupportedLimits) -> u32; 29 #[cfg(web_sys_unstable_apis)] 30 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureDimension2D)] 31 #[doc = "Getter for the `maxTextureDimension2D` field of this object."] 32 #[doc = ""] 33 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension2D)"] 34 #[doc = ""] 35 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 36 #[doc = ""] 37 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 38 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_texture_dimension_2d(this: &GpuSupportedLimits) -> u3239 pub fn max_texture_dimension_2d(this: &GpuSupportedLimits) -> u32; 40 #[cfg(web_sys_unstable_apis)] 41 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureDimension3D)] 42 #[doc = "Getter for the `maxTextureDimension3D` field of this object."] 43 #[doc = ""] 44 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureDimension3D)"] 45 #[doc = ""] 46 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 47 #[doc = ""] 48 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 49 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_texture_dimension_3d(this: &GpuSupportedLimits) -> u3250 pub fn max_texture_dimension_3d(this: &GpuSupportedLimits) -> u32; 51 #[cfg(web_sys_unstable_apis)] 52 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxTextureArrayLayers)] 53 #[doc = "Getter for the `maxTextureArrayLayers` field of this object."] 54 #[doc = ""] 55 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxTextureArrayLayers)"] 56 #[doc = ""] 57 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 58 #[doc = ""] 59 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 60 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_texture_array_layers(this: &GpuSupportedLimits) -> u3261 pub fn max_texture_array_layers(this: &GpuSupportedLimits) -> u32; 62 #[cfg(web_sys_unstable_apis)] 63 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxBindGroups)] 64 #[doc = "Getter for the `maxBindGroups` field of this object."] 65 #[doc = ""] 66 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxBindGroups)"] 67 #[doc = ""] 68 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 69 #[doc = ""] 70 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 71 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_bind_groups(this: &GpuSupportedLimits) -> u3272 pub fn max_bind_groups(this: &GpuSupportedLimits) -> u32; 73 #[cfg(web_sys_unstable_apis)] 74 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxDynamicUniformBuffersPerPipelineLayout)] 75 #[doc = "Getter for the `maxDynamicUniformBuffersPerPipelineLayout` field of this object."] 76 #[doc = ""] 77 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxDynamicUniformBuffersPerPipelineLayout)"] 78 #[doc = ""] 79 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 80 #[doc = ""] 81 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 82 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_dynamic_uniform_buffers_per_pipeline_layout(this: &GpuSupportedLimits) -> u3283 pub fn max_dynamic_uniform_buffers_per_pipeline_layout(this: &GpuSupportedLimits) -> u32; 84 #[cfg(web_sys_unstable_apis)] 85 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxDynamicStorageBuffersPerPipelineLayout)] 86 #[doc = "Getter for the `maxDynamicStorageBuffersPerPipelineLayout` field of this object."] 87 #[doc = ""] 88 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxDynamicStorageBuffersPerPipelineLayout)"] 89 #[doc = ""] 90 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 91 #[doc = ""] 92 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 93 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_dynamic_storage_buffers_per_pipeline_layout(this: &GpuSupportedLimits) -> u3294 pub fn max_dynamic_storage_buffers_per_pipeline_layout(this: &GpuSupportedLimits) -> u32; 95 #[cfg(web_sys_unstable_apis)] 96 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxSampledTexturesPerShaderStage)] 97 #[doc = "Getter for the `maxSampledTexturesPerShaderStage` field of this object."] 98 #[doc = ""] 99 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxSampledTexturesPerShaderStage)"] 100 #[doc = ""] 101 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 102 #[doc = ""] 103 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 104 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_sampled_textures_per_shader_stage(this: &GpuSupportedLimits) -> u32105 pub fn max_sampled_textures_per_shader_stage(this: &GpuSupportedLimits) -> u32; 106 #[cfg(web_sys_unstable_apis)] 107 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxSamplersPerShaderStage)] 108 #[doc = "Getter for the `maxSamplersPerShaderStage` field of this object."] 109 #[doc = ""] 110 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxSamplersPerShaderStage)"] 111 #[doc = ""] 112 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 113 #[doc = ""] 114 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 115 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_samplers_per_shader_stage(this: &GpuSupportedLimits) -> u32116 pub fn max_samplers_per_shader_stage(this: &GpuSupportedLimits) -> u32; 117 #[cfg(web_sys_unstable_apis)] 118 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxStorageBuffersPerShaderStage)] 119 #[doc = "Getter for the `maxStorageBuffersPerShaderStage` field of this object."] 120 #[doc = ""] 121 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageBuffersPerShaderStage)"] 122 #[doc = ""] 123 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 124 #[doc = ""] 125 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 126 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_storage_buffers_per_shader_stage(this: &GpuSupportedLimits) -> u32127 pub fn max_storage_buffers_per_shader_stage(this: &GpuSupportedLimits) -> u32; 128 #[cfg(web_sys_unstable_apis)] 129 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxStorageTexturesPerShaderStage)] 130 #[doc = "Getter for the `maxStorageTexturesPerShaderStage` field of this object."] 131 #[doc = ""] 132 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageTexturesPerShaderStage)"] 133 #[doc = ""] 134 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 135 #[doc = ""] 136 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 137 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_storage_textures_per_shader_stage(this: &GpuSupportedLimits) -> u32138 pub fn max_storage_textures_per_shader_stage(this: &GpuSupportedLimits) -> u32; 139 #[cfg(web_sys_unstable_apis)] 140 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxUniformBuffersPerShaderStage)] 141 #[doc = "Getter for the `maxUniformBuffersPerShaderStage` field of this object."] 142 #[doc = ""] 143 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxUniformBuffersPerShaderStage)"] 144 #[doc = ""] 145 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 146 #[doc = ""] 147 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 148 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_uniform_buffers_per_shader_stage(this: &GpuSupportedLimits) -> u32149 pub fn max_uniform_buffers_per_shader_stage(this: &GpuSupportedLimits) -> u32; 150 #[cfg(web_sys_unstable_apis)] 151 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxUniformBufferBindingSize)] 152 #[doc = "Getter for the `maxUniformBufferBindingSize` field of this object."] 153 #[doc = ""] 154 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxUniformBufferBindingSize)"] 155 #[doc = ""] 156 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 157 #[doc = ""] 158 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 159 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_uniform_buffer_binding_size(this: &GpuSupportedLimits) -> f64160 pub fn max_uniform_buffer_binding_size(this: &GpuSupportedLimits) -> f64; 161 #[cfg(web_sys_unstable_apis)] 162 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxStorageBufferBindingSize)] 163 #[doc = "Getter for the `maxStorageBufferBindingSize` field of this object."] 164 #[doc = ""] 165 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxStorageBufferBindingSize)"] 166 #[doc = ""] 167 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 168 #[doc = ""] 169 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 170 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_storage_buffer_binding_size(this: &GpuSupportedLimits) -> f64171 pub fn max_storage_buffer_binding_size(this: &GpuSupportedLimits) -> f64; 172 #[cfg(web_sys_unstable_apis)] 173 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = minUniformBufferOffsetAlignment)] 174 #[doc = "Getter for the `minUniformBufferOffsetAlignment` field of this object."] 175 #[doc = ""] 176 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/minUniformBufferOffsetAlignment)"] 177 #[doc = ""] 178 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 179 #[doc = ""] 180 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 181 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] min_uniform_buffer_offset_alignment(this: &GpuSupportedLimits) -> u32182 pub fn min_uniform_buffer_offset_alignment(this: &GpuSupportedLimits) -> u32; 183 #[cfg(web_sys_unstable_apis)] 184 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = minStorageBufferOffsetAlignment)] 185 #[doc = "Getter for the `minStorageBufferOffsetAlignment` field of this object."] 186 #[doc = ""] 187 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/minStorageBufferOffsetAlignment)"] 188 #[doc = ""] 189 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 190 #[doc = ""] 191 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 192 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] min_storage_buffer_offset_alignment(this: &GpuSupportedLimits) -> u32193 pub fn min_storage_buffer_offset_alignment(this: &GpuSupportedLimits) -> u32; 194 #[cfg(web_sys_unstable_apis)] 195 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxVertexBuffers)] 196 #[doc = "Getter for the `maxVertexBuffers` field of this object."] 197 #[doc = ""] 198 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexBuffers)"] 199 #[doc = ""] 200 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 201 #[doc = ""] 202 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 203 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_vertex_buffers(this: &GpuSupportedLimits) -> u32204 pub fn max_vertex_buffers(this: &GpuSupportedLimits) -> u32; 205 #[cfg(web_sys_unstable_apis)] 206 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxVertexAttributes)] 207 #[doc = "Getter for the `maxVertexAttributes` field of this object."] 208 #[doc = ""] 209 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexAttributes)"] 210 #[doc = ""] 211 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 212 #[doc = ""] 213 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 214 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_vertex_attributes(this: &GpuSupportedLimits) -> u32215 pub fn max_vertex_attributes(this: &GpuSupportedLimits) -> u32; 216 #[cfg(web_sys_unstable_apis)] 217 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxVertexBufferArrayStride)] 218 #[doc = "Getter for the `maxVertexBufferArrayStride` field of this object."] 219 #[doc = ""] 220 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxVertexBufferArrayStride)"] 221 #[doc = ""] 222 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 223 #[doc = ""] 224 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 225 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_vertex_buffer_array_stride(this: &GpuSupportedLimits) -> u32226 pub fn max_vertex_buffer_array_stride(this: &GpuSupportedLimits) -> u32; 227 #[cfg(web_sys_unstable_apis)] 228 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxInterStageShaderComponents)] 229 #[doc = "Getter for the `maxInterStageShaderComponents` field of this object."] 230 #[doc = ""] 231 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxInterStageShaderComponents)"] 232 #[doc = ""] 233 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 234 #[doc = ""] 235 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 236 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_inter_stage_shader_components(this: &GpuSupportedLimits) -> u32237 pub fn max_inter_stage_shader_components(this: &GpuSupportedLimits) -> u32; 238 #[cfg(web_sys_unstable_apis)] 239 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupStorageSize)] 240 #[doc = "Getter for the `maxComputeWorkgroupStorageSize` field of this object."] 241 #[doc = ""] 242 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupStorageSize)"] 243 #[doc = ""] 244 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 245 #[doc = ""] 246 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 247 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_compute_workgroup_storage_size(this: &GpuSupportedLimits) -> u32248 pub fn max_compute_workgroup_storage_size(this: &GpuSupportedLimits) -> u32; 249 #[cfg(web_sys_unstable_apis)] 250 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeInvocationsPerWorkgroup)] 251 #[doc = "Getter for the `maxComputeInvocationsPerWorkgroup` field of this object."] 252 #[doc = ""] 253 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeInvocationsPerWorkgroup)"] 254 #[doc = ""] 255 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 256 #[doc = ""] 257 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 258 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_compute_invocations_per_workgroup(this: &GpuSupportedLimits) -> u32259 pub fn max_compute_invocations_per_workgroup(this: &GpuSupportedLimits) -> u32; 260 #[cfg(web_sys_unstable_apis)] 261 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupSizeX)] 262 #[doc = "Getter for the `maxComputeWorkgroupSizeX` field of this object."] 263 #[doc = ""] 264 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeX)"] 265 #[doc = ""] 266 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 267 #[doc = ""] 268 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 269 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_compute_workgroup_size_x(this: &GpuSupportedLimits) -> u32270 pub fn max_compute_workgroup_size_x(this: &GpuSupportedLimits) -> u32; 271 #[cfg(web_sys_unstable_apis)] 272 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupSizeY)] 273 #[doc = "Getter for the `maxComputeWorkgroupSizeY` field of this object."] 274 #[doc = ""] 275 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeY)"] 276 #[doc = ""] 277 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 278 #[doc = ""] 279 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 280 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_compute_workgroup_size_y(this: &GpuSupportedLimits) -> u32281 pub fn max_compute_workgroup_size_y(this: &GpuSupportedLimits) -> u32; 282 #[cfg(web_sys_unstable_apis)] 283 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupSizeZ)] 284 #[doc = "Getter for the `maxComputeWorkgroupSizeZ` field of this object."] 285 #[doc = ""] 286 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupSizeZ)"] 287 #[doc = ""] 288 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 289 #[doc = ""] 290 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 291 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_compute_workgroup_size_z(this: &GpuSupportedLimits) -> u32292 pub fn max_compute_workgroup_size_z(this: &GpuSupportedLimits) -> u32; 293 #[cfg(web_sys_unstable_apis)] 294 # [wasm_bindgen (structural , method , getter , js_class = "GPUSupportedLimits" , js_name = maxComputeWorkgroupsPerDimension)] 295 #[doc = "Getter for the `maxComputeWorkgroupsPerDimension` field of this object."] 296 #[doc = ""] 297 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GPUSupportedLimits/maxComputeWorkgroupsPerDimension)"] 298 #[doc = ""] 299 #[doc = "*This API requires the following crate features to be activated: `GpuSupportedLimits`*"] 300 #[doc = ""] 301 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 302 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] max_compute_workgroups_per_dimension(this: &GpuSupportedLimits) -> u32303 pub fn max_compute_workgroups_per_dimension(this: &GpuSupportedLimits) -> u32; 304 } 305