@hology/webgpu-renderer 0.1.1 → 0.1.3
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/README.md +398 -398
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -771,6 +771,11 @@ declare class WebGpuRenderer {
|
|
|
771
771
|
setProjectionJitter(x: number, y: number): void;
|
|
772
772
|
clearProjectionJitter(): void;
|
|
773
773
|
getLastFrameProfile(): RendererFrameProfile | null;
|
|
774
|
+
/**
|
|
775
|
+
* Invalidates temporal data when this renderer starts presenting a
|
|
776
|
+
* different scene/view while preserving all reusable GPU resource caches.
|
|
777
|
+
*/
|
|
778
|
+
resetViewHistory(): void;
|
|
774
779
|
setHiZOcclusionCullingEnabled(enabled: boolean): void;
|
|
775
780
|
getHiZOcclusionCullingEnabled(): boolean;
|
|
776
781
|
getHiZOcclusionCullingActive(): boolean;
|