@agpu/bindings 0.2.14 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ {
2
+ "js/ts.suggest.includeAutomaticOptionalChainCompletions": false,
3
+ "js/ts.includeCompletionsWithInsertText": false
4
+
5
+ }
package/dist/index.d.ts CHANGED
@@ -26,7 +26,21 @@ import PipelineLayoutCreator from "./classes/sub/pipeline/pipelineLayout";
26
26
  import RenderPipelineCreator from "./classes/sub/pipeline/renderPipeline";
27
27
  import BindGroupLayoutCreator from "./classes/sub/data/bindGroupLayout";
28
28
  import ComputePipelineCreator from "./classes/sub/pipeline/computePipeline";
29
- export { WebGPUControls, BufferUsage, TextureUsage, DeviceControls, AdapterControls, ContextControls,
29
+ type ADAPTER = Awaited<WebGPUControls["Adapter"]>;
30
+ type DEVICE = Awaited<ADAPTER["Device"]>;
31
+ type CONTEXT = WebGPUControls["Context"];
32
+ type TEXTURE = InstanceType<DEVICE["Texture"]>;
33
+ type QUERY_SET = InstanceType<DEVICE["QuerySet"]>;
34
+ type COMMAND_ENCODER = InstanceType<DEVICE["CommandEncoder"]>;
35
+ type BUFFER = InstanceType<DEVICE["Buffer"]>;
36
+ type BIND_GROUP = InstanceType<DEVICE["BindGroup"]>;
37
+ type BIND_GROUP_LAYOUT = InstanceType<DEVICE["BindGroupLayout"]>;
38
+ type SAMPLER = InstanceType<DEVICE["Sampler"]>;
39
+ type RENDER_PIPELINE = InstanceType<DEVICE["RenderPipeline"]>;
40
+ type COMPUTE_PIPELINE = InstanceType<DEVICE["ComputePipeline"]>;
41
+ type SHADER_MODULE = InstanceType<DEVICE["ShaderModule"]>;
42
+ type PIPELINE_LAYOUT = InstanceType<DEVICE["PipelineLayout"]>;
43
+ export { SAMPLER, RENDER_PIPELINE, COMPUTE_PIPELINE, SHADER_MODULE, PIPELINE_LAYOUT, TEXTURE, BUFFER, BIND_GROUP, BIND_GROUP_LAYOUT, QUERY_SET, COMMAND_ENCODER, WebGPUControls, BufferUsage, TextureUsage, DeviceControls, AdapterControls, ADAPTER, DEVICE, ContextControls, CONTEXT,
30
44
  /**Internal class. exported for types */
31
45
  TextureCreator,
32
46
  /**Internal class. exported for types */
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "@webgpu/types": "^0.1.69"
17
17
  },
18
18
  "name": "@agpu/bindings",
19
- "version": "0.2.14",
19
+ "version": "0.2.15",
20
20
  "author": {
21
21
  "name": "Kryft Studios",
22
22
  "email": "AfriaStudios@outlook.in",