Draw mode used to render a mesh.
Sort type used to render a mesh. Transparent materials will be rendered after opaque materials.
State used to render a mesh.
Blend mode used to render a mesh.
Blend mode used to render a mesh.
Value indicating if writing into the depth buffer is enabled or disabled. Depth mask feature is only available in PixiJS 6.0+ and won't have any effects in previous versions.
Value indicating if writing into the depth buffer is enabled or disabled. Depth mask feature is only available in PixiJS 6.0+ and won't have any effects in previous versions.
Value indicating if the material is double sided. When set to true, the culling state will be set to false.
Value indicating if the material is double sided. When set to true, the culling state will be set to false.
Returns a value indicating if this material supports instancing.
Creates a new instanced version of this material.
Creates a shader used to render the specified mesh.
The mesh to create the shader for.
The renderer to use.
Destroys the material and it's used resources.
Renders the specified mesh.
The mesh to render.
The renderer to use.
Updates the uniforms for the specified shader.
The mesh used for updating the uniforms.
The shader to update.
Creates a new material from the specified vertex/fragment source.
The vertex shader source.
The fragment shader source.
The function which will be called for updating the shader uniforms.
Generated using TypeDoc
Materials are used to render a mesh with a specific visual appearance.