public static IntPtr createBindGroupLayout() // ResourceLayout on wave { WGPUBindGroupLayoutEntry bglEntry = new WGPUBindGroupLayoutEntry { binding = 0, visibility = WGPUShaderStage.WGPUShaderStage_Vertex, type = WGPUBindingType.WGPUBindingType_UniformBuffer }; WGPUBindGroupLayoutDescriptor bglDesc = new WGPUBindGroupLayoutDescriptor { entryCount = 1, entries = &bglEntry }; return(WebGPUNative.wgpuDeviceCreateBindGroupLayout(Device, &bglDesc)); }