mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
24 lines
432 B
TypeScript
24 lines
432 B
TypeScript
import {
|
|
Mesh,
|
|
BufferGeometry,
|
|
Color,
|
|
TextureEncoding,
|
|
WebGLRenderTarget
|
|
} from '../../../src/Three';
|
|
|
|
export interface ReflectorOptions {
|
|
color?: Color;
|
|
textureWidth?: number;
|
|
textureHeight?: number;
|
|
clipBias?: number;
|
|
shader?: object;
|
|
encoding?: TextureEncoding;
|
|
}
|
|
|
|
export class Reflector extends Mesh {
|
|
|
|
constructor( geometry?: BufferGeometry, options?: ReflectorOptions );
|
|
|
|
getRenderTarget(): WebGLRenderTarget;
|
|
|
|
}
|