threepipe
Version:
A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.
9 lines • 915 B
TypeScript
import { ColorSpace, Texture, WebGLRenderTarget } from 'three';
export declare function getEncodingComponents(colorSpace: ColorSpace): string[];
export declare function getTextureColorSpaceFromMap(map: Texture | WebGLRenderTarget | null | undefined, isWebGL2: boolean): ColorSpace;
export declare function getTexelDecodingFunction(functionName: string, colorSpace: ColorSpace): string;
export declare function getTexelDecoding(mapName: string, map: Texture | WebGLRenderTarget | null | undefined | any, isWebGL2: boolean): string;
export declare function getTexelDecoding2(mapName: string, colorSpace: ColorSpace): string;
export declare function getTexelEncodingFunction(functionName: string, colorSpace: ColorSpace): string;
export declare function getTexelEncoding(functionName: string, map: Texture | WebGLRenderTarget | null | undefined | any, isWebGL2: boolean): string;
//# sourceMappingURL=encoding.d.ts.map