encode.TypeAlias.EncodingParametersBase - MONOGRID/gainmap-js GitHub Wiki

@monogrid/gainmap-js / encode / EncodingParametersBase

Type Alias: EncodingParametersBase

EncodingParametersBase = GainmapEncodingParameters & object

Defined in: src/encode/types.ts:72

Parameters used to Encode a GainMap

Type declaration

image

image: EXR | RGBE | DataTexture

Input image for encoding, must be an HDR image

renderer?

optional renderer: WebGLRenderer

Optional WebGLRenderer

Remarks

will be created and destroyed on demand if not provided.

renderTargetOptions?

optional renderTargetOptions: QuadRendererTextureOptions

Options to use when creating the output renderTarget

toneMapping?

optional toneMapping: ToneMapping

Optional tone mapping to apply to the SDR Rendition

Default Value

ACESFilmicToneMapping