Advance Blender 5.2 web parity through M12-03D
This commit is contained in:
@@ -160,6 +160,13 @@ export class CompositorFrameCache {
|
||||
this.entries.set(key, { result: clone, byteLength });
|
||||
this.currentBytes += byteLength;
|
||||
}
|
||||
|
||||
clear(): number {
|
||||
const releasedBytes = this.currentBytes;
|
||||
this.entries.clear();
|
||||
this.currentBytes = 0;
|
||||
return releasedBytes;
|
||||
}
|
||||
}
|
||||
|
||||
export class CompositorValidationError extends Error {
|
||||
|
||||
Reference in New Issue
Block a user