Skip to main content

Class: GammaCorrectionExtension

Plugins.GammaCorrectionExtension

Implements​

Constructors​

constructor​

• new GammaCorrectionExtension()

Properties​

uiConfig​

• Optional uiConfig: UiObjectConfig<any, string> = undefined

Implementation of​

IUiConfigContainer.uiConfig


enabled​

• enabled: boolean = true

Methods​

shaderExtender​

▸ shaderExtender(shader, material, renderer): void

Parameters​

NameType
shaderShader
materialIMaterial<any, IMaterialEventMap>
rendererWebGLRenderer

Returns​

void

Implementation of​

MaterialExtension.shaderExtender


computeCacheKey​

▸ computeCacheKey(material): string

Parameters​

NameType
materialIMaterial<any, IMaterialEventMap>

Returns​

string

Implementation of​

MaterialExtension.computeCacheKey


isCompatible​

▸ isCompatible(material): boolean

Parameters​

NameType
materialIMaterial<any, IMaterialEventMap>

Returns​

boolean

Implementation of​

MaterialExtension.isCompatible