illutions 0.22.0 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/main.d.ts +20 -5
- package/dist/main.min.cjs +1 -1
- package/dist/main.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.22.1
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added `cfg.render.params` for renderer-specific runtime parameters.
|
|
8
|
+
- Added `render.api` output to the infobox.
|
|
9
|
+
- Added `.blend` source files to the public example apps.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Renamed `cfg.webgl` and `cfg.webgpu` parameter groups to `params`.
|
|
14
|
+
|
|
3
15
|
## 0.22.0
|
|
4
16
|
|
|
5
17
|
### Changed
|
package/dist/main.d.ts
CHANGED
|
@@ -2093,7 +2093,7 @@ export declare interface RenderCfg {
|
|
|
2093
2093
|
* - `webgpu`: use `THREE.WebGPURenderer`
|
|
2094
2094
|
* - `auto`: use WebGPU if supported, otherwise fall back to WebGL
|
|
2095
2095
|
*
|
|
2096
|
-
* @default '
|
|
2096
|
+
* @default 'auto'
|
|
2097
2097
|
*/
|
|
2098
2098
|
api: Renderer;
|
|
2099
2099
|
/**
|
|
@@ -2152,22 +2152,37 @@ export declare interface RenderCfg {
|
|
|
2152
2152
|
*/
|
|
2153
2153
|
toneMappingExposure: number;
|
|
2154
2154
|
/**
|
|
2155
|
-
* WebGL renderer
|
|
2155
|
+
* Parameters passed to both WebGL and WebGPU renderer constructors.
|
|
2156
|
+
*/
|
|
2157
|
+
params: {
|
|
2158
|
+
/**
|
|
2159
|
+
* Whether the renderer canvas uses an alpha buffer.
|
|
2160
|
+
* @default false
|
|
2161
|
+
*/
|
|
2162
|
+
alpha: boolean;
|
|
2163
|
+
/**
|
|
2164
|
+
* Whether renderer-level anti-aliasing is enabled.
|
|
2165
|
+
* @default false
|
|
2166
|
+
*/
|
|
2167
|
+
aa: boolean;
|
|
2168
|
+
};
|
|
2169
|
+
/**
|
|
2170
|
+
* WebGL-specific renderer configuration.
|
|
2156
2171
|
*/
|
|
2157
2172
|
webgl: {
|
|
2158
2173
|
/**
|
|
2159
2174
|
* Parameters passed to `THREE.WebGLRenderer`.
|
|
2160
2175
|
*/
|
|
2161
|
-
|
|
2176
|
+
params: THREE_TYPE.WebGLRendererParameters;
|
|
2162
2177
|
};
|
|
2163
2178
|
/**
|
|
2164
|
-
* WebGPU renderer configuration.
|
|
2179
|
+
* WebGPU-specific renderer configuration.
|
|
2165
2180
|
*/
|
|
2166
2181
|
webgpu: {
|
|
2167
2182
|
/**
|
|
2168
2183
|
* Parameters passed to `THREE.WebGPURenderer`.
|
|
2169
2184
|
*/
|
|
2170
|
-
|
|
2185
|
+
params: WebGpuRendererParameters;
|
|
2171
2186
|
};
|
|
2172
2187
|
}
|
|
2173
2188
|
|