Texture that material uses to render.
Optional
options: IMeshMaterialOptionsAdditional options
true
if shader can be batch with the renderer's batch system.
true
Renderer plugin for batching.
'batch'
Program that the shader uses.
Readonly
uvTextureMatrix instance for this Mesh, used to track Texture changes.
This gets automatically set by the object using this.
1
Multiply tint for the material.
0xFFFFFF
Static
fromA short hand function to create a shader based of a vertex and fragment shader.
Optional
vertexSrc: stringThe source of the vertex shader.
Optional
fragmentSrc: stringThe source of the fragment shader.
Optional
uniforms: Dict<any>Custom uniforms to use to augment the built-in ones.
A shiny new PixiJS shader!
Generated using TypeDoc
Slightly opinionated default shader for PixiJS 2D objects.
Memberof
PIXI