Initial project import
This commit is contained in:
17
node_modules/@monogrid/gainmap-js/dist/encode/get-sdr-rendition.d.ts
generated
vendored
Normal file
17
node_modules/@monogrid/gainmap-js/dist/encode/get-sdr-rendition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { DataTexture, ToneMapping, UnsignedByteType, WebGLRenderer } from 'three';
|
||||
import { QuadRenderer } from '../core/QuadRenderer';
|
||||
import { QuadRendererTextureOptions } from '../decode';
|
||||
import { SDRMaterial } from './materials/SDRMaterial';
|
||||
/**
|
||||
* Renders an SDR Representation of an HDR Image
|
||||
*
|
||||
* @category Encoding Functions
|
||||
* @group Encoding Functions
|
||||
*
|
||||
* @param hdrTexture The HDR image to be rendered
|
||||
* @param renderer (optional) WebGLRenderer to use during the rendering, a disposable renderer will be create and destroyed if this is not provided.
|
||||
* @param toneMapping (optional) Tone mapping to be applied to the SDR Rendition
|
||||
* @param renderTargetOptions (optional) Options to use when creating the output renderTarget
|
||||
* @throws {Error} if the WebGLRenderer fails to render the SDR image
|
||||
*/
|
||||
export declare const getSDRRendition: (hdrTexture: DataTexture, renderer?: WebGLRenderer, toneMapping?: ToneMapping, renderTargetOptions?: QuadRendererTextureOptions) => InstanceType<typeof QuadRenderer<typeof UnsignedByteType, InstanceType<typeof SDRMaterial>>>;
|
||||
Reference in New Issue
Block a user