encode.Function.getSDRRendition - MONOGRID/gainmap-js GitHub Wiki
@monogrid/gainmap-js / encode / getSDRRendition
getSDRRendition(
hdrTexture
,renderer
?,toneMapping
?,renderTargetOptions
?):QuadRenderer
<1009
>
Defined in: src/encode/get-sdr-rendition.ts:25
Renders an SDR Representation of an HDR Image
DataTexture
The HDR image to be rendered
WebGLRenderer
(optional) WebGLRenderer to use during the rendering, a disposable renderer will be create and destroyed if this is not provided.
ToneMapping
(optional) Tone mapping to be applied to the SDR Rendition
(optional) Options to use when creating the output renderTarget
QuadRenderer
<1009
>
if the WebGLRenderer fails to render the SDR image