import { Pipeline } from '@zappar/zappar'; import { Event1 } from '@zappar/zappar/lib/event'; import * as THREE from 'three'; import { CameraMirrorMode } from './Camera'; export declare enum EncodingType { sRGBEncoding = "sRGBEncoding", LinearEncoding = "LinearEncoding" } export declare function translateEncoding(encoding: EncodingType): string | number; export declare function legacy_set_texture_encoding(texture: THREE.Texture, v: EncodingType): void; /** * Creates a texture to be used internally by `ZapparThree.Camera`. */ export declare class CameraTexture extends THREE.Texture { private viewMatrix; isVideoTexture: boolean; private textureMatrix3; mirrorMode: CameraMirrorMode; onTextureUpdated: Event1<{ texture: THREE.Texture; renderer: THREE.WebGLRenderer; }>; constructor(); /** * Override three.js update function since we update the camera texture ourselves. */ protected update(): void; /** * Processes camera frames and updates the texture. * @param renderer - The Three.js WebGL renderer. * @param pipeline - A ZapparThree Pipeline. */ updateFromPipeline(renderer: THREE.WebGLRenderer, pipeline: Pipeline): void; dispose(): void; }