Class AreaLightTextureTools
Index
Constructors
constructor
-
Constructs a new instance of the class
Parameters
- engine: AbstractEngine
The engine to use for the copy
Returns AreaLightTextureTools
- engine: AbstractEngine
Accessors
shader Language
-
get shaderLanguage(): ShaderLanguage
Gets the shader language
Returns ShaderLanguage
Methods
dispose
-
Releases all the resources used by the class
Returns void
is Ready
-
Indicates if the effect is ready to be used for the copy
Returns boolean
true if "copy" can be called without delay, else false
process Async
-
Pre-processes the texture to be used with RectAreaLight emissionTexture.
Parameters
- source: BaseTexture
The texture to pre-process
Returns Promise<Nullable<BaseTexture>>
A promise that resolves with the pre-processed texture
- source: BaseTexture
Class used for fast copy from one texture to another