Snapshot of some parameters of this display object to render in batched mode. TODO: temporary object until the upstream issue is fixed: https://github.com/pixijs/pixijs/issues/8511
Used to track a tint or alpha change to execute a recomputation of _cachedTint.
Used to force an alpha mode on this sprite mesh. If this property is non null, this value will replace the texture alphaMode when computing color channels. Affects how tint, worldAlpha and alpha are computed each others.
Used to force an alpha mode on this sprite mesh. If this property is non null, this value will replace the texture alphaMode when computing color channels. Affects how tint, worldAlpha and alpha are computed each others.
Returns the SpriteMesh associated batch plugin. By default the returned plugin is that of the associated shader. If a plugin is forced, it will returns the forced plugin.
Returns the SpriteMesh associated batch plugin. By default the returned plugin is that of the associated shader. If a plugin is forced, it will returns the forced plugin.
The HTML source element for this SpriteMesh texture.
Is this SpriteMesh rendering a video texture?
Update uvs and push vertices and uv buffers on GPU if necessary.
Initialize shader based on the shader class type.
Shader class used. Must inherit from AbstractBaseShader.
Update the batch data object. TODO: temporary method until the upstream issue is fixed: https://github.com/pixijs/pixijs/issues/8511
Create a SpriteMesh from another source. You can specify texture options and a specific shader class derived from AbstractBaseShader.
Source to create texture from.
An extension of PIXI.Mesh which emulate a PIXI.Sprite with a specific shader.
bound to this sprite mesh.
class used by this sprite mesh.