Skip to content

encode.TypeAlias.EncodingParametersBase

github-actions[bot] edited this page Aug 6, 2024 · 16 revisions

@monogrid/gainmap-js / encode / EncodingParametersBase

Type Alias: EncodingParametersBase

EncodingParametersBase: GainmapEncodingParameters & object

Parameters used to Encode a GainMap

Type declaration

image

image: EXR | RGBE | LogLuv | DataTexture

Input image for encoding, must be an HDR image

renderTargetOptions?

optional renderTargetOptions: QuadRendererTextureOptions

Options to use when creating the output renderTarget

renderer?

optional renderer: WebGLRenderer

Optional WebGLRenderer

Remarks

will be created and destroyed on demand if not provided.

toneMapping?

optional toneMapping: ToneMapping

Optional tone mapping to apply to the SDR Rendition

Default Value

ACESFilmicToneMapping

Defined in

src/encode/types.ts:73

Clone this wiki locally