Class: GammaCorrectionExtension
Plugins.GammaCorrectionExtension
Implements
Constructors
constructor
• new GammaCorrectionExtension()
Properties
uiConfig
• Optional
uiConfig: UiObjectConfig
<any
, string
> = undefined
Implementation of
Defined in
webgi/src/plugins/threejs/GammaCorrectionPlugin.ts:10
enabled
• enabled: boolean
= true
Defined in
webgi/src/plugins/threejs/GammaCorrectionPlugin.ts:12
Methods
shaderExtender
▸ shaderExtender(shader
, material
, renderer
): void
Parameters
Name | Type |
---|---|
shader | Shader |
material | IMaterial <any > |
renderer | WebGLRenderer |
Returns
void
Implementation of
MaterialExtension.shaderExtender
Defined in
webgi/src/plugins/threejs/GammaCorrectionPlugin.ts:14
computeCacheKey
▸ computeCacheKey(material
): string
Parameters
Name | Type |
---|---|
material | IMaterial <any > |
Returns
string
Implementation of
MaterialExtension.computeCacheKey
Defined in
webgi/src/plugins/threejs/GammaCorrectionPlugin.ts:23
isCompatible
▸ isCompatible(material
): boolean
Parameters
Name | Type |
---|---|
material | IMaterial <any > |
Returns
boolean
Implementation of
MaterialExtension.isCompatible