|
1 | 1 | // NOTE: This is a barrel file, internal files should not import things from this file |
2 | 2 |
|
3 | 3 | export { |
4 | | - /** |
5 | | - * @deprecated This feature is now stable, use tgpu.const. |
6 | | - */ |
| 4 | + /** @deprecated This feature is now stable, use tgpu.const. */ |
7 | 5 | constant as const, |
8 | 6 | } from './core/constant/tgpuConstant.ts'; |
9 | 7 | export { declare } from './core/declare/tgpuDeclare.ts'; |
10 | 8 | export { |
11 | | - /** |
12 | | - * @deprecated This feature is now stable, use tgpu.comptime. |
13 | | - */ |
| 9 | + /** @deprecated This feature is now stable, use tgpu.comptime. */ |
14 | 10 | comptime, |
15 | 11 | } from './core/function/comptime.ts'; |
16 | 12 | export { computeFn } from './core/function/tgpuComputeFn.ts'; |
17 | 13 | export { |
18 | | - /** |
19 | | - * @deprecated This feature is now stable, use tgpu.fn. |
20 | | - */ |
| 14 | + /** @deprecated This feature is now stable, use tgpu.fn. */ |
21 | 15 | fn, |
22 | 16 | } from './core/function/tgpuFn.ts'; |
23 | 17 | export { fragmentFn } from './core/function/tgpuFragmentFn.ts'; |
24 | 18 | export { vertexFn } from './core/function/tgpuVertexFn.ts'; |
25 | 19 | export { rawCodeSnippet } from './core/rawCodeSnippet/tgpuRawCodeSnippet.ts'; |
26 | 20 | export { namespace } from './core/resolve/namespace.ts'; |
27 | 21 | export { simulate } from './core/simulate/tgpuSimulate.ts'; |
28 | | -export { accessor, mutableAccessor } from './core/slot/accessor.ts'; |
29 | 22 | export { |
30 | | - /** |
31 | | - * @deprecated This feature is now stable, use tgpu.lazy. |
32 | | - */ |
| 23 | + /** @deprecated This feature is now stable, use tgpu.accessor. */ |
| 24 | + accessor, |
| 25 | + /** @deprecated This feature is now stable, use tgpu.mutableAccessor. */ |
| 26 | + mutableAccessor, |
| 27 | +} from './core/slot/accessor.ts'; |
| 28 | +export { |
| 29 | + /** @deprecated This feature is now stable, use tgpu.lazy. */ |
33 | 30 | lazy as derived, |
34 | 31 | } from './core/slot/lazy.ts'; |
35 | 32 | export { |
36 | | - /** |
37 | | - * @deprecated This feature is now stable, use tgpu.slot. |
38 | | - */ |
| 33 | + /** @deprecated This feature is now stable, use tgpu.slot. */ |
39 | 34 | slot, |
40 | 35 | } from './core/slot/slot.ts'; |
41 | 36 | export { |
42 | | - /** |
43 | | - * @deprecated This feature is now stable, use tgpu.privateVar. |
44 | | - */ |
| 37 | + /** @deprecated This feature is now stable, use tgpu.privateVar. */ |
45 | 38 | privateVar, |
46 | | - /** |
47 | | - * @deprecated This feature is now stable, use tgpu.workgroupVar. |
48 | | - */ |
| 39 | + /** @deprecated This feature is now stable, use tgpu.workgroupVar. */ |
49 | 40 | workgroupVar, |
50 | 41 | } from './core/variable/tgpuVariable.ts'; |
51 | 42 | export { |
52 | | - /** |
53 | | - * @deprecated This feature is now stable, use tgpu.vertexLayout. |
54 | | - */ |
| 43 | + /** @deprecated This feature is now stable, use tgpu.vertexLayout. */ |
55 | 44 | vertexLayout, |
56 | 45 | } from './core/vertexLayout/vertexLayout.ts'; |
0 commit comments