Texture that material uses to render.
Optional
options: IMeshMaterialOptionsAdditional options
Optional
alpha?: numberOptional
pluginName?: stringOptional
program?: ProgramOptional
tint?: ColorSourceOptional
uniforms?: Dict<unknown>true
if shader can be batch with the renderer's batch system.
Renderer plugin for batching.
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.
Multiply tint for the material.
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!
Slightly opinionated default shader for PixiJS 2D objects.
Memberof
PIXI