Commit 9e9e9da
authored
* add: definitions of type and interfaces of depth sensing feature
* add: native XRFrame method
* add: WebXR Depth Sensing Feature class implementation
* Add implementations exposing DepthInformation fields and methods
* Remove depth information observers
* Add an implementation of generate RawTexture from cpu depth information
* Add and fix implementations of texture generation
* Fix implementations of texture generation of cpu mode
* Add process depth information method
* Add documentation comments and fix naming
* Fix import paths
* add: latest depth buffer field
* fix: change Texture format to RGBA and create depth texture
* add: sandbox impl of luminance-alpha depth image texture
* Change Texture format from LuminaceAlpha to RTexture
* Fix cpu depth image processings
* Change image processing implementations
* Rename _latestDepthImageTexture to _cachedDepthImageTexture
make a difference between public latest data and provate cached data
* Changed depth texture pixel algorithm
* small refactor of obtaining rawValueToMeters
* Add getDepthInMeters observer to notify active one
* Fix comment of webxr.d.ts
* Fix formatting errors
* Change null union types to Nullable generics
* changed to returning InternalTexture instead of WebGLTexture
* Define original depth types to avoid using XR native type
* Create individual private fields of public fields
* add @SInCE to docs comment
* detach if depth usage is unknown
* throw an error in nativeXRFrame depth method until the functionality is implemented
* correct some docs comments
1 parent 34b5180 commit 9e9e9da
File tree
5 files changed
+422
-0
lines changed- packages/dev/core/src
- LibDeclarations
- XR
- features
- native
5 files changed
+422
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1145 | 1145 | | |
1146 | 1146 | | |
1147 | 1147 | | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
0 commit comments