File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -214,22 +214,7 @@ class TgpuRootImpl
214
214
) {
215
215
super ( ( ) => this , [ ] ) ;
216
216
217
- this [ '~unstable' ] = {
218
- nameRegistry : this . nameRegistry ,
219
- commandEncoder : this . commandEncoder ,
220
-
221
- createUniform : this . createUniform . bind ( this ) ,
222
- createMutable : this . createMutable . bind ( this ) ,
223
- createReadonly : this . createReadonly . bind ( this ) ,
224
-
225
- createTexture : this . createTexture . bind ( this ) ,
226
-
227
- with : this . with . bind ( this ) ,
228
- withCompute : this . withCompute . bind ( this ) ,
229
- withVertex : this . withVertex . bind ( this ) ,
230
-
231
- flush : this . flush . bind ( this ) ,
232
- } ;
217
+ this [ '~unstable' ] = this ;
233
218
}
234
219
235
220
get commandEncoder ( ) {
Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ export const tgpu = {
33
33
fragmentFn,
34
34
vertexFn,
35
35
computeFn,
36
+ /**
37
+ * @deprecated This feature is now stable, use tgpu.vertexLayout.
38
+ */
36
39
vertexLayout,
37
40
derived,
38
41
slot,
You can’t perform that action at this time.
0 commit comments