@hology/webgpu-renderer 0.1.21 → 0.1.22
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/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -120,6 +120,8 @@ declare class WGSLShaderMaterial extends Material {
|
|
|
120
120
|
wireframe: boolean;
|
|
121
121
|
private uniformLayoutCache;
|
|
122
122
|
private programCacheKeyCache;
|
|
123
|
+
private depthProgramCacheKeyCache;
|
|
124
|
+
private pointShadowProgramCacheKeyCache;
|
|
123
125
|
private textureListCache;
|
|
124
126
|
private textureVersionsCache;
|
|
125
127
|
private textureVersionHashCache;
|
|
@@ -152,6 +154,9 @@ declare class WGSLShaderMaterial extends Material {
|
|
|
152
154
|
/** Three's default clone path cannot call this material's required constructor. */
|
|
153
155
|
clone(): this;
|
|
154
156
|
customProgramCacheKey(): string;
|
|
157
|
+
/** Depth passes can share pipelines despite differences in unused forward shading. */
|
|
158
|
+
getDepthProgramCacheKey(pointShadow?: boolean): string;
|
|
159
|
+
private createProgramCacheKey;
|
|
155
160
|
getTexturesList(): readonly Texture[];
|
|
156
161
|
usesSceneTextures(): boolean;
|
|
157
162
|
usesSceneColor(): boolean;
|