Skip to content

encode.Class.GainMapEncoderMaterial

github-actions[bot] edited this page Oct 26, 2024 · 8 revisions

@monogrid/gainmap-js / encode / GainMapEncoderMaterial

Class: GainMapEncoderMaterial

A Material which is able to encode a gainmap

Extends

  • ShaderMaterial

Constructors

new GainMapEncoderMaterial()

new GainMapEncoderMaterial(params): GainMapEncoderMaterial

Parameters

params: object & GainmapEncodingParameters

Returns

GainMapEncoderMaterial

Overrides

ShaderMaterial.constructor

Defined in

src/encode/materials/GainMapEncoderMaterial.ts:56

Accessors

gainMapMax

get gainMapMax(): [number, number, number]

See

GainMapMetadata.gainMapMax

Remarks

Logarithmic space

Returns

[number, number, number]

Defined in

src/encode/materials/GainMapEncoderMaterial.ts:151


gainMapMin

get gainMapMin(): [number, number, number]

See

GainMapMetadata.gainMapMin

Remarks

Logarithmic space

Returns

[number, number, number]

Defined in

src/encode/materials/GainMapEncoderMaterial.ts:146


gamma

get gamma(): [number, number, number]

See

GainmapEncodingParameters.gamma

set gamma(value): void

Parameters

value: [number, number, number]

Returns

[number, number, number]

Defined in

src/encode/materials/GainMapEncoderMaterial.ts:98


hdrCapacityMax

get hdrCapacityMax(): number

See

GainMapMetadata.hdrCapacityMax

Remarks

Logarithmic space

Returns

number

Defined in

src/encode/materials/GainMapEncoderMaterial.ts:162


hdrCapacityMin

get hdrCapacityMin(): number

See

GainMapMetadata.hdrCapacityMin

Remarks

Logarithmic space

Returns

number

Defined in

src/encode/materials/GainMapEncoderMaterial.ts:157


maxContentBoost

get maxContentBoost(): number

See

GainmapEncodingParameters.maxContentBoost

Remarks

Non logarithmic space

set maxContentBoost(value): void

Parameters

value: number

Returns

number

Defined in

src/encode/materials/GainMapEncoderMaterial.ts:136


minContentBoost

get minContentBoost(): number

See

GainmapEncodingParameters.minContentBoost

Remarks

Non logarithmic space

set minContentBoost(value): void

Parameters

value: number

Returns

number

Defined in

src/encode/materials/GainMapEncoderMaterial.ts:126


offsetHdr

get offsetHdr(): [number, number, number]

See

GainmapEncodingParameters.offsetHdr

set offsetHdr(value): void

Parameters

value: [number, number, number]

Returns

[number, number, number]

Defined in

src/encode/materials/GainMapEncoderMaterial.ts:107


offsetSdr

get offsetSdr(): [number, number, number]

See

GainmapEncodingParameters.offsetSdr

set offsetSdr(value): void

Parameters

value: [number, number, number]

Returns

[number, number, number]

Defined in

src/encode/materials/GainMapEncoderMaterial.ts:116

Clone this wiki locally