1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 18:29:39 +02:00
Oinktube/node_modules/three/examples/jsm/nodes/inputs/RTTNode.d.ts
2023-12-11 11:59:56 -03:00

35 lines
869 B
TypeScript

import {
Mesh,
OrthographicCamera,
Scene,
WebGLRenderTarget,
WebGLRenderTargetOptions
} from '../../../../src/Three';
import { NodeBuilder } from '../core/NodeBuilder';
import { NodeFrame } from '../core/NodeFrame';
import { TextureNode } from './TextureNode';
export interface RTTNodeOptions extends WebGLRenderTargetOptions {
clear?: boolean;
}
export class RTTNode extends TextureNode {
constructor( width: number, height: number, input: TextureNode, options?: RTTNodeOptions );
input: TextureNode;
clear: boolean;
renderTarget: WebGLRenderTarget;
material: object; // NodeMaterial
camera: OrthographicCamera;
scene: Scene;
quad: Mesh;
render: boolean;
build( builder: NodeBuilder, output: string, uuid?: string ): string;
updateFramesaveTo( frame: NodeFrame ): void;
updateFrame( frame: NodeFrame ): void;
copy( source: RTTNode ): this;
}