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