This commit is contained in:
蔡玲
2024-12-04 10:21:04 +08:00
parent 9d776c65e9
commit c1ac42072f
4042 changed files with 2293732 additions and 1185 deletions

View File

@@ -0,0 +1,28 @@
import { InputNode } from '../core/InputNode.js';
import { TextureNode } from './TextureNode.js';
class ScreenNode extends TextureNode {
constructor( uv ) {
super( undefined, uv );
}
getUnique() {
return true;
}
getTexture( builder, output ) {
return InputNode.prototype.generate.call( this, builder, output, this.getUuid(), 't', 'renderTexture' );
}
}
ScreenNode.prototype.nodeType = 'Screen';
export { ScreenNode };