Commit 12262c7
committed
feat(soba/misc): injectFBO no longer recreates the RenderTarget in a computed
There is no need to re-create the render target in the computed because
the parameters we use to create the render target are all untracked.
BREAKING CHANGE: `injectFBO` now returns a `WebGLRenderTarget` instead
of `Signal<WebGLRenderTarget>`. All consumers should change `injectFBO`
usage
```angular-ts
// before
fbo = injectFBO();
this.fbo();
// after
fbo = injectFBO();
this.fbo;
```1 parent f7ee6a2 commit 12262c7
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments