@hology/webgpu-renderer 0.1.28 → 0.1.29

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 CHANGED
@@ -166,6 +166,8 @@ declare class WGSLShaderMaterial extends Material {
166
166
  customProgramCacheKey(): string;
167
167
  /** Depth passes can share pipelines despite differences in unused forward shading. */
168
168
  getDepthProgramCacheKey(pointShadow?: boolean): string;
169
+ /** Set needsUpdate after changing rasterizer state on an active material. */
170
+ private getPolygonOffsetCacheKey;
169
171
  private createProgramCacheKey;
170
172
  getTexturesList(): readonly Texture[];
171
173
  usesSceneTextures(): boolean;
@@ -207,10 +209,16 @@ interface RenderGraphPass {
207
209
 
208
210
  declare class RenderGraph {
209
211
  private readonly passes;
212
+ private readonly topologies;
213
+ private readonly executionSnapshots;
214
+ private matchesTopology;
215
+ private matchesResources;
210
216
  addPass(pass: RenderGraphPass): void;
211
217
  executeAsync(context: RenderGraphContext, observer?: RenderGraphExecutionObserver): Promise<void>;
212
218
  execute(context: RenderGraphContext, observer?: RenderGraphExecutionObserver): void;
213
219
  reset(): void;
220
+ private createExecutionSnapshot;
221
+ private releaseExecutionSnapshot;
214
222
  private resolveExecutionOrder;
215
223
  }
216
224
 
@@ -1152,6 +1160,11 @@ declare class WebGpuRenderer {
1152
1160
  private readonly objectTraversalStackScratch;
1153
1161
  private readonly staticSceneSpatialIndex;
1154
1162
  private readonly staticMeshDraws;
1163
+ private readonly staticInstanceSlots;
1164
+ private readonly retiredStaticInstanceSlots;
1165
+ private readonly staticSpatialDraws;
1166
+ private staticSpatialDrawRevision;
1167
+ private readonly staticSpatialBatches;
1155
1168
  private readonly spatialShadowPlanes;
1156
1169
  private spatialShadowCount;
1157
1170
  private readonly spatialLocalShadowSpheres;
@@ -1362,6 +1375,7 @@ declare class WebGpuRenderer {
1362
1375
  private commitObjectMotionHistory;
1363
1376
  private createRepeatedMeshInstances;
1364
1377
  private collectMesh;
1378
+ private collectStaticMeshDraws;
1365
1379
  private prepareSceneForCompilation;
1366
1380
  private collectInstancedMesh;
1367
1381
  private getSkinnedRenderRecord;
@@ -1459,6 +1473,7 @@ declare class WebGpuRenderer {
1459
1473
  private prepareGeometryVertexBuffers;
1460
1474
  private getStandardVertexAttribute;
1461
1475
  private prepareDrawGeometryVertexBuffers;
1476
+ private getInstanceVertexCapacity;
1462
1477
  private getDefaultVertexAttributeBuffer;
1463
1478
  private getMeshExtractionCacheEntry;
1464
1479
  private getInstancedMeshExtractionCacheEntry;