Abstract
Optional
__setProtected
_dirtyProtected
_shaderProtected
Optional
_viewerProtected
_viewerAbstract
enabledThe priority of the material extension when applied to the material in ScreenPass set to very low priority, so applied at the end
Optional
uiStatic
Optional
Readonly
OldStatic
Readonly
PluginProtected
_onProtected
_storeOptional
meta: anyFunction to check if this material extension is compatible with the given material. If not compatible, the material extension will not be applied. This is only checked when the extension is registered.
The extension is assumed to be compatible if this function is not defined
Custom callback to extend/modify/replace shader code and other shader properties
Optional
meta: SerializationMetaType
Base Screen Pass Extension Plugin
Extend the class to add an extension to ScreenPass material. See TonemapPlugin and VignettePlugin for examples.