Class: GammaCorrectionExtension
Plugins.GammaCorrectionExtension
Implements
Constructors
constructor
• new GammaCorrectionExtension()
Properties
uiConfig
• Optional uiConfig: UiObjectConfig<any, string> = undefined
Implementation of
enabled
• enabled: boolean = true
Methods
shaderExtender
▸ shaderExtender(shader, material, renderer): void
Parameters
| Name | Type |
|---|---|
shader | Shader |
material | IMaterial<any, IMaterialEventMap> |
renderer | WebGLRenderer |
Returns
void
Implementation of
MaterialExtension.shaderExtender
computeCacheKey
▸ computeCacheKey(material): string
Parameters
| Name | Type |
|---|---|
material | IMaterial<any, IMaterialEventMap> |
Returns
string
Implementation of
MaterialExtension.computeCacheKey
isCompatible
▸ isCompatible(material): boolean
Parameters
| Name | Type |
|---|---|
material | IMaterial<any, IMaterialEventMap> |
Returns
boolean