Commit 7166ff4
feat(rendering): add option to enable stencil buffer (#15)
Summary:
This adds the option to enable drawing to the stencil buffer on the default renderer in IWSDK.
This is purely optional and makes it possible to do the magic window effect commonly used in mixed reality applications.
Pull Request resolved: #15
Reviewed By: felixtrz
Differential Revision: D87954435
Pulled By: zjm-meta
fbshipit-source-id: afe8a8e9674eddba8020fdf04b42bb3c10ad0c611 parent 3eea7a8 commit 7166ff4
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
222 | 224 | | |
223 | 225 | | |
224 | 226 | | |
| 227 | + | |
225 | 228 | | |
226 | 229 | | |
227 | 230 | | |
| |||
260 | 263 | | |
261 | 264 | | |
262 | 265 | | |
| 266 | + | |
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
| |||
0 commit comments